/* ============================================================
   Food Theme — Waffle Zone
   ============================================================ */

body {
    font-family: var(--font-body);
    background: var(--gradient-body);
}

h1, h2, h3, h4, h5, h6,
.home-gradient-section-header__title,
.home-section-header__title,
.home-category-section__title,
.luxury-category-name-bottom {
    font-family: var(--font-display);
}

/* ── Hero slider — flush with navbar ── */
.app-content--home {
    margin: 0 !important;
    padding: 0 !important;
    --hero-height: 400px;
}

@media (min-width: 768px) {
    .app-content--home {
        --hero-height: 520px;
    }
}

@media (min-width: 1200px) {
    .app-content--home {
        --hero-height: 580px;
    }
}

.app-content--home > .home-slider-container {
    margin-top: -6px;
}

.home-slider-container {
    position: relative;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100% !important;
    overflow: hidden;
    line-height: 0;
    background: rgb(var(--brand-black-rgb));
}

/* Hero shell — fixed height prevents layout shift */
.hero-slider-shell {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: var(--hero-height);
    min-height: var(--hero-height);
    max-height: var(--hero-height);
    overflow: hidden;
    background: rgb(var(--brand-black-rgb));
}

.home-slider-container .hero-slider-shell.s-skeleton,
.home-slider-container .hero-slider-shell.s-skeleton--bg-white {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: var(--hero-height) !important;
    min-height: var(--hero-height) !important;
    background: rgb(var(--brand-black-rgb)) !important;
}

/* ── Hero loading skeleton (matches banner layout) ── */
.hero-skeleton {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(var(--brand-black-rgb), 1) 0%,
            rgba(var(--theme-secondary-rgb), 0.92) 42%,
            rgba(var(--theme-secondary-rgb), 0.55) 58%,
            rgba(var(--theme-secondary-rgb), 0.35) 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slider-shell.is-ready .hero-skeleton {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-skeleton__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(var(--theme-primary-rgb), 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--theme-primary-rgb), 1) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.hero-skeleton__glow {
    position: absolute;
    top: -20%;
    right: 5%;
    width: min(55vw, 640px);
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(var(--theme-accent-rgb), 0.22) 0%,
        transparent 68%);
    pointer-events: none;
}

.hero-skeleton__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: min(44%, 480px);
    padding: 0 clamp(44px, 8vw, 120px);
    box-sizing: border-box;
}

.hero-skeleton__line {
    display: block;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(var(--brand-white-rgb), 0.08) 0%,
        rgba(var(--brand-white-rgb), 0.22) 45%,
        rgba(var(--brand-white-rgb), 0.08) 100%
    );
    background-size: 200% 100%;
    animation: heroSkeletonShimmer 1.6s ease-in-out infinite;
}

.hero-skeleton__line--badge {
    width: 120px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(var(--theme-accent-rgb), 0.35) 0%,
        rgba(var(--theme-accent-rgb), 0.65) 50%,
        rgba(var(--theme-accent-rgb), 0.35) 100%
    );
    background-size: 200% 100%;
    animation: heroSkeletonShimmer 1.4s ease-in-out infinite;
}

.hero-skeleton__line--title {
    width: 100%;
    height: clamp(28px, 4vw, 42px);
    border-radius: 10px;
}

.hero-skeleton__line--title-short {
    width: 72%;
    height: clamp(28px, 4vw, 42px);
    border-radius: 10px;
    animation-delay: 0.12s;
}

.hero-skeleton__line--subtitle {
    width: 88%;
    height: 14px;
    margin-top: 4px;
    animation-delay: 0.2s;
}

.hero-skeleton__line--subtitle-short {
    width: 62%;
    height: 14px;
    animation-delay: 0.28s;
}

.hero-skeleton__line--cta {
    width: 140px;
    height: 44px;
    margin-top: 8px;
    border-radius: 999px;
    animation-delay: 0.36s;
}

.hero-skeleton__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(var(--brand-white-rgb), 0.04) 35%,
        rgba(var(--theme-accent-rgb), 0.12) 100%
    );
    animation: heroSkeletonImagePulse 2s ease-in-out infinite;
}

.hero-skeleton__nav {
    position: absolute;
    left: clamp(16px, 5vw, 80px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-skeleton__nav span {
    display: block;
    width: 3px;
    height: 22px;
    border-radius: 999px;
    background: rgba(var(--brand-white-rgb), 0.2);
}

.hero-skeleton__nav span.is-active {
    height: 42px;
    background: linear-gradient(180deg,
        rgba(var(--theme-accent-rgb), 0.85) 0%,
        rgba(var(--theme-primary-rgb), 0.85) 100%);
}

@keyframes heroSkeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes heroSkeletonImagePulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-skeleton__line,
    .hero-skeleton__line--badge,
    .hero-skeleton__image {
        animation: none;
    }
}

@media (max-width: 991px) {
    .hero-skeleton__content {
        width: min(92%, 520px);
        padding: 0 clamp(32px, 10vw, 48px);
        justify-content: flex-end;
        padding-bottom: clamp(40px, 10vw, 64px);
        top: auto;
        bottom: 0;
        position: absolute;
    }

    .hero-skeleton__nav {
        top: auto;
        bottom: clamp(120px, 22vw, 180px);
        transform: none;
    }
}

.home-slider-container .hero-slider.owl-carousel,
.home-slider-container .hero-slider.owl-carousel.owl-loaded {
    display: block !important;
    width: 100% !important;
    height: var(--hero-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.hero-slider-shell.is-ready .hero-slider.owl-carousel,
.hero-slider-shell.is-ready .hero-slider.owl-carousel.owl-loaded {
    opacity: 1;
}

.home-slider-container .owl-stage-outer {
    overflow: hidden !important;
    width: 100% !important;
    height: var(--hero-height) !important;
}

.home-slider-container .owl-stage {
    display: flex !important;
    height: var(--hero-height) !important;
}

.home-slider-container .owl-item {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--hero-height) !important;
}

.home-slider-container .primary-style-3 .hero-slide,
.home-slider-container .hero-slide {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: var(--hero-height) !important;
    min-height: var(--hero-height) !important;
    max-height: var(--hero-height) !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.home-slider-container .slider-img-full {
    width: 100%;
    max-width: 100%;
    height: var(--hero-height) !important;
    min-height: var(--hero-height) !important;
    max-height: var(--hero-height) !important;
    display: block;
    object-fit: cover;
    object-position: center right;
    border: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    vertical-align: top;
}

/* Soft left edge — hides carousel bleed & blends into hero text area */
.home-slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: min(72px, 8vw);
    height: 100%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(var(--brand-black-rgb), 0.92) 0%,
        rgba(var(--brand-black-rgb), 0.45) 45%,
        transparent 100%);
}

/* Override vertical side-dots from legacy theme — hidden; custom lines used */
#hero-slider.owl-carousel.primary-style-3 .owl-dots {
    display: none !important;
}

/* Hero vertical slide indicators (beside text) */
.hero-slide-nav {
    position: absolute;
    left: clamp(16px, 5vw, 80px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.hero-slider-shell.is-ready .hero-slide-nav {
    opacity: 1;
}

.hero-slide-nav__line {
    width: 3px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(var(--brand-white-rgb), 0.35);
    cursor: pointer;
    transition: height 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
                background 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.25s ease;
}

.hero-slide-nav__line:hover {
    background: rgba(var(--brand-white-rgb), 0.65);
    transform: scaleX(1.15);
}

.hero-slide-nav__line.is-active {
    height: 42px;
    background: linear-gradient(180deg,
        rgba(var(--theme-accent-rgb), 1) 0%,
        rgba(var(--theme-primary-rgb), 1) 100%);
    box-shadow: 0 0 14px rgba(var(--theme-accent-rgb), 0.55);
}

/* ── Scrolling announcement ── */
.scrolling-text-section {
    background: var(--gradient-scrolling);
    padding: 10px 0;
    overflow: hidden;
}

.scrolling-text p {
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.scrolling-text i {
    color: rgba(var(--theme-accent-rgb), 1);
    margin-right: 8px;
}

/* ── Category grid ── */
.luxury-categories-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
}

.luxury-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(var(--theme-secondary-rgb), 0.8),
        rgba(var(--theme-primary-rgb), 1),
        rgba(var(--theme-accent-rgb), 0.9),
        rgba(var(--theme-primary-rgb), 1),
        rgba(var(--theme-secondary-rgb), 0.8));
}

.luxury-category-card {
    border-radius: 16px;
    border: 2px solid transparent;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(var(--theme-secondary-rgb), 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.luxury-category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(var(--theme-primary-rgb), 0.2);
    border-color: rgba(var(--theme-primary-rgb), 0.35);
}

.luxury-category-name-bottom {
    color: rgb(var(--theme-secondary-rgb));
    font-weight: 700;
    font-size: 1.05rem;
}

.luxury-image-container {
    border-radius: 14px 14px 0 0 !important;
    background: linear-gradient(135deg, var(--cream-dark), var(--white));
}

/* ── Section headers ── */
.home-gradient-section-header__title {
    background: var(--gradient-section-header);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.home-gradient-section-header__underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(var(--theme-primary-rgb), 1),
        rgba(var(--theme-accent-rgb), 1));
    border-radius: 999px;
}

.home-gradient-section-header__subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.home-gradient-section-header__icon {
    color: rgba(var(--theme-accent-rgb), 1);
}

/* ── Food features strip ── */
.food-features {
    padding: 2.5rem 0;
    background: var(--white);
    border-bottom: 1px solid rgba(var(--theme-secondary-rgb), 0.08);
}

.food-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.food-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.1rem;
    border-radius: 16px;
    background: var(--cream);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.food-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(var(--theme-secondary-rgb), 0.1);
}

.food-feature-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.15), rgba(var(--theme-accent-rgb), 0.2));
    color: rgb(var(--theme-secondary-rgb));
}

.food-feature-card__title {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: rgb(var(--theme-secondary-rgb));
    line-height: 1.3;
}

.food-feature-card__text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.45;
}

/* ── Food story banner ── */
.food-story {
    padding: 3.5rem 0;
    background:
        radial-gradient(ellipse 70% 55% at 88% 15%, rgba(var(--theme-accent-rgb), 0.14) 0%, transparent 65%),
        var(--gradient-story);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.food-story::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--theme-accent-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.food-story__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.food-story__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(var(--theme-accent-rgb), 1);
    margin-bottom: 0.75rem;
}

.food-story__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.food-story__text {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: rgba(255, 248, 240, 0.85);
    line-height: 1.7;
}

.food-story__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: var(--gradient-cta);
    color: var(--text-on-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px var(--shadow-overlay-sm);
}

.food-story__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--shadow-overlay-md);
    color: var(--text-on-primary);
}

.food-story__visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.food-story__tile {
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.food-story__tile:hover {
    transform: scale(1.04);
}

.food-story__tile-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(var(--theme-accent-rgb), 0.95);
}

.food-story__tile-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.food-story__tile-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-on-dark);
}

/* ── Hero slider food overlay ── */
.food-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(var(--brand-black-rgb), 0.35) 0%,
            rgba(var(--brand-black-rgb), 0.12) 6%,
            transparent 18%),
        var(--gradient-hero-overlay);
    pointer-events: none;
    z-index: 1;
}

.food-hero-content {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: clamp(44px, 8vw, 120px);
    transform: translateY(-50%);
    z-index: 2;
    max-width: min(520px, 44%);
    pointer-events: auto;
}

.food-hero-content--mobile {
    top: auto;
    bottom: clamp(48px, 12vw, 72px);
    left: clamp(16px, 5vw, 24px);
    right: clamp(16px, 5vw, 24px);
    transform: none;
    max-width: 100%;
}

.food-hero-overlay--mobile {
    background: linear-gradient(
        180deg,
        rgba(var(--theme-secondary-rgb), 0.15) 0%,
        rgba(var(--theme-secondary-rgb), 0.55) 55%,
        rgba(var(--theme-secondary-rgb), 0.75) 100%
    ) !important;
}

.food-hero-content__badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--theme-accent-rgb), 0.9);
    color: rgb(var(--theme-secondary-rgb));
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.food-hero-content__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-on-dark);
    line-height: 1.15;
    text-shadow: 0 2px 20px var(--shadow-hero-text);
}

.food-hero-content__subtitle {
    margin: 0 0 1.25rem;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(var(--brand-white-rgb), 0.9);
    line-height: 1.5;
}

.food-hero-content__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    background: var(--white);
    color: rgb(var(--theme-secondary-rgb));
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px var(--shadow-overlay-sm);
}

.food-hero-content__cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px var(--shadow-overlay-md);
    color: rgb(var(--theme-secondary-rgb));
}

.hero-slide {
    position: relative;
}

/* ── Category product sections ── */
.home-category-section__header-panel {
    background: linear-gradient(118deg,
        rgba(var(--theme-secondary-rgb), 0.1) 0%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(var(--theme-primary-rgb), 0.1) 100%);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
    border-radius: 20px;
}

.home-category-section__subtitle {
    color: rgba(var(--theme-primary-rgb), 0.9);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.home-category-section__title {
    font-family: var(--font-display);
    color: rgb(var(--theme-secondary-rgb));
}

.home-category-section__view-all {
    background: var(--gradient-button);
    color: var(--text-on-primary) !important;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-category-section__view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--theme-secondary-rgb), 0.25);
    color: var(--text-on-primary) !important;
}

.new-arrivals-section {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.home-promo-banner img {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(var(--theme-secondary-rgb), 0.1);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .food-hero-content {
        top: auto;
        bottom: clamp(40px, 10vw, 64px);
        left: clamp(32px, 10vw, 48px);
        transform: none;
        max-width: min(520px, 92%);
    }

    .hero-slide-nav {
        top: auto;
        bottom: clamp(120px, 22vw, 180px);
        left: clamp(12px, 4vw, 20px);
        transform: none;
    }
}

    .food-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-story__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .food-story__visual {
        grid-template-columns: repeat(4, 1fr);
    }

    .food-story__tile {
        padding: 1rem 0.5rem;
    }

    .food-story__tile-icon {
        width: 40px;
        height: 40px;
    }

    .food-story__tile-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 575px) {
    .food-features__grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .food-feature-card {
        padding: 1rem;
    }

    .food-story__visual {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-hero-content {
        left: 16px;
        right: 16px;
        max-width: 100%;
    }
}

/* ============================================================
   Waffle Product Cards
   ============================================================ */
.waffle-card {
    height: 100%;
    position: relative;
}

.waffle-card__frame {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(var(--theme-primary-rgb), 0.12);
    box-shadow: 0 6px 24px rgba(var(--theme-secondary-rgb), 0.07);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.waffle-card:hover .waffle-card__frame {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(var(--theme-primary-rgb), 0.18);
    border-color: rgba(var(--theme-accent-rgb), 0.45);
}

.waffle-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 5;
    background: var(--gradient-badge);
    color: var(--text-on-primary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px var(--shadow-badge);
}

.waffle-card__image-zone {
    position: relative;
    background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
    padding: 1.25rem 1rem 0.75rem;
    overflow: hidden;
}

.waffle-card__category {
    display: inline-block;
    align-self: flex-start;
    max-width: 100%;
    margin: 0 0 0.15rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2;
    color: rgb(var(--theme-primary-rgb));
    background: rgba(var(--theme-primary-rgb), 0.07);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.14);
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.waffle-card__extras-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    bottom: auto;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(var(--theme-primary-rgb), 0.94);
    color: var(--text-on-primary);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.28);
    max-width: calc(100% - 24px);
    white-space: nowrap;
}

.waffle-card__extras-badge i {
    font-size: 0.7rem;
    opacity: 0.95;
}

.waffle-card__image-overlay {
    position: absolute;
    inset: 1.25rem 1rem 0.75rem;
    border-radius: 16px;
    background: rgba(var(--theme-secondary-rgb), 0.42);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.waffle-card:hover .waffle-card__image-overlay {
    opacity: 1;
}

.waffle-card__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(var(--theme-primary-rgb), 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--theme-primary-rgb), 1) 1px, transparent 1px);
    background-size: 14px 14px;
    pointer-events: none;
}

.waffle-card__image-link {
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(var(--theme-primary-rgb), 0.08);
    aspect-ratio: 1 / 1;
    height: 100%;
}

.waffle-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.waffle-card:hover .waffle-card__img {
    transform: scale(1.06) rotate(-1deg);
}

.waffle-card__actions {
    position: absolute;
    right: 1.35rem;
    top: 50%;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    padding: 0;
    opacity: 0;
    transform: translate(14px, -50%);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
    z-index: 4;
    pointer-events: none;
}

.waffle-card:hover .waffle-card__actions {
    opacity: 1;
    transform: translate(0, -50%);
    pointer-events: auto;
}

.waffle-card__actions .product-o__action-wrap {
    position: relative !important;
    top: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.waffle-card__actions .product-o__action-list,
.waffle-card__action-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.waffle-card__actions .product-o__action-list > li,
.waffle-card__action-list > li {
    margin: 0 !important;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.waffle-card:hover .waffle-card__actions .product-o__action-list > li,
.waffle-card:hover .waffle-card__action-list > li {
    opacity: 1;
    transform: translateX(0);
}

.waffle-card:hover .waffle-card__actions .product-o__action-list > li:nth-child(1),
.waffle-card:hover .waffle-card__action-list > li:nth-child(1) {
    transition-delay: 0.04s;
}

.waffle-card:hover .waffle-card__actions .product-o__action-list > li:nth-child(2),
.waffle-card:hover .waffle-card__action-list > li:nth-child(2) {
    transition-delay: 0.1s;
}

.waffle-card__actions .product-o__action-list li a {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--white) !important;
    border-radius: 50% !important;
    color: rgb(var(--theme-secondary-rgb)) !important;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.15) !important;
    box-shadow: 0 6px 18px rgba(var(--theme-secondary-rgb), 0.18) !important;
    font-size: 0.95rem !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.waffle-card__actions .product-o__action-list li a:hover {
    background: rgb(var(--theme-secondary-rgb)) !important;
    color: var(--text-on-primary) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 22px rgba(var(--theme-secondary-rgb), 0.28) !important;
}

.waffle-card__body {
    padding: 0.85rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.waffle-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 0;
}

.waffle-card__title a {
    color: rgb(var(--theme-secondary-rgb));
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

@media (min-width: 768px) {
    .waffle-card__title a {
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }
}

.waffle-card:hover .waffle-card__title a {
    color: rgb(var(--theme-primary-rgb));
}

.waffle-card__rating {
    display: flex;
    align-items: center;
}

.waffle-card__rating .gl-rating-style i {
    font-size: 0.75rem;
    color: rgba(var(--theme-accent-rgb), 1);
}

.waffle-card__price {
    margin-top: 0.15rem;
    padding-top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

.waffle-card__price .modern-price-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.35rem 0.5rem;
}

.waffle-card__price .modern-price-final {
    font-size: 1.15rem;
    font-weight: 800;
    color: rgb(var(--theme-primary-rgb));
}

.waffle-card__price .modern-price-final .bdt-icon {
    color: var(--primary-color, rgb(var(--theme-primary-rgb)));
}

.waffle-card__price .modern-price-original {
    font-size: 0.88rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: line-through;
}

.waffle-card__price .modern-price-original .price-amount,
.waffle-card__price .modern-price-original .price-amount .bdt-icon,
.waffle-card__price .modern-price-original .price-amount .price-amount__value {
    color: #dc2626;
    text-decoration: line-through;
    text-decoration-color: #dc2626;
}

.waffle-card__cta {
    margin-top: auto;
    padding-top: 0.5rem;
}

@keyframes wzOrderBtnShimmer {
    0% { transform: translateX(-130%) skewX(-14deg); }
    100% { transform: translateX(230%) skewX(-14deg); }
}

@keyframes wzOrderBtnGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.06); }
}

.waffle-card__cta .btn,
.waffle-card__cta .waffle-card__cta-btn,
.wz-btn-order {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    border-radius: 999px !important;
    padding: 0.65rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    border: none !important;
    color: var(--btn-order-text) !important;
    background: var(--btn-order-gradient) !important;
    background-size: 220% 220% !important;
    background-position: 0% 50% !important;
    box-shadow: var(--btn-order-shadow);
    text-align: center;
    transition:
        transform 0.5s var(--btn-order-ease),
        box-shadow 0.5s ease,
        background-position 0.65s ease !important;
}

/* Prevent CTA flash while add-to-cart toast/overlay is active */
body.wz-cart-toast-active .waffle-card__cta .btn,
body.wz-cart-toast-active .waffle-card__cta .waffle-card__cta-btn,
body.wz-cart-toast-active .wz-btn-order {
    transition: none !important;
    animation: none !important;
}

body.wz-cart-toast-active .waffle-card__cta .btn::after,
body.wz-cart-toast-active .waffle-card__cta .waffle-card__cta-btn::after,
body.wz-cart-toast-active .wz-btn-order::after {
    animation: none !important;
    opacity: 0 !important;
}

.waffle-card__cta .btn::before,
.waffle-card__cta .waffle-card__cta-btn::before,
.wz-btn-order::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(var(--brand-white-rgb), 0.14) 0%,
        transparent 55%
    );
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.45s ease;
}

.waffle-card__cta .btn::after,
.waffle-card__cta .waffle-card__cta-btn::after,
.wz-btn-order::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(var(--brand-white-rgb), 0.32) 50%,
        transparent 60%
    );
    transform: translateX(-130%) skewX(-14deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.waffle-card__cta .btn > *,
.waffle-card__cta .waffle-card__cta-btn > *,
.wz-btn-order > * {
    position: relative;
    z-index: 2;
}

.waffle-card__cta .btn:hover,
.waffle-card__cta .waffle-card__cta-btn:hover,
.wz-btn-order:hover {
    background: var(--btn-order-gradient-hover) !important;
    background-size: 220% 220% !important;
    background-position: 100% 50% !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--btn-order-shadow-hover) !important;
    color: var(--btn-order-text) !important;
    animation: wzOrderBtnGlow 1.8s ease-in-out infinite;
}

.waffle-card__cta .btn:hover::after,
.waffle-card__cta .waffle-card__cta-btn:hover::after,
.wz-btn-order:hover::after {
    opacity: 1;
    animation: wzOrderBtnShimmer 0.9s ease forwards;
}

.waffle-card__cta .btn:hover::before,
.waffle-card__cta .waffle-card__cta-btn:hover::before,
.wz-btn-order:hover::before {
    opacity: 1;
}

.waffle-card__cta .btn:active,
.waffle-card__cta .waffle-card__cta-btn:active,
.wz-btn-order:active {
    transform: translateY(0) scale(0.99);
    box-shadow: var(--btn-order-shadow) !important;
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .waffle-card__cta .btn,
    .wz-btn-order {
        transition: box-shadow 0.3s ease, background-position 0.3s ease !important;
    }

    .waffle-card__cta .btn:hover,
    .wz-btn-order:hover {
        transform: none;
        animation: none;
    }

    .waffle-card__cta .btn:hover::after,
    .wz-btn-order:hover::after {
        animation: none;
        opacity: 0;
    }
}

/* Slider variant */
.waffle-card--slider,
.modern-product-card--slider {
    margin: 0;
}

/* Home grid spacing */
.waffle-card--home .waffle-card__frame {
    border-radius: 18px;
}

@media (max-width: 767px) {
    .waffle-card__title {
        font-size: 0.9rem;
    }

    .waffle-card__body {
        padding: 0.85rem;
    }

    .waffle-card__image-zone {
        padding: 0.85rem 0.65rem 0.5rem;
    }

    .waffle-card__image-overlay {
        inset: 0.85rem 0.65rem 0.5rem;
    }

    .waffle-card__actions {
        right: 0.85rem;
        opacity: 1;
        transform: translate(0, -50%);
        pointer-events: auto;
    }

    .waffle-card__actions .product-o__action-list > li,
    .waffle-card__action-list > li {
        opacity: 1;
        transform: none;
    }
}

/* ── Home category showcase (under hero) ── */
.wz-categories {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(var(--theme-primary-rgb), 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 100%, rgba(var(--theme-accent-rgb), 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.1);
}

.wz-categories__inner {
    max-width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.wz-categories__header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.wz-categories__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(var(--theme-primary-rgb), 0.85);
    margin-bottom: 0.5rem;
}

.wz-categories__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: rgb(var(--theme-secondary-rgb));
    letter-spacing: -0.02em;
}

.wz-categories__subtitle {
    margin: 0 auto;
    max-width: 520px;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.55;
}

.wz-categories__grid {
    --wz-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--wz-cols), minmax(0, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
}

.wz-categories__grid--3 { --wz-cols: 3; }
.wz-categories__grid--4 { --wz-cols: 4; }
.wz-categories__grid--5 { --wz-cols: 5; }
.wz-categories__grid--6 { --wz-cols: 6; }

.wz-categories__card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    width: 100%;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: var(--white);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    box-shadow: 0 4px 24px rgba(var(--theme-secondary-rgb), 0.06);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}

.wz-categories__card--featured {
    aspect-ratio: 4 / 5;
}

.wz-categories__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(var(--theme-primary-rgb), 0.18);
    border-color: rgba(var(--theme-primary-rgb), 0.35);
}

.wz-categories__card-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(145deg, var(--cream-dark), var(--cream));
}

.wz-categories__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wz-categories__card:hover .wz-categories__card-img {
    transform: scale(1.08);
}

.wz-categories__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(var(--theme-primary-rgb), 0.2),
        rgba(var(--theme-accent-rgb), 0.15));
}

.wz-categories__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(var(--theme-secondary-rgb), 0.05) 40%,
        rgba(var(--theme-secondary-rgb), 0.72) 100%
    );
    pointer-events: none;
}

.wz-categories__card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        transparent 40%,
        rgba(var(--brand-white-rgb), 0.12) 50%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.wz-categories__card:hover .wz-categories__card-shine {
    opacity: 1;
}

.wz-categories__card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wz-categories__card-index {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: rgba(var(--theme-accent-rgb), 0.95);
    opacity: 0.9;
}

.wz-categories__card-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    color: var(--text-on-dark);
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(var(--theme-secondary-rgb), 0.4);
}

.wz-categories__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(var(--brand-white-rgb), 0.85);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wz-categories__card:hover .wz-categories__card-cta {
    opacity: 1;
    transform: translateY(0);
}

.wz-categories__card-cta i {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.wz-categories__card:hover .wz-categories__card-cta i {
    transform: translateX(3px);
}

@media (max-width: 1199px) {
    .wz-categories__grid--5,
    .wz-categories__grid--6 {
        --wz-cols: 3;
    }
}

@media (max-width: 991px) {
    .wz-categories__grid--4,
    .wz-categories__grid--5,
    .wz-categories__grid--6 {
        --wz-cols: 3;
    }

    .wz-categories__card-cta {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .wz-categories__grid {
        --wz-cols: 2;
        gap: 0.75rem;
    }

    .wz-categories__card {
        border-radius: 16px;
    }

    .wz-categories__card-body {
        padding: 0.85rem;
    }
}

@media (max-width: 420px) {
    .wz-categories__card-name {
        font-size: 0.88rem;
    }
}

/* ── Waffle Zone floating dock (cart + chat) ── */
.wz-float-dock {
    position: fixed;
    right: 2px;
    bottom: clamp(80px, 12vh, 110px);
    z-index: 9999;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.wz-float-dock > * {
    pointer-events: auto;
}

/* ── Waffle Zone floating chat ── */
.wz-chat {
    position: relative;
    width: 90px;
    z-index: 1;
}

.wz-chat__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(var(--brand-black-rgb), 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
}

.wz-chat.is-open .wz-chat__backdrop {
    opacity: 1;
    visibility: visible;
}

.wz-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(300px, calc(100vw - 32px));
    padding: 1.1rem;
    border-radius: 22px;
    background: linear-gradient(155deg,
        rgba(var(--brand-white-rgb), 0.98) 0%,
        rgba(var(--brand-purple-pale-rgb), 0.95) 100%);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
    box-shadow: 0 24px 56px rgba(var(--theme-secondary-rgb), 0.22),
                0 0 0 1px rgba(var(--brand-white-rgb), 0.6) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.94);
    transform-origin: bottom right;
    transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.34, 1.3, 0.64, 1), visibility 0.32s ease;
    overflow: hidden;
}

.wz-chat.is-open .wz-chat__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wz-chat__panel-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--theme-accent-rgb), 0.35), transparent 70%);
    pointer-events: none;
}

.wz-chat__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.wz-chat__eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(var(--theme-primary-rgb), 0.85);
    margin-bottom: 0.2rem;
}

.wz-chat__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: rgb(var(--theme-secondary-rgb));
    line-height: 1.2;
}

.wz-chat__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(var(--theme-primary-rgb), 0.1);
    color: rgb(var(--theme-secondary-rgb));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wz-chat__close:hover {
    background: rgba(var(--theme-primary-rgb), 0.2);
    transform: rotate(90deg);
}

.wz-chat__channels {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.wz-chat__channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    text-decoration: none;
    background: var(--white);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1);
    box-shadow: 0 4px 14px rgba(var(--theme-secondary-rgb), 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wz-chat__channel:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 22px rgba(var(--theme-primary-rgb), 0.15);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    text-decoration: none;
}

.wz-chat__channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}

.wz-chat__channel-icon svg {
    display: block;
}

.wz-chat__channel--phone .wz-chat__channel-icon {
    background: linear-gradient(135deg, rgb(var(--theme-secondary-rgb)), rgba(var(--theme-secondary-rgb), 0.75));
}

.wz-chat__channel--whatsapp .wz-chat__channel-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.wz-chat__channel--messenger .wz-chat__channel-icon {
    background: linear-gradient(135deg, #0084ff, #006fe6);
}

.wz-chat__channel-body {
    flex: 1;
    min-width: 0;
}

.wz-chat__channel-label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: rgb(var(--theme-secondary-rgb));
}

.wz-chat__channel-hint {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.wz-chat__channel-arrow {
    font-size: 0.7rem;
    color: rgba(var(--theme-primary-rgb), 0.5);
    transition: transform 0.2s ease, color 0.2s ease;
}

.wz-chat__channel:hover .wz-chat__channel-arrow {
    transform: translateX(3px);
    color: rgba(var(--theme-primary-rgb), 1);
}

.wz-chat__trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 90px;
    flex-shrink: 0;
}

.wz-chat__type-label {
    margin: 0;
    width: 90px;
    max-width: 90px;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(var(--theme-secondary-rgb));
    background: rgba(var(--brand-white-rgb), 0.95);
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
    box-shadow: 0 4px 14px rgba(var(--theme-secondary-rgb), 0.12);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wz-chat.is-open .wz-chat__type-label {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
}

.wz-chat__type-cursor {
    display: inline-block;
    margin-left: 1px;
    color: rgba(var(--theme-primary-rgb), 1);
    animation: wzTypeCursor 0.9s step-end infinite;
}

@keyframes wzTypeCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.wz-chat__fab {
    position: relative;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    box-shadow: 0 10px 28px rgba(var(--theme-primary-rgb), 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
}

.wz-chat__fab:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 36px rgba(var(--theme-primary-rgb), 0.45);
}

.wz-chat.is-open .wz-chat__fab {
    transform: rotate(-8deg) scale(0.95);
}

.wz-chat__fab-waffle {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
}

.wz-chat__fab-waffle svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wz-chat__fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 2px solid rgba(var(--theme-accent-rgb), 0.6);
    animation: wzChatPulse 2.4s ease-out infinite;
    pointer-events: none;
}

.wz-chat.is-open .wz-chat__fab-pulse {
    animation: none;
    opacity: 0;
}

@keyframes wzChatPulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

.wz-chat.is-open .wz-chat__channel {
    animation: wzChatChannelIn 0.4s ease backwards;
}

.wz-chat.is-open .wz-chat__channel:nth-child(1) { animation-delay: 0.05s; }
.wz-chat.is-open .wz-chat__channel:nth-child(2) { animation-delay: 0.12s; }
.wz-chat.is-open .wz-chat__channel:nth-child(3) { animation-delay: 0.19s; }

@keyframes wzChatChannelIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 767px) {
    .hero-slide-nav {
        left: clamp(12px, 4vw, 20px);
        gap: 8px;
    }

    .hero-slide-nav__line {
        height: 18px;
    }

    .hero-slide-nav__line.is-active {
        height: 32px;
    }

    .wz-chat__fab,
    .wz-chat__fab-waffle,
    .wz-float-cart__fab,
    .wz-float-cart__fab-inner {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }

    .wz-float-cart__icon {
        width: 27px;
        height: 27px;
    }

    .wz-float-dock {
        gap: 10px;
    }

    .wz-chat__panel {
        width: min(280px, calc(100vw - 24px));
    }
}

/* ── Quick Look modal ── */
.wz-quicklook .modal-dialog,
.wz-quicklook__dialog {
    width: calc(100% - 1.5rem);
    max-width: min(1200px, calc(100vw - 2rem));
    margin: 0.75rem auto;
}

.wz-quicklook__content {
    position: relative;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    border-radius: 20px;
    background: rgba(var(--brand-white-rgb), 0.98);
    box-shadow:
        0 24px 60px rgba(var(--theme-secondary-rgb), 0.18),
        0 0 0 1px rgba(var(--brand-white-rgb), 0.7) inset;
    overflow: hidden;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(92vh, 900px) !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.wz-quicklook__body {
    padding: 1.35rem 1.5rem 1.5rem !important;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(92vh, 900px);
    flex: 1 1 auto;
    min-height: 0;
}

.wz-quicklook__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(var(--theme-secondary-rgb), 0.08);
    color: rgb(var(--theme-secondary-rgb));
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wz-quicklook__close svg {
    width: 1rem;
    height: 1rem;
}

.wz-quicklook__close:hover {
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: rgb(var(--theme-primary-rgb));
    transform: scale(1.04);
}

.wz-quicklook__layout {
    align-items: start;
}

.wz-quicklook .wz-pd__grid {
    width: 100%;
}

.wz-quicklook__media {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.wz-quicklook__image-card,
.wz-quicklook .wz-pd__media-card {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: none;
}

.wz-quicklook__zoom {
    position: relative;
    display: block;
    cursor: zoom-in;
    border-radius: 12px;
    overflow: hidden;
}

.wz-quicklook__image {
    width: 100%;
    max-height: min(42vh, 360px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.wz-quicklook__zoom-hint {
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(var(--theme-secondary-rgb), 0.72);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.wz-quicklook__zoom:hover .wz-quicklook__zoom-hint,
.wz-quicklook__zoom:focus-within .wz-quicklook__zoom-hint {
    opacity: 1;
}

.wz-quicklook__specs {
    max-height: 180px;
    overflow-y: auto;
    font-size: 0.78rem;
    scrollbar-width: thin;
}

.wz-quicklook__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgb(var(--theme-primary-rgb));
}

.wz-quicklook__brand img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
}

.wz-quicklook__details {
    min-width: 0;
    width: 100%;
    padding-top: 0.25rem;
    padding-right: 2rem;
}

.wz-quicklook .pd-detail,
.wz-quicklook .wz-quicklook__pd {
    margin-top: 0 !important;
}

.wz-quicklook__title,
.wz-quicklook .pd-detail__name {
    margin: 0 0 0.55rem;
    padding-top: 0.1rem;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    line-height: 1.35;
    font-weight: 800;
    color: rgb(var(--theme-primary-rgb));
    overflow: visible;
}

.wz-quicklook .pd-detail__price {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: rgb(var(--theme-secondary-rgb));
    margin-bottom: 0.35rem;
}

.wz-quicklook .pd-detail__stock,
.wz-quicklook .pd-detail__left {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(var(--theme-primary-rgb), 0.1);
    color: rgb(var(--theme-primary-rgb));
}

.wz-quicklook .u-s-m-b-15 {
    margin-bottom: 0.65rem !important;
}

.wz-quicklook .pd-detail__inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}

.wz-quicklook .pd-detail__click-wrap span {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(var(--theme-secondary-rgb), 0.82);
}

.wz-quicklook hr {
    width: 100% !important;
    max-width: none !important;
    margin: 0.55rem 0 0.75rem !important;
    border-color: rgba(var(--theme-primary-rgb), 0.12) !important;
}

.wz-quicklook .product-actions {
    margin: 0.75rem 0 0;
    gap: 0.65rem;
}

.wz-quicklook .quantity-selector {
    width: 100%;
    max-width: 160px;
    margin-bottom: 0.35rem;
    border-radius: 10px;
    border-color: rgba(var(--theme-primary-rgb), 0.18);
}

.wz-quicklook .quantity-btn {
    width: 38px;
    height: 38px;
}

.wz-quicklook .quantity-input {
    height: 38px;
    font-size: 0.95rem;
}

.wz-quicklook .action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
}

.wz-quicklook .btn-cart,
.wz-quicklook .btn-buy {
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 0.75rem !important;
    height: auto !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.wz-quicklook .btn-cart {
    background: rgba(var(--brand-purple-pale-rgb), 0.9) !important;
    color: rgb(var(--brand-purple-dark-rgb)) !important;
    border: 1px solid rgba(var(--brand-purple-rgb), 0.22) !important;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--btn-order-ease) !important;
}

.wz-quicklook .btn-cart:hover {
    background: rgb(var(--brand-white-rgb)) !important;
    border-color: rgba(var(--brand-purple-rgb), 0.4) !important;
    transform: translateY(-1px);
}

.wz-quicklook .btn-buy {
    border-radius: 12px !important;
}

.wz-quicklook__label {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(var(--theme-secondary-rgb), 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.wz-quicklook__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.wz-quicklook .modern-color-swatch {
    width: 30px;
    height: 30px;
}

.wz-quicklook .modern-variant-selector {
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.wz-quicklook .modern-variant-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
}

.wz-quicklook .zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(var(--theme-secondary-rgb), 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.wz-quicklook .zoomed-image {
    max-width: min(94vw, 720px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.wz-quicklook .zoom-hint-text {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    color: var(--white);
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Override legacy quickModal sizing */
.quickModal.wz-quicklook .modal-content,
.quickModal.wz-quicklook .wz-quicklook__content {
    height: auto !important;
    max-height: min(92vh, 900px) !important;
    margin: 0 !important;
    border: none;
    padding: 0 !important;
}

.quickModal.wz-quicklook .modal-dialog,
.quickModal.wz-quicklook .wz-quicklook__dialog {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 1.25rem auto !important;
    display: flex;
    align-items: center;
}

.quickModal.wz-quicklook .modal-body,
.quickModal.wz-quicklook .wz-quicklook__body {
    padding: 1.35rem 1.5rem 1.5rem !important;
}

@media (min-width: 768px) {
    .wz-quicklook .modal-dialog,
    .wz-quicklook__dialog {
        width: min(1200px, calc(100vw - 2rem));
        max-width: 1200px;
    }

    .wz-quicklook__image {
        max-height: min(48vh, 400px);
    }

    .wz-quicklook__details {
        padding-right: 2rem;
    }

    .wz-quicklook .action-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.wz-quicklook .pd-detail > div > .u-s-m-b-15:has(.fa-heart),
.wz-quicklook .pd-detail > div > .u-s-m-b-15:has(.fa-exchange-alt) {
    display: inline-block;
    width: calc(50% - 0.35rem);
    vertical-align: top;
    margin-bottom: 0.5rem !important;
}

.wz-quicklook .pd-detail > div > .u-s-m-b-15:has(.fa-heart) {
    margin-right: 0.35rem;
}

@media (max-width: 767px) {
    .wz-quicklook .modal-dialog,
    .wz-quicklook__dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
        align-items: flex-end;
    }

    .wz-quicklook__content {
        border-radius: 18px 18px 14px 14px;
        max-height: 92vh !important;
    }

    .wz-quicklook__body {
        padding: 0.85rem 0.85rem 1rem !important;
        max-height: 92vh;
    }

    .wz-quicklook__layout {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .wz-quicklook__details {
        padding-right: 0;
    }

    .wz-quicklook__close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
        background: rgba(var(--brand-white-rgb), 0.95);
        box-shadow: 0 4px 14px rgba(var(--theme-secondary-rgb), 0.12);
    }

    .wz-quicklook__image-card {
        padding: 0.55rem;
    }

    .wz-quicklook__image {
        max-height: min(38vw, 200px);
    }

    .wz-quicklook__zoom-hint {
        opacity: 1;
    }

    .wz-quicklook__title,
    .wz-quicklook .pd-detail__name {
        font-size: 1.1rem;
        padding-right: 2.5rem;
    }

    .wz-quicklook .pd-detail__price {
        font-size: 1rem;
    }

    .wz-quicklook .action-buttons {
        grid-template-columns: 1fr;
    }

    .wz-quicklook .btn-cart,
    .wz-quicklook .btn-buy {
        min-height: 44px;
        font-size: 0.88rem !important;
    }

    .wz-quicklook .quantity-selector {
        max-width: none;
    }

    .wz-quicklook__specs {
        max-height: 140px;
    }
}

@media (max-width: 420px) {
    .wz-quicklook__body {
        padding: 0.75rem !important;
    }

    .wz-quicklook .pd-detail__click-wrap span {
        font-size: 0.76rem;
    }
}

/* ── BDT currency icon & price display ── */
.bdt-icon {
    display: inline;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color, rgb(var(--theme-primary-rgb)));
    font-family: var(--font-body, 'Nunito', sans-serif);
    vertical-align: baseline;
    flex-shrink: 0;
}

.bdt-icon--input {
    font-size: 1.1em;
}

.bdt-icon--badge {
    font-size: 0.85em;
}

.price-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: nowrap;
}

.price-amount .bdt-icon {
    color: var(--primary-color, rgb(var(--theme-primary-rgb)));
}

.price-amount__sign {
    margin-right: -0.05em;
}

.price-amount__value {
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.bdt-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: nowrap;
}

.bdt-price__icon .bdt-icon {
    color: var(--primary-color, rgb(var(--theme-primary-rgb)));
}

.bdt-price__amount {
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.modern-price-final .price-amount__value,
.pd-detail__price .price-amount__value,
.waffle-card__price .price-amount__value,
.food-search-dropdown__price .price-amount__value,
.item-price .price-amount__value,
.summary-total-value .price-amount__value,
.wz-mc-item__price .price-amount__value,
.wz-checkout .price-amount__value {
    color: inherit;
}
