/* ==========================================================================
   IKEDU STORES — COMPONENTS STYLESHEET
   ========================================================================== */

/* 1. Announcement Bar */
.announcement-bar {
    background-color: var(--dark-charcoal);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 9px 16px;
    position: relative;
    z-index: 101;
}

.announcement-bar span {
    color: var(--primary-red);
    font-weight: 700;
}

/* 2. Main Navigation Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-smooth);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-grey);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--dark-charcoal);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.brand-logo span {
    color: var(--primary-red);
    margin-left: 4px;
}

.brand-logo-image {
    display: block;
    width: 180px;
    height: 62px;
    object-fit: cover;
    object-position: center;
}

.brand-logo-image-compact {
    width: 148px;
    height: 52px;
}

.footer-brand-logo {
    display: inline-flex;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 3px;
}

.brand-logo-image-footer {
    width: 220px;
    height: 72px;
}

/* Homepage-only branded loading screen */
html.has-home-preloader,
html.has-home-preloader body {
    overflow: hidden;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 24px;
    background: #f8f7f4;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.site-preloader.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-emblem {
    position: relative;
    display: grid;
    width: min(390px, 78vw);
    aspect-ratio: 2.45;
    place-items: center;
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 50%;
    animation: preloaderEmblem 2.4s ease-in-out infinite;
}

.preloader-emblem::before,
.preloader-emblem::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid transparent;
    border-top-color: rgba(200, 16, 46, 0.78);
    border-radius: 50%;
    animation: preloaderOrbit 2.2s linear infinite;
}

.preloader-emblem::after {
    inset: -15px;
    border-top-color: transparent;
    border-right-color: rgba(185, 138, 82, 0.5);
    animation-duration: 3.6s;
    animation-direction: reverse;
}

.preloader-logo {
    display: block;
    width: 84%;
    height: 76%;
    object-fit: cover;
    object-position: center;
    animation: preloaderLogo 2.4s ease-in-out infinite;
}

.preloader-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #77716c;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.preloader-caption span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 0 5px rgba(200, 16, 46, 0.1);
    animation: preloaderPulse 1.1s ease-in-out infinite;
}

@keyframes preloaderOrbit {
    to { transform: rotate(360deg); }
}

@keyframes preloaderEmblem {
    0%, 100% { transform: scale(0.985); }
    50% { transform: scale(1.015); }
}

@keyframes preloaderLogo {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(-3px); }
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.55; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 24px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mega Menu Dropdown */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-grey);
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
    padding: 40px 0;
    z-index: 99;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 2fr;
    gap: 32px;
}

.mega-menu-column h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    color: var(--dark-charcoal);
    border-bottom: 1px solid var(--border-grey);
    padding-bottom: 8px;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mega-menu-list a:hover {
    color: var(--primary-red);
    padding-left: 4px;
}

.mega-menu-featured {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--dark-charcoal);
    color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Header Utilities */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px;
    transition: color var(--transition-fast);
}

.action-btn:hover {
    color: var(--primary-red);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-charcoal);
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 60px 0;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.hero-text {
    font-size: 1.0625rem;
    color: #D1D5DB;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* 4. Brand Carousel */
.brand-carousel-section {
    background-color: var(--light-grey);
    padding: 70px 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.carousel-track-wrapper {
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-panel {
    min-width: 100%;
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.carousel-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.45) 55%, transparent 100%);
}

.carousel-panel-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 48px;
    color: var(--white);
}

.carousel-brand-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.carousel-panel-title {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 14px;
}

.carousel-panel-subtitle {
    font-size: 0.9375rem;
    color: #E5E7EB;
    margin-bottom: 28px;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.carousel-nav-btn.prev { left: 40px; }
.carousel-nav-btn.next { right: 40px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dot {
    width: 28px;
    height: 3px;
    background-color: var(--border-grey);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary-red);
    width: 42px;
}

/* 5. Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    padding-top: 130%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--dark-charcoal);
    display: block;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.88;
}

.category-card:hover img {
    transform: scale(1.08);
    opacity: 1;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    transition: background var(--transition-fast);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(200, 16, 46, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.category-card-title {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
}

.category-card-action {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 6. Premium Editorial Hero Carousel */
.hero-slider {
    position: relative;
    isolation: isolate;
    min-height: min(800px, 84vh);
    height: min(800px, 84vh);
    overflow: hidden;
    color: #fff;
    background: #11100f;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease, visibility 1.1s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide-media {
    position: absolute;
    z-index: -2;
    inset: -2%;
    background-color: #171514;
    background-size: cover;
    background-position: center 54%;
    transform: scale(1.02);
}

.hero-slide.has-image.is-active .hero-slide-media {
    animation: heroImageDrift 8s ease-out both;
}

.hero-slide.is-image-ready .hero-slide-media {
    background-image:
        radial-gradient(ellipse at 76% 48%, color-mix(in srgb, var(--hero-accent) 30%, transparent), transparent 38%),
        linear-gradient(125deg, #11100f 2%, #211c1a 52%, #0c0b0b 100%);
}

.hero-slide.is-image-ready::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: 11%;
    top: 12%;
    width: min(43vw, 590px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.025), 0 0 0 96px rgba(255, 255, 255, 0.02);
}

.hero-slide-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.64) 43%, rgba(10, 10, 10, 0.12) 100%),
                linear-gradient(0deg, rgba(10, 10, 10, 0.42), transparent 42%);
}

.hero-slide-container {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 92px;
}

.hero-slider .hero-content {
    max-width: 700px;
    padding: 0;
}

.hero-slider .hero-eyebrow,
.hero-slider .hero-title,
.hero-slider .hero-text,
.hero-slider .hero-buttons {
    opacity: 0;
    transform: translateY(24px);
}

.hero-slide.is-active .hero-eyebrow {
    animation: heroCopyReveal 0.7s 0.14s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-slide.is-active .hero-title {
    animation: heroCopyReveal 0.8s 0.26s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-slide.is-active .hero-text {
    animation: heroCopyReveal 0.8s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-slide.is-active .hero-buttons {
    animation: heroCopyReveal 0.8s 0.52s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-slider .hero-eyebrow {
    color: #d4b17d;
    letter-spacing: 0.28em;
}

.hero-slider .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 1px;
    margin: 0 12px 4px 0;
    background: currentColor;
}

.hero-slider .hero-title {
    max-width: 680px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 6.3vw, 6rem);
    line-height: 1.02;
    letter-spacing: 0.015em;
    text-transform: none;
    text-wrap: balance;
}

.hero-slider .hero-text {
    max-width: 520px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-slider .hero-buttons {
    align-items: center;
    gap: 28px;
}

.hero-primary-button {
    min-height: 52px;
    padding-inline: 24px;
    color: #171310;
    border-color: #d4b17d;
    background: #d4b17d;
}

.hero-primary-button:hover {
    color: #171310;
    border-color: #ead4b2;
    background: #ead4b2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.hero-secondary-link {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-secondary-link:hover {
    color: #fff;
    border-color: #d4b17d;
}

.hero-slide-number {
    position: absolute;
    right: max(calc((100vw - var(--container-max)) / 2 + 24px), 32px);
    bottom: 42px;
    z-index: 2;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
}

.hero-slide-number span {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    font-size: 0.72rem;
}

.hero-slider-controls {
    position: absolute;
    z-index: 5;
    left: max(calc((100vw - var(--container-max)) / 2 + 24px), 24px);
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    border-color: #d4b17d;
    background: rgba(212, 177, 125, 0.18);
    transform: scale(1.06);
}

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 4px;
}

.hero-dot {
    position: relative;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hero-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%);
    transition: background 0.25s ease, box-shadow 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.hero-dot[aria-current="true"]::after {
    width: 10px;
    height: 10px;
    background: #d4b17d;
    box-shadow: 0 0 0 4px rgba(212, 177, 125, 0.2);
}

.hero-progress {
    width: 104px;
    height: 1px;
    margin-left: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.26);
}

.hero-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: #d4b17d;
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-progress span.is-running {
    animation: heroProgress 3s linear forwards;
}

@keyframes heroCopyReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroImageDrift {
    from { transform: scale(1.02); }
    to { transform: scale(1.09); }
}

@keyframes heroProgress {
    to { transform: scaleX(1); }
}

/* The campaign artwork includes its own typography, so keep it unobstructed. */
.campaign-section {
    padding-top: 88px;
    padding-bottom: 94px;
    background: #f4f1ec;
}

.campaign-heading {
    margin-bottom: 34px;
}

.campaign-panel {
    display: block;
    min-width: 100%;
    min-height: 0;
    aspect-ratio: 2.6 / 1;
    border-radius: 3px;
    background: #171514;
}

.campaign-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.campaign-panel:hover .campaign-image {
    transform: scale(1.025);
    filter: brightness(0.9);
}

.campaign-brand-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    background: rgba(12, 12, 12, 0.42);
    backdrop-filter: blur(12px);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.campaign-panel:hover .campaign-brand-label,
.campaign-panel:focus-visible .campaign-brand-label {
    opacity: 1;
    transform: translateY(0);
}

.campaign-section .carousel-nav-btn {
    top: calc(50% + 42px);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slider *,
    .campaign-panel,
    .campaign-image {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 6. Product Details View */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin: 40px 0 80px;
}

.gallery-container {
    display: flex;
    gap: 20px;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90px;
}

.thumb-item {
    width: 90px;
    height: 110px;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--primary-red);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main {
    flex: 1;
    position: relative;
    padding-top: 120%;
    background-color: var(--light-grey);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.pdp-brand {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 6px;
}

.pdp-title {
    font-size: 1.875rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pdp-sku {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pdp-pricing {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.pdp-price-selling {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-charcoal);
}

.pdp-price-original {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pdp-discount-badge {
    background: var(--soft-red);
    color: var(--primary-red);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* Variant Selectors */
.variant-selector-wrap {
    margin-bottom: 24px;
}

.variant-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-option {
    border: 1px solid var(--border-grey);
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--white);
    transition: all var(--transition-fast);
}

.pill-option:hover {
    border-color: var(--dark-charcoal);
}

.pill-option.active {
    background: var(--dark-charcoal);
    color: var(--white);
    border-color: var(--dark-charcoal);
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    height: 48px;
}

.qty-btn {
    width: 44px;
    height: 100%;
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-charcoal);
}

.qty-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* 7. Slide-out Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--white);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item-row {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-grey);
    background: var(--light-grey);
}

/* 8. Bank Transfer Card */
.bank-transfer-card {
    background: var(--light-grey);
    border: 1px solid var(--border-grey);
    border-left: 4px solid var(--primary-red);
    border-radius: var(--radius-sm);
    padding: 28px;
    margin: 28px 0;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-grey);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
}

.bank-detail-value {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 9. Luxury Footer */
.site-footer {
    background: var(--dark-charcoal);
    color: #9CA3AF;
    padding: 80px 0 30px;
    border-top: 2px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}
