:root {
    --red: #a82125;
    --red-bright: #c51d22;
    --ink: #151d31;
    --muted: #697386;
    --cream: #fffdf8;
    --line: #eadbd6;
    --green: #087f5b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter, system-ui, sans-serif;
    padding-bottom: 92px;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.store-header {
    min-height: 88px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}
.store-header-inner {
    width: min(1400px, 100%);
    min-height: 88px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand { color: var(--red); display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand img { width: 72px; height: 64px; object-fit: contain; }
.brand strong { font-size: 20px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.store-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.store-nav a { font-size: 16px; font-weight: 700; transition: color .2s; }
.store-nav a:hover { color: var(--red-bright); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-outline-button {
    min-height: 44px;
    padding: 0 20px;
    border: 2px solid #ed3439;
    border-radius: 10px;
    background: #fff;
    color: #d9282e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
}
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
}
.header-cart svg { width: 29px; height: 29px; fill: none; stroke: #151515; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-cart span {
    position: absolute; top: -5px; right: -5px; min-width: 23px; height: 23px; padding: 0 5px;
    display: grid; place-items: center; background: #ed3439; color: #fff; border-radius: 999px; font-size: 12px;
}
.store-breadcrumb {
    width: min(1400px, calc(100% - 48px));
    margin: 18px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}
.store-breadcrumb a { color: var(--red-bright); font-weight: 700; }
.compact-breadcrumb { margin-top: 12px; margin-bottom: 4px; }
.store-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    padding: 62px 20px;
    background:
        radial-gradient(circle at 18% 45%, rgba(255,255,255,.06) 0 2px, transparent 3px) 0 0 / 38px 38px,
        linear-gradient(115deg, #3b0305 0%, #9d160e 55%, #f24b08 100%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-location {
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-discount {
    margin-top: 18px;
    padding: 14px 38px;
    border-radius: 999px;
    background: #ffc526;
    color: #191919;
    box-shadow: 0 8px 25px rgba(255,197,38,.32);
    font-size: 19px;
    font-weight: 900;
}
.hero-logo { width: 180px; height: 150px; margin-top: 28px; object-fit: contain; }
.store-hero h1 { margin: 18px 0 10px; font-size: clamp(42px, 5vw, 72px); line-height: 1; }
.store-hero p { margin: 8px 0 30px; max-width: 800px; font-size: 19px; opacity: .9; }
.hero-shop-button {
    min-width: 290px;
    padding: 18px 28px;
    border-radius: 999px;
    background: #fff;
    color: #f04a07;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.contact-modal[hidden] { display: none; }
.contact-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.contact-dialog {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    padding: 34px 30px 30px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0,0,0,.3);
}
.contact-dialog h2 { margin: 0 0 24px; color: #ed3439; font-size: 24px; }
.contact-number-list { display: grid; gap: 14px; }
.contact-number-list a, .contact-number-list p {
    margin: 0;
    padding: 15px;
    border-radius: 11px;
    background: #f7f8fa;
    color: #151515;
    font-size: 17px;
    font-weight: 700;
}
.contact-close-button {
    margin-top: 22px;
    min-width: 105px;
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--red-bright);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
body.modal-open { overflow: hidden; }
.store-announcement {
    padding: 26px 20px 24px;
    background: var(--red);
    color: #fff;
    text-align: center;
}
.store-announcement h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
}
.store-announcement p { margin: 8px 0; }
.announcement-title { font-size: 23px; font-weight: 800; }
.announcement-highlight { color: #ffe600; font-size: 24px; font-weight: 800; }
.announcement-note { font-size: 18px; opacity: .9; }
.announcement-ticker {
    width: 100%;
    overflow: hidden;
    background: #101010;
    color: #fff;
    white-space: nowrap;
}
.announcement-ticker-track {
    display: flex;
    width: max-content;
    animation: announcement-scroll 18s linear infinite;
}
.announcement-ticker-track span {
    display: block;
    padding: 12px 60px;
    font-size: 20px;
    font-weight: 700;
}
@keyframes announcement-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .announcement-ticker-track { animation-play-state: paused; }
}
.store-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 88px;
    z-index: 40;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
}
.store-tools input, .store-tools select {
    height: 54px; width: 100%; padding: 0 18px; border: 1px solid #cfdae8;
    border-radius: 10px; background: #fff; color: var(--ink); outline: none;
}
.store-tools input:focus, .store-tools select:focus,
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(168,33,37,.1); }
.category-list { padding: 30px 24px; }
.product-category {
     margin: 0 auto 0px; border-radius: 0px;
    overflow: hidden; border: 1px solid #f0ded8; box-shadow: 0 8px 30px rgba(34,20,20,.06);
    scroll-margin-top: 155px;
}
.category-heading {
    min-height: 50px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 18px; color: #fff;
    background: linear-gradient(110deg, #991d20, #b52a2e);
}
.category-heading h2 { margin: 0; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; }
.category-heading span { padding: 8px 18px; background: rgba(255,255,255,.2); border-radius: 999px; font-size: 17px; font-weight: 700; }
.product-table-head, .store-product {
    display: grid; grid-template-columns: 110px minmax(260px, 1fr) 130px 150px 150px 160px 150px;
    align-items: center;
}
.product-table-head { background: var(--red-bright); color: #fff; font-weight: 700; }
.product-table-head span { padding: 18px 14px; border-right: 1px solid rgba(255,255,255,.2); }
.global-product-table-head {
    margin: 0 auto 18px;
    border-radius: 12px;
    overflow: hidden;
}
.store-product { min-height: 105px; border-bottom: 1px solid var(--line); background: #fff; }
.store-product:nth-child(even) { background: var(--cream); }
.store-product > * { margin: 14px; }
.store-product-image { width: 72px; height: 72px; object-fit: contain; border: 1px solid #dce3ec; border-radius: 10px; background: #fff; }
.product-main h3 { margin: 0 0 8px; font-size: 16px; }
.product-main p { margin: 0; color: var(--muted); font-size: 13px; }
.product-mrp {
    font-size: 21px;
    font-weight: 700;
    text-decoration-thickness: 2px;
}
.mobile-price { display: none; }
.qty-control { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--red-bright); border-radius: 999px; overflow: hidden; width: max-content; background: #fff; }
.qty-control button { width: 38px; height: 38px; border: 0; background: var(--red-bright); color: #fff; font-size: 22px; cursor: pointer; }
.qty-control input { width: 48px; height: 38px; border: 0; text-align: center; font-weight: 700; outline: 0; appearance: textfield; }
.qty-control input::-webkit-inner-spin-button { appearance: none; }
.line-total { color: var(--red-bright); text-align: center; }
.sticky-summary {
    position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; min-height: 76px;
    display: grid; grid-template-columns: repeat(2, 1fr) auto; align-items: center; gap: 18px;
    padding: 10px max(24px, calc((100vw - 1500px) / 2)); background: rgba(255,253,248,.98);
    border-top: 3px solid var(--red); box-shadow: 0 -10px 30px rgba(39,20,20,.12);
}
.sticky-summary > div { display: flex; gap: 9px; justify-content: center; align-items: baseline; }
.sticky-summary small { font-size: 14px; color: var(--muted); }
.sticky-summary strong { font-size: 18px; }
.sticky-summary > div:nth-child(2) strong { color: var(--red-bright); }
.sticky-summary > div:nth-child(3) strong { color: #27883e; }
.checkout-button, .primary-button {
    border: 0; background: var(--red-bright); color: #fff; min-height: 48px; padding: 0 24px;
    border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 700; cursor: pointer;
}
.checkout-button span { background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 99px; }
.store-alert { max-width: 900px; margin: 18px auto; padding: 14px 18px; border: 1px solid #f1b6b6; background: #fff0f0; color: #a61b1b; border-radius: 10px; }
.mobile-page { width: min(720px, calc(100% - 32px)); margin: 26px auto; }
.page-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ddd; padding: 0 10px 20px; }
.page-title-row h1 { margin: 0; color: var(--red-bright); font-size: 24px; }
.page-title-row p { color: var(--muted); margin: 7px 0 0; }
.close-link { color: var(--red-bright); font-size: 34px; font-weight: 700; line-height: 1; }
.cart-item { display: flex; justify-content: space-between; gap: 20px; padding: 24px 10px; border-bottom: 1px solid #ddd; }
.cart-item h2 { font-size: 17px; margin: 0 0 6px; }
.cart-item p { margin: 0 0 14px; color: var(--muted); }
.cart-item-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.remove-item { width: 52px; height: 52px; border: 0; border-radius: 14px; background: var(--red-bright); color: #fff; font-size: 25px; font-weight: 800; cursor: pointer; }
.cart-item-total strong { color: var(--red-bright); }
.cart-totals { margin-top: 28px; border: 1px solid #efb4b6; background: #fffafa; border-radius: 16px; padding: 22px; }
.cart-totals p { display: flex; justify-content: space-between; margin: 0; padding: 10px 0; }
.cart-totals strong { color: var(--red-bright); }
.cart-totals .minimum-order-row {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px dashed #efb4b6;
}
.cart-totals .minimum-order-row strong { color: var(--ink); }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cart-actions .primary-button { background: var(--red-bright); color: #fff; border-radius: 13px; }
.secondary-button { min-height: 48px; padding: 0 20px; border: 1px solid var(--red-bright); color: var(--red-bright); border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.checkout-form { margin-top: 24px; display: grid; gap: 18px; }
.checkout-form label { display: grid; gap: 8px; font-weight: 600; }
.checkout-form input, .checkout-form textarea { width: 100%; border: 1px solid #cfdae8; border-radius: 10px; padding: 13px; outline: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-total { display: flex; justify-content: space-between; padding: 18px; background: #fffafa; border: 1px solid #efb4b6; border-radius: 12px; }
.checkout-total strong { color: var(--red-bright); font-size: 20px; }
.optional-text { color: var(--muted); font-weight: 400; }
.full-width { width: 100%; border-radius: 12px; }
.success-page { text-align: center; padding-top: 55px; display: grid; justify-items: center; gap: 18px; }
.success-icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #e8f6eb; color: #27883e; font-size: 38px; font-weight: 800; }
.success-page h1, .success-page p { margin: 0; }
.empty-state { text-align: center; padding: 55px 20px; }
.store-toast { position: fixed; z-index: 600; top: 104px; right: auto; bottom: auto; left: 18px; width: min(440px, calc(100vw - 36px)); max-width: 440px; transform: translateY(-20px); padding: 17px 20px 17px 52px; border-radius: 12px; background: #172033; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: .2s; font-size: 17px; line-height: 1.35; }
.store-toast.show { opacity: 1; transform: translateY(0); }
.store-toast.error { background: #fff; color: #3b3b3b; border-bottom: 2px solid #ff4d56; }
.store-toast.error::before { content: "×"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ff4d56; color: #fff; font-weight: 900; }
.payment-options { width: 100%; margin: 18px 0; text-align: left; }
.payment-options h2 { margin: 0; text-align: center; color: var(--red-bright); }
.payment-note { text-align: center; color: var(--muted); }
.payment-option-list { display: grid; gap: 14px; }
.payment-option { padding: 20px; border: 1px solid #efb4b6; border-radius: 14px; background: #fffafa; }
.payment-option h3 { margin: 0 0 14px; color: var(--red-bright); }
.payment-option p { display: flex; justify-content: space-between; gap: 14px; margin: 8px 0; }
.payment-option p span { color: var(--muted); }
.payment-option img { display: block; width: 190px; height: 190px; object-fit: contain; margin: 18px auto 0; border-radius: 10px; background: #fff; }
.payment-instructions { margin-top: 14px; padding: 12px; border-radius: 8px; background: #fff; white-space: pre-line; }

@media (max-width: 780px) {
    body { padding-bottom: 90px; }
    .store-header { min-height: 68px; padding: 0 10px; }
    .store-header-inner { min-height: 68px; gap: 8px; }
    .brand { min-width: 0; gap: 7px; }
    .brand img { width: 48px; height: 48px; }
    .brand strong { max-width: 112px; font-size: 12px; line-height: 1.15; }
    .store-nav { display: none; }
    .header-actions { gap: 6px; margin-left: auto; }
    .header-outline-button { min-height: 36px; padding: 0 10px; border-width: 1px; font-size: 12px; border-radius: 8px; }
    .header-cart { width: 38px; height: 38px; }
    .header-cart svg { width: 25px; height: 25px; }
    .store-toast { top: 80px; left: 12px; width: calc(100vw - 24px); font-size: 15px; }
    .store-breadcrumb { width: calc(100% - 28px); margin: 12px auto; }
    .store-hero { min-height: 500px; padding: 42px 14px; }
    .hero-location { padding: 8px 14px; font-size: 11px; }
    .hero-discount { padding: 12px 20px; font-size: 15px; }
    .hero-logo { width: 135px; height: 115px; margin-top: 24px; }
    .store-hero h1 { font-size: 39px; }
    .store-hero p { font-size: 15px; line-height: 1.5; }
    .hero-shop-button { min-width: 240px; padding: 15px 22px; font-size: 16px; }
    .store-announcement { padding: 20px 14px 18px; }
    .store-announcement h1 { font-size: 23px; }
    .announcement-title, .announcement-highlight { font-size: 19px; }
    .announcement-note { font-size: 14px; line-height: 1.45; }
    .announcement-ticker-track span { padding: 10px 36px; font-size: 16px; }
    .store-tools { top: 68px; grid-template-columns: 1fr; gap: 10px; padding: 10px 12px; }
    .store-tools input, .store-tools select { height: 44px; }
    .category-list { padding: 14px 8px; }
    .product-category { scroll-margin-top: 165px; border-left: 4px solid var(--red-bright); }
    .category-heading { min-height: 50px; }
    .category-heading h2 { font-size: 22px; text-align: center; }
    .product-table-head { display: none; }
    .store-product {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        min-height: 120px; padding: 12px 10px; position: relative;
    }
    .store-product > * { margin: 5px; }
    .store-product-image { width: 80px; height: 80px; grid-row: 1 / span 2; }
    .product-main h3 { font-size: 16px; }
    .product-main p { font-size: 13px; }
    .mobile-price { display: flex; gap: 8px; margin-top: 8px; align-items: baseline; }
    .mobile-price del { color: var(--red-bright); font-weight: 700; }
    .mobile-price strong { color: var(--green); }
    .desktop-cell { display: none; }
    .qty-control { grid-column: 3; grid-row: 1; align-self: center; }
    .qty-control button { width: 32px; height: 36px; }
    .qty-control input { width: 40px; height: 36px; }
    .line-total { grid-column: 3; grid-row: 2; align-self: start; font-size: 13px; }
    .line-total::before { content: "Total: "; color: var(--red-bright); }
    .sticky-summary { min-height: 78px; padding: 8px 10px; gap: 6px; grid-template-columns: repeat(2, 1fr) auto; }
    .sticky-summary > div { display: grid; gap: 2px; text-align: center; }
    .sticky-summary small { font-size: 10px; }
    .sticky-summary strong { font-size: 12px; }
    .checkout-button { min-height: 44px; padding: 0 13px; font-size: 12px; }
    .checkout-button span { display: none; }
    .cart-actions { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .store-product { grid-template-columns: 70px minmax(0, 1fr) 98px; column-gap: 5px; }
    .store-product-image { width: 68px; height: 68px; }
    .product-main h3 { font-size: 14px; }
    .qty-control { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; margin-top: 0; }
    .qty-control button { width: 30px; height: 34px; }
    .qty-control input { width: 36px; height: 34px; }
    .line-total { grid-column: 3; grid-row: 2; align-self: start; justify-self: end; text-align: right; white-space: nowrap; }
}
