 :root {
    --primary: #027dbf;
    --primary-dark: #a00d24;
    --primary-soft: #e8f3f9;
    --white: #ffffff;
    --ink: #233a95;
    --muted: #7a7a7a;
    --border: #0000007d;
    --gold: #b8985a;
    --shadow: 0 8px 24px rgba(0,0,0,0.04);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--ink);
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .serif { font-family: "Playfair Display", serif; }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* ---------- TOP BAR ---------- */
  .top-bar {
    background: var(--ink);
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
    letter-spacing: 0.3px;
  }
  .top-bar a { color: #ddd; margin-left: 14px; }
  .top-bar a:hover { color: var(--primary); }

  /* ---------- HEADER (STICKY) ---------- */
  .header-sticky {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  .logo {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .logo span { color: var(--ink); }
  .logo small {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--muted);
    font-weight: 400;
  }

  .search-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 60px;
    overflow: hidden;
    transition: 0.2s;
  }
  .search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,16,46,0.08); }
  .search-box input {
    border: none; outline: none;
    padding: 9px 18px;
    font-size: 14px;
    width: 100%;
    background: transparent;
  }
  .search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 17px;
    transition: 0.2s;
  }
  .search-box button:hover { background: var(--primary-dark); }

  .icon-btn {
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 7px 13px;
    color: var(--ink);
    background: white;
    position: relative;
    transition: 0.2s;
  }
  .icon-btn:hover { border-color: var(--primary); color: var(--primary); }
  .badge-count {
    position: absolute; top: -6px; right: -6px;
    background: var(--primary); color: white;
    border-radius: 50%;
    font-size: 10px;
    padding: 1px 7px;
    font-weight: 600;
  }

  /* ---------- NAV (FULL STICKY) ---------- */
  .nav-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  /* when header is sticky, nav sticks right below it */
  .header-sticky + .nav-sticky {
    top: 0;
  }
  .nav-sticky .scroller {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
    padding: 0 4px;
  }
  .nav-sticky .scroller::-webkit-scrollbar { display: none; }
  .nav-sticky .nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.4px;
    padding: 13px 12px;
    white-space: nowrap;
    position: relative;
  }
  .nav-sticky .nav-link::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 8px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: 0.2s;
  }
  .nav-sticky .nav-link:hover::after,
  .nav-sticky .nav-link.active::after { transform: scaleX(1); }
  .nav-sticky .nav-link:hover,
  .nav-sticky .nav-link.active { color: var(--primary); }

  /* ---------- BUTTONS ---------- */
  .btn-red {
    background: var(--primary); color: white;
    border: none; border-radius: 60px;
    padding: 10px 28px; font-weight: 600; font-size: 14px;
    transition: 0.2s;
  }
  .btn-red:hover { background: var(--primary-dark); color: white; }
  .btn-outline-red {
    background: transparent; color: var(--primary);
    border: 1px solid var(--primary); border-radius: 60px;
    padding: 9px 28px; font-weight: 600; font-size: 14px;
    transition: 0.2s;
  }
  .btn-outline-red:hover { background: var(--primary); color: white; }

  /* ---------- SECTIONS ---------- */
  .sec { padding: 40px 0; }
  .sec-head { text-align: center; margin-bottom: 28px; }
  .sec-head .eyebrow {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
  }
  .sec-head h2 { font-size: 28px; font-weight: 700; margin-top: 2px; }
  .sec-head .line {
    width: 44px; height: 2px;
    background: var(--gold);
    margin: 8px auto 0;
  }

  /* ---------- HERO (full width) ---------- */
  .hero-section { padding: 0 0 4px 0; }
  .hero-carousel .carousel-item a { display: block; }
  .hero-carousel img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 0;
  }
  .hero-carousel .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary);
  }
  @media (max-width: 768px) {
    .hero-carousel img { height: 200px; }
  }
  @media (max-width: 480px) {
    .hero-carousel img { height: 150px; }
  }

  /* ---------- CATEGORY (image circle) ---------- */
  .category-card {
    text-align: center;
    background: white;
    padding: 12px 6px;
    border-radius: 16px;
    transition: 0.2s;
    border: 1px solid #0000009e;
  }
  .category-card:hover { border-color: var(--primary); }
  .category-img {
    width: 72px !important;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    margin: 0 auto 8px;
    transition: 0.2s;
    background: var(--primary-soft);
  }
  .category-card:hover .category-img { border-color: var(--primary); }
  .category-card h6 { font-weight: 600; font-size: 13px; margin: 0; }
  .category-card small { color: var(--muted); font-size: 11px; }

  /* ---------- PRODUCT CARD (compact) ---------- */
  .product-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .product-card:hover { border-color: var(--primary); }
  .product-imgwrap {
    position: relative;
    background: #fafafa;
  }
  .product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.3s;
  }

  .product-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .product-cat {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  .product-title {
    font-size: 13px;
    font-weight: 600;
    margin: 2px 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .price { font-size: 15px; font-weight: 700; color: var(--primary); }
  .old-price { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 5px; }
  .sale-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--primary); color: white;
    font-size: 10px; font-weight: 700;
    padding: 2px 10px; border-radius: 60px;
  }
  .wish {
    position: absolute; top: 8px; right: 8px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink); transition: 0.2s;
    font-size: 14px;
  }
  .wish:hover { background: var(--primary); color: white; border-color: var(--primary); }
  .rating { color: var(--gold); font-size: 11px; }
  .btn-cart {
    background: white; color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 60px;
    padding: 6px 0;
    font-weight: 600; font-size: 12px;
    width: 100%;
    margin-top: 6px;
    transition: 0.2s;
  }
  .btn-cart:hover { background: var(--primary); color: white; }

  /* ---------- MINI CARD (horizontal) ---------- */
  .mini-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    transition: 0.2s;
    height: 100%;
  }
  .mini-card:hover { border-color: var(--primary); }
  .mini-card img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mini-card .mini-info { min-width: 0; }
  .mini-card .mini-title {
    font-size: 12px; font-weight: 600; margin: 0 0 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mini-card .mini-cat { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
  .mini-card .price { font-size: 13px; }
  .mini-card .old-price { font-size: 10px; }

  /* ---------- OFFER OWL ---------- */
  .offer-slide {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
  }
  .offer-slide img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .offer-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
    z-index: 1;
  }
  .offer-slide .offer-content { position: relative; z-index: 2; padding: 24px; color: white; }
  .offer-slide .offer-content h3 { font-size: 22px; font-weight: 700; }

  /* ---------- PROMO ---------- */
  .promo-box {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 170px;
    display: flex;
    align-items: center;
  }
  .promo-box img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .promo-content { position: relative; z-index: 2; padding: 24px; color: white; }
  .promo-overlay::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
    z-index: 1;
  }

  /* ---------- DEAL BANNER ---------- */
  .offer-banner {
    background: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 34px 18px;
    text-align: center;
  }
  .offer-banner h2 { font-size: 28px; }
  .countdown { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .count-box {
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 6px 14px;
    min-width: 56px;
    background: rgba(255,255,255,0.05);
  }
  .count-box span { display: block; font-size: 26px; font-weight: 700; font-family: "Playfair Display", serif; }
  .count-box small { font-size: 10px; letter-spacing: 1px; opacity: 0.8; }

  /* ---------- FEATURES ---------- */
  .feature-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    background: white;
    height: 100%;
  }
  .feature-box i { font-size: 24px; color: var(--primary); }

  /* ---------- BRANDS ---------- */
  .brand-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
    font-weight: 600;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    background: white;
    transition: 0.2s;
  }
  .brand-item:hover { border-color: var(--primary); color: var(--primary); }

  /* ---------- TESTIMONIAL (Owl) ---------- */
  .testi-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    background: white;
    margin: 6px;
  }
  .testi-card .bi-quote { font-size: 26px; color: var(--primary); }
  .testi-user { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
  .testi-user img {
    width: 42px !important; height: 42px; border-radius: 50%;
    object-fit: cover; border: 1px solid var(--border);
  }

  /* ---------- INFO SECTION (left info + right form) ---------- */
  .info-section {
    background: var(--primary-soft);
    border-radius: 20px;
    padding: 40px 30px;
  }
  .info-section .social-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--ink);
    background: white;
    margin-right: 8px;
    transition: 0.2s;
  }
  .info-section .social-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }

  /* ---------- FOOTER ---------- */
  footer {
    background: var(--ink);
    color: #bbb;
    padding-top: 40px;
  }
  footer h6 { color: white; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.5px; }
  footer a { color: #bbb; display: block; margin-bottom: 6px; font-size: 14px; transition: 0.2s; }
  footer a:hover { color: var(--primary); }
  .footer-bottom { border-top: 1px solid #333; padding: 14px 0; margin-top: 30px; font-size: 13px; text-align: center; }

  /* ---------- MOBILE BOTTOM NAV ---------- */
  .mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: white; border-top: 1px solid var(--border);
    display: none; justify-content: space-around; align-items: center;
    padding: 5px 0 7px; z-index: 1050;
  }
  .mobile-bottom-nav a, .mobile-bottom-nav button {
    color: var(--muted); font-size: 10px; text-align: center;
    flex: 1; background: none; border: none;
    position: relative;
  }
  .mobile-bottom-nav a i, .mobile-bottom-nav button i { display: block; font-size: 20px; margin-bottom: 1px; }
  .mobile-bottom-nav a.active, .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button.active, .mobile-bottom-nav button:hover { color: var(--primary); }
  .mobile-bottom-nav .mini-badge {
    position: absolute; top: -4px; right: 50%; transform: translateX(16px);
    background: var(--primary); color: white;
    font-size: 9px; border-radius: 50%;
    padding: 1px 6px;
  }

  /* ---------- OFFCANVAS ---------- */
  .account-offcanvas .offcanvas-header { border-bottom: 1px solid var(--border); }
  .account-offcanvas .list-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 6px; border-bottom: 1px solid var(--border);
    color: var(--ink); font-size: 15px;
  }
  .account-offcanvas .list-item i { color: var(--primary); font-size: 18px; }
  .account-offcanvas .list-item:hover { color: var(--primary); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 991px) {
    .sec-head h2 { font-size: 24px; }
  }
  @media (max-width: 768px) {
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 64px; }
    .sec { padding: 24px 0; }
    .sec-head h2 { font-size: 20px; }
    .product-img { height: 150px; }
    .offer-slide { min-height: 140px; }
    .promo-box { min-height: 130px; }
    .offer-banner h2 { font-size: 22px; }
    .logo { font-size: 24px; }
    .category-img { width: 60px; height: 60px; }
    .header-sticky { padding: 8px 0; }
  }
  @media (max-width: 480px) {
    .product-img { height: 130px; }
    .product-title { font-size: 11px; }
    .price { font-size: 13px; }
    .count-box { min-width: 48px; padding: 4px 10px; }
    .count-box span { font-size: 20px; }
  }
