    script, script[type="application/ld+json"], style { display: none !important; }
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }
    button, a, input, select, textarea, .preview-btn {
      -webkit-tap-highlight-color: transparent;
    }

    :root {
      --primary: #c62828;
      --primary-dark: #8e0000;
      --bg: #f8f3ec;
      --card-bg: #fff;
      --text: #111111;
      --text-sub: #444444;
      --price-start: #b71c1c;
      --price-end: #e65100;
      --mrp: #888888;
      --border: #ebdcd0;
      --radius: 12px;
      --off-bg: #e8f5e9;
      --off-fg: #1b5e20;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Tamil', Arial, sans-serif;
      background: linear-gradient(180deg, #fdf8f4 0%, #f6ede3 350px, #f2e7da 100%);
      min-height: 100vh;
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }



    .top-bar, .main, .site-footer {
      position: relative;
      z-index: 1;
    }

    /* ═══════════════════════════════
       TOP BAR (Sticky Header)
    ═══════════════════════════════ */
    .top-bar {
      position: sticky; top: 0; z-index: 100;
      background: linear-gradient(135deg, #140723 0%, #280b31 40%, #4a091e 75%, #6b0f12 100%);
      border-bottom: 2px solid rgba(255, 215, 0, 0.35);
      box-shadow: 0 4px 20px rgba(18, 5, 28, 0.4);
      overflow: hidden;
    }
    .header-fireworks {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    /* Balanced 3-column desktop layout: Brand (left) | Search (center) | Phone (right) */
    .top-main-row {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 20px 8px;
    }

    .brand-group {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      min-width: max-content;
    }
    .brand-logo {
      width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
      flex-shrink: 0;
      border: 2px solid #ffd54f;
      box-shadow: 0 0 12px rgba(255, 213, 79, 0.45);
    }
    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }
    .brand-name {
      margin: 0;
      font-size: 18px; font-weight: 900;
      background: linear-gradient(135deg, #ffffff 0%, #ffe082 45%, #ffb300 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.3px;
      line-height: 1.15;
      white-space: nowrap;
    }
    .brand-sub {
      font-size: 11px;
      color: #ffd54f;
      opacity: 0.92;
      font-weight: 600;
      white-space: nowrap;
    }

    /* Center Aligned Search Bar */
    .search-wrapper {
      flex: 2;
      max-width: 500px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
    }
    .search-box {
      position: relative;
      width: 100%;
    }
    .search-box svg {
      position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
      width: 16px; height: 16px; color: #917c71; pointer-events: none;
    }
    #search-input {
      width: 100%;
      padding: 9px 36px 9px 38px;
      border: 1.5px solid transparent;
      border-radius: 22px;
      font-size: 16px;
      color: #111;
      background: #ffffff;
      outline: none;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      transition: border-color .18s, box-shadow .18s, background .15s;
    }
    #search-input:focus {
      border-color: #ff9800;
      box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.35), 0 3px 14px rgba(0, 0, 0, 0.2);
    }
    #search-input::placeholder { color: #a49186; }
    /* Hide native Android/WebKit clear cross button to prevent double cross buttons */
    #search-input::-webkit-search-decoration,
    #search-input::-webkit-search-cancel-button,
    #search-input::-webkit-search-results-button,
    #search-input::-webkit-search-results-decoration {
      -webkit-appearance: none;
      appearance: none;
      display: none;
    }
    .search-clear {
      position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
      background: #e6ded8; border: none; border-radius: 50%;
      width: 22px; height: 22px; font-size: 12px; cursor: pointer;
      color: #665; display: none; line-height: 22px; text-align: center;
    }
    .search-clear:hover { background: #ffd54f; color: #8e0000; }
    #search-input:not(:placeholder-shown) ~ .search-clear { display: block; }

    /* Desktop Right Corner: Store Location & Phone Number */
    .top-right-corner {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 9px;
      flex-shrink: 0;
      margin-left: auto;
    }
    .top-location-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      color: #ffd54f;
      text-decoration: none;
      border: 1px solid rgba(255, 215, 0, 0.35);
      transition: background 0.15s, border-color 0.15s, transform 0.15s;
      flex-shrink: 0;
    }
    .top-location-link:hover {
      background: rgba(255, 215, 0, 0.18);
      border-color: rgba(255, 215, 0, 0.6);
      transform: translateY(-1px);
    }
    .top-location-link svg {
      width: 17px;
      height: 17px;
      stroke: currentColor;
    }
    .contact-phone-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 15px;
      border-radius: 20px;
      background: linear-gradient(135deg, #e65100 0%, #d32f2f 100%);
      color: #ffffff;
      text-decoration: none;
      font-weight: 800;
      font-size: 13.5px;
      letter-spacing: 0.2px;
      border: 1px solid rgba(255, 215, 0, 0.45);
      box-shadow: 0 3px 10px rgba(211, 47, 47, 0.35);
      transition: transform .15s, box-shadow .15s, filter .15s;
      white-space: nowrap;
      cursor: pointer;
    }
    .contact-phone-link svg {
      width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    }
    .contact-phone-link:hover {
      transform: translateY(-1px);
      filter: brightness(1.1);
      box-shadow: 0 4px 14px rgba(211, 47, 47, 0.5);
    }

    /* Chips Bar: Strictly English, No Emojis */
    .top-chips {
      position: relative;
      z-index: 2;
      overflow-x: auto; -webkit-overflow-scrolling: touch;
      scrollbar-width: none; padding: 5px 20px 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-chips::-webkit-scrollbar { display: none; }
    .chips-row { display: flex; gap: 8px; width: max-content; }
    .chip {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 14px; border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: rgba(255, 255, 255, 0.12);
      color: #f7ede2;
      font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
      user-select: none; -webkit-tap-highlight-color: transparent;
      backdrop-filter: blur(8px);
      transition: background .18s, border-color .18s, transform .15s;
    }
    .chip:hover {
      border-color: #ffd54f;
      color: #ffd54f;
      background: rgba(255, 255, 255, 0.22);
    }
    .chip:focus-visible { outline: 2px solid #ffd54f; outline-offset: 2px; }
    .chip.active {
      background: linear-gradient(135deg, #ff6f00 0%, #e64a19 45%, #c2185b 100%);
      border-color: #ffe082;
      color: #fff;
      font-weight: 700;
      box-shadow: 0 3px 10px rgba(230, 74, 25, 0.45);
    }
    .chip-n {
      font-size: 10.5px; font-weight: 700;
      background: rgba(0, 0, 0, 0.28);
      padding: 1px 6px; border-radius: 10px;
    }
    .chip.active .chip-n { background: rgba(0, 0, 0, 0.35); color: #fff; }

    /* ═══════════════════════════════
       MAIN CONTENT
    ═══════════════════════════════ */
    .main {
      flex: 1 0 auto;
      width: 100%;
      box-sizing: border-box;
      padding: 22px 16px 85px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .cat-section {
      margin-bottom: 28px;
      content-visibility: auto;
      contain-intrinsic-size: 1px 450px;
    }
    .cat-section[hidden] { display: none; }
    .cat-heading {
      display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
      padding: 0 4px;
    }
    .cat-heading h2 {
      font-size: 17px; font-weight: 800;
      background: linear-gradient(135deg, #7c1012 0%, #b71c1c 50%, #d84315 100%);
      display: flex;
      align-items: center;
      gap: 8px;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.2px;
    }
    .cat-heading h2::before {
      content: '';
      display: inline-block;
      width: 4px;
      height: 16px;
      border-radius: 3px;
      background: linear-gradient(180deg, #d32f2f 0%, #ff9800 100%);
      flex-shrink: 0;
      -webkit-text-fill-color: initial;
    }
    .cat-ta-sub {
      font-size: 13.5px; font-weight: 700;
      color: #7c1012; opacity: 0.9; margin-left: 6px;
      -webkit-text-fill-color: #5c181a;
      letter-spacing: normal;
    }
    .cat-count {
      margin-left: auto; font-size: 12px;
      color: #9c3111;
      background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
      border: 1px solid #ffd0a8;
      padding: 3px 10px; border-radius: 12px;
      font-weight: 700;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* ═══════════════════════════════
       PRODUCT LIST & ROWS
    ═══════════════════════════════ */
    .product-list {
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 6px 20px rgba(138, 77, 43, 0.08);
      overflow: hidden;
    }

    /* Desktop table header */
    .list-header {
      display: none;
      color: #111111;
      font-weight: 800;
    }

    .product-row {
      display: grid;
      align-items: center;
      padding: 10px 12px;
      border-bottom: 1px solid #f4ebe3;
      transition: background .15s, border-color .15s;
      grid-template-columns: 46px 1fr auto;
      grid-template-rows: auto auto;
      grid-template-areas:
        "thumb  en   price-group"
        "thumb  ta   qty";
      column-gap: 12px;
      row-gap: 4px;
    }
    .product-row:last-child { border-bottom: none; }
    .product-row:hover {
      background: linear-gradient(90deg, rgba(255, 243, 224, 0.55) 0%, rgba(255, 235, 238, 0.35) 100%);
    }
    .product-row.is-selected {
      background: linear-gradient(90deg, rgba(255, 243, 224, 0.75) 0%, rgba(255, 235, 238, 0.55) 100%);
      border-left: 3.5px solid #d32f2f;
    }
    .product-row[hidden] { display: none; }

    /* Quantity Controls (Clean, Not Clumsy) */
    .col-price-group {
      grid-area: price-group;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      gap: 2px;
    }
    .col-qty {
      grid-area: qty;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .btn-qty-add {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      height: 27px;
      padding: 0 11px;
      background: #ffffff;
      border: 1.5px solid #d32f2f;
      color: #d32f2f;
      border-radius: 20px;
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: .2px;
      cursor: pointer;
      transition: all 0.16s ease;
      user-select: none;
      -webkit-user-select: none;
      box-shadow: 0 1px 4px rgba(211, 47, 47, 0.12);
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .btn-qty-add svg {
      flex-shrink: 0;
    }
    .btn-qty-add:hover {
      background: #d32f2f;
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 3px 8px rgba(211, 47, 47, 0.28);
    }
    .btn-qty-add:active {
      transform: scale(0.96);
    }

    .qty-stepper {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      height: 27px;
      width: 82px;
      background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
      border-radius: 20px;
      border: 1px solid #8e0000;
      box-shadow: 0 2px 6px rgba(183, 28, 28, 0.35);
      overflow: hidden;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .stepper-btn {
      width: 25px;
      height: 100%;
      border: none;
      background: transparent;
      color: #ffffff;
      font-size: 16px;
      font-weight: 900;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.12s;
      padding: 0;
      line-height: 1;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      user-select: none;
      -webkit-user-select: none;
    }
    .stepper-btn:hover {
      background: rgba(0, 0, 0, 0.2);
    }
    .stepper-btn:active {
      background: rgba(0, 0, 0, 0.35);
    }
    .stepper-input {
      width: 32px;
      height: 100%;
      border: none;
      background: transparent;
      color: #ffffff;
      font-size: 16px; /* 16px minimum prevents iOS Safari auto-focus zoom */
      font-weight: 800;
      text-align: center;
      padding: 0;
      outline: none;
      -moz-appearance: textfield;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
    }
    .stepper-input::-webkit-outer-spin-button,
    .stepper-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    /* Cracker Image Thumbnail with Click-to-Zoom Indicator */
    .col-thumb.preview-btn {
      grid-area: thumb;
      width: 46px; height: 46px;
      background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(255, 152, 0, 0.25);
      border: 1.5px solid rgba(255, 183, 77, 0.5);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      padding: 0;
      display: flex; align-items: center; justify-content: center;
      transition: transform .18s, box-shadow .18s, border-color .18s;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
    }
    .col-thumb.preview-btn:hover {
      transform: scale(1.1);
      border-color: #ffd54f;
      box-shadow: 0 4px 14px rgba(230, 81, 0, 0.4);
    }
    .thumb-img {
      width: 100%; height: 100%;
      object-fit: cover;
      border-radius: inherit;
      display: block;
    }
    .zoom-indicator {
      position: absolute;
      bottom: 2px; right: 2px;
      background: rgba(0, 0, 0, 0.65);
      color: #ffd54f;
      width: 16px; height: 16px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      opacity: 0.85;
      transition: opacity .15s, transform .15s;
    }
    .col-thumb.preview-btn:hover .zoom-indicator {
      opacity: 1;
      transform: scale(1.15);
      background: #d32f2f;
      color: #fff;
    }

    /* Names: Both English & Tamil in strong black */
    .col-en {
      grid-area: en;
      font-size: 13.5px; font-weight: 700; color: #111111; line-height: 1.3;
      align-self: end;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .col-ta {
      grid-area: ta;
      font-size: 12.5px; font-weight: 600; color: #111111; line-height: 1.3;
      align-self: start;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }

    .col-mrp {
      grid-area: mrp;
      text-align: right;
      display: flex; align-items: center; gap: 5px; justify-content: flex-end;
      align-self: end;
    }
    .price-mrp {
      font-size: 11px; color: var(--mrp); text-decoration: line-through; white-space: nowrap;
    }
    .price-off {
      font-size: 10.5px; font-weight: 800;
      color: var(--off-fg);
      background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
      border: 1px solid #a5d6a7;
      padding: 1px 5px; border-radius: 4px; white-space: nowrap; line-height: 1.5;
    }
    .col-price {
      grid-area: price;
      font-size: 16.5px; font-weight: 900;
      background: linear-gradient(135deg, var(--price-start) 0%, var(--price-end) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: right; white-space: nowrap;
      align-self: start; letter-spacing: -0.4px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
    .col-unit-sub {
      font-size: 10px;
      font-weight: 700;
      color: #e65100;
      -webkit-text-fill-color: #e65100;
      letter-spacing: 0;
      margin-top: 1px;
    }

    /* Empty State */
    #empty-state { display: none; text-align: center; padding: 60px 20px; }
    #empty-state.show { display: block; }
    .empty-icon { font-size: 46px; margin-bottom: 12px; }
    .empty-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
    .empty-msg { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }
    .btn-reset {
      padding: 9px 22px;
      background: linear-gradient(135deg, #ff6f00 0%, #d32f2f 100%);
      color: #fff;
      border: none; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer;
      box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
      transition: transform .15s, box-shadow .15s;
    }
    .btn-reset:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(211, 47, 47, 0.45);
    }

    /* ═══════════════════════════════
       IMAGE PREVIEW MODAL (Loads On Demand)
    ═══════════════════════════════ */
    .img-modal {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
      z-index: 1000;
      align-items: center; justify-content: center;
      padding: 16px;
    }
    .img-modal.active {
      display: flex;
    }
    .modal-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(10, 4, 18, 0.75);
      backdrop-filter: blur(6px);
    }
    .modal-card {
      position: relative;
      z-index: 2;
      background: #ffffff;
      border-radius: 16px;
      width: 440px;
      max-width: 92vw;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
      animation: modalPop .22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1.5px solid rgba(255, 215, 0, 0.4);
    }
    @keyframes modalPop {
      from { transform: scale(0.92); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .modal-close {
      position: absolute;
      top: 10px; right: 10px;
      z-index: 10;
      background: rgba(0, 0, 0, 0.65);
      color: #fff;
      border: none;
      width: 32px; height: 32px;
      border-radius: 50%;
      font-size: 16px; font-weight: 700;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .15s, transform .15s;
    }
    .modal-close:hover {
      background: #d32f2f;
      transform: scale(1.1);
    }
    .modal-img-container {
      width: 100%;
      height: 280px;
      background: linear-gradient(135deg, #150724 0%, #280b2a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding: 10px;
      border-bottom: 1px solid #f0e6dd;
    }
    .modal-img-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 6px;
    }
    .modal-spinner {
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      color: #ffd54f; font-size: 12px; font-weight: 700;
    }
    .spinner-ring {
      width: 32px; height: 32px;
      border: 3px solid rgba(255, 213, 79, 0.25);
      border-top-color: #ffd54f;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .modal-info {
      padding: 16px 20px 20px;
      background: #ffffff;
      display: flex;
      flex-direction: column;
    }
    .modal-title-en {
      font-size: 17.5px; font-weight: 800; color: #111111; margin-bottom: 3px; line-height: 1.3;
    }
    .modal-title-ta {
      font-size: 14.5px; font-weight: 700; color: #222222; margin-bottom: 12px; line-height: 1.3;
    }
    .modal-prices {
      display: flex; align-items: center; gap: 10px;
      padding-top: 12px; border-top: 1px solid #f0e6dd;
    }
    .modal-prices .price-mrp {
      font-size: 14px;
      color: #888888;
      text-decoration: line-through;
    }
    .modal-prices .price-off {
      font-size: 12px;
      font-weight: 800;
      color: #1b5e20;
      background: #e8f5e9;
      border: 1px solid #a5d6a7;
      padding: 2px 7px;
      border-radius: 4px;
    }
    .modal-prices .price-now {
      font-size: 24px; font-weight: 900;
      margin-left: auto;
      background: linear-gradient(135deg, var(--price-start) 0%, var(--price-end) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* ═══════════════════════════════
       FOOTER (Local SEO & Store Information)
    ═══════════════════════════════ */
    magizh-footer {
      display: block;
      margin-top: auto;
    }
    .site-footer {
      margin-top: auto;
      text-align: center;
      padding: 22px 16px 20px;
      background: linear-gradient(135deg, #140723 0%, #280b31 50%, #4a091e 100%);
      color: #f7ede2;
      opacity: 1;
      visibility: visible;
    }
    .footer-content {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 13px;
    }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      font-size: 12px;
      color: #ffd54f;
    }
    .footer-nav-link {
      color: rgba(255, 215, 0, 0.7);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-size: 12px;
      transition: color 0.15s ease;
    }
    .footer-nav-link:hover {
      color: #ffd700;
    }
    .footer-divider { opacity: 0.5; }
    .footer-credit {
      color: #ffffff;
      font-weight: 600;
    }

    /* ═══════════════════════════════
       RESPONSIVE RULES
    ═══════════════════════════════ */
    @media (max-width: 860px) {
      .top-main-row {
        flex-wrap: wrap;
        padding: 8px 12px 6px;
        gap: 8px;
      }
      .brand-group {
        flex: 1;
        min-width: 0;
      }
      .brand-logo { width: 36px; height: 36px; }
      .brand-name { font-size: 16px; }
      .top-right-corner {
        flex: 0 0 auto;
        gap: 7px;
        margin-left: auto;
      }
      .top-location-link { width: 30px; height: 30px; }
      .top-location-link svg { width: 15px; height: 15px; }
      .contact-phone-link { padding: 5px 11px; font-size: 12px; }
      .contact-phone-link span { font-size: 11.5px; }

      /* Mobile: push search bar to dedicated row */
      .search-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        order: 3;
        margin-top: 3px;
      }
      #search-input { padding: 8px 34px 8px 36px; font-size: 16px; }
      .top-chips { padding: 4px 12px 8px; }
    }

    @media (max-width: 480px) {
      .modal-card {
        width: 330px;
        max-width: 92vw;
      }
      .modal-img-container {
        height: 240px;
      }
      .modal-info {
        padding: 14px 16px 16px;
      }
      .modal-title-en { font-size: 16px; }
      .modal-title-ta { font-size: 13.5px; margin-bottom: 10px; }
      .modal-prices .price-now { font-size: 21px; }
    }

    @media (min-width: 600px) and (max-width: 1023px) {
      .main { padding: 22px 24px 60px; }
      .product-row {
        grid-template-columns: 50px 1fr auto;
        padding: 12px 18px;
        column-gap: 15px;
        row-gap: 4px;
        grid-template-areas:
          "thumb  en   price-group"
          "thumb  ta   qty";
      }
      .col-thumb.preview-btn { width: 48px; height: 48px; }
      .col-en  { font-size: 14.5px; white-space: normal; }
      .col-ta  { font-size: 13.5px; white-space: normal; color: #111; }
      .col-price { font-size: 18px; }
      .price-mrp { font-size: 12px; }
      .price-off { font-size: 11px; }
    }

    @media (min-width: 1024px) {
      .top-main-row {
        max-width: 1400px;
        margin: 0 auto;
        padding: 10px 36px 8px;
      }
      .top-chips {
        max-width: 1400px;
        margin: 0 auto;
        padding: 6px 36px 10px;
      }
      .main { padding: 26px 36px 70px; }
      .cat-heading h2 { font-size: 18px; }

      .list-header {
        display: grid;
        grid-template-columns: 52px 1.2fr 1fr minmax(110px, 140px) minmax(90px, 120px) minmax(105px, 125px);
        gap: 16px;
        padding: 10px 20px;
        background: linear-gradient(90deg, #fff8f2 0%, #fdf0e6 100%);
        border-bottom: 1.5px solid var(--border);
        font-size: 11.5px; font-weight: 800;
        text-transform: uppercase; letter-spacing: .6px;
        color: #111111;
      }
      .lh-right { text-align: right; }
      .lh-center { text-align: center; }

      .product-row {
        grid-template-columns: 52px 1.2fr 1fr minmax(110px, 140px) minmax(90px, 120px) minmax(105px, 125px);
        grid-template-rows: auto;
        grid-template-areas: "thumb en ta mrp price qty";
        column-gap: 16px;
        row-gap: 0;
        padding: 14px 20px;
      }
      .col-price-group {
        display: contents;
      }
      .col-thumb.preview-btn { width: 46px; height: 46px; }
      .col-en {
        font-size: 15.5px; align-self: center;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      }
      .col-ta {
        font-size: 14px; align-self: center;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        color: #111111;
      }
      .col-mrp {
        flex-direction: column; align-items: flex-end; gap: 3px;
        align-self: center;
      }
      .price-mrp { font-size: 13px; }
      .price-off { font-size: 11px; padding: 2px 6px; }
      .col-price { font-size: 21px; align-self: center; }
      .col-qty { justify-content: center; }
    }

    @media (min-width: 1400px) {
      .top-main-row {
        padding: 12px 52px 8px;
      }
      .top-chips {
        padding: 6px 52px 10px;
      }
      .main { padding: 30px 52px 70px; }
      .product-row { padding: 15px 26px; column-gap: 22px; }
      .list-header { padding: 11px 26px; column-gap: 22px; }
      .col-en { font-size: 16.5px; }
      .col-ta { font-size: 15px; }
      .col-price { font-size: 23px; }
    }

    :focus-visible { outline: 2px solid #ffd54f; outline-offset: 2px; }

/* Screen Reader Only (Visually Hidden but SEO safe) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ═════════════════════════════════════════════════════════════════════
   STORE LOCATION & NEARBY AREAS (locations.html)
   ═════════════════════════════════════════════════════════════════════ */
.top-main-row-loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand-group-loc {
  text-decoration: none;
}

.store-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 16px 56px;
  flex: 1;
}

/* Intro Section */
.store-intro {
  text-align: center;
  margin-bottom: 36px;
}

.store-intro-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #8e0000;
  background: #fdf2e9;
  border: 1px solid #f3d5c0;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.store-intro h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1a0826;
  line-height: 1.3;
  margin-bottom: 8px;
}

.store-intro-tamil {
  font-size: 16px;
  color: #8e0000;
  font-weight: 600;
  margin-bottom: 12px;
}

.store-intro p {
  font-size: 15px;
  color: #4a4a4a;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Content Cards */
.content-card {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.content-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a0826;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card p {
  font-size: 14.5px;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.store-notice-text {
  margin-bottom: 12px;
  color: #444444;
}

/* Proper Tabular Format with Column Borders */
.store-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 20px;
  border: 1px solid #d5c4b5;
}

.store-table th,
.store-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border: 1px solid #d5c4b5;
  vertical-align: top;
}

.store-table th {
  width: 175px;
  color: #555555;
  font-weight: 700;
  background: #faf5ee;
}

.store-table td {
  color: #222222;
  background: #ffffff;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .store-table,
  .store-table tbody,
  .store-table tr,
  .store-table th,
  .store-table td {
    display: block;
    width: 100%;
  }
  .store-table th {
    border-bottom: none;
    padding-bottom: 4px;
    background: #faf5ee;
  }
  .store-table td {
    padding-top: 4px;
  }
}

/* Contact & Action Buttons (Clean & Neutral) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  background: #faf6f0;
  color: #222222;
  border: 1px solid #dcd1c6;
  transition: all 0.15s ease;
}

.btn-action:hover {
  background: #f2e7db;
  border-color: #baa998;
  color: #000000;
}

.btn-action svg {
  opacity: 0.7;
}

/* Localities Section */
.localities-note {
  font-size: 14px;
  color: #555555;
  margin-bottom: 16px;
  line-height: 1.6;
}

.locality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.locality-chip {
  background: #faf6f0;
  border: 1px solid #ebdcd0;
  color: #333333;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.15s ease;
}

.locality-chip:hover {
  background: #fdf2e9;
  border-color: #d7b59e;
  color: #8e0000;
}

/* Back Button in Top Bar */
.header-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 215, 0, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
}

.header-back-btn:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.6);
}

/* ═══════════════════════════════════════════
   ESTIMATION PRICE STRIP (Below Category Scroll)
   Clean single-row display: Estimated Total Only
   ═══════════════════════════════════════════ */
.estimate-strip {
  display: none; /* Only show when items > 0 */
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(20, 7, 35, 0.98) 0%, rgba(46, 10, 32, 0.98) 50%, rgba(76, 12, 22, 0.98) 100%);
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 4px 16px rgba(10, 3, 16, 0.35);
  padding: 8px 16px;
  transition: all 0.2s ease;
}
.estimate-strip.active {
  display: block;
  animation: stripSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes stripSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.est-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.est-strip-main {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  min-width: 0;
  padding: 2px 0;
}
.est-strip-cart {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 179, 0, 0.15) 100%);
  border: 1.5px solid #ffd54f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd54f;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 213, 79, 0.3);
}
.est-strip-cart svg {
  stroke: #ffd54f;
}
.est-strip-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #d32f2f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.est-strip-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.est-strip-lbl {
  font-size: 17px;
  font-weight: 700;
  color: #ffe082;
  letter-spacing: 0.1px;
  white-space: nowrap;
  line-height: 1;
}
.est-strip-price {
  font-size: 17px;
  font-weight: 800;
  color: #ffd54f;
  letter-spacing: -0.2px;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 8px rgba(255, 213, 79, 0.6),
    0 0 16px rgba(255, 179, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.est-strip-price.bump {
  animation: priceBump 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes priceBump {
  0% { transform: scale(1); }
  50% {
    transform: scale(1.15);
    color: #ffffff;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.9),
      0 0 18px rgba(255, 213, 79, 0.8),
      0 0 28px rgba(255, 179, 0, 0.5);
  }
  100% { transform: scale(1); }
}

.est-strip-details {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.est-strip-divider {
  color: rgba(255, 215, 0, 0.4);
  font-size: 13px;
  user-select: none;
}
.est-strip-count {
  font-size: 13px;
  font-weight: 600;
  color: #ffe082;
  white-space: nowrap;
}
.est-strip-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(46, 125, 50, 0.28);
  border: 1px solid rgba(129, 199, 132, 0.45);
  color: #a5d6a7;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.est-strip-savings-badge svg {
  stroke: #81c784;
  flex-shrink: 0;
}

/* Actions in strip */
.est-strip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-strip-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffcdd2;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}
.btn-strip-clear:hover {
  background: rgba(211, 47, 47, 0.45);
  border-color: #ef5350;
  color: #ffffff;
}
.btn-strip-clear:active {
  transform: scale(0.95);
}
.btn-strip-view {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 16px;
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
  color: #1a0826;
  border: none;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 179, 0, 0.35);
  transition: all 0.16s ease;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}
.btn-strip-view:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.5);
}
.btn-strip-view:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════
   RESPONSIVE MODES: DESKTOP, TABLET & MOBILE
   ═══════════════════════════════════════════ */

/* Desktop Mode (>= 1024px) */
@media (min-width: 1024px) {
  .estimate-strip {
    padding: 9px 0;
  }
  .est-strip-inner {
    padding: 0 36px;
  }
  .est-strip-lbl {
    font-size: 18px;
  }
  .est-strip-price {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  .est-strip-inner {
    padding: 0 52px;
  }
}

/* Tablet Mode (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .estimate-strip {
    padding: 7px 16px;
  }
  .est-strip-lbl {
    font-size: 15.5px;
  }
  .est-strip-price {
    font-size: 15.5px;
  }
  .est-strip-count {
    font-size: 12px;
  }
  .est-strip-savings-badge {
    font-size: 11px;
    padding: 2px 7px;
  }
}

/* Mobile Mode (<= 767px): Hide secondary count & savings details; show "Total:" then price */
@media (max-width: 767px) {
  .estimate-strip {
    padding: 6px 12px;
  }
  .est-strip-details {
    display: none; /* Secondary details hidden on mobile */
  }
  .lbl-est {
    display: none; /* Hide 'Estimated ' so 'Total:' shows on mobile */
  }
  .est-strip-cart {
    width: 32px;
    height: 32px;
  }
  .est-strip-cart svg {
    width: 16px;
    height: 16px;
  }
  .est-strip-pricing {
    gap: 5px;
  }
  .est-strip-lbl {
    display: inline-block;
    font-size: 15px;
  }
  .est-strip-price {
    font-size: 15px;
  }
  .btn-strip-clear {
    height: 29px;
    padding: 0 10px;
    font-size: 11px;
  }
  .btn-strip-view {
    height: 29px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Small mobile (<= 480px): Show [ 🛒 Badge ] Total: ₹1,450 ⟶ [ 🗑️ ] [ View List → ] with zero overlap */
@media (max-width: 480px) {
  .estimate-strip {
    padding: 5px 10px;
  }
  .lbl-est {
    display: none; /* Keep 'Estimated ' hidden */
  }
  .est-strip-lbl {
    display: inline-block; /* Show "Total:" on small mobile */
    font-size: 14px;
    letter-spacing: 0.1px;
  }
  .est-strip-pricing {
    gap: 4px;
  }
  .est-strip-price {
    font-size: 14px;
  }
  .btn-strip-clear .btn-clear-txt {
    display: none; /* Icon-only clear on small screens */
  }
  .btn-strip-clear {
    width: 29px;
    height: 29px;
    padding: 0;
    justify-content: center;
  }
  .btn-strip-view {
    padding: 0 10px;
    font-size: 11.5px;
  }
}


/* ═══════════════════════════════════════════
   DETAILED ESTIMATE MODAL
   ═══════════════════════════════════════════ */
.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  padding-top: max(32px, calc(env(safe-area-inset-top) + 24px));
  padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px));
  box-sizing: border-box;
}
.estimate-modal.active {
  display: flex;
}
.est-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 580px;
  max-height: calc(100dvh - 72px);
  max-height: min(82vh, calc(100dvh - 72px));
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: modalPop .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.est-modal-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #180928 0%, #2f0b35 50%, #5e0c15 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid rgba(255, 213, 79, 0.4);
}
.est-modal-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.est-modal-header-titles {
  min-width: 0;
  flex: 1;
}
.btn-header-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-header-back:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-header-back:active {
  transform: scale(0.92);
}
.btn-header-back svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}
.est-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
}
.est-ta-title {
  font-size: 13.5px;
  color: #ffd54f;
  font-weight: 600;
}
.est-modal-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.est-modal-header .modal-close {
  position: static;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.est-modal-header .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.est-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.est-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.est-item-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: #faf6f0;
  border: 1px solid #ebdcd0;
  border-radius: 12px;
  transition: background 0.15s;
}
.est-item-row:hover {
  background: #f5ede3;
}
.est-item-thumb {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffe0b2;
  border: 1px solid rgba(255, 183, 77, 0.5);
  display: block;
}
.est-item-fallback {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #f0e2d5;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.est-item-names {
  min-width: 0;
}
.est-item-name-en {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.est-item-name-ta {
  font-size: 11.5px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.est-item-unit {
  font-size: 11px;
  color: #777;
  margin-top: 1px;
}
.est-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #b71c1c;
  min-width: 58px;
  text-align: right;
  white-space: nowrap;
}
.est-item-del {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s, background 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.est-item-del:hover {
  color: #d32f2f;
  background: #ffebee;
}

/* Summary breakdown card */
.est-summary-card {
  background: linear-gradient(180deg, #fffdfa 0%, #fdf8f2 100%);
  border: 1.5px solid #e8d7c8;
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.est-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #444;
}
.est-strike-mrp {
  text-decoration: line-through;
  color: #888;
}
.est-savings-row {
  color: #1b5e20;
  font-weight: 700;
}
.savings-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f5e9;
  color: #1b5e20;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}
.savings-amount {
  font-weight: 800;
  color: #2e7d32;
}
.est-divider {
  height: 1px;
  background: #e0d0c0;
  margin: 3px 0;
}
.est-final-row {
  align-items: baseline;
  padding-top: 3px;
}
.est-final-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #111;
}
.est-final-sub {
  font-size: 11px;
  color: #666;
  font-weight: 500;
}
.est-final-amount {
  font-size: 21px;
  font-weight: 900;
  color: #b71c1c;
  letter-spacing: -0.4px;
}


.btn-add-more {
  padding: 8px 18px;
  background: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}
.est-empty-msg {
  text-align: center;
  padding: 30px 10px;
  color: #777;
  font-size: 14px;
}

/* ═══════════════════════════════════════════
   ESTIMATE MODAL: PLACE ORDER & CHECKOUT FORM
   ═══════════════════════════════════════════ */
.est-view-panel {
  animation: estFadeIn .2s ease forwards;
}
@keyframes estFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.est-action-wrap {
  margin-top: 14px;
}
.btn-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
  transition: all 0.16s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-place-order:hover {
  background: linear-gradient(135deg, #144618 0%, #1b5e20 100%);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.45);
  transform: translateY(-1px);
}
.btn-place-order:active {
  transform: scale(0.98);
}
.btn-place-order svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.btn-place-order:hover svg {
  transform: translateX(3px);
}

/* Compact Order Summary Header on Checkout view */
.checkout-summary-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
  border: 1.5px solid #c8e6c9;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.06);
}
.checkout-summary-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #2e7d32;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-summary-info {
  flex: 1;
  min-width: 0;
}
.checkout-summary-total-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.checkout-summary-label {
  font-size: 12.5px;
  color: #2e7d32;
  font-weight: 700;
}
.checkout-summary-total {
  font-size: 18px;
  font-weight: 900;
  color: #1b5e20;
  letter-spacing: -0.3px;
}
.checkout-summary-sub {
  font-size: 12px;
  color: #388e3c;
  font-weight: 700;
  margin-top: 1px;
}

/* Checkout Form */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-intro-title {
  font-size: 14px;
  font-weight: 800;
  color: #180928;
  margin: 0 0 2px;
}
.form-intro-sub {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.35;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}
.req-star {
  color: #d32f2f;
  font-weight: 900;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 12px;
  color: #888;
  pointer-events: none;
  flex-shrink: 0;
}
.textarea-icon {
  top: 12px;
}
.mobile-input-wrap .mobile-prefix {
  position: absolute;
  left: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #555;
  pointer-events: none;
}
.form-input {
  width: 100%;
  height: 42px;
  border: 1.5px solid #dcd1c4;
  border-radius: 10px;
  padding: 0 12px 0 36px;
  font-size: 16px; /* 16px strictly prevents iOS Safari auto-focus zoom */
  font-family: inherit;
  color: #222;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.form-input-mobile {
  padding-left: 48px;
}
.form-textarea {
  height: auto;
  min-height: 62px;
  padding: 10px 12px 10px 36px;
  resize: vertical;
  line-height: 1.4;
}
.form-input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}
.form-input.has-error {
  border-color: #d32f2f !important;
  background-color: #fff9f9 !important;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15) !important;
}
.form-error-msg {
  font-size: 11.5px;
  color: #d32f2f;
  font-weight: 600;
  margin-top: 2px;
  padding-left: 2px;
}

/* WhatsApp Submit CTA */
.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #1fa855 0%, #25D366 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.16s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  margin-top: 4px;
}
.btn-whatsapp-order:hover {
  background: linear-gradient(135deg, #188d46 0%, #1fa855 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}
.btn-whatsapp-order:active {
  transform: scale(0.98);
}
.btn-whatsapp-order svg {
  flex-shrink: 0;
}

/* Secondary Back Action Link below WhatsApp CTA */
.btn-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  background: #f8faf8;
  border: 1.5px dashed #a5d6a7;
  color: #2e7d32;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  margin-top: 2px;
}
.btn-back-link:hover {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #1b5e20;
}
.btn-back-link:active {
  transform: scale(0.98);
}
.btn-back-link svg {
  flex-shrink: 0;
}

.whatsapp-note {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .estimate-modal {
    padding: 16px 8px;
    padding-top: max(16px, calc(env(safe-area-inset-top) + 10px));
    padding-bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px));
  }
  .est-modal-card {
    max-height: calc(100dvh - 36px);
    border-radius: 14px;
  }
  .est-modal-header {
    padding: 12px 14px;
    gap: 8px;
  }
  .btn-header-back {
    width: 30px;
    height: 30px;
    padding: 0;
  }
  .btn-header-back svg {
    width: 15px;
    height: 15px;
  }
  .checkout-summary-bar {
    padding: 8px 12px;
    gap: 10px;
  }
  .checkout-summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .checkout-summary-total {
    font-size: 16px;
  }
  .btn-back-link {
    padding: 9px 12px;
    font-size: 12.5px;
  }
  .est-item-row {
    grid-template-columns: 36px 1fr auto auto auto;
    column-gap: 6px;
    padding: 8px 8px;
  }
  .est-item-thumb { width: 36px; height: 36px; }
  .est-item-names { min-width: 0; }
  .est-item-name-en { font-size: 13px; }
  .est-item-name-ta { font-size: 11px; }
  .est-item-price { font-size: 13px; min-width: auto; }
}

/* ═══════════════════════════════
   FAQ SECTION (Locations Page)
═══════════════════════════════ */
.faq-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  margin-top: 36px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.faq-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #1a0826;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid #ebdcd0;
  border-radius: 10px;
  background: #fdfaf6;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item[open] {
  background: #ffffff;
  border-color: #d7bfae;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.faq-question {
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: #2c1220;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  line-height: 1.4;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  color: #c62828;
  margin-left: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  content: '−';
  color: #8e0000;
}
.faq-answer {
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: #444444;
  line-height: 1.65;
  border-top: 1px solid #f2e6dc;
  padding-top: 12px;
}
.faq-answer p {
  margin: 0 0 8px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer a {
  color: #b71c1c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .faq-section { padding: 18px 14px; }
  .faq-question { padding: 12px 14px; font-size: 14px; }
}


