:root {
    --navy: #08152E;
    --blue: #0057D9;
    --gold: #F4C430;
    --bg: #F5F8FD;
    --text: #111827;
    --muted: #64748B;
    --border: #E5E7EB;
}

body {
    margin: 0;
    background: #320000;
    font-family: Inter,sans-serif;
    color: var(--text);
}

.sg-app {
    max-width: 1320px;
    margin: auto;
    background: #fff;
}

/* =========================
   TOP MARQUEE
========================= */
.top-marquee {
    height: 34px;
    background: #810000;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.wa-contact {
    width: 220px;
    min-width: 220px;
    height: 100%;
    /* background:#059669; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #059669;
    font-weight: 600;
    font-size: 13px;
}

.wa-contact a {
    color: #fff;
    text-decoration: none;
}

.marquee-wrap {
    flex: 1;
    overflow: hidden;
}

.marquee-track {
    white-space: nowrap;
    color: #FDE68A;
    font-size: 13px;
    font-weight: 600;
    animation: marquee 24s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Normal Header */
.desktop-header {
    background: #0B2A63;
    display: grid;
    grid-template-columns: 180px minmax(0,1fr) 180px;
    align-items: center;
    gap: 32px;
    padding: 12px 32px 12px 20px;
    transition: all .25s ease;
    background: linear-gradient(135deg, #8B0000 0%, #C30000 18%, #E31818 36%, #ff0000 58%, #ff0000 78%, #780000 100%);
    /* width:100%; */
    max-width: 1320px;
    margin: 0 auto;
}

/* Activated after scroll */
.desktop-header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* width:100%; */
    /* max-width: 1320px; */
    margin: 0 auto;
    /* z-index:999; */
    box-shadow: 0 3px 12px rgb(63 0 0 / 25%);
    border-radius: 0;
    /* transform:translateX(-50%); */
    width: 100%;
    max-width: 1320px;
    z-index: 9999;
    box-sizing: border-box;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 72px;
    width: auto;
}

.search-area {
    width: 80%;
    min-width: 0;
    margin: 0 auto;
}

.search-area input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 28px;
    background: transparent;
    color: #fff;
    padding: 0 20px;
    font-size: 15px;
    outline: none;
    transition: .25s;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid #0000;
}

.search-area input::placeholder {
    color: rgba(255,255,255,.75);
}

.search-area input:focus {
    border-color: #F4C430;
    background: rgba(255,255,255,.22);
}

.header-cart {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: #f4c430;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    border: 1px solid #ff2f2f;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
}

.cart-icon span {
    position: absolute;
    top: -4px;
    right: -2px;
    background: #17893a;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 1px solid #39c965;
}

.cart-text strong {
    display: block;
    font-size: 15px;
    color: #f9d934;
}

.cart-text small {
    color: #ff9898;
    text-decoration: underline;
}

/* NAV */
.desktop-nav {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
    font-weight: 600;
    background: linear-gradient(135deg, #FFC107 0%, #FF9E00 10%, #FFD54A 22%, #F7B500 42%, #FFE98A 62%, #D97A00 82%, #8A4A00 100%);
    border-top: 2px solid rgb(255 255 255 / 30%);
    border-bottom: 2px solid rgb(255 255 255 / 30%);
}

.desktop-nav a {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
}

/* ==========================
      HERO CAROUSEL
========================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #dd0000;
}

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .6s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    /* IMPORTANT */
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timer-box {
    position: absolute;
    right: 40px;
    top: calc(50% - 84px);
    border-radius: 18px;
    padding: 18px 24px;
    min-width: 250px;
    text-align: center;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid #0000;
}

.timer-box small {
    color: #FFD54F;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 12px;
}

.timer-box h2 {
    margin: 10px 0 0;
    font-size: 34px;
    color: #fff;
    font-family: Inter,sans-serif;
    line-height: 1.2;
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.hero-dots span.active {
    background: #F4C430;
    width: 26px;
    border-radius: 20px;
}

/* TRUST */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 18px 8px;
    cursor: pointer;
    
  
  /* 3D shadows and layout */
    position: relative;
    overflow: hidden;
    box-shadow: 0px 12px 13px rgba(0, 0, 0, 0.15), inset 1px 13px 10px rgb(49 0 0 / 11%); /* Inner top highlight */
  
  /* 1. Base Yellow-Gold Gradient */
    background: linear-gradient(135deg, #ff0000, #9d0000);
    z-index:99;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.trust-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Only covers the top half */
  background: linear-gradient(to bottom, rgb(255 0 0 / 60%) 0%, rgb(255 0 0 / 0%) 100%);
  pointer-events: none;
  z-index: -1;
}

.trust-item {
    text-align: center;
    border-right: 2px solid #00000014;
}

.trust-strip .trust-item:nth-last-child(1) {
    border: none;
}

.trust-item h3 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
}

.trust-item p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #f9d934;
}

/* ===========================
   PRODUCT LIST - DESKTOP
===========================*/
.product-section {
    margin: 20px 80px;
    /* border:1px solid #E5E7EB; */
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.category-title {
    background: #600505;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .5px;
    border-radius: 0;
    padding: 8px 12px;
}

.product-header {
    display: grid;
    grid-template-columns: 60px 78px 1fr 120px 120px 120px;
    color: #111827;
    font-weight: 600;
    padding: 12px 8px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, #FFC107 0%, #FFD54A 22%, #F7B500 42%, #ffc800 82%, #ffc41d 100%);
    border-radius: 12px 12px 0 0;
}

.product-section .product-row:nth-last-child(1) {
   border-radius: 0 0 12px 12px;
}

.product-header > div {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 14px;
}

.product-header > div.col-name {
    align-items: start;
    justify-content: left;
}

.product-row {
    display: grid;
    grid-template-columns: 60px 78px 1fr 120px 120px 120px;
    align-items: center;
    min-height: 64px;
    padding: 6px 8px;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    transition: .18s ease;
}

.product-row:nth-child(odd) {
    background: #FFFFFF;
}

.product-row:nth-child(even) {
    background: #F8FAFC;
}

.product-row:hover {
    background: #EEF6FF;
}

.col-sl {
    justify-self: center;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

.col-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.zoom-badge{
    position:absolute;
    width:100%;
    display: grid;
    height:100%;
    text-align: center;
    align-items: center;
    opacity:0;
    color;#ff0000;
}


.col-img:hover .zoom-badge {
    opacity:1;
    transition: 0.5s linear;
    color:#ff0000;
    background:rgb(0 0 0 / 10%);
    backdrop-filter:blur(2) saturate(0.3);
}

.col-img img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.col-name {
    padding-left: 8px;
}

.col-name h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.col-name p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #64748B;
}

.col-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.col-price del {
    font-size: 11px;
    color: #9CA3AF;
}

.col-price strong {
    color: #DC2626;
    font-size: 14px;
}

.qty-box {
    width: 94px;
    height: 34px;
    background: #F3F4F6;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    margin: auto;
}

.qty-box button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #0057D9;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.qty-box span {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    color: #111827;
}

.col-amt {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #047857;
}

/* SOLD OUT */
.product-row.sold-out {
    opacity: .55;
    filter: grayscale(100%);
}

.sold-label {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.product-row.sold-out .qty-box button {
    background: #CBD5E1;
    cursor: not-allowed;
}

.bottom-cart {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1276px;
    background: #ffffff;
    color: #151515;
    border-radius: 0;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 35px rgba(2,6,23,.25);
    z-index: 99;
    border-top: 1px solid #e7e7e7;
}

.bottom-cart b {
    font-size: 28px;
    color: #ff0000;
}

.bottom-cart small {
    color: #353535;
    display: block;
    margin-top: 3px;
}

.bottom-cart button {
    background: linear-gradient(135deg, #ff0000, #9d0000);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* Checkout Bottom Sheet */
.sheet {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: end;
    z-index: 999;
}

.sheet.show {
    display: flex;
}

.sheet-box {
    width: 100%;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 18px;
    animation: up .25s ease;
}

.sheet-handle {
    width: 46px;
    height: 5px;
    background: #ddd;
    border-radius: 10px;
    margin: 0 auto 12px;
}

.sheet h2 {
    margin: 0 0 14px;
}

.sheet input, .sheet textarea {
    width: 100%;
    padding: 13px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.sheet textarea {
    height: 80px;
    resize: none;
}

.pay-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #16A34A;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
}

@keyframes up {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.qr-area {
    background: #F8FAFC;
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 14px;
}

#upiQR {
    width: 220px;
    max-width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
}

.upi-id {
    font-size: 13px;
    color: #555;
    margin: 10px 0;
}

.qr-area h3 {
    font-size: 28px;
    margin: 0;
    color: #0F766E;
}

.paid-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    font-size: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item h4 {
    margin: 0;
    font-size: 14px;
}

.cart-item small {
    color: #666;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
}

.cart-sheet {
    max-height: 82vh;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.close-cart {
    border: none;
    background: #f3f4f6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
}

.cart-items {
    background:#fff;
    border-top:1px solid #E5E7EB;
    flex-shrink:0;flex:1;
    overflow-y:auto;
    min-height:0;
    padding-bottom:10px;
    -webkit-overflow-scrolling:touch;
}

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-name {
    font-weight: 600;
    font-size: 14px;
}

.cart-price {
    font-size: 12px;
    color: #666;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.cart-qty button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #0F766E;
    color: #fff;
    font-weight: bold;
}

.item-total {
    font-weight: bold;
    font-size: 14px;
}

.saving-box {
    background: #ECFDF5;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    color: #047857;
}

.cart-summary {
    display: table-row;
    flex-direction: row;
    align-items: center;
    padding-top: 12px;
    flex-shrink:0;
    background:#fff;
    padding:14px 16px calc(14px + env(safe-area-inset-bottom));
}

/* SOLD OUT */
.product-card.sold-out {
    opacity: .45;
    filter: grayscale(100%);
    position: relative;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #111827;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
}

.product-card.sold-out .qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card.sold-out .qty button {
    display: none;
}

.product-card.sold-out .qty span {
    display: none;
}

.sold-btn {
    display: block !important;
    width: 100%;
    background: #d1d5db;
    color: #6b7280;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    cursor: not-allowed;
}

.product-card.sold-out {
    opacity: .55;
    filter: grayscale(100%);
    position: relative;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 10;
}

.product-card.sold-out .qty button {
    background: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed;
}

.product-card.sold-out .qty span {
    color: #6b7280;
}

.logo {
    display: flex;
    align-items: center;
    height: 52px;
}

.site-logo {
    /* height: 48px; */
    width: auto;
    object-fit: contain;
    display: block;
}

/* =========================
   SHOP INTRO
========================= */
.shop-intro {
    background: #ffffff;
    border-radius: 20px;
    padding: 42px 30px;
    margin: 22px 0 0px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.shop-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background:
        radial-gradient(circle at 15% 20%,rgba(244,196,48,.12),transparent 30%),
        radial-gradient(circle at 85% 80%,rgba(255,140,0,.10),transparent 35%); */
    pointer-events: none;
}

.shop-intro>* {
    position: relative;
    z-index: 2;
}

.shop-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFC107 0%, #FF9E00 10%, #FFD54A 22%, #F7B500 42%, #FFE98A 62%, #D97A00 82%, #8A4A00 100%);
    border: 1px solid rgba(244,196,48,.35);
    color: #000d52;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.shop-intro h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.5px;
    color: #010101;
}

.shop-intro h2 span {
    display: block;
    color: #ff0000;
}

.shop-intro p {
    max-width: 760px;
    margin: 18px auto 28px;
    color: rgb(0 0 0 / 82%);
    font-size: 16px;
    line-height: 1.7;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F4C430;
    color: #111827;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: .25s ease;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244,196,48,.35);
}

/* =====================================
   SG CRACKERZ PREMIUM FOOTER
===================================== */
.sg-footer {
    background: #010101;
    border-top: 4px solid #F4C430;
    color: #E8E8F2;
    margin-top: 60px;
    margin-bottom: 80px;
}

.footer-container {
    max-width: 1320px;
    margin: auto;
    padding: 48px 32px 36px;
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Social */
.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: .25s;
    font-size: 17px;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid #0000;
}

.footer-social a:hover {
    background: #F4C430;
    color: #111;
    transform: translateY(-3px);
}

/* Titles */
.footer-col h4 {
    color: #F4C430;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 2px;
    background: #F4C430;
}

/* Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 14px;
    color: #D6D7E4;
    font-size: 14px;
    line-height: 1.7;
}

/* Bottom */
.footer-bottom {
    max-width: 1320px;
    margin: auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: #B8BCD3;
    font-size: 13px;
}

/* Horizontal Navigation */
.footer-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #D9DAE8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s;
}

.footer-nav a:hover {
    color: #F4C430;
}

/* ==========================================
   DESKTOP CART DRAWER
========================================== */
.cart-drawer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: .28s ease;
}

.cart-drawer.show {
    opacity: 1;
    visibility: visible;
}

.drawer-panel {
    width: 430px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: .32s ease;
    box-shadow: -12px 0 35px rgba(0,0,0,.18);
    overflow:hidden;
}

.cart-drawer.show .drawer-panel {
    transform: translateX(0);
}

/* Header */

.drawer-step {
    color: #F4C430;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
}.drawer-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px;
    border-bottom:1px solid #E5E7EB;
    background:#fff;
    flex-shrink:0;
}

.drawer-header h3{
    margin:0;
    font-size:20px;
    font-weight:700;
}

.drawer-close{
    width:34px;
    height:34px;
    border:none;
    background:transparent;
    font-size:22px;
    cursor:pointer;
}

/* Progress */
.drawer-progress {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    padding: 14px 20px;
    background: #F8FAFC;
}

.drawer-progress span {
    height: 5px;
    border-radius: 20px;
    background: #D8E0EA;
}

.drawer-progress .active {
    background: #0F4CFF;
}

/* Body */
.drawer-body {
    flex: 1;
    overflow: auto;
    padding: 18px;
    background: #fff;
}

/* Item */

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #F8F8F8;
    border-radius: 12px;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.cart-price {
    color: #64748B;
    font-size: 13px;
}

.item-total {
    font-size: 15px;
    font-weight: 600;
    color: #600505;
    margin-top: 2px;
}

/* Qty */
.cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #EEF2FF;
    color: #0F4CFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.cart-qty b {
    min-width: 22px;
    text-align: center;
}

/* Savings */
.drawer-save-card {
    margin: 0 18px 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #ECFDF5;
    border: 1px solid #BBF7D0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-save-card small {
    color: #047857;
    font-weight: 600;
}

.drawer-save-card h4 {
    margin: 4px 0 0;
    color: #047857;
    font-size: 24px;
}

.save-icon {
    font-size: 28px;
}

/* Summary */
.drawer-summary {
    margin: 0 18px 18px;
    padding: 18px;
    border-radius: 16px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.sum-row.total {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #600505;
}

.drawer-summary hr {
    border: none;
    border-top: 1px dashed #FDBA74;
    margin: 10px 0;
}

/* Footer */
.drawer-footer {
    padding: 18px;
    border-top: 1px solid #ECECEC;
    background: #fff;
}

.proceed-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 600;
    transition: .25s;
}

.proceed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgb(244 48 48 / 35%);
}

.proceed-btn small {
    display: block;
    font-size: 11px;
    opacity: .8;
}

.proceed-btn strong {
    font-size: 20px;
}

/* =====================================
   CUSTOMER DRAWER
===================================== */
.checkout-drawer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: .28s;
    z-index: 9999;
}

.checkout-drawer.show {
    opacity: 1;
    visibility: visible;
}

.checkout-panel {
    width: 430px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: .32s;
}

.checkout-drawer.show .checkout-panel {
    transform: translateX(0);
}

.checkout-body {
    flex: 1;
    overflow: auto;
    padding: 22px 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #D9E2EC;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
    transition: .2s;
    background: #fff;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #0F4CFF;
    box-shadow: 0 0 0 4px rgba(15,76,255,.08);
}

.form-group textarea {
    resize: none;
    min-height: 96px;
}

.info-note {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #9A3412;
    padding: 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.drawer-progress .done {
    background: #16A34A;
}

/* Two column fields */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Payment Information */
.payment-info {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px;
    margin-top: 8px;
}

.payment-info h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #600505;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.payment-methods span {
    font-size: 11px;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #374151;
}

.payment-methods .active {
    background: #DBEAFE;
    color: #1D4ED8;
}

.payment-methods .disabled {
    background: #FEE2E2;
    color: #B91C1C;
}

.payment-info p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

/* Important Notes */
.info-note {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 16px;
    padding: 16px;
    margin-top: 16px;
}

.info-note strong {
    display: block;
    color: #9A3412;
    margin-bottom: 10px;
    font-size: 14px;
}

.info-note ul {
    margin: 0;
    padding-left: 18px;
}

.info-note li {
    color: #7C2D12;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* ============================
   PAYMENT DRAWER
============================ */
.payment-card {
    background: linear-gradient(180deg,#F8FBFF,#EEF5FF);
    border: 1px solid #D6E6FF;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    margin-bottom: 18px;
}

.payment-card img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    margin-bottom: 14px;
}

.payment-card h2 {
    margin: 6px 0;
    color: #600505;
    font-size: 32px;
}

.payment-card p {
    margin: 0;
    color: #64748B;
    font-size: 13px;
}

.upi-box, .bank-box {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    background: #fff;
}

.upi-box label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.upi-row {
    display: flex;
    gap: 10px;
}

.upi-row input {
    flex: 1;
    border: none;
    background: #F3F4F6;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
}

.upi-row button {
    background: #0F4CFF;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
}

.bank-box h4 {
    margin: 0 0 14px;
    color: #600505;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.bank-row span {
    color: #64748B;
}

.bank-row strong {
    color: #111827;
}

.paid-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0 18px;
    font-size: 13px;
    font-weight: 600;
}

/* Customer Drawer */
.checkout-drawer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 9999;
}

.checkout-drawer.show {
    opacity: 1;
    visibility: visible;
}

.checkout-panel {
    width: 430px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: .3s;
}

.checkout-drawer.show .checkout-panel {
    transform: translateX(0);
}

.checkout-body {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #D9E2EC;
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #0F4CFF;
}

.payment-info {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px;
    margin-top: 8px;
}

.payment-info h4 {
    margin: 0 0 12px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.payment-methods span {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: #E5E7EB;
}

.payment-methods .active {
    background: #DBEAFE;
    color: #1D4ED8;
}

.payment-methods .disabled {
    background: #FEE2E2;
    color: #B91C1C;
}

/* Success Drawer */
.success-body {
    text-align: center;
    padding-top: 28px;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg,#22C55E,#16A34A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
}

.success-sub {
    color: #64748B;
    margin-bottom: 22px;
}

.success-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 18px;
    text-align: left;
}

.success-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.success-row span {
    color: #64748B;
}

.success-row.total {
    font-size: 18px;
    font-weight: 600;
    color: #600505;
}
.success-row.total strong span {
    color: #600505;
}

.success-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    background: #ECFDF5;
    color: #166534;
    font-size: 13px;
    line-height: 1.5;
}

.secondary-btn {
    width: 100%;
    margin-top: 10px;
    border: none;
    border-radius: 14px;
    padding: 14px;
    background: #E5E7EB;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand .brand-text {
    display: none;
}

@media (max-width: 768px) {
    .logo-brand {
        justify-content:center;
        width: 100%;
    }
}

/* ==========================================
   MOBILE VERSION (0 - 768px)
========================================== */
@media (max-width: 768px) {
    /* Hide desktop marquee */ .top-marquee {
        display:none;
    }

    /* Header */
    .desktop-header {
        position: sticky;
        top: 0;
        z-index: 999;
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        /* border-bottom: 1px solid #ECECEC; */
    }

    .logo-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-logo {
        height: 44px;
        width: auto;
    }

    .header-cart {
        display: none;
    }

    .search-area {
        width: 100%;
    }

    .search-area input {
        width: 100%;
        height: 36px;
        border-radius: 22px;
        font-size: 14px;
    }

    /* Hero */
    .hero-section {
        margin: 0;
        border-radius: 0;
    }

    .hero-slide img {
        border-radius: 0;
    }

    /* Intro */
    .intro-section {
        padding: 18px 16px;
        text-align: center;
    }

    .intro-section h2 {
        font-size: 22px;
    }

    .intro-section p {
        font-size: 13px;
    }

    /* Category */
    .category-bar {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 12px 10px;
        gap: 10px;
        scrollbar-width: none;
    }

    .category-bar::-webkit-scrollbar {
        display: none;
    }

    .cat {
        flex: 0 0 auto;
        border-radius: 30px;
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Product Table -> Cards */
    .product-table {
        display: block;
        border: none;
    }

    .table-head {
        display: none;
    }

    .product-row {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 12px;
        align-items: center;
        padding: 14px;
        margin: 0 10px 10px;
        background: #fff;
        border: 1px solid #EEEEEE;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

    /* Hide SL NO */
    .col-sl {
        display: none;
    }

    /* Image */
    .col-img {
        grid-row: 1/3;
        width: 48px;
    }

    .col-img img {
        width: 72px;
        height: 72px;
        border-radius: 8px;
    }

    /* Name */
    .col-name {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    /* Price */
    .col-price {
        color: #0F766E;
        font-size: 16px;
        font-weight: 600;
    }

    /* Qty */
    .col-qty {
        grid-column: 2;
        margin-top: 6px;
        padding: 0;
        margin: 0;
    }

    .qty-box {
        width: 110px;
        height: 36px;
        border-radius: 20px;
    }

    /* Amount hidden */
    .col-amt {
        display: none;
    }

    /* Bottom Sticky */
    .sticky-cart {
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 18px;
        padding: 14px 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,.18);
    }

    .sticky-cart-info b {
        font-size: 18px;
    }

    .sticky-cart-info small {
        font-size: 11px;
    }

    /* Footer spacing */
    footer {
        margin-bottom: 68px !important;
    }
}

/* =========================================
   MOBILE PRODUCT LIST (390px Design)
========================================= */
@media (max-width: 768px) {
    /* Hide desktop table header */ .product-header {
        display:none;
    }

    /* Category title */
    .category-title {
        background: #600505;
        color: #fff;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        border-radius: 0;
        margin-top: 0;
        position: relative;
        /* Remove sticky */
        top: auto;
        z-index: 1;
    }

    /* Product row becomes compact list */
    .product-row {
        display: grid;
        grid-template-columns: 48px 1fr 78px;
        grid-template-areas:
            "img name price"
            "img qty  price";
        gap: 4px 12px;
        padding: 6px 6px;
        align-items: center;
        background: #fff;
        border: none;
        border-bottom: 1px solid #ECECEC;
        border-radius: 0;
        margin: 0;
        border-right: 1px solid #ECECEC;
        border-left: 1px solid #ECECEC;
    }

    /* Hide serial separately */
    .col-sl {
        display: none;
    }

    /* Image */
    .col-img {
        grid-area: img;
    }

    .col-img img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        margin-right: 0;
    }

    /* Name */
    .col-name {
        grid-area: name;
    }

    .col-name h4 {
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
    }

    .col-name p {
        margin: 2px 0 0;
        font-size: 10px;
        color: #64748B;
    }

    /* Price */
    .col-price {
        grid-area: price;
        text-align: right;
    }

    .col-price del {
        display: block;
        font-size: 10px;
        color: #ff0000;
    }

    .col-price strong {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #047857;
    }

    /* Qty */
    .col-qty {
        grid-area: qty;
    }

    .qty-box {
        width: 78px;
        height: 28px;
        border: 1px solid #CBD5E1;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        margin: 0;
    }

    .qty-box button {
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        color: #2563EB;
        font-size: 18px;
        font-weight: 600;
    }

    .qty-value {
        font-size: 13px;
        font-weight: 600;
    }

    /* Amount hidden on mobile */
    .col-amt {
        display: none;
    }

    /* Full width section */
    .product-section {
        background: #fff;
        border-radius: 0;
        overflow: hidden;
    }
}

/* Product List Heading */
.product-list-heading {
    text-align: center;
    padding: 48px 18px 18px;
    background: #fff;
}

.product-list-heading .tag {
    display: inline-block;
    background: #FFE8A3;
    color: #8A5A00;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-list-heading h2 {
    margin: 0;
    color: #d40000;
    font-size: 28px;
    font-weight: 600;
}

.product-list-heading p {
    margin: 8px auto 0;
    max-width: 520px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

@media(max-width: 768px) {
    .product-list-heading {
        padding:20px 16px 14px;
    }

    .product-list-heading h2 {
        font-size: 22px;
    }

    .product-list-heading p {
        font-size: 13px;
    }
}

/* =========================================
   MOBILE STICKY CART
========================================= */
.mobile-cart-bar {
    display: none;
}

@media (max-width: 768px) {
    .bottom-cart {
        display: none;
    }

    .product-section {
        margin: 20px 20px;
        border-radius: 12px;
    }

    .shop-intro {
        display: none;
    }

    .trust-strip {
        display: none;
    }

    .footer-container {
        max-width: 1320px;
        margin: auto;
        padding: 48px 32px 36px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
        align-items: start;
    }

    .mobile-cart-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 48px;
        background: #ffffff;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
        transform: translateY(120px);
        transition: .28s ease;
        z-index: 999;
    }

    .mobile-cart-bar.show {
        transform: translateY(0);
    }

    .mc-left {
        display: flex;
        flex-direction: column;
    }

    .mc-left small {
        color: #353535;
        font-size: 10px;
        margin-bottom: 7px;
    }

    .mc-left strong, .mc-left strong span {
        color: #ff0000;
        font-size: 20px !important;
        line-height: 1;
    }

    .mc-left span {
        color: #117b11;
        font-size: 9px;
        font-weight: 600;
    }

    

.mc-btn {
    /* Text styling */
     /* Dark brown text for high contrast on yellow */
    font-family: Inter,sans-serif;
    text-decoration: none;
    
    /* Button sizing & shape */
     /* Pill shape */
    display: inline-block;
    
    /* 3D shadows and layout */
    position: relative;
    overflow: hidden;
    box-shadow: 
      0 4px 6px rgba(0, 0, 0, 0.15),      /* Outer drop shadow */
      inset 0 1px 0 rgba(255, 255, 255, 0.6); /* Inner top highlight */
    
    /* 1. Base Yellow-Gold Gradient */
    background: linear-gradient(135deg, #ff0000, #9d0000);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  
  /* 2. The Glossy Reflection Overlay */
  .mc-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Only covers the top half */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
  }
  
  /* 3. Hover & Active States */
  .mc-btn:hover {
    filter: brightness(1.08);
    box-shadow: 
      0 6px 12px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    transition: all 0.2s ease;
  }
  
  .mc-btn:active {
    transform: translateY(1px);
    box-shadow: 
      0 2px 3px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* ==========================================
   MOBILE DRAWER ONLY (Desktop Safe)
========================================== */

.drawer-handle{
    display:none;
}

@media (max-width:768px){

/* Cart / Customer / Payment / Success */
.drawer-panel,
.checkout-panel{

    position:absolute;

    left:0;
    right:0;
    bottom:0;
    top:auto !important;

    width:100% !important;
    max-width:none !important;
    height:90vh;

    border-radius:22px 22px 0 0;

    animation:mobileDrawerUp .28s ease;

    overflow:hidden;
}

/* Handle */
.drawer-handle{
    display:block;

    width:54px;
    height:5px;

    background:#D1D5DB;

    border-radius:99px;

    margin:10px auto 6px;

    flex-shrink:0;
}

/* Header */
.drawer-header{
    padding:0 18px 14px;
    border-bottom:1px solid #ECECEC;
}

/* Scroll Area */
.cart-items,
.checkout-body{
    flex:1;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

/* Footer always fixed */
.cart-summary,
.drawer-footer{

    flex-shrink:0;

    background:#fff;

    border-top:1px solid #ECECEC;
}

@keyframes mobileDrawerUp{
    from{
        transform:translateY(100%);
    }
    to{
        transform:translateY(0);
    }
}

}

/* ==========================================
   ZEPTO CART UI
========================================== */

.cart-savings{

    margin:12px 14px;

    background:#DCFCE7;

    color:#166534;

    padding:10px 14px;

    border-radius:999px;

    text-align:center;

    font-size:13px;

    font-weight:700;
}

.cart-item{display:grid;grid-template-columns: 60px 1fr auto;gap:12px;padding:14px;border-bottom:1px solid #ECECEC;align-items:center;background:#fff;margin-bottom: 0;border-radius: 0;}

.cart-thumb{

    width:56px;
    height:56px;

    object-fit:contain;
}

.cart-content h4{

    margin:0;

    font-size:14px;
    font-weight:700;
}

.cart-rate{

    margin:4px 0 8px;

    color:#64748B;

    font-size:12px;
}

.cart-right{

    font-size:15px;
    font-weight:700;

    color:#600505;
}

.cart-qty{

    width:84px;
    height:28px;

    display:flex;

    justify-content:space-between;
    align-items:center;

    border:1px solid #CBD5E1;

    border-radius:8px;
}

.cart-qty button{

    width:26px;
    height:26px;

    border:none;
    background:none;

    color:#2563EB;

    font-size:18px;
    font-weight:700;

    cursor:pointer;
}

.cart-summary{
    background:#fff;
    padding:16px;
}

.summary-card{
    background:#F8FAFC;
    border:1px solid #E5E7EB;
    border-radius:14px;
    padding:14px;
    margin-bottom:14px;
    max-width: 100%;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    font-size:14px;
}

.summary-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px dashed #CBD5E1;
    padding-top:12px;
    margin-top:8px;
    font-size:18px;
    font-weight:600;
    color:#600505;
}

.proceed-btn{
    width:100%;
    height:52px;
    border:none;
    border-radius:14px;
    font-weight:600;
    font-size:16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff0000, #9d0000);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media(max-width:768px){

    .proceed-btn{
        width:100%;
        height:54px;
        border:none;
        border-radius:14px;
        font-size:16px;
        font-weight:600;
        display:flex;
        align-items:center;
        color: #ffffff;
        background: linear-gradient(135deg, #ff0000, #9d0000);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

}

.qty-disabled{
    background:#E5E7EB !important;
    color:#9CA3AF !important;
    cursor:not-allowed;
    pointer-events:none;
}

.product-row.sold-out{
    opacity:.75;
}

.product-row.sold-out .col-name h4{
    color:#6B7280;
}

/* =========================
   MOBILE HEADER
=========================*/

.mobile-logo,
.mobile-menu-btn{
    display:none;
}

@media (max-width:768px){

    .top-bar,
    .offer-strip,
    .header-cart,
    .navbar{
        display:none;
    }

    #mainHeader{
        display:grid;
        grid-template-columns: 0.2fr 1fr;
        align-items:center;
        gap:10px;
        height:68px;
        padding: 0 12px;
        position:sticky;
        top:0;
        z-index:999;
    }

    .logo-wrap{
        display:none;
    }

    .mobile-logo{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .mobile-logo img{
        width:42px;
        height:42px;
        object-fit:contain;
    }

    .search-area{
        width:100%;
    }

    .search-area input{
        width: 90%;
        margin: 0 auto;
    }
    .mobile-menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        width: 36px;
        height: 36px;
        border-radius:10px;
        font-size:24px;
        font-weight:700;
        cursor:pointer;
        background: padding-box rgba(255, 255, 255, 0.02);
        box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
        backdrop-filter: blur(20px) saturate(1.2);
        border: 1px solid #ffffff52;
        color: #ffffffa1;
    }
}

@media (max-width:768px){    

    .navbar.show{
        display:flex;
        position:absolute;
        top:68px;
        left:0;
        width:100%;
        flex-direction:column;
        background:#600505;
        padding:12px 0;
        z-index:998;
    }

    .navbar.show a{
        color:#fff;
        padding:14px 20px;
        text-decoration:none;
        border-bottom:1px solid rgba(255,255,255,.08);
    }
}

@media (max-width:991px){

    .desktop-nav{
        display:none;
    }

    .desktop-nav.show{
        display:flex;
        flex-direction: column;
        position: sticky;
        top:68px;
        right: 0;
        width: 1vw;
        min-width: 100%;
        z-index: 99999;
        padding: 20px 0;
        height: max-content;
        background: padding-box rgba(255, 255, 255, 0.02);
        box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
        backdrop-filter: blur(20px) saturate(1.2);
        border: 1px solid #0000;
    }

    .navbar.show a{
        color:#fff;
        padding:16px 20px;
        border-bottom:1px solid rgba(255,255,255,.08);
        text-decoration:none;
    }
}
.mobile-menu-btn,
.mobile-logo{
    display:none;
}

@media (max-width:991px){

    .mobile-menu-btn{
        display:flex;
    }

    .mobile-logo{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .logo-wrap{
        display:none;
    }

}

/* ===================================
   MOBILE HERO SLIDER
=================================== */

@media (max-width:991px){

    .hero-slider,
    .slider-wrapper,
    .swiper,
    .swiper-wrapper,
    .swiper-slide{
        width:100%;
        height:auto;
    }

    .hero-slider{
        margin:0;
        border-radius:0;
        overflow:hidden;
    }

    .swiper-slide img{
        width:100%;
        height:auto;
        object-fit:cover;
        object-position:center;
    }

    .timer-box h2 {
        margin: 10px 0 0;
        font-size: 16px;
        color: #fff;
        font-family: Inter,sans-serif;
        line-height: 1.2;
    }

    .timer-box small {
        color: #FFD54F;
        font-weight: 400;
        letter-spacing: 0;
        font-size: 12px;
    }

    /* Countdown Card */
    .countdown-box{
        position:absolute;
        left:50%;
        top:14px;
        transform:translateX(-50%);
        width:92%;
        max-width:340px;
        padding:12px;
        border-radius:16px;
        backdrop-filter:blur(12px);
        background:rgba(7,20,52,.68);
    }

    .countdown-title{
        font-size:11px;
        letter-spacing:.8px;
    }

    .countdown-time{
        font-size:28px;
        font-weight:600;
    }

    /* Hide decorative desktop elements */
    .hero-floating,
    .desktop-offer{
        display:none;
    }
    

}

/* Search icon inside search bar */
.search-area{
    position:relative;
}

.search-area::before{
    content: "\f3ee";
    position:absolute;
    left: 8px;
    top: 13px;
    width: 40px;
    height: 40px;
    pointer-events:none;
    opacity: 1;
    font-family: 'FontAwesome';
    color: #f7d533;
    z-index: 999;
    font-size: 24px;
    text-align: center;
}

.search-area input{
    padding-left:44px !important;
}

.glossy-gold-button {
    /* Text styling */
     /* Dark brown text for high contrast on yellow */
    font-family: Inter,sans-serif;
    text-decoration: none;
    
    /* Button sizing & shape */
    
     /* Pill shape */
    display: inline-block;
    
    /* 3D shadows and layout */
    position: relative;
    overflow: hidden;
    box-shadow: 
      0 4px 6px rgba(0, 0, 0, 0.15),      /* Outer drop shadow */
      inset 0 1px 0 rgba(255, 255, 255, 0.6); /* Inner top highlight */
    
    /* 1. Base Yellow-Gold Gradient */
  }
  
  /* 2. The Glossy Reflection Overlay */
  .glossy-gold-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Only covers the top half */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
  }
  
  /* 3. Hover & Active States */
  .glossy-gold-button:hover {
    filter: brightness(1.08);
    box-shadow: 
      0 6px 12px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    transition: all 0.2s ease;
  }
  
  .glossy-gold-button:active {
    transform: translateY(1px);
    box-shadow: 
      0 2px 3px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  

  /* ===================================================
   SG CRACKERZ CORPORATE FOOTER
=================================================== */

.site-footer{
    background:#101010;
    color:#fff;
    margin-top:60px;
    border-top:3px solid #F4C430;
    margin-bottom: 82px;
    background: radial-gradient(circle at left, #770909 0%, /* Light vibrant red core (5%) */ #530000 8%, /* Smooth bleed into medium red (5%) */ #400000 15%, /* Smooth bleed into dark wine red (10%) */ #370505 25%, /* Seamlessly fades into your background */ #0e0000 100% /* Solid #151515 across the outer 75-80% */);
}

.footer-top{
    max-width:1320px;
    margin:auto;
    padding:40px 28px;
}

/* ---------- Brand ---------- */

.footer-brand{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:34px;
}

.footer-logo{
    width: 100px;
    height: 100px;
    object-fit:contain;
    flex-shrink:0;
    display: block;
}

.brand-content{
    flex:1;
}

.brand-content h3{
    margin:0;
    font-size:28px;
    font-weight:700;
}

.brand-content p{
    margin-top:6px;
    color:#A1A1AA;
    font-size:15px;
}

.footer-social{
    display:flex;
    gap:12px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    text-decoration:none;
    transition:.25s;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid #0000;
}

.footer-social a:hover{
    background:#F4C430;
    color:#111;
}

/* ---------- Trust Cards ---------- */

.footer-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.trust-card{
    border-radius:12px;
    padding:22px 18px;
    transition:.25s;
    background: padding-box rgba(255, 255, 255, 0.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px, rgba(0, 0, 0, 0.05) 0px 2px 8px, rgba(255, 255, 255, 0.12) 0px 1px 0px inset, rgba(255, 255, 255, 0.06) 0px -1px 0px inset;
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid #0000;
    text-align: center;
}

.trust-card:hover{
    border-color:#F4C43055;
    transform:translateY(-2px);
}

.trust-card h5{
    margin:0 0 10px;
    color:#9CA3AF;
    font-size:13px;
    font-weight:500;
}

.trust-card strong{
    color:#F4C430;
    font-size:20px;
    font-weight:700;
}

/* ---------- Bottom ---------- */

.footer-divider{
    height:1px;
    background: #ffffff14;
}

.footer-bottom{
    max-width:1320px;
    margin:auto;
    padding: 12px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.footer-bottom p{
    margin:0;
    color:#7C7C7C;
    font-size:13px;
}

.footer-nav{
    display:flex;
    gap:28px;
}

.footer-nav a{
    color: #7c7c7c;
    text-decoration:none;
    font-size: 12px;
    font-weight: 400;
    transition:.25s;
}

.footer-nav a:hover{
    color:#F4C430;
}

/* ===================================================
   MOBILE
=================================================== */

@media (max-width:991px){

.footer-top{
    padding: 24px;
}

/* Brand Center */

.footer-brand{
    flex-direction:column;
    text-align:center;
    margin-bottom:28px;
}

.footer-logo{
    width:86px;
    height:86px;
}

.brand-content h3{
    font-size:24px;
}

.brand-content p{
    font-size:14px;
    max-width:280px;
    margin:8px auto 0;
    line-height:1.6;
}

.footer-social{
    justify-content:center;
}

/* 2 ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â 2 cards */

.footer-cards{
    grid-template-columns:repeat(2,1fr);
    gap: 4px;
}

.trust-card{
    text-align:center;
    padding:18px 12px;
}

.trust-card h5{
    font-size:12px;
}

.trust-card strong{
    font-size:17px;
}

/* Bottom */

.footer-bottom{
    flex-direction:column-reverse;
    gap:16px;
    text-align:center;
}

.footer-nav{
    width:100%;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}

.footer-nav a{
    font-size:13px;
}

.footer-bottom p{
    font-size:12px;
}

}

/* ===============================
   PREMIUM COUNTDOWN
================================ */

.timer-box{
    text-align:center;
    padding: 24px 20px 0 20px;
    border-radius:20px;
    background:rgba(8,18,48,.35);
    display: block;
}

.timer-box small{
    display:block;
    color:#FFD54A;
    letter-spacing: 8px;
    font-size:11px;
    font-weight: 600;
    margin-bottom: 24px;
}

.countdown{
    display:flex;
    justify-content:center;
    gap:10px;
}

.time-card{
    width:72px;
    height:82px;
    border-radius:16px;
    position:relative;
    overflow:hidden;

    background:
    linear-gradient(180deg,#3A3215 0%,#191919 45%,#0F0F0F 100%);

    border:1px solid rgba(244,196,48,.55);

    box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 24px rgba(0,0,0,.35);
}

/* glossy highlight */
.time-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:40%;
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.22),
        rgba(255,255,255,0)
    );
}

.time-value{
    display:block;
    margin-top:14px;

    font-size:34px;
    font-weight:600;
    line-height:1;

    background:linear-gradient(180deg,#FFF8D6,#FFD54A,#D89A00);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.time-label{
    display:block;
    margin-top:8px;

    font-size:10px;
    letter-spacing:1.5px;
    color:#D6D6D6;
    font-weight:700;
}

/* flip animation */
.flip{
    animation:flipRotate .45s ease;
}

@keyframes flipRotate{

    0%{
        transform:rotateX(90deg);
        opacity:.2;
    }

    100%{
        transform:rotateX(0);
        opacity:1;
    }

}

/* Mobile */

@media(max-width:768px){
    
.search-area::before{
    content: "\f3ee";
    position:absolute;
    left: 8px;
    top: 9px;
    width: 30px;
    height: 30px;
    pointer-events:none;
    opacity: 1;
    font-family: 'FontAwesome';
    color: #f7d533;
    z-index: 999;
    font-size: 20px;
    text-align: center;
}

 

    .countdown{
        gap:6px;
    }

    .time-card{
        width:58px;
        height:68px;
        border-radius:12px;
    }

    .time-value{
        font-size:26px;
        margin-top:10px;
    }

    .time-label{
        font-size:8px;
        margin-top:6px;
    }

}

.countdown-machine{
    display:flex;
    gap: 24px;
    justify-content:center;
}

.time-group{
    text-align:center;
}

.reels{
    display:flex;
    gap: 2px;
}

.reel{
    width: 60px;
    height: 56px;
    overflow:hidden;
    border-radius:8px;
    /* background:#111; */
    border: 2px solid rgb(253 255 0 / 30%);
    position:relative;
    box-shadow: 0 0 24px 0 #f5cd31;
}

.reel::before{
    /* content:''; */
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:1px;
    background:rgba(255,255,255,.12);
    z-index:2;
}

.strip{
    transition:transform .65s cubic-bezier(.22,.9,.28,1);
}

.digit{
    height: 56px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 40px;
    font-weight: 600;
    color: #600505;
    background: linear-gradient(135deg, rgb(255, 193, 7) 0%,  rgb(255, 233, 138) 62%, rgb(138, 74, 0) 100%);
    font-family: fantasy;
}

.time-group small{
    display:block;
    margin-top:8px;
    color: #ffffff;
    font-size:10px;
    letter-spacing:1px;
}

.mobile-countdown .timer-box
{
    display: none;
}


/* Visibility */

.desktop-timer{display:block;}
.mobile-offer-timer{display:none;}

@media(max-width:767px){

.desktop-timer{
    display:none;
}

.mobile-offer-timer{
    display:block;
    padding: 6px 16px;
    box-shadow: 0px 12px 13px rgba(0, 0, 0, 0.15), inset 1px 13px 10px rgb(49 0 0 / 11%);
    background: linear-gradient(135deg, #ff0000, #9d0000);
    z-index: 99;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 99;
}

.mobile-offer-timer:before{
        content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgb(255 0 0 / 60%) 0%, rgb(255 0 0 / 0%) 100%);
    pointer-events: none;
    z-index: -1;
}

.mobile-timer-wrap{
    margin:auto;
    text-align:center;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 20px;
}

.mobile-timer-wrap small{
    color: #f9d934;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
}

.mobile-countdown{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.m-card{width: max-content;margin: 0 auto;text-align: center;}

.m-card span{
    display:block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height:1;
    width: max-content;
}

.m-card label{
    font-size:9px;
    color:#f9d934;
    letter-spacing:1px;
}

}



@media(max-width:767px){
    
    .success-row {
        display: grid;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 14px;
    }
    .bank-row {
        display: grid;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 13px;
    }
}

/* ===============================
   TERMS MODAL
================================ */

.terms-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
}

.terms-modal.show{
    display:block;
}

.terms-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(3px);
}

.terms-sheet{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(640px,92%);
    max-height:88vh;
    background:#fff;
    border-radius:22px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.terms-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    border-bottom:1px solid #E5E7EB;
}

.terms-header h3{
    margin:0;
    font-size:22px;
    color:#041B52;
}

.terms-header button{
    border:none;
    background:none;
    font-size:22px;
    cursor:pointer;
}

.terms-body{
    overflow-y:auto;
    padding:20px 22px;
}

.terms-section{
    margin-bottom:22px;
}

.terms-section h4{
    color:#041B52;
    margin-bottom:10px;
    font-size:17px;
}

.terms-section ul{
    margin:0;
    padding-left:18px;
}

.terms-section li{
    margin-bottom:8px;
    line-height:1.6;
    color:#4B5563;
}

.terms-footer{
    padding:18px 22px;
    border-top:1px solid #E5E7EB;
}

.accept-btn{
    width:100%;
    height:52px;
    border:none;
    border-radius:14px;
    background:#F4C430;
    color:#111827;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

/* Mobile Bottom Sheet */

@media(max-width:768px){

.terms-sheet{
    left:0;
    right:0;
    bottom:0;
    top:auto;
    transform:none;
    width:100%;
    max-height:90vh;
    border-radius:22px 22px 0 0;
}

}

.products-section.search-focus{
    animation: sectionGlow .8s ease;
}

@keyframes sectionGlow{
    0%   { background:rgba(244,196,48,.18); }
    100% { background:transparent; }
}

/* ==========================================
   PREMIUM RECEIPT SUCCESS SCREEN
========================================== */

.receipt-panel{
    background:#0F6A44;
    overflow:hidden;
}

.receipt-header{
    background:transparent;
    color:#fff;
}

.receipt-header h3,
.receipt-header .drawer-step{
    color:#fff;
}

.receipt-ticket{
    background:#FAFAF7;
    border-radius:22px;
    padding:22px 18px;
    position:relative;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

/* perforated ticket */
.receipt-ticket:before,
.receipt-ticket:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:14px;
    background:
      radial-gradient(circle at 7px 7px,#0F6A44 7px,transparent 7px)
      repeat-x;
    background-size:18px 14px;
}

.receipt-ticket:before{
    top:-7px;
}

.receipt-ticket:after{
    bottom:-7px;
    transform:rotate(180deg);
}

.receipt-top{
    text-align:center;
}

.success-icon{
    width:74px;
    height:74px;
    margin:0 auto 14px;
    border-radius:50%;
    background:#22C55E;
    color:#fff;
    font-size:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.paid-badge{
    display:inline-block;
    background:#DCFCE7;
    color:#15803D;
    font-size:11px;
    font-weight:700;
    padding:6px 12px;
    border-radius:999px;
    letter-spacing:.6px;
    margin-bottom:10px;
}

.receipt-top h2{
    margin:4px 0;
    color:#111827;
    font-size:28px;
}

.receipt-top p{
    color:#6B7280;
    font-size:14px;
    margin-bottom:18px;
}

.receipt-divider{
    border-top:2px dashed #D1D5DB;
    margin:18px 0;
}

.receipt-row{
    display: grid;
    justify-content: flex-start;
    align-items:flex-start;
    padding:10px 0;
    gap: 4px;
    width: 100%;
    text-align: left;
}

.receipt-row span{
    color:#6B7280;
    font-size:13px;
}

.receipt-row strong{
    color:#111827;
    font-size:15px;
    text-align:right;
    max-width: 100%;
    word-break:break-word;
}

.receipt-total-label{
    text-align:center;
    color:#6B7280;
    font-size:12px;
    letter-spacing:1px;
    margin-top:4px;
}

.receipt-total{
    text-align:center;
    font-size:38px;
    font-weight:600;
    color:#0F6A44;
    margin:8px 0 14px;
}

.receipt-footer{
    text-align:center;
    color:#9CA3AF;
    font-size:11px;
    border-top:1px solid #E5E7EB;
    padding-top:12px;
}

#successSheet .checkout-body{
    background:#0F6A44;
    padding:18px;
}

#successSheet .drawer-footer{
    background:#0F6A44;
    padding:18px;
}

#successSheet .proceed-btn{
    background:#fff;
    color:#0F6A44;
    font-weight:700;
}

#successSheet .secondary-btn{
    background:rgba(255,255,255,.15);
    color:#fff;
    border:1px solid rgba(255,255,255,.25);
}

/* Mobile polish */
@media(max-width:768px){

.receipt-ticket{
    padding:18px 16px;
    border-radius:20px;
}

.receipt-total{
    font-size:34px;
}

.success-icon{
    width:66px;
    height:66px;
    font-size:34px;
}

}

/* ===== Product Gallery ===== */

.product-click{
    cursor:pointer;
}

.image-gallery{
    position:fixed;
    inset:0;
    background:#000;
    z-index:99999;
    display:none;
    flex-direction:column;
}

.image-gallery.active{
    display:flex;
}

.gallery-header{
    color:#fff;
    padding:16px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:600;
}

.gallery-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:34px;
    cursor:pointer;
}

.gallery-track{
    flex:1;
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
}

.gallery-track::-webkit-scrollbar{
    display:none;
}

.gallery-track img{
    width:100%;
    flex:0 0 100%;
    object-fit:contain;
    scroll-snap-align:start;
}

.gallery-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:16px 0 22px;
}

.gallery-dots span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#666;
}

.gallery-dots span.active{
    background:#F4C430;
}

.gallery-wrapper{
    position:relative;
    flex:1;
    display:flex;
    align-items:center;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    color:#fff;
    cursor:pointer;
    backdrop-filter:blur(8px);
    z-index:2;
    transition:.25s;
}

.gallery-arrow:hover{
    background:rgba(255,255,255,.22);
}

.gallery-arrow.left{ left:16px; }
.gallery-arrow.right{ right:16px; }

@media(max-width:768px){
    .gallery-arrow{
        display:none;
    }
}

.image-gallery{
    position:fixed;
    inset:0;
    background:#000;
    display:none;
    flex-direction:column;
    z-index:99999;
}

.image-gallery.active{
    display:flex;
}

/* ===== Gallery ===== */

.image-gallery{
    position:fixed;
    inset:0;
    background: #ffffff1f;
    z-index:99999;
    display:none;
    flex-direction:column;
    backdrop-filter: blur(4px) saturate(0.5);
}

.image-gallery.active{
    display:flex;
}

.gallery-wrapper{
    position:relative;
    flex:1;
    overflow:hidden;          /* Important */
}

.gallery-track{
    width:100%;
    height:100%;
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}

.gallery-track::-webkit-scrollbar{
    display:none;
}

.gallery-track img{
    min-width:100%;           /* Important */
    width:100%;
    height:100%;
    flex:0 0 100%;
    object-fit:contain;
    scroll-snap-align:start;
}