button, input, select, textarea { font-family: 'Outfit', sans-serif; }


:root {
    --brown-dark: #ee4d2d;
    --brown-mid: #C73E1A;
    --brown-warm: #ee4d2d;
    --orange: #ee4d2d;
    --orange-light: #F47350;
    --cream: #FDF6EC;
    --cream-dark: #F5E8D0;
    --green-forest: #2D5016;
    --green-leaf: #4A7C2F;
    --gold: #C9972A;
    --gold-light: #E8B94A;
    --text-dark: #1A0F05;
    --text-mid: #7A2E10;
    --text-light: #9A5030;
    --white: #FFFDF8;
    --shadow: rgba(240,87,48,0.15);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-size: 20px; font-family: 'Outfit', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; }

  /* NAV */
  .nav-topbar {
    background: #ee4d2d; padding: 5px 2rem;
    display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  }
  .nav-topbar a, .nav-topbar span {
    color: white; font-size: 17px; text-decoration: none; opacity: 0.95;
    font-family: 'Outfit', sans-serif;
  }
  .nav-topbar a:hover { opacity: 1; text-decoration: underline; }
  nav {
    position: relative; z-index: 1000;
    background: white;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-bottom: 1px solid #f0f0f0;
    height: 73px;
    box-sizing: border-box;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 0; text-decoration: none;
  }
  .logo-circle {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
  }
  .logo-circle svg { width: 44px; height: 44px; }
  .logo-text { display: flex; flex-direction: column; line-height: 1.4; gap: 3px; align-items: flex-start; }
  .logo-text span:first-child { font-family: 'Outfit', sans-serif; font-size: 16px; color: #ee4d2d; font-weight: 600; letter-spacing: 0.4px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  .logo-text span:last-child { font-size: 11px; color: #333; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  .nav-links { display: flex; gap: 0; }
  .nav-links a {
    color: #333; text-decoration: none;
    padding: 20px 16px; font-size: 19px; font-weight: 500;
    transition: color 0.2s; border-bottom: 2px solid transparent;
  }
  .nav-links a:hover { color: #ee4d2d; border-bottom-color: #ee4d2d; }
  .nav-links a.active { color: #ee4d2d; border-bottom-color: #ee4d2d; font-weight: 600; }
  .nav-actions { display: flex; align-items: center; gap: 6px; }
  .nav-icon-btn {
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #555; transition: background 0.2s;
  }
  .nav-icon-btn:hover { background: #f5f5f5; color: #ee4d2d; }
  .cart-btn {
    background: none; border: none; border-radius: 50%;
    width: 36px; height: 36px;
    color: #555; font-size: 24px; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; position: relative;
  }
  .cart-btn:hover { background: #f5f5f5; color: #ee4d2d; }
  .cart-count {
    position: absolute; top: 0; right: 0;
    background: #ee4d2d; color: white;
    border-radius: 50%; width: 16px; height: 16px;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }

  /* HERO */
  .hero {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 50%, #7A4520 100%);
    position: relative; overflow: hidden;
    min-height: 560px; display: flex; align-items: center;
  }
  .hero-bg-pattern {
    position: absolute; inset: 0; opacity: 0.06;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 70px 2rem;
    display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px;
  }
  .hero-text { }
  .hero-badge {
    display: inline-block;
    background: rgba(201,151,42,0.2); border: 1px solid var(--gold);
    color: var(--gold-light); font-size: 17px; letter-spacing: 2px;
    text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
    margin-bottom: 20px;
  }
  .hero-title {
    font-family: 'Lobster', cursive; font-weight: 400;
    font-size: clamp(36px, 5.9vw, 61px); line-height: 1.2;
    color: white; margin-bottom: 16px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  }
  .hero-slogan-main { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; color: var(--cream); margin-bottom: 12px; letter-spacing: 0.5px; text-shadow: 0 2px 5px rgba(0,0,0,0.45); }
  .hero-slogan-sub { font-size: clamp(17px, 2vw, 20px); color: #FEFCFA; opacity: 0.95; line-height: 1.6; margin-bottom: 32px; max-width: 650px; margin-left: auto; margin-right: auto; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .btn-primary {
    background: var(--orange); color: white;
    padding: 14px 30px; border-radius: 8px; border: none;
    font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: var(--cream);
    padding: 14px 30px; border-radius: 8px;
    border: 1.5px solid rgba(253,246,236,0.4);
    font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 500;
    cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--cream); background: rgba(253,246,236,0.1); }
  .hero-visual {
    display: flex; flex-direction: column; gap: 12px;
    align-items: flex-end;
  }
  .hero-logo-large {
    width: 240px; height: 240px;
    background: var(--cream-dark);
    border-radius: 50%;
    border: 3px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
  }

  .hero div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .change-banner-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .change-banner-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
  }
  .change-banner-btn:active {
    transform: translateY(0);
  }


  /* SECTIONS */
  section { padding: 64px 2rem; max-width: 1200px; margin: 0 auto; }
  .section-title {
    text-align: center; margin-bottom: 48px;
  }
  .section-title h2 {
    font-family: 'Playfair Display', serif; font-size: 42px;
    color: var(--brown-dark); margin-bottom: 8px;
  }
  .section-title p { color: var(--text-light); font-size: 20px; }
  .title-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    margin: 12px auto 0; border-radius: 2px;
  }

  /* CATEGORIES */
  .categories-bar {
    background: white; border-bottom: 1px solid rgba(200,62,26,0.1);
    padding: 0; position: relative; z-index: 900;
  }
  .categories-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; gap: 0; padding: 0 2rem; overflow-x: auto;
  }
  .cat-tab {
    padding: 15px 22px; font-size: 19px; font-weight: 500;
    color: var(--text-light); border: none; background: none;
    cursor: pointer; white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s; font-family: 'Outfit', sans-serif;
  }
  .cat-tab:hover { color: var(--orange); }
  .cat-tab.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 600; }

  /* PRODUCTS GRID */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
  .product-card {
    background: white; border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(200,62,26,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }
  .product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
  .product-img {
    position: relative; padding-top: 68%; background: var(--cream-dark);
    overflow: hidden;
  }
  .product-img-inner {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 76px;
  }
  .product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--orange); color: white;
    font-size: 15px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  }
  .product-info { padding: 16px; }
  .product-name { font-weight: 700; font-size: 20px; color: var(--text-dark); margin-bottom: 4px; line-height: 1.4; }
  .product-origin { font-size: 17px; color: var(--text-light); margin-bottom: 10px; }
  .product-stars { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
  .product-stars span { color: var(--text-light); margin-left: 4px; }
  .product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
  .product-price { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--orange); font-weight: 700; }
  .product-price-old { font-size: 17px; color: var(--text-light); text-decoration: line-through; }
  .add-btn {
    background: var(--brown-dark); color: white;
    border: none; border-radius: 8px; padding: 9px 16px;
    font-size: 18px; font-weight: 600; cursor: pointer;
    transition: background 0.2s; font-family: 'Outfit', sans-serif;
  }
  .add-btn:hover { background: var(--orange); }

  .features-strip-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  .features-strip-item {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  .features-strip-item:last-child {
    border-right: none;
  }
  .features-strip-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .features-strip-icon svg {
    width: 100%;
    height: 100%;
  }
  .features-strip-text {
    display: flex;
    flex-direction: column;
  }
  .features-strip-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
  }
  .features-strip-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
  }

  @media (max-width: 1150px) {
    .features-strip-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding: 6px 12px !important;
    }
    .features-strip-item {
      border-right: none !important;
      border-bottom: 1px solid rgba(255,255,255,0.15) !important;
      padding: 8px 10px !important;
      gap: 8px !important;
    }
    .features-strip-item:nth-child(2n) {
      border-left: 1px solid rgba(255,255,255,0.15) !important;
    }
    .features-strip-item:nth-child(3), .features-strip-item:nth-child(4) {
      border-bottom: none !important;
    }
    .features-strip-icon {
      width: 21px !important;
      height: 21px !important;
    }
    .features-strip-title {
      font-size: 14px !important;
    }
    .features-strip-subtitle {
      font-size: 12px !important;
    }
  }

    /* ABOUT GRID */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  @media (max-width: 1150px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

  /* FEATURES */
  .features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .feature-card {
    text-align: center; padding: 32px 20px;
    background: white; border-radius: 14px;
    border: 1px solid rgba(200,62,26,0.1);
  }
  .feature-icon { font-size: 44px; margin-bottom: 16px; }
  .feature-title { font-weight: 600; font-size: 20px; color: var(--brown-dark); margin-bottom: 8px; }
  .feature-desc { font-size: 19px; color: var(--text-light); line-height: 1.6; }

  /* TOAST */
  .toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -40px);
    background: rgba(30, 20, 10, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 90vw;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    z-index: 11000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

  /* MODAL OVERLAY */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(26,15,5,0.7); padding: 20px;
    align-items: flex-start; justify-content: center;
  }
  .modal-overlay.open { display: flex; }
  .modal-panel {
    background: var(--white); border-radius: 16px;
    width: 520px; max-width: 100%; height: calc(100vh - 40px);
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .modal-header {
    background: var(--brown-dark); padding: 20px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .modal-header h3 { color: var(--cream); font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin: 0; }
  .modal-close {
    background: none; border: none; color: var(--cream);
    cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; border-radius: 50%;
  }
  .modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  .modal-body { flex: 1; overflow-y: auto; padding: 20px; }
  .modal-footer { padding: 20px; border-top: 1px solid var(--cream-dark); }

  /* CART ITEMS */
  .cart-item {
    display: flex; gap: 12px; padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark); align-items: center;
  }
  .cart-item-emoji { font-size: 36px; }
  .cart-item-info { flex: 1; }
  .cart-item-name { font-weight: 600; font-size: 16px; color: var(--text-dark); margin-bottom: 2px; }
  .cart-item-price { color: var(--orange); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .cart-qty {
    display: flex; align-items: center; gap: 8px; margin-top: 8px;
  }
  .qty-btn {
    width: 26px; height: 26px; border-radius: 6px;
    border: 1px solid var(--cream-dark); background: var(--cream);
    cursor: pointer; font-size: 20px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    color: var(--brown-dark); font-family: 'Outfit', sans-serif;
  }
  .qty-btn:hover { background: var(--cream-dark); }
  .qty-num { font-size: 18px; font-weight: 600; min-width: 20px; text-align: center; }
  .remove-btn {
    background: none; border: none; color: #ccc;
    cursor: pointer; font-size: 22px; padding: 4px;
  }
  .remove-btn:hover { color: #e24b4a; }
  .cart-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }
  .cart-empty p { font-size: 19px; margin-top: 12px; }

  /* CHECKOUT STEPS */
  .steps-bar {
    display: flex; gap: 0; margin-bottom: 24px;
    background: var(--cream); border-radius: 8px; overflow: hidden;
  }
  .step-tab {
    flex: 1; padding: 10px 8px; text-align: center; font-size: 16px; font-weight: 600;
    color: var(--text-light); border: none; background: none; cursor: pointer;
    font-family: 'Outfit', sans-serif; transition: all 0.2s;
  }
  .step-tab.active { background: var(--brown-dark); color: white; }
  .step-tab.done { background: var(--green-forest); color: white; }

  /* FORM */
  .form-group { margin-bottom: 16px; }
  .form-label { display: block; font-size: 17px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; letter-spacing: 0.3px; }
  .form-input {
    width: 100%; padding: 11px 13px; border-radius: 8px;
    border: 1.5px solid var(--cream-dark); background: var(--cream);
    font-size: 19px; font-family: 'Outfit', sans-serif;
    color: var(--text-dark); transition: border-color 0.2s; outline: none;
  }
  .form-input:focus { border-color: var(--brown-warm); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-select {
    width: 100%; padding: 10px 12px; border-radius: 8px;
    border: 1.5px solid var(--cream-dark); background: var(--cream);
    font-size: 18px; font-family: 'Outfit', sans-serif;
    color: var(--text-dark); outline: none; cursor: pointer;
  }
  .btn-get-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--brown-mid);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: opacity 0.2s;
  }
  .btn-get-location:hover {
    opacity: 0.8;
  }

  /* PAYMENT */
  .payment-option {
    border: 1.5px solid var(--cream-dark); border-radius: 10px;
    padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
    display: flex; align-items: center; gap: 12px;
    transition: border-color 0.2s, background 0.2s;
  }
  .payment-option:hover { border-color: var(--brown-warm); }
  .payment-option.selected { border-color: var(--orange); background: rgba(240,87,48,0.05); }
  .payment-option input[type=radio] { accent-color: var(--orange); }
  .payment-icon { font-size: 26px; }
  .payment-label { font-size: 19px; font-weight: 500; color: var(--text-dark); }
  .payment-sub { font-size: 17px; color: var(--text-light); }

  /* ORDER SUMMARY SIDEBAR */
  .order-summary {
    background: var(--cream); border-radius: 10px;
    padding: 16px; margin-bottom: 16px;
  }
  .order-summary h4 { font-size: 17px; font-weight: 600; color: var(--text-mid); margin-bottom: 12px; }
  .summary-row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 12px; }
  .summary-row span:first-child { color: var(--text-light); font-weight: 500; }
  .summary-row span:last-child { color: var(--text-dark); font-weight: 600; }
  .summary-row.total { border-top: 1px dashed #e0e0e0; padding-top: 12px; margin-top: 4px; font-size: 18px; }
  .summary-row.total span { color: var(--orange); font-weight: 700; font-size: 20px; }

  /* BIG CTA */
  .checkout-btn {
    width: 100%; padding: 15px; background: var(--orange);
    color: white; border: none; border-radius: 10px;
    font-size: 20px; font-weight: 700; cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s;
  }
  .checkout-btn:hover { background: var(--orange-light); }
  .checkout-btn:disabled { background: #ccc; cursor: not-allowed; }

  /* SUCCESS */
  .success-screen { text-align: center; padding: 40px 20px; }
  .success-icon { font-size: 68px; margin-bottom: 16px; }
  .success-screen h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--brown-dark); margin-bottom: 8px; }
  .success-screen p { color: var(--text-light); font-size: 18px; line-height: 1.7; }
  .order-code { background: var(--cream); border-radius: 8px; padding: 14px; margin: 20px 0; font-family: monospace; font-size: 20px; font-weight: 700; color: var(--orange); letter-spacing: 2px; }

  /* FOOTER */
  footer {
    background: var(--brown-dark); color: var(--cream-dark);
    padding: 48px 2rem 24px;
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
  }
  .footer-brand h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--gold-light); margin-bottom: 12px; }
  .footer-brand p { font-size: 18px; color: rgba(253,232,208,0.65); line-height: 1.7; }
  .footer-col h4 { font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
  .footer-col a { display: block; font-size: 18px; color: rgba(253,232,208,0.65); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--cream); }
  .footer-bottom {
    border-top: 1px solid rgba(253,232,208,0.1);
    padding-top: 20px; text-align: center;
    font-size: 17px; color: rgba(253,232,208,0.4);
    max-width: 1200px; margin: 0 auto;
  }
  .products-section-bg { background: var(--cream); }
  .section-wrapper { background: white; }

  @media (max-width: 1150px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav { padding: 0 1rem; }
    .nav-links { display: none; }
    .nav-hotline-desktop,
    .nav-divider-desktop,
    .account-text-desktop,
    .cart-label-text {
      display: none !important;
    }
    .nav-cart-btn {
      padding: 6px 10px !important;
      margin: 0 6px !important;
    }
    .nav-account-btn {
      padding: 6px 8px !important;
    }
  }
  @media (max-width: 600px) {
    body { font-size: 15px !important; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-panel { width: 100%; height: 100vh; border-radius: 0; }
    .logo-text span:last-child {
      display: none;
    }
    .logo-text span:first-child {
      font-size: 14px !important;
      font-weight: 600 !important;
      letter-spacing: 0.2px !important;
      -webkit-font-smoothing: antialiased !important;
      -moz-osx-font-smoothing: grayscale !important;
    }
    .nav-logo {
      gap: 8px !important;
    }
    .logo-circle img {
      width: 42px !important;
      height: 42px !important;
    }
    .hero {
      min-height: auto !important;
      height: auto !important;
    }
    .hero-content {
      padding: 30px 12px 25px 12px !important;
    }
    .hero-title {
      font-size: 28px !important;
      margin-bottom: 8px !important;
    }
    .hero-slogan-main {
      font-size: 15px !important;
      line-height: 1.4 !important;
      margin-bottom: 8px !important;
      letter-spacing: 0.2px !important;
    }
    .hero-slogan-sub {
      font-size: 12.5px !important;
      line-height: 1.5 !important;
      margin-bottom: 20px !important;
      padding: 0 8px !important;
    }
    .hero-btns {
      gap: 10px !important;
      width: 100% !important;
      flex-direction: column !important;
      align-items: center !important;
    }
    .btn-primary, .btn-outline {
      width: 100% !important;
      max-width: 280px !important;
      padding: 10px 16px !important;
      font-size: 14px !important;
      text-align: center !important;
    }

    .section-title {
      margin-bottom: 24px !important;
    }
    .section-title h2 {
      font-size: 20px !important;
      margin-bottom: 6px !important;
    }
    .section-title p {
      font-size: 12.5px !important;
    }
    #page-blog article {
      padding: 12px 8px !important;
    }
    .blog-detail-container {
      padding: 16px 12px !important;
    }
    .blog-detail-container h1 {
      font-size: 18px !important;
      line-height: 1.35 !important;
    }
    .blog-content {
      font-size: 14px !important;
      line-height: 1.6 !important;
    }
    .blog-content h2 {
      font-size: 15px !important;
      margin-top: 18px !important;
      margin-bottom: 8px !important;
    }
    .blog-content h3 {
      font-size: 14.5px !important;
    }
    
    /* Mobile Products Grid (2 Columns, Shopee style) */
    .products-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px !important;
      padding: 0 3px !important;
    }
    .product-card {
      height: 415px !important;
      border-radius: 10px !important;
      margin-bottom: 15px !important;
    }
    .product-img {
      height: 40% !important;
    }
    .product-img-inner {
      font-size: 48px !important;
    }
    .product-info {
      padding: 10px !important;
      height: 60% !important;
    }
    .product-name {
      font-size: 15px !important;
      height: 45px !important;
      line-height: 1.4 !important;
      margin-bottom: 4px !important;
      flex-shrink: 0 !important;
    }
    .product-origin {
      font-size: 14px !important;
      margin-bottom: 4px !important;
    }
    .product-stars {
      font-size: 13px !important;
      margin-bottom: 6px !important;
    }
    .product-price {
      font-size: 18px !important;
      white-space: nowrap !important;
    }
    .product-price-old {
      font-size: 14px !important;
    }
    .discount-badge {
      font-size: 12px !important;
      padding: 2px 4px !important;
      transform: none !important;
      white-space: nowrap !important;
    }
    .price-badge-wrapper {
      flex-direction: column !important;
      align-items: flex-start !important;
      width: 100% !important;
      gap: 4px !important;
    }
    .status-badge {
      font-size: 12px !important;
      padding: 2px 6px !important;
      align-self: flex-start !important;
    }
    .product-bottom {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 6px !important;
      padding-top: 6px !important;
      border-top: 1px dashed #f0f0f0 !important;
    }
    .buy-now-btn {
      width: 100% !important;
      text-align: center !important;
      padding: 8px 12px !important;
      font-size: 14px !important;
      border-radius: 6px !important;
      margin-top: 2px !important;
      box-sizing: border-box !important;
    }

    /* Category tabs mobile adjustment */
    .categories-inner {
      padding: 0 0.75rem !important;
    }
    .cat-tab {
      padding: 12px 10px !important;
      font-size: 14px !important;
    }
    
    /* Fonts and headings */
    .section-title h2 {
      font-size: clamp(26px, 7vw, 32px) !important;
    }
    .section-title p {
      font-size: 16px !important;
    }
    .features-strip-title {
      font-size: 13px !important;
    }
    .features-strip-subtitle {
      font-size: 11px !important;
    }
    .feature-card {
      padding: 20px 14px !important;
    }
    .feature-icon {
      font-size: 32px !important;
    }
    .feature-title {
      font-size: 17px !important;
    }
    .feature-desc {
      font-size: 14px !important;
      line-height: 1.5 !important;
    }
    .about-grid h2 {
      font-size: 28px !important;
      margin-bottom: 12px !important;
    }
    .about-grid p {
      font-size: 15px !important;
      line-height: 1.6 !important;
    }
    .footer-brand h3 {
      font-size: 20px !important;
    }
    .footer-brand p {
      font-size: 14px !important;
      line-height: 1.6 !important;
    }
    .footer-col h4 {
      font-size: 15px !important;
      margin-bottom: 10px !important;
    }
    .footer-col a {
      font-size: 14px !important;
      margin-bottom: 6px !important;
    }
    .footer-bottom {
      font-size: 13px !important;
    }
    
    /* Form inputs (iOS auto-zoom prevention) */
    .form-label {
      font-size: 14px !important;
    }
    .form-input {
      font-size: 16px !important;
      padding: 10px 12px !important;
    }
    .form-select {
      font-size: 16px !important;
      padding: 9px 11px !important;
    }
    .payment-label {
      font-size: 15px !important;
    }
    .payment-sub {
      font-size: 12px !important;
    }
    .summary-row {
      font-size: 15px !important;
    }
    .summary-row.total {
      font-size: 16px !important;
    }
    .checkout-btn {
      font-size: 16px !important;
      padding: 12px !important;
    }
    .qty-num {
      font-size: 15px !important;
    }
    .qty-btn {
      width: 22px !important;
      height: 22px !important;
      font-size: 16px !important;
    }
    .cart-item-name {
      font-size: 14px !important;
    }
    .cart-item-price {
      font-size: 15px !important;
    }
    .steps-bar {
      margin-bottom: 12px !important;
    }
    .step-tab {
      font-size: 11px !important;
      padding: 8px 2px !important;
    }
    .step-tab svg {
      width: 11px !important;
      height: 11px !important;
      margin-right: 2px !important;
    }
    
    /* Blog detail page overrides */
    #page-blog h1 {
      font-size: 2.2rem !important;
    }
    #page-blog p {
      font-size: 1rem !important;
    }
    #blog-post-content h2 {
      font-size: 1.5rem !important;
      margin-bottom: 1rem !important;
    }
    #blog-post-content h3 {
      font-size: 1.25rem !important;
      margin: 1.5rem 0 0.8rem 0 !important;
    }
    #blog-post-content h4 {
      font-size: 1.1rem !important;
      margin: 1.2rem 0 0.6rem 0 !important;
    }
    #blog-post-content .article-content {
      font-size: 14px !important;
      line-height: 1.7 !important;
    }
    #blog-post-content div[style*="font-size: 120px"] {
      font-size: 60px !important;
      padding: 1rem !important;
      margin-bottom: 1rem !important;
    }
    #page-blog article {
      padding: 1.25rem 1rem !important;
    }
    .hero-content {
      padding: 40px 1rem !important;
    }
    .hero-btns {
      gap: 8px !important;
    }
    .btn-primary, .btn-outline {
      padding: 12px 20px !important;
      font-size: 16px !important;
    }
  }

  /* NAV ACTIONS EXTENDED */
  .nav-actions { display: flex; align-items: center; gap: 4px;  }
  .nav-divider { width: 1px; height: 36px; background: #e8e8e8; margin: 0 6px; }

  .nav-hotline {
    display: flex; align-items: center; gap: 12px;
    padding: 6px 12px; cursor: default; 
  }
  .nav-hotline-icon { font-size: 28px; flex-shrink: 0; }
  .nav-hotline-text { display: flex; flex-direction: column; line-height: 1.4; }
  .nav-hotline-label { font-size: 15px; color: #555; font-weight: 400; }
  .nav-hotline-number { font-size: 18px; color: #ee4d2d; font-weight: 500; letter-spacing: 0.3px; }

  .nav-account-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 12px; background: none; border: none; cursor: pointer;
    border-radius: 8px; transition: background 0.2s; 
  }
  .nav-account-btn:hover { background: #fff5f2; }
  .nav-account-icon { font-size: 22px; flex-shrink: 0; }
  .nav-account-text { display: flex; flex-direction: column; line-height: 1.35; text-align: left; }
  .nav-account-label { font-size: 13px; color: #555; font-weight: 500; }
  .nav-account-sub { font-size: 15px; color: #333; font-weight: 700; }

  .cart-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: none;
    border: 2px solid #ee4d2d; border-radius: 8px;
    cursor: pointer; transition: all 0.2s; position: relative;
    color: #ee4d2d; white-space: nowrap; flex-wrap: nowrap;
  }
  .cart-btn:hover { background: #fff5f2; }
  .cart-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
  .cart-label { font-size: 15px; font-weight: 700; color: #333; font-family: 'Outfit', sans-serif; white-space: nowrap; }
  .cart-count {
    background: #ee4d2d; color: white;
    border-radius: 6px; padding: 2px 8px;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; flex-shrink: 0;
  }


  /* Shopee Variant modal styles */
  .variant-opt-btn {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s ease;
  }
  .variant-opt-btn.active {
    border-color: #ee4d2d;
    background: #ffefe9;
    color: #ee4d2d;
  }
  .variant-opt-btn:hover {
    background: #fafafa;
  }
  .variant-opt-btn.active:hover {
    background: #ffefe9;
  }
  .blog-card {
    transition: all 0.25s ease !important;
  }
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(238,77,45,0.1) !important;
    border-color: #ee4d2d !important;
  }

  /* Tự động ẩn các nút liên hệ nổi khi giỏ hàng hoặc hộp chọn phân loại đang mở */
  #cartModal.open ~ .floating-contact,
  #variantModal.open ~ .floating-contact {
    display: none !important;
  }

  /* Floating Contact Buttons styling */
  .floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
  }
  
  .contact-btn svg {
    width: 85%;
    height: 85%;
    display: block;
  }

  .zalo-float {
    background: #0068FF;
  }

  .facebook-float {
    background: #1877F2;
  }

  .contact-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  
  /* Pulse effect */
  .contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .zalo-float::before {
    box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6);
    animation: zalo-pulse 2s infinite;
  }

  .facebook-float::before {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.6);
    animation: facebook-pulse 2s infinite 1s; /* stagger */
  }

  @keyframes zalo-pulse {
    0% {
      opacity: 0.8;
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7);
    }
    70% {
      opacity: 0;
      transform: scale(1.4);
      box-shadow: 0 0 0 15px rgba(0, 104, 255, 0);
    }
    100% {
      opacity: 0;
      transform: scale(1.4);
      box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
    }
  }

  @keyframes facebook-pulse {
    0% {
      opacity: 0.8;
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7);
    }
    70% {
      opacity: 0;
      transform: scale(1.4);
      box-shadow: 0 0 0 15px rgba(24, 119, 242, 0);
    }
    100% {
      opacity: 0;
      transform: scale(1.4);
      box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
    }
  }

  /* Responsive styling */
  @media (max-width: 768px) {
    .floating-contact {
      bottom: 20px;
      right: 20px;
      gap: 12px;
    }
    .contact-btn {
      width: 46px;
      height: 46px;
    }
  }

  /* Mobile Bottom Navigation Bar (Shopee Style) */
  .mobile-bottom-nav {
    display: none;
  }
  @media (max-width: 1150px) {
    .mobile-bottom-nav {
      display: flex;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: transparent;
      z-index: 9999;
      justify-content: space-around;
      align-items: center;
      padding: 0;
    }
    .mobile-bottom-nav::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: calc(50% - 39px);
      height: 100%;
      background: white;
      border-top: 1.2px solid #f0f0f0;
      z-index: -1;
      filter: drop-shadow(0 -2px 5px rgba(0,0,0,0.03));
    }
    .mobile-bottom-nav::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      width: calc(50% - 39px);
      height: 100%;
      background: white;
      border-top: 1.2px solid #f0f0f0;
      z-index: -1;
      filter: drop-shadow(0 -2px 5px rgba(0,0,0,0.03));
    }
    .mobile-nav-notch {
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 60px;
      z-index: -1;
      pointer-events: none;
      filter: drop-shadow(0 -2px 5px rgba(0,0,0,0.03));
    }
    .mobile-nav-notch svg {
      display: block;
      width: 100%;
      height: 100%;
    }
    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: #666;
      font-size: 12px;
      font-weight: 500;
      font-family: 'Outfit', sans-serif;
      gap: 3px;
      flex: 1;
      height: 100%;
      transition: color 0.15s;
    }
    .mobile-nav-item svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
    }
    .mobile-nav-item.active {
      color: #ee4d2d;
    }
    .mobile-cart-badge {
      position: absolute;
      top: -6px;
      right: -10px;
      background: #ee4d2d;
      color: white;
      font-size: 9px;
      font-weight: 700;
      border-radius: 50%;
      min-width: 15px;
      height: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 3px;
      border: 1.5px solid white;
    }
    .cart-fab {
      position: relative;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding-bottom: 5px;
      height: 100%;
    }
    .fab-circle {
      position: absolute;
      top: -20px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(135deg, #ff7e5f, #ee4d2d);
      box-shadow: 0 4px 12px rgba(238,77,45,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      transition: all 0.2s ease;
      border: 3px solid white;
      box-sizing: border-box;
    }
    .fab-circle svg {
      width: 22px !important;
      height: 22px !important;
      stroke: white !important;
      fill: none !important;
    }
    .fab-label {
      font-size: 12px;
      font-weight: 500;
      color: #666;
      margin-top: 32px;
      transition: color 0.15s;
    }
    .cart-fab.active .fab-label {
      color: #ee4d2d;
    }
    .cart-fab:active .fab-circle {
      transform: scale(0.95);
    }
    .fab-circle .mobile-cart-badge {
      position: absolute;
      top: -3px;
      right: -3px;
      background: #ee4d2d;
      color: white;
      font-size: 9px;
      font-weight: 700;
      border-radius: 50%;
      min-width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 3px;
      border: 1.5px solid white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .floating-contact {
      bottom: 80px !important;
      right: 16px !important;
    }
    body {
      padding-bottom: 160px !important;
    }
    #cartModal {
      padding: 0 !important;
    }
    #cartModal .modal-panel {
      height: calc(100vh - 60px) !important;
      margin-bottom: 60px !important;
      border-radius: 0 !important;
    }
  }

  /* Tối ưu hóa thẻ sản phẩm cho màn hình xoay ngang (chiều cao nhỏ) */
  @media (max-height: 500px) {
    .products-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 10px !important;
      padding: 0 0 !important;
    }
    .product-card {
      height: 270px !important;
      border-radius: 8px !important;
    }
    .product-img {
      padding-top: 45% !important;
      height: 45% !important;
    }
    .product-img-inner img {
      max-height: 70px !important;
      object-fit: contain !important;
    }
    .product-info {
      padding: 6px 8px !important;
      height: 55% !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: space-between !important;
    }
    .product-name {
      font-size: 15.5px !important;
      height: auto !important;
      line-height: 1.3 !important;
      margin-bottom: 2px !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }
    .product-origin {
      font-size: 13px !important;
      margin-bottom: 2px !important;
    }
    .product-stars {
      font-size: 12px !important;
      margin-bottom: 2px !important;
    }
    .product-price {
      font-size: 17px !important;
    }
    .product-price-old {
      font-size: 13px !important;
    }
    .discount-badge {
      font-size: 11px !important;
      padding: 1px 3px !important;
    }
    .product-bottom {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 4px !important;
      padding-top: 4px !important;
      border-top: 1px dashed #f0f0f0 !important;
    }
    .buy-now-btn {
      width: 100% !important;
      text-align: center !important;
      padding: 5px 10px !important;
      font-size: 12.5px !important;
      border-radius: 6px !important;
      margin-top: 2px !important;
      box-sizing: border-box !important;
    }
    .status-badge {
      display: none !important;
    }
  }

  /* RESPONSIVE LAYOUT FIXES (SCALING & OVERFLOW) */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  .about-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1.5px solid #ee4d2d;
    color: #ee4d2d;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(238,77,45,0.08);
    transition: all 0.25s;
    font-family: 'Outfit', sans-serif;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
  .about-blog-btn:hover {
    background: #ee4d2d !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(238,77,45,0.18) !important;
  }
  .about-blog-btn:hover .arrow-icon {
    transform: translateX(4px);
  }
  
  @media (max-width: 600px) {
    nav {
      padding: 0 10px !important;
    }
    .logo-circle {
      width: 42px !important;
      height: 42px !important;
    }
    .about-blog-btn {
      padding: 10px 16px !important;
      font-size: 13.5px !important;
      border-radius: 20px !important;
      line-height: 1.4 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
  }

  /* AUTH & ACCOUNT MODAL STYLES */
  .auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--cream-dark);
    margin-bottom: 20px;
  }
  .auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
  }
  .auth-tab-btn.active {
    color: #ee4d2d;
    border-bottom-color: #ee4d2d;
  }
  .auth-form {
    display: none;
  }
  .auth-form.active {
    display: block;
  }
  .voucher-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0f0;
    color: #ee4d2d;
    border: 1px dashed #ee4d2d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .voucher-tag:hover {
    background: #ffe3e3;
  }
  .coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .coupon-input {
    flex: 1;
    text-transform: uppercase;
  }
  .account-detail-card {
    background: var(--cream);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--cream-dark);
  }
  .order-item-history {
    border-bottom: 1px solid var(--cream-dark);
    padding: 10px 0;
  }
  .order-item-history:last-child {
    border-bottom: none;
  }

  /* Coupon Item Styling */
  .coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff5f2;
    border: 1px dashed #ee4d2d;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
  }
  .coupon-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    border-right: 1px dashed #ee4d2d;
  }
  .coupon-item::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    border-left: 1px dashed #ee4d2d;
  }
  .coupon-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding-left: 8px;
  }
  .coupon-code {
    font-size: 15px;
    font-weight: 800;
    color: #ee4d2d;
    font-family: 'Outfit', sans-serif;
  }
  .coupon-desc {
    font-size: 12.5px;
    color: #666;
    line-height: 1.3;
  }
  .coupon-copy-btn {
    background: #ee4d2d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    white-space: nowrap;
  }
  .coupon-copy-btn:hover {
    background: #d43f25;
  }
  .coupon-copy-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
  }
  .coupon-item.used {
    background: #fafafa;
    border-color: #ccc;
    opacity: 0.7;
  }
  .coupon-item.used .coupon-code {
    color: #777;
  }
  .coupon-item.used::before, .coupon-item.used::after {
    border-color: #ccc;
  }
  .coupon-item.locked {
    background: #fdfdfd;
    border-color: #ddd;
    opacity: 0.8;
  }
  .coupon-item.locked .coupon-code {
    color: #999;
  }
  .coupon-item.locked::before, .coupon-item.locked::after {
    border-color: #ddd;
  }
  
  /* ZALO SIMULATED TOAST NOTIFICATION */
  .sms-toast-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: 380px;
    max-width: 92%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    border-left: 6px solid #0068ff;
    padding: 16px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  .sms-toast-overlay.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
  }
  .sms-title {
    font-size: 12px;
    font-weight: 700;
    color: #0068ff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sms-time {
    font-size: 12px;
    color: #94a3b8;
  }
  .sms-body {
    font-size: 13.5px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 8px;
    user-select: all;
  }
  .sms-copy-btn {
    background: #e6f0ff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0068ff;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .sms-copy-btn:hover {
    background: #d0e4ff;
    color: #0056d6;
  }
  .sms-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
  }
  .sms-close:hover {
    color: #475569;
  }
  
  /* FORGOT PASSWORD FORM STYLES */
  #forgot-otp-input {
    letter-spacing: 6px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    color: #0068ff;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.2s;
  }
  #forgot-otp-input:focus {
    border-color: #0068ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.15);
  }
  
  /* Floating Cart Button Style */
  .cart-float {
    background: linear-gradient(135deg, #ff6b4a 0%, #ee4d2d 100%);
  }
  .cart-float-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ffffff;
    color: #ee4d2d;
    border: 2px solid #ee4d2d;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  @media (max-width: 900px) {
    .cart-float {
      display: none !important;
    }
  }

  /* Fair Announcement Banner Style */
  .fair-banner {
    background: #FDEAE2;
    color: #3D2516;
    border-radius: 24px;
    padding: 36px;
    margin: 32px auto;
    max-width: 1200px;
    box-shadow: 0 12px 30px rgba(61, 37, 22, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #C9972A;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
  }

  .fair-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(201, 151, 42, 0.1);
    border-radius: 50%;
    pointer-events: none;
  }

  .fair-info-col {
    flex: 1 1 550px;
    min-width: 0;
  }

  .fair-badge {
    background: #DFB556;
    color: #3D2516;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
  }

  .fair-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 5px;
    color: #3D2516;
    line-height: 1.3;
    white-space: nowrap;
  }

  .fair-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15.5px;
    color: #5A4235;
    line-height: 1.4;
    font-weight: 500;
  }

  .fair-detail-item strong {
    font-weight: 700;
    color: #3D2516;
  }

  .fair-detail-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #C9972A;
  }

  .fair-countdown-col {
    flex: 1 1 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(61, 37, 22, 0.05);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(61, 37, 22, 0.1);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
  }

  .fair-timer-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #C9972A;
    font-weight: 700;
  }

  .fair-timer-grid {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 16px;
  }

  .fair-timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #3D2516;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 70px;
    padding: 12px 0;
  }

  .fair-timer-num {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    font-family: monospace;
  }

  .fair-timer-label {
    font-size: 12px;
    color: #EAD2C6;
    margin-top: 4px;
    font-weight: 600;
  }

  .fair-maps-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b4a 0%, #ee4d2d 100%);
    color: white !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 18px;
  }

  .fair-maps-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(238, 77, 45, 0.5);
  }

  .fair-maps-btn svg {
    transition: transform 0.4s ease;
  }

  .fair-maps-btn:hover svg {
    transform: rotate(45deg);
  }

  @media (max-width: 768px) {
    .fair-banner {
      padding: 20px 16px;
      margin: 16px;
    }
    .fair-info-col, .fair-countdown-col {
      flex: 1 1 100%;
      min-width: 0;
      width: 100%;
    }
    .fair-title {
      font-size: 22px;
      white-space: normal;
    }
    .fair-countdown-col {
      padding: 16px 12px;
    }
    .fair-timer-grid {
      gap: 10px;
    }
    .fair-timer-box {
      width: 55px;
      padding: 8px 0;
    }
    .fair-timer-num {
      font-size: 20px;
    }
  }
/* Variant Modal 6:4 Layout */
.variant-modal-body-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.variant-modal-gallery-col {
  width: 60%;
  flex-shrink: 0;
}
.variant-modal-info-col {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .variant-modal-body-layout {
    flex-direction: column;
  }
  .variant-modal-gallery-col,
  .variant-modal-info-col {
    width: 100%;
  }
}

/* Ultra narrow screens (iPhone SE, Galaxy Fold external, etc) */
@media (max-width: 380px) {
  .product-card { height: 365px !important; }
  .product-img { height: 45% !important; }
  .product-info { height: 55% !important; padding: 6px 8px !important; }
  .product-name { font-size: 14.5px !important; margin-bottom: 2px !important; flex-shrink: 0 !important; }
  .product-origin { font-size: 11px !important; margin-bottom: 2px !important; }
  .product-stars { font-size: 9px !important; margin-bottom: 4px !important; }
  .product-price { font-size: 16px !important; }
  .product-price-old { font-size: 12px !important; }
  .discount-badge { font-size: 10px !important; padding: 1px 3px !important; margin-left: 4px !important; }
  .status-badge { font-size: 10px !important; padding: 2px 4px !important; border-left: 2px solid #ee4d2d !important; }
  .product-bottom { gap: 3px !important; padding-top: 4px !important; }
  .buy-now-btn { font-size: 13px !important; padding: 6px 10px !important; }
}

.product-weight { font-size: 11px !important; }

/* ANIMATIONS (Zoom, Shine, Pulse, Fade-in) */

/* 1. Zoom-in for Product Image */
.product-img-inner img {
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-inner img {
  transform: scale(1.05);
}

/* 2. Shine Sweep for Product Badge */
.product-badge {
  overflow: hidden;
}
.product-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine-sweep 3s infinite;
}
@keyframes shine-sweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* 3. Heartbeat for Cart Icon */
.cart-icon {
  animation: heartbeat 2.5s infinite;
}
@keyframes heartbeat {
  0% { transform: scale(1); }
  10% { transform: scale(1.15); }
  20% { transform: scale(1); }
  30% { transform: scale(1.15); }
  40% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Ringing for Hotline */
.hotline i {
  animation: ring-phone 2s infinite ease-in-out;
  display: inline-block;
}
@keyframes ring-phone {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-15deg); }
  20% { transform: rotate(15deg); }
  30% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* 4. Fade-in Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Hide footer columns on mobile */
@media (max-width: 768px) {
  .footer-col {
    display: none !important;
  }
}


@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Custom Combobox */
.custom-combobox {
  position: relative;
  width: 100%;
}
.custom-combobox-input {
  width: 100%;
  padding-right: 36px;
  box-sizing: border-box;
}
.custom-combobox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  outline: none;
}
.custom-combobox-toggle:hover {
  color: var(--brown-dark);
}
.custom-combobox-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.custom-combobox-list.open {
  display: block;
}
.custom-combobox-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: background 0.15s;
}
.custom-combobox-item:hover, .custom-combobox-item.active {
  background: #f0f0f0;
  color: var(--brown-dark);
}
.custom-combobox-empty {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .change-banner-btn {
    top: 8px;
    right: 8px;
    padding: 7px 10px;
    font-size: 12px;
    max-width: calc(100% - 16px);
  }
}
