/* WhatsApp Store Theme: Restaurant Red
   Folder: public/whatsapp-store-themes/restaurant-red
   Keep this theme's custom CSS here so every store theme stays separate. */

body.whatsapp-store-theme-restaurant-red {
    --wa-green: #074522;
    --wa-bright: #ffc51f;
    background: #fffdf8;
    color: #071b10;
}

body.whatsapp-store-theme-restaurant-red .app-shell { background: #fff; }

body.whatsapp-store-theme-restaurant-red .phone-header {
    color: #fff;
    background:
        radial-gradient(circle at 80% -20%, rgba(255,197,31,.16), transparent 34%),
        linear-gradient(135deg, #063c1d 0%, #063617 60%, #03240f 100%);
    border-bottom: 0;
    border-radius: 0 0 24px 0;
}

body.whatsapp-store-theme-restaurant-red .brand-row { padding: 22px 18px 22px; gap: 14px; }
body.whatsapp-store-theme-restaurant-red .brand { flex: 1; gap: 12px; }

body.whatsapp-store-theme-restaurant-red .wa-logo {
    width: 58px; height: 58px; border-radius: 50%; background: transparent; box-shadow: none;
}

body.whatsapp-store-theme-restaurant-red .wa-logo svg { width: 48px; height: 48px; }

body.whatsapp-store-theme-restaurant-red .store-title strong { color: #fff; font-size: 21px; }

body.whatsapp-store-theme-restaurant-red .store-title strong::after {
    content: " Store"; color: #ffc51f;
}
body.whatsapp-store-theme-restaurant-red .icon-btn { color: #fff; }

body.whatsapp-store-theme-restaurant-red .cart-badge {
    background: #ffc51f; color: #071b10; border-color: rgba(255,255,255,.55);
}

body.whatsapp-store-theme-restaurant-red .location {
    display: flex; align-items: center; width: calc(100% - 32px); min-height: 58px; margin: 16px 16px 0; box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 20px; background: #fff9ef; color: #071b10; box-shadow: 0 10px 26px rgba(7,69,34,.10);
    font-size: 14px; font-weight: 760;
}

body.whatsapp-store-theme-restaurant-red .location svg {
    flex: 0 0 auto; stroke: #fff; fill: #064522; padding: 8px; border-radius: 50%; background: #064522;
}

body.whatsapp-store-theme-restaurant-red .location .location-text {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: #09662e; font-weight: 900;
}

body.whatsapp-store-theme-restaurant-red .location span:last-child {
    flex: 0 0 auto; color: #071b10; font-size: 18px; line-height: 1;
}

body.whatsapp-store-theme-restaurant-red .car-search {
    display: none; align-items: center; width: calc(56% - 26px); margin: 16px 16px 0 12px;
    box-sizing: border-box; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(7,69,34,.10);
    vertical-align: top;
}

body.whatsapp-store-theme-restaurant-red .car-search input {
    min-width: 0; flex: 1; border: 0; background: transparent; padding: 15px 8px 15px 16px;
    color: #071b10; font-size: 14px; outline: none;
}

body.whatsapp-store-theme-restaurant-red .car-search button {
    display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
    color: #064522; background: #f4efe4; cursor: pointer;
}

body.whatsapp-store-theme-restaurant-red .content { padding-top: 14px; }

body.whatsapp-store-theme-restaurant-red .sale-card {
    aspect-ratio: 2.18 / 1; min-height: 0; border-radius: 16px;
    background:
        linear-gradient(94deg, rgba(5,58,28,.98) 0%, rgba(5,58,28,.90) 42%, rgba(255,197,31,.22) 45%, rgba(5,58,28,.04) 100%),
        var(--store-banner, linear-gradient(120deg, #063c1d, #dc2626));
    background-size: cover; background-position: center right;
    box-shadow: 0 16px 28px rgba(7,69,34,.16);
}

body.whatsapp-store-theme-restaurant-red .sale-card::after {
    content: ""; position: absolute; left: 50%; bottom: 18px; width: 8px; height: 8px;
    border-radius: 50%; background: #ffc51f; box-shadow: 28px 0 0 #fff, 56px 0 0 #fff;
}

body.whatsapp-store-theme-restaurant-red .sale-copy { max-width: 54%; padding: 22px 19px; }

body.whatsapp-store-theme-restaurant-red .tag {
    color: #ffc51f; background: transparent; padding: 0; font-size: 12px; letter-spacing: .02em; text-transform: uppercase;
}

body.whatsapp-store-theme-restaurant-red .sale-copy h2 {
    color: #fff; font-size: 27px; line-height: 1.08; letter-spacing: -.02em;
}

body.whatsapp-store-theme-restaurant-red .sale-copy h2 span,
body.whatsapp-store-theme-restaurant-red .sale-copy p b,
body.whatsapp-store-theme-restaurant-red .cart-badge {
    color: #ffc51f;
}

body.whatsapp-store-theme-restaurant-red .sale-copy p {
    display: inline-flex; border: 1px dashed rgba(255,255,255,.70); border-radius: 10px; padding: 8px 10px;
    color: #fff; font-size: 14px; font-weight: 850;
}

body.whatsapp-store-theme-restaurant-red .shop-btn {
    min-height: 36px; border-radius: 9px; color: #071b10; background: #ffc51f;
    box-shadow: 0 12px 22px rgba(255,197,31,.22);
}

body.whatsapp-store-theme-restaurant-red .hero-products { display: none; }

body.whatsapp-store-theme-restaurant-red .category-strip {
    margin-top: 18px; padding: 14px 18px 16px; gap: 22px; border-radius: 18px; background: #fff;
    box-shadow: 0 12px 26px rgba(7,69,34,.10);
}

body.whatsapp-store-theme-restaurant-red .cat-icon {
    width: 58px; height: 58px; color: #dc2626; background: #fff2dc; border: 1px solid #f6e4c6; font-size: 9px;
}

body.whatsapp-store-theme-restaurant-red .cat-link:first-child .cat-icon {
    color: #fff; background: #064522;
}

body.whatsapp-store-theme-restaurant-red .cat-link:first-child span:last-child { color: #09662e; font-weight: 850; }

body.whatsapp-store-theme-restaurant-red .section-head { margin-top: 25px; }

body.whatsapp-store-theme-restaurant-red .section-title span,
body.whatsapp-store-theme-restaurant-red .price,
body.whatsapp-store-theme-restaurant-red .bottom-nav .active,
body.whatsapp-store-theme-restaurant-red .bottom-nav .active b { color: #09662e; }

body.whatsapp-store-theme-restaurant-red .timer {
    color: #ffc51f; background: #075322;
}

body.whatsapp-store-theme-restaurant-red .view-all { color: #071b10; font-weight: 850; }

body.whatsapp-store-theme-restaurant-red .product-card {
    flex: 0 0 150px; border-color: #f0e4d4; border-radius: 12px; background: #fff;
    box-shadow: 0 10px 24px rgba(7,69,34,.12);
}

body.whatsapp-store-theme-restaurant-red .product-image { height: 116px; background: linear-gradient(180deg, #fff7e8, #fff); }

body.whatsapp-store-theme-restaurant-red .product-image img { max-width: 100%; max-height: 110px; }

body.whatsapp-store-theme-restaurant-red .discount { background: #087c2f; color: #fff; }

body.whatsapp-store-theme-restaurant-red .product-body h3 {
    min-height: 34px; color: #071b10; font-size: 13px; font-weight: 950;
}

body.whatsapp-store-theme-restaurant-red .product-body p { color: #6b6258; font-size: 12px; }

body.whatsapp-store-theme-restaurant-red .rating { color: #14823a; }

body.whatsapp-store-theme-restaurant-red .add-cart {
    border-color: #09662e; color: #09662e; background: #fff; padding: 8px 5px;
}

body.whatsapp-store-theme-restaurant-red .restaurant-offer-banner {
    position: relative; overflow: hidden; min-height: 124px; margin: 24px 0 8px; border-radius: 16px;
    background:
        radial-gradient(circle at 75% 50%, rgba(108,152,74,.42), transparent 30%),
        linear-gradient(105deg, #fff7e8 0%, #fff 54%, #eef6e7 100%);
    box-shadow: 0 14px 26px rgba(7,69,34,.10);
}

body.whatsapp-store-theme-restaurant-red .restaurant-offer-banner div { width: 58%; padding: 20px; }

body.whatsapp-store-theme-restaurant-red .restaurant-offer-banner h3 {
    margin: 0; color: #09662e; font-size: 28px; line-height: 1.08; font-weight: 950; text-transform: uppercase;
}

body.whatsapp-store-theme-restaurant-red .restaurant-offer-banner h3 span {
    display: block; color: #071b10; font-size: 19px; text-transform: none;
}

body.whatsapp-store-theme-restaurant-red .restaurant-offer-banner p {
    display: inline-flex; margin: 9px 0; border: 1px dashed #09662e; border-radius: 8px; padding: 5px 8px;
    color: #071b10; font-weight: 850;
}

body.whatsapp-store-theme-restaurant-red .top-cat {
    border-radius: 12px; background: linear-gradient(135deg, #fff4d9, #fff);
}

body.whatsapp-store-theme-restaurant-red .top-cat .thumb {
    height: 58px; color: #09662e; background: transparent; font-size: 10px; font-weight: 950;
}

body.whatsapp-store-theme-restaurant-red .bottom-nav {
    width: min(398px, calc(100vw - 32px)); bottom: 14px; border-radius: 20px; background: rgba(255,255,255,.98);
    box-shadow: 0 14px 28px rgba(7,69,34,.14);
}

body.whatsapp-store-theme-restaurant-red .bottom-nav button:nth-child(3) {
    transform: translateY(-18px);
}

body.whatsapp-store-theme-restaurant-red .bottom-nav button:nth-child(3) b {
    display: grid; place-items: center; width: 62px; height: 62px; margin-top: -18px; border-radius: 50%;
    background: #09662e; color: #fff; font-size: 10px; box-shadow: 0 12px 22px rgba(9,102,46,.28);
}

@media (max-width: 390px) {
    body.whatsapp-store-theme-restaurant-red .location {
        display: flex; width: calc(100% - 32px); margin: 8px 16px 0;
    }

    body.whatsapp-store-theme-restaurant-red .sale-copy { padding: 19px 17px; }
    body.whatsapp-store-theme-restaurant-red .sale-copy h2 { font-size: 24px; }
    body.whatsapp-store-theme-restaurant-red .product-card { flex-basis: 140px; }
}
