/* =========================================================
   HERO DEAL BANNER
========================================================= */
.deal-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #07130D 0%, #0F2114 50%, #1B4428 100%);
    color: #fff;
    padding: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 2rem;
}

.deal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(232, 93, 4, .28), transparent 60%),
        radial-gradient(500px 400px at 0% 100%, rgba(40, 91, 57, .4), transparent 60%);
    pointer-events: none;
}

.deal-hero>* {
    position: relative;
    z-index: 1;
}

.deal-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(232, 93, 4, .18);
    border: 1px solid rgba(232, 93, 4, .35);
    color: var(--secondary-300);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.deal-kicker .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary-400);
    animation: pulse 1.4s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

.deal-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
}

.deal-hero h1 .accent {
    color: var(--secondary-400);
}

.deal-hero p {
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

/* Countdown */
.countdown-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.countdown-label {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--secondary-300);
    font-weight: 700;
    margin-right: .35rem;
}

.countdown {
    display: flex;
    gap: .5rem;
}

.cd-box {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    min-width: 64px;
    padding: .6rem .4rem;
    text-align: center;
}

.cd-box b {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.cd-box span {
    display: block;
    font-size: .55rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-top: .3rem;
    font-weight: 700;
}

.cd-sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .3);
    align-self: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--secondary);
    color: #fff;
    border: 0;
    font-weight: 700;
    padding: .95rem 1.75rem;
    border-radius: 10px;
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--t);
}

.btn-hero:hover {
    background: var(--secondary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(232, 93, 4, .7);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: .95rem 1.75rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   QUICK COUPON STRIP
========================================================= */
.coupon-strip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .25rem .25rem 1rem;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.coupon-strip::-webkit-scrollbar {
    display: none;
}

.coupon-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 240px;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    cursor: pointer;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--background);
    transform: translateY(-50%);
}

.coupon-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--background);
    transform: translateY(-50%);
}

.coupon-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.coupon-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--secondary-50);
    color: var(--secondary-700);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.coupon-info {
    flex: 1;
    min-width: 0;
}

.coupon-code {
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .04em;
    font-family: 'Courier New', monospace;
}

.coupon-desc {
    font-size: .72rem;
    color: var(--muted);
    margin-top: 2px;
}

.coupon-copy {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-top: .35rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.coupon-card.copied {
    border-color: var(--success);
    background: var(--success-bg);
}

.coupon-card.copied .coupon-copy {
    color: var(--success);
}

/* =========================================================
   FLASH DEALS RAIL
========================================================= */
.flash-section {
    background: linear-gradient(135deg, #E85D04 0%, #C94D00 100%);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.flash-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 300px at 90% 10%, rgba(255, 255, 255, .12), transparent 60%);
    pointer-events: none;
}

.flash-section>* {
    position: relative;
    z-index: 1;
}

.flash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flash-head h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.flash-head h2 i {
    color: var(--secondary-300);
    animation: flash 1.4s ease infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(1.15);
    }
}

.flash-timer {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.flash-timer .cd-box {
    background: rgba(0, 0, 0, .25);
    border-color: rgba(255, 255, 255, .2);
    min-width: 48px;
    padding: .45rem .35rem;
}

.flash-timer .cd-box b {
    font-size: 1.05rem;
}

.flash-timer .cd-box span {
    font-size: .5rem;
}

/* =========================================================
   SECTION HEADS
========================================================= */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.section-head h2 i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.section-head p {
    margin: .35rem 0 0;
    color: var(--muted);
    font-size: .85rem;
}

.section-link {
    font-size: .82rem;
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap var(--t-fast);
}

.section-link:hover {
    gap: .6rem;
    color: var(--secondary-hover);
}

/* =========================================================
   TABS
========================================================= */
.tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: .35rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: .55rem 1.15rem;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: .82rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--t-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    background: var(--primary);
    color: #fff;
}

.tab .count {
    font-size: .7rem;
    background: rgba(255, 255, 255, .2);
    padding: .1rem .45rem;
    border-radius: 999px;
    font-weight: 700;
}

.tab:not(.active) .count {
    background: var(--surface-muted);
    color: var(--muted);
}

/* =========================================================
   PRODUCT GRID
========================================================= */
.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

@media(max-width:1199.98px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:767.98px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
}

/* Horizontal rail for flash */
.rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .25rem .25rem 1rem;
    scrollbar-width: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail .rail-item {
    flex: 0 0 calc((100% - 3rem)/4);
    min-width: 230px;
    scroll-snap-align: start;
}

@media(max-width:1199.98px) {
    .rail .rail-item {
        flex: 0 0 calc((100% - 2rem)/3);
    }
}

@media(max-width:767.98px) {
    .rail .rail-item {
        flex: 0 0 calc((100% - 1rem)/2);
    }
}

@media(max-width:575.98px) {
    .rail .rail-item {
        flex: 0 0 78%;
    }
}

/* Product card */
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: cardIn .35s ease both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-media {
    position: relative;
    background: #f2eee9;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}

.product-card:hover .product-media img {
    transform: scale(1.07);
}

.discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    border-radius: 6px;
    padding: .3rem .5rem;
    z-index: 2;
    letter-spacing: .02em;
}

.wishlist {
    position: absolute;
    top: 9px;
    right: 9px;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 0;
    transition: all var(--t-fast);
    z-index: 2;
}

.wishlist:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.wishlist.active {
    color: var(--danger);
}

.product-body {
    padding: .9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: .35rem;
}

.product-title {
    font-size: .85rem;
    font-weight: 700;
    min-height: 40px;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stars {
    color: var(--rating);
    font-size: .72rem;
}

.product-foot {
    margin-top: auto;
    padding-top: .6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

.price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: .72rem;
    margin-left: .25rem;
}

.cart-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
}

.cart-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* =========================================================
   FEATURED DEAL OF THE DAY
========================================================= */
.featured-deal {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

@media(max-width:767.98px) {
    .featured-deal {
        grid-template-columns: 1fr;
    }
}

.featured-deal .img {
    position: relative;
    background: #f2eee9;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.featured-deal .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-deal .badge-float {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary);
    color: #fff;
    padding: .5rem .9rem;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.featured-deal .body {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-deal .kicker {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .75rem;
}

.featured-deal h3 {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary);
    margin: 0 0 .75rem;
    line-height: 1.15;
}

.featured-deal .desc {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.featured-deal .price-block {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-bottom: 1rem;
}

.featured-deal .price-now {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    letter-spacing: -.02em;
}

.featured-deal .price-old {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
}

.featured-deal .price-save {
    font-size: .72rem;
    font-weight: 800;
    background: var(--success-bg);
    color: var(--success);
    padding: .3rem .7rem;
    border-radius: 999px;
    letter-spacing: .04em;
}

.progress {
    height: 8px;
    background: var(--surface-muted);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .5rem;
}

.progress>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
    border-radius: 999px;
    transition: width .4s ease;
}

.stock-left {
    font-size: .75rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.stock-left b {
    color: var(--primary);
}

/* =========================================================
   PROMO / BOGO TILES
========================================================= */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media(max-width:991.98px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:575.98px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

.promo-tile {
    border-radius: var(--radius);
    padding: 1.5rem;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--t), box-shadow var(--t);
    cursor: pointer;
}

.promo-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promo-tile.t1 {
    background: linear-gradient(120deg, #DCE9DF, #EFF5EF);
}

.promo-tile.t2 {
    background: linear-gradient(120deg, #FFE8D5, #FFF6EF);
}

.promo-tile.t3 {
    background: linear-gradient(120deg, #E4EEF1, #F2F7F7);
}

.promo-tile.t4 {
    background: linear-gradient(120deg, #F8EBE1, #FDF5EE);
}

.promo-tile.t5 {
    background: linear-gradient(120deg, #F5E8FF, #FBF4FF);
}

.promo-tile.t6 {
    background: linear-gradient(120deg, #E8F5E9, #F1FAF2);
}

.promo-tile .tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    padding: .3rem .65rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .6);
    width: fit-content;
    margin-bottom: .75rem;
}

.promo-tile h4 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary);
    line-height: 1.2;
    margin: 0 0 .5rem;
    max-width: 75%;
}

.promo-tile p {
    font-size: .82rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    max-width: 75%;
}

.promo-tile .cta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap var(--t-fast);
}

.promo-tile:hover .cta {
    gap: .65rem;
}

.promo-tile .bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 6rem;
    color: rgba(15, 33, 20, .08);
    line-height: 1;
    pointer-events: none;
}

/* =========================================================
   IMPACT / DONATE BANNER
========================================================= */
.impact-banner {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid #EAE3D2;
}

.impact-banner .text {
    flex: 1;
    min-width: 280px;
}

.impact-banner .tag {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .6rem;
}

.impact-banner h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary);
    margin: 0 0 .5rem;
}

.impact-banner p {
    color: var(--text-secondary);
    font-size: .88rem;
    margin: 0;
    max-width: 520px;
}

/* =========================================================
   TOAST + BACK TOP + DRAWERS (shared)
========================================================= */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 19, 13, .5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
    backdrop-filter: blur(2px);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 92vw);
    background: #fff;
    z-index: 1060;
    transform: translateX(100%);
    transition: transform var(--t-slow) cubic-bezier(.2, .7, .3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-head {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-head h5 {
    margin: 0;
    font-weight: 800;
    font-size: 1rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: .85rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item .info {
    flex: 1;
    min-width: 0;
}

.cart-item .t {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .25rem;
}

.cart-item .p {
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-item .qty {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .35rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .15rem .3rem;
}

.cart-item .qty button {
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    display: grid;
    place-items: center;
}

.cart-item .qty button:hover {
    background: var(--surface-muted);
}

.cart-item .qty span {
    font-size: .78rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.cart-item .remove {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
    padding: .2rem;
    transition: color var(--t-fast);
    align-self: flex-start;
}

.cart-item .remove:hover {
    color: var(--danger);
}

.cart-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--muted);
}

.cart-empty i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: .75rem;
    display: block;
}

.cart-foot {
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--surface-soft);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: .9rem;
    font-weight: 700;
    font-size: .95rem;
}

.cart-total .amount {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}

.btn-brand {
    background: var(--secondary);
    color: #fff;
    border: 0;
    font-weight: 700;
    border-radius: 9px;
    padding: .75rem 1.2rem;
    transition: all var(--t);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.btn-brand:hover {
    background: var(--secondary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(232, 93, 4, .6);
}

.btn-dark-brand {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
    padding: .75rem 1.2rem;
    transition: all var(--t);
}

.btn-dark-brand:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.quick-view-modal .modal-content {
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.quick-view-modal .modal-body {
    padding: 0;
}

.qv-img {
    aspect-ratio: 1/1;
    background: var(--surface-muted);
}

.qv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-body {
    padding: 2rem 1.75rem;
}

@media(max-width:767.98px) {
    .qv-body {
        padding: 1.25rem;
    }
}

.qv-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
    color: var(--primary);
}

.qv-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin: .75rem 0 1rem;
}

.qv-price .old {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 500;
    margin-left: .5rem;
}

.qv-desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.qv-feature {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: var(--text-secondary);
    padding: .35rem 0;
}

.qv-feature i {
    color: var(--success);
    font-size: 1rem;
}

.toast-wrap {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    pointer-events: none;
}

@media(max-width:575.98px) {
    .toast-wrap {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

.toast-el {
    background: var(--primary-dark);
    color: #fff;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .6rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    animation: toastIn .3s ease forwards;
    pointer-events: auto;
    max-width: 340px;
}

.toast-el i {
    color: var(--secondary-400);
    font-size: 1.15rem;
}

.toast-el.out {
    animation: toastOut .3s ease forwards;
}

@keyframes toastIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

.back-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: 0;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t);
    z-index: 1040;
    box-shadow: var(--shadow-md);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}