@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Lobster&display=swap');

/* ===== Design Tokens ===== */
:root {
    --color-primary: #6B4E11;
    --color-primary-light: #8B6508;
    --color-primary-dark: #2C1A05;
    --color-accent: #C8A43A;
    --color-accent-light: #D4B84A;
    --color-accent-dark: #A87010;
    --color-crimson: #6B4E11;
    --color-crimson-dark: #4A2E05;
    --color-cream: #F5EDE0;
    --color-cream-warm: #EDD9B8;
    --color-text: #2C1A05;
    --color-text-muted: #6B5240;
    --color-text-light: #B09060;
    --color-white: #ffffff;
    --color-border: #E0C8A0;
    --color-border-light: #EDD9B8;
    --color-shadow: rgba(44, 26, 5, 0.06);
    --color-shadow-strong: rgba(44, 26, 5, 0.14);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove 300ms tap delay on all interactive elements */
a, button, input, select, textarea, label,
[onclick], [role="button"] {
    touch-action: manipulation;
}

body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Social Floating Sidebar ===== */
.social-topbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 9999;
    background: none;
    padding: 0;
}
.social-topbar-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.28);
    transition: transform 0.18s ease, box-shadow 0.18s;
}
.social-topbar-btn:hover {
    transform: translateX(-6px);
    box-shadow: -4px 4px 14px rgba(0,0,0,0.32);
}
.social-topbar-fb { background: #1877F2; }
.social-topbar-ig { background: linear-gradient(160deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-topbar-wa { background: #25D366; }
.social-topbar-tt { background: #010101; }

/* ===== Header ===== */
header {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #F5EDE0;
    border-bottom: 1px solid rgba(200, 164, 58, 0.22);
    box-shadow: 0 2px 16px rgba(44, 26, 5, 0.06);
}

.header-inner {
    width: 100%;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

header h1 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

header h1 a,
header h1 a:link,
header h1 a:visited,
header h1 a:hover,
header h1 a:active {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    text-decoration: none;
}

.header-logo {
    height: 112px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
    border-radius: 0;
}

.header-logo:hover {
    transform: scale(1.04);
}

.header-brand-stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-brand-name {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 700;
    color: #800020;
    letter-spacing: 1px;
    line-height: 1;
}

.header-brand-tagline {
    font-family: var(--font-body);
    font-size: 0.65em;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    line-height: 1;
}

nav {
    display: flex;
    justify-content: center;
    gap: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

/* Admin nav label */
.nav-brand-label {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    pointer-events: none;
    padding: 0 12px;
    white-space: nowrap;
    opacity: 0.9;
}

nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.78em;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.08);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--color-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

/* ===== Main ===== */
main {
    margin: 0;
}

/* ===== Hero Section ===== */
#hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 520px;
}

/* Text overlay — left side */
.hero-content {
    position: relative;
    z-index: 5;
    min-height: 520px;
    width: 52%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 72px 80px 80px;
    /* Cream panel that fades into the image */
    background: linear-gradient(to right, rgba(245,237,224,0.97) 0%, rgba(245,237,224,0.97) 36%, rgba(245,237,224,0.4) 54%, transparent 100%);
}

/* Full-bleed carousel fills the hero */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    z-index: 0;
}

.hero-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.06) contrast(1.16) saturate(1.24);
}

/* Slide 1 — flower shop exterior (real HD photo) */
.hero-slide-1 img {
    filter: brightness(1.05) contrast(1.12) saturate(1.2);
    object-position: center center;
}

/* Slide 2 — roses bouquet top-down (real HD photo) */
.hero-slide-2 {
    background: #F8C8D4;
}
.hero-slide-2 img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.04) contrast(1.1) saturate(1.15);
}

/* Slide 3 — close-up pink roses: shift right so text area stays clear */
.hero-slide-3 img {
    object-position: 62% center;
    filter: brightness(1.08) contrast(1.1) saturate(1.18);
}

/* Slide 4 — peach roses in vase */
.hero-slide-4 img {
    object-position: center center;
    filter: brightness(1.06) contrast(1.08) saturate(1.2);
}

.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 16, 5, 0.35);
    border: 1px solid rgba(200, 164, 58, 0.4);
    color: #F3E9D2;
    font-size: 1.8em;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s;
}

.hero-carousel-btn:hover {
    background: rgba(200, 164, 58, 0.55);
    border-color: rgba(200, 164, 58, 0.8);
}

.hero-carousel-prev { left: 16px; }
.hero-carousel-next { right: 16px; }


@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}


.hero-carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(243, 233, 210, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.hero-dot.active {
    background: #C8A43A;
    border-color: #C8A43A;
    transform: scale(1.25);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

#hero h2 {
    font-family: var(--font-display);
    font-size: 2.8em;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-rule {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    margin-bottom: 24px;
}


.hero-description {
    font-size: 1em;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-cta {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #C8A43A 0%, #D4B84A 100%);
    color: #2C1A05;
    font-weight: 700;
    font-size: 0.76em;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 4px;
    text-decoration: none;
    width: auto;
    transition: all 0.2s ease;
}

.hero-cta:hover {
    background: linear-gradient(135deg, #D4B84A 0%, #E8C960 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 58, 0.35);
    color: #2C1A05;
}

/* ===== Scrolling Ticker ===== */
.ticker-wrap {
    width: 100%;
    background: var(--color-primary);
    overflow: hidden;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 32s linear infinite;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 28px;
    font-size: 0.74em;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(245, 237, 224, 0.88);
}

.ticker-item svg {
    opacity: 0.75;
    flex-shrink: 0;
}

.ticker-icon {
    color: var(--color-accent);
    font-size: 0.8em;
}

.ticker-dot {
    color: var(--color-accent);
    font-size: 1.1em;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ===== Features Bar ===== */
.features-bar {
    background: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    padding: 28px 40px;
}

.features-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.features-bar-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(200, 150, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.features-bar-text strong {
    display: block;
    font-size: 0.84em;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.features-bar-text span {
    font-size: 0.76em;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.4;
}

/* ===== Shop Our Collections ===== */
.collections-section {
    background: var(--color-cream);
    padding: 72px 40px;
}

.collections-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 48px;
}

.collections-header h2 {
    font-family: var(--font-body);
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
    margin: 0;
}

.collections-rule {
    height: 1px;
    background: var(--color-accent);
    flex: 1;
    max-width: 80px;
    opacity: 0.6;
}

.collections-diamond {
    color: var(--color-accent);
    font-size: 0.75em;
    line-height: 1;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.collection-card {
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    display: block;
}

.collection-card:hover {
    transform: translateY(-8px);
}

.collection-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
}

.collection-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 5, 0.22);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 1;
}

.collection-card:hover .collection-img-wrap::after {
    opacity: 1;
}

.collection-img-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: var(--radius-lg);
    display: block;
}

.collection-card:hover .collection-img-wrap img {
    transform: scale(1.08);
}

.collection-icon-circle {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(44, 26, 5, 0.1);
}

.collection-info {
    text-align: center;
}

.collection-info h3 {
    font-family: var(--font-body);
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 8px;
}

.collection-info p {
    font-size: 0.9em;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ===== Collection card animations ===== */
@keyframes collectionEntrance {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes collectionFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes collectionImgPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}

/* Cards hidden until IntersectionObserver fires */
.collection-card { opacity: 0; }
.collection-card.anim-done { opacity: 1; }
.collection-card.anim-in {
    animation: collectionEntrance 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Float wrapper — different durations so cards are out of sync */
.collection-float-wrap { will-change: transform; }
.collection-float-wrap.float-active {
    animation: collectionFloat 3.6s ease-in-out infinite;
}
.collection-float-wrap:nth-child(2).float-active { animation-duration: 4s;   animation-delay: -1.3s; }
.collection-float-wrap:nth-child(3).float-active { animation-duration: 4.4s; animation-delay: -2.6s; }

/* Pause float while user hovers so hover lift feels clean */
.collection-float-wrap.float-active:hover { animation-play-state: paused; }

/* Image zoom pulse — applied to img-wrap so it doesn't clash with img hover scale */
.collection-img-wrap.pulse-active {
    animation: collectionImgPulse 4.5s ease-in-out infinite;
    transform-origin: center;
}
.collection-card:hover .collection-img-wrap.pulse-active { animation-play-state: paused; }

/* ===== Featured Products ===== */
#featured-products {
    width: 96%;
    max-width: 1600px;
    margin: 80px auto;
}

#featured-products h2 {
    font-family: var(--font-display);
    font-size: 2em;
    color: var(--color-text);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
}

#featured-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

#product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

/* ===== Product Card ===== */
.product {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 20px var(--color-shadow);
    transition: all var(--transition-base);
    padding: 0;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--color-shadow-strong);
}

.product img,
.product-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product:hover img,
.product:hover .product-card-img {
    transform: scale(1.07);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-body .product-price {
    margin-top: auto;
}

.product h2 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.3em;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
.product-rating-stars { color: #c8a43a; font-size: 0.95em; letter-spacing: 1px; }
.product-rating-value { font-size: 0.82em; font-weight: 600; color: var(--color-text); }
.product-rating-count { font-size: 0.78em; color: var(--color-text-muted); }

.product p {
    font-size: 0.92em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.5em;
    color: var(--color-accent-dark);
    font-weight: 700;
    margin-bottom: 16px;
}

/* ===== Button ===== */
.button {
    display: inline-block;
    padding: 13px 28px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92em;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.button:hover::before {
    transform: translateX(100%);
}

.button:hover {
    background: var(--color-primary-light);
    box-shadow: 0 6px 22px rgba(44, 62, 45, 0.28);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button.secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-border);
}

.button.secondary:hover {
    background: var(--color-cream-warm);
    border-color: var(--color-primary);
}

/* ===== Section Styling ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2em;
    color: var(--color-text);
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.section-subtitle {
    font-size: 1.05em;
    color: var(--color-text-muted);
    font-weight: 300;
}

.products-section,
.cart-section {
    width: 92%;
    max-width: 1100px;
    margin: 60px auto;
    animation: fadeIn 0.6s ease-in;
}

.admin-section {
    width: 94%;
    max-width: 1100px;
    margin: 48px auto;
    animation: fadeIn 0.6s ease-in;
}

/* ===== About Section ===== */
.about-section {
    background: var(--color-white);
    padding: 80px 60px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 2px 20px var(--color-shadow);
    margin: 80px auto;
    width: 90%;
    max-width: 900px;
    border: 1px solid var(--color-border-light);
}

.about-section h2 {
    font-family: var(--font-display);
    font-size: 2em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.about-content {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.02em;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: 40px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-item {
    text-align: center;
    padding: 40px 28px 36px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px var(--color-shadow-strong);
    border-color: rgba(200, 164, 58, 0.28);
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-accent);
    box-shadow: 0 2px 16px rgba(200, 164, 58, 0.18);
    border: 1px solid rgba(200, 164, 58, 0.15);
}

.feature-item h3 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.1em;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.88em;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== Cart Page Styling ===== */
.cart-items-container {
    margin-bottom: 30px;
}

.cart-item {
    background: var(--color-white);
    padding: 24px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px var(--color-shadow);
    display: flex;
    gap: 24px;
    align-items: start;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border-light);
}

.cart-item:hover {
    box-shadow: 0 4px 20px var(--color-shadow-strong);
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 600;
}

.cart-item-price {
    color: var(--color-accent-dark);
    font-family: var(--font-display);
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-summary {
    background: var(--color-white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px var(--color-shadow);
    border: 1px solid var(--color-border);
}

.cart-summary h3 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.3em;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.summary-content p {
    font-size: 1.05em;
    margin-bottom: 4px;
    color: var(--color-text);
    width: 100%;
}

.summary-content .button {
    width: 220px;
    padding: 12px 24px;
    margin-top: 0;
}

.checkout-btn {
    background: var(--color-accent);
}

.checkout-btn:hover {
    background: var(--color-accent-dark);
}

/* ===== Admin Panel Styling ===== */

/* Reset the 4-column product grid inside admin — it's a plain list here */
.products-panel #product-list {
    display: block;
}

.admin-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    margin-top: 10px;
}

.form-panel,
.products-panel {
    background: var(--color-white);
    padding: 20px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px var(--color-shadow);
    border: 1px solid var(--color-border-light);
}

.form-panel h3,
.products-panel h3 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.05em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-light);
    font-weight: 600;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Two fields side-by-side in the form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-row .form-group {
    min-width: 0;
    overflow: hidden;
}

.form-row .form-group select,
.form-row .form-group input {
    width: 100%;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.72em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 8px 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.87em;
    transition: all var(--transition-fast);
    background: var(--color-cream);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 45, 0.08);
    background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.form-actions .button {
    flex: 1;
    font-size: 0.88em;
    padding: 9px 14px;
}

/* ---- Product list ---- */
.admin-products-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 74vh;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-products-list::-webkit-scrollbar { width: 4px; }
.admin-products-list::-webkit-scrollbar-track { background: transparent; }
.admin-products-list::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.admin-product-item {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    padding: 12px 14px;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.admin-product-item:hover {
    background: #fdfaf6;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.admin-product-item.admin-product-sold-out { opacity: 0.55; }

/* Row: thumb | info (name + badges + price) | right (wl + actions) */
.admin-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-product-thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--color-cream);
    flex-shrink: 0;
}

.admin-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-product-name {
    color: var(--color-text);
    font-size: 0.93em;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-product-badges {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.admin-product-desc {
    font-size: 0.78em;
    color: var(--color-text-muted);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-product-price {
    font-size: 0.88em;
    color: var(--color-accent-dark);
    font-weight: 700;
    white-space: nowrap;
}

.admin-product-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.admin-product-actions {
    display: flex;
    gap: 5px;
}

.admin-btn-edit,
.admin-btn-delete {
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.admin-btn-edit {
    background: var(--color-accent-dark);
    color: #fff;
}
.admin-btn-edit:hover { opacity: 0.82; }
.admin-btn-delete {
    background: #fde8e8;
    color: #c0392b;
}
.admin-btn-delete:hover { background: #f5c6c6; }

.admin-wl-count {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.78em;
    font-weight: 600;
    color: #e05c7a;
    flex-shrink: 0;
}

/* ===== Hero Section Enhancement ===== */

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 0;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-policy-links {
    margin-top: 16px;
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-policy-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-policy-links a:hover {
    color: rgba(212, 175, 55, 0.7);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4em !important;
    font-weight: 600 !important;
    color: var(--color-white) !important;
    margin-bottom: 8px !important;
}

footer p {
    margin: 6px 0;
    font-size: 0.9em;
    font-weight: 300;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    transition: transform 0.25s ease, opacity 0.2s ease, box-shadow 0.25s ease;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    opacity: 0.85;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-facebook  { background: #1877f2; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-whatsapp  { background: #25d366; }
.social-tiktok    { background: #010101; }

/* ===== Toast Notification ===== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92em;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
    max-width: 380px;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.error {
    background: #a33;
}

.toast-notification.warning {
    background: var(--color-accent-dark);
}

/* ===== Delete Confirmation Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 42, 27, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Vertically center small modals (non-checkout) */
.modal-overlay:not(:has(.checkout-modal-wide)):not(:has(.stripe-modal-wide)) {
    align-items: center;
}

/* Stripe modal — centered, padded so it doesn't touch the edges */
.modal-overlay:has(.stripe-modal-wide) {
    align-items: center;
    padding: 24px;
}

.modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    transform: translateY(12px) scale(0.97);
    transition: transform var(--transition-base);
    border: 1px solid var(--color-border-light);
    margin: auto 0;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fef2f2;
    border-radius: 50%;
    margin: 0 auto 20px;
    color: #c0392b;
}

.modal h3 {
    font-family: var(--font-display);
    font-size: 1.35em;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.modal p {
    font-size: 0.95em;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.modal p strong {
    color: var(--color-text);
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-actions .button {
    flex: 1;
    max-width: 160px;
}

.button.danger {
    background: #c0392b;
    color: var(--color-white);
    border: none;
}

.button.danger:hover {
    background: #a93226;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

/* ===== Animations ===== */
main section {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 1.05em;
    font-weight: 300;
}

/* ===== Quantity Controls ===== */
.qty-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.qty-controls button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    border-radius: var(--radius-sm);
}

.qty-controls span {
    font-weight: 500;
    font-size: 0.95em;
    min-width: 60px;
    text-align: center;
}

.remove-btn {
    margin-left: auto;
    width: auto !important;
    padding: 6px 14px !important;
    font-size: 0.85em !important;
}

/* ===== Admin Edit Mode ===== */
.edit-mode-badge {
    display: none;
    align-items: center;
    gap: 8px;
    background: #fef9ec;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-dark);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.85em;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-panel.editing {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.12), 0 2px 12px var(--color-shadow);
}

.form-panel.editing #form-panel-title {
    color: var(--color-accent-dark);
}

.form-actions {
    flex-wrap: wrap;
}

/* ===== Checkout Modal ===== */
.checkout-modal-wide {
    max-width: 560px;
    width: 100%;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: auto 0;
}

/* Scrollable content area */
.checkout-form {
    overflow-y: auto;
    padding: 0 28px;
    flex: 1 1 auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.checkout-form::-webkit-scrollbar { width: 4px; }
.checkout-form::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

/* Sticky header */
.checkout-modal-header {
    padding: 22px 28px 16px;
    border-bottom: 1px solid var(--color-border-light);
    flex-shrink: 0;
    background: #fff;
}

/* Sticky action bar */
.checkout-actions {
    justify-content: flex-end;
    padding: 12px 28px;
    border-top: 1px solid var(--color-border-light);
    flex-shrink: 0;
    background: #fff;
    margin-top: 0;
}

.checkout-actions .button {
    flex: none;
    width: auto;
    padding: 11px 24px;
}

/* (header h3 and subtitle) */
.checkout-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.checkout-modal-subtitle {
    font-size: 0.85em;
    color: var(--color-text-muted);
    font-weight: 300;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding-top: 16px;
}

.checkout-full-width {
    grid-column: 1 / -1;
}

/* Compact inputs inside checkout */
.checkout-form .form-group label {
    font-size: 0.8em;
    margin-bottom: 4px;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea {
    padding: 8px 11px;
    font-size: 0.88em;
}

.checkout-form .form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.checkout-order-summary {
    margin-bottom: 0;
    padding-bottom: 16px;
}

.checkout-summary-box {
    background: var(--color-cream);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.checkout-summary-label {
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92em;
    color: var(--color-text-muted);
    padding: 4px 0;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.05em;
    font-weight: 700;
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
    margin-top: 10px;
    padding-top: 10px;
}

.checkout-actions {
    justify-content: flex-end;
    align-items: center;
}

.checkout-actions .button {
    flex: none;
    width: auto;
    padding: 13px 28px;
    margin-top: 0;
}

/* ===== Delivery Toggle ===== */
.delivery-toggle {
    display: flex;
    gap: 8px;
}

.delivery-toggle-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    background: #F5EDE0;
    border: 1.5px solid #C8B89A;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85em;
    font-weight: 500;
    color: #7a6652;
    cursor: pointer;
    outline: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.delivery-toggle-btn.active {
    background: #2C1A05;
    border-color: #2C1A05;
    color: #fff;
}

.delivery-toggle-btn:not(.active):hover {
    background: #EDE0CE;
    border-color: #C8A43A;
    color: #2C1A05;
}

/* Coupon Row */
.coupon-row {
    display: flex;
    gap: 8px;
}

.coupon-row input {
    flex: 1;
}

.coupon-apply-btn {
    flex-shrink: 0;
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 0.85em !important;
}

.coupon-msg {
    font-size: 0.82em;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 6px;
}

.coupon-success {
    background: #f0faf0;
    color: #1a7a3a;
    border: 1px solid #b2dfb2;
}

.coupon-error {
    background: #fff5f5;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.checkout-summary-discount {
    color: #1a7a3a !important;
}

/* Payment badge */
.payment-badge {
    font-size: 0.72em;
    background: #e6f4ea;
    color: #1a7a3a;
    border: 1px solid #b2dfb2;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.payment-card-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.payment-icon-card {
    background: rgba(107, 78, 17, 0.1);
    color: var(--color-crimson);
}

/* Field hint */
.field-hint {
    font-size: 0.8em;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 6px;
}

.req { color: var(--color-crimson); }

/* Checkout select styling */
.checkout-form .form-group select {
    padding: 8px 11px;
    font-size: 0.88em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    width: 100%;
    color: var(--color-text);
}

/* Payment reminder box in success modal */
.reminder-box {
    background: #f8f9fa;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.88em;
    text-align: left;
    color: var(--color-text-muted);
}

.reminder-box p { margin: 4px 0; }

/* ===== Success Modal Icon ===== */
.success-icon {
    background: #f0faf0;
    color: #27ae60;
}

/* ===== Orders Nav Badge ===== */
.orders-nav-link {
    position: relative;
}

.orders-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #c0392b;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    border-radius: 10px;
    padding: 0 5px;
    margin-left: 6px;
    vertical-align: middle;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.orders-badge.pulse {
    animation: pulse-badge 0.5s ease;
}

.orders-count-label {
    font-family: var(--font-body);
    font-size: 0.75em;
    font-weight: 400;
    color: var(--color-accent-dark);
    margin-left: 6px;
}

/* ===== Orders Section ===== */
.orders-section {
    border-top: 1px solid var(--color-border-light);
    padding-top: 20px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 10px var(--color-shadow);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.order-card:hover {
    box-shadow: 0 4px 20px var(--color-shadow-strong);
}

.order-pending {
    border-left: 4px solid var(--color-accent);
}

.order-completed {
    border-left: 4px solid #27ae60;
    opacity: 0.8;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border-light);
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-status-badge {
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge-pending {
    background: #fef9ec;
    color: var(--color-accent-dark);
    border: 1px solid var(--color-accent);
}

.badge-completed {
    background: #f0faf0;
    color: #27ae60;
    border: 1px solid #a9dfbf;
}

.order-time {
    font-size: 0.85em;
    color: var(--color-text-muted);
    font-weight: 300;
}

.order-total {
    font-family: var(--font-display);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.order-card-body {
    padding: 16px 20px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.order-customer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 180px;
}

.order-customer strong {
    font-size: 0.95em;
    color: var(--color-text);
    font-weight: 600;
}

.order-customer span {
    font-size: 0.85em;
    color: var(--color-text-muted);
    font-weight: 300;
}

.order-notes {
    font-size: 0.82em;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 4px;
}

.order-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    flex: 1;
}

.order-item-tag {
    background: var(--color-cream-warm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.82em;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

.order-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--color-border-light);
    background: var(--color-cream);
    display: flex;
    justify-content: flex-end;
}

/* ===== Orders Filter Bar ===== */
.orders-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.orders-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1.5px solid var(--color-border);
    border-radius: 24px;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.orders-filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.orders-filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
    font-weight: 700;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.78em;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    transition: background 0.2s ease;
}

.orders-filter-btn.active .filter-count {
    background: rgba(26, 42, 27, 0.18);
}

.filter-count-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.filter-count-completed {
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
}

.orders-filter-btn.active .filter-count-pending,
.orders-filter-btn.active .filter-count-completed {
    background: rgba(26, 42, 27, 0.18);
    color: var(--color-primary-dark);
}

/* ===== Nav Auth Area ===== */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* Mobile inline row — hidden on desktop, shown on mobile via responsive.css */
.nav-user-inline { display: none; }

.nav-role-badge {
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge-admin {
    background: rgba(200, 150, 42, 0.1);
    color: #A87820;
    border: 1px solid rgba(200, 150, 42, 0.3);
}

.badge-member {
    background: rgba(107, 78, 17, 0.1);
    color: #6B4E11;
    border: 1px solid rgba(107, 78, 17, 0.25);
}

.badge-guest {
    background: rgba(44, 26, 5, 0.06);
    color: #7A5C3A;
    border: 1px solid rgba(44, 26, 5, 0.12);
}

.nav-user-name {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.nav-signout-btn,
.nav-signout-btn:visited {
    font-size: 0.82em;
    font-weight: 500;
    color: var(--color-text-muted);
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.nav-signout-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(107, 78, 17, 0.05);
}

.btn-nav-signin {
    display: inline-flex;
    align-items: center;
    font-size: 0.75em;
    font-weight: 700;
    color: #1E0E08;
    background: linear-gradient(135deg, #D4AF37 0%, #E8C960 100%);
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.btn-nav-signin:hover {
    background: linear-gradient(135deg, #E8C960 0%, #D4AF37 100%);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

/* ===== Admin Nav Label ===== */
.nav-brand-label {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    pointer-events: none;
    padding: 0 4px;
    opacity: 0.85;
}

/* ===== Premium Sign Out Button ===== */
.btn-black-logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.btn-black-logout:hover {
    color: var(--color-primary);
    border-color: rgba(107, 78, 17, 0.5);
    background: rgba(107, 78, 17, 0.05);
    box-shadow: 0 0 16px rgba(107, 78, 17, 0.12);
    transform: translateY(-1px);
}

.btn-black-logout:active {
    transform: translateY(0) scale(0.97);
}

.btn-black-logout svg {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.btn-black-logout:hover svg {
    transform: translateX(2px);
    opacity: 1;
}

/* ===== Nav Cart Badge ===== */
nav a {
    position: relative;
}

.nav-cart-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: var(--color-crimson);
    color: #fff;
    font-size: 0.68em;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 4px;
    line-height: 1;
    margin-left: 2px;
    vertical-align: middle;
}

.nav-wishlist-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #e05c7a;
    color: #fff;
    font-size: 0.68em;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 4px;
    line-height: 1;
    margin-left: 2px;
    vertical-align: middle;
}

/* ===== Wishlist Heart Button (on product cards) ===== */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #bbb;
    transition: color 0.18s, transform 0.15s, background 0.18s;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    padding: 0;
}
.wishlist-btn:hover {
    color: #e05c7a;
    transform: scale(1.15);
    background: #fff;
}
.wishlist-btn.wishlisted {
    color: #e05c7a;
    background: #fff0f4;
}
.wishlist-btn.wishlisted:hover {
    color: #c03060;
    background: #ffe0ea;
    transform: scale(1.15);
}
.wl-count-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.88);
    color: #e05c7a;
    font-size: 0.72em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.13);
    z-index: 3;
    pointer-events: none;
    backdrop-filter: blur(4px);
    line-height: 1;
}

/* ===== Wishlist Page ===== */
.wishlist-hero {
    background: linear-gradient(135deg, #2C1A05 0%, #5c3a1e 100%);
    color: #fff;
    padding: 52px 24px 44px;
    text-align: center;
}
.wishlist-hero h2 {
    font-family: var(--font-display);
    font-size: 2.2em;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
}
.wishlist-hero p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.95em; }
.wishlist-hero-rule { width: 48px; height: 2px; background: var(--color-gold); margin: 0 auto 20px; border-radius: 2px; }

.wishlist-section { max-width: 1200px; margin: 0 auto; padding: 40px 24px 60px; }

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.wishlist-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px var(--color-shadow);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
}
.wishlist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.wishlist-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.wishlist-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.wishlist-card:hover .wishlist-card-img img { transform: scale(1.04); }

.wishlist-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff0f4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e05c7a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    transition: color 0.18s, transform 0.15s, background 0.18s;
    padding: 0;
}
.wishlist-card-remove:hover { background: #ffe0ea; color: #c03060; transform: scale(1.15); }

.wishlist-card-body { padding: 16px; }
.wishlist-card-name {
    font-family: var(--font-display);
    font-size: 0.95em;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 6px;
    line-height: 1.3;
}
.wishlist-card-price {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1em;
    margin: 0 0 12px;
}
.wishlist-card-cart { width: 100%; font-size: 0.85em; padding: 10px; }

.wishlist-empty {
    text-align: center;
    padding: 80px 24px;
    grid-column: 1 / -1;
}
.wishlist-empty-icon {
    color: #ddd;
    margin-bottom: 20px;
}
.wishlist-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5em;
    color: var(--color-text);
    margin: 0 0 10px;
}
.wishlist-empty p { color: var(--color-text-light); margin: 0 0 28px; }

/* ===== Profile Dropdown ===== */
.nav-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 26, 5, 0.05);
    border: 1px solid rgba(44, 26, 5, 0.12);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    transition: all 0.22s ease;
    color: var(--color-text);
    font-family: var(--font-body);
}

.nav-profile-btn:hover {
    background: rgba(107, 78, 17, 0.06);
    border-color: rgba(107, 78, 17, 0.3);
}

.nav-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B4E11 0%, #4A2E05 100%);
    color: #F3E9D2;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.nav-profile-chevron {
    opacity: 0.7;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.nav-profile-btn[aria-expanded="true"] .nav-profile-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(212,175,55,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
    overflow: hidden;
}

.nav-profile-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #1A1005 0%, #3D2E10 100%);
}

.profile-dropdown-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B4E11 0%, #4A2E05 100%);
    color: #F3E9D2;
    font-size: 1em;
    font-weight: 700;
    flex-shrink: 0;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
}

.profile-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.profile-dropdown-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #F3E9D2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-divider {
    height: 1px;
    background: #f0ece6;
    margin: 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875em;
    font-weight: 500;
    color: #2d2d2d;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
}

.profile-dropdown-item:hover {
    background: #faf8f5;
    color: var(--color-text);
}

.profile-dropdown-item svg {
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.profile-dropdown-item:hover svg {
    opacity: 1;
}

.profile-dropdown-signout {
    color: #6B4E11;
}

.profile-dropdown-signout:hover {
    background: #FBF5E8;
    color: #4A2E05;
}

.profile-dropdown-signout svg {
    color: #6B4E11;
}

/* ===== Image Input Widget ===== */
.img-tab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.img-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.82em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.img-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.img-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.img-panel {
    margin-top: 2px;
}

.img-dropzone {
    position: relative;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-cream);
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.img-dropzone:hover,
.img-dropzone.drag-over {
    border-color: var(--color-accent);
    background: var(--color-cream-warm);
}

.img-dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    color: var(--color-text-muted);
    pointer-events: none;
    text-align: center;
}

.img-dropzone-content svg {
    opacity: 0.4;
}

.img-dropzone-content p {
    font-size: 0.88em;
    line-height: 1.6;
    margin: 0;
}

.img-dropzone-content span {
    font-size: 0.85em;
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.img-preview {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.img-url-preview {
    width: 100%;
    max-height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

/* ===== Payment Methods ===== */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 8px;
}

.payment-card {
    cursor: pointer;
    display: block;
    position: relative;
}

/* Fully hide native radio — belt & suspenders */
.payment-card input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.payment-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px 10px;
    border: 2px solid var(--color-border, #e0ddd8);
    border-radius: 10px;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    min-height: 72px;
}

/* Custom radio circle indicator — top-right corner */
.payment-card-inner::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 8px;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.payment-card:hover .payment-card-inner {
    border-color: var(--color-accent, #b68d40);
    background: #faf8f5;
}

.payment-card input[type="radio"]:checked + .payment-card-inner {
    border-color: var(--color-primary, #2c3e2d);
    background: rgba(44, 62, 45, 0.04);
    box-shadow: 0 0 0 3px rgba(44, 62, 45, 0.07);
}

/* Filled radio dot when selected */
.payment-card input[type="radio"]:checked + .payment-card-inner::after {
    border-color: var(--color-primary, #2c3e2d);
    background: var(--color-primary, #2c3e2d);
    box-shadow: inset 0 0 0 4px #fff;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(182, 141, 64, 0.12);
    color: var(--color-accent, #b68d40);
    flex-shrink: 0;
}

.payment-label {
    display: block;
    font-size: 0.82em;
    font-weight: 600;
    color: var(--color-text, #1a1a1a);
    line-height: 1.2;
}

.payment-desc {
    display: block;
    font-size: 0.72em;
    color: var(--color-text-muted, #888);
    font-weight: 400;
    margin-top: 1px;
}

/* ===== Payment Detail Info Box ===== */
.payment-details-box {
    margin-top: 12px;
    padding: 16px 18px;
    background: #faf8f5;
    border: 1px solid var(--color-border, #e0ddd8);
    border-left: 3px solid var(--color-accent, #b68d40);
    border-radius: 10px;
    animation: slideDown 0.22s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.payment-details-title {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin: 0 0 10px;
}

.payment-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85em;
    border-bottom: 1px solid #ece9e4;
}

.payment-details-row:last-of-type {
    border-bottom: none;
}

.payment-details-row span {
    color: var(--color-text-muted, #888);
}

.payment-details-row strong {
    color: var(--color-text, #1a1a1a);
    font-weight: 600;
}

.payment-details-note {
    font-size: 0.8em;
    color: var(--color-text-muted, #888);
    margin: 10px 0 0;
    font-style: italic;
}

/* ===== Success Modal Payment Reminder ===== */
.success-payment-reminder {
    margin: 16px 0 0;
    text-align: left;
}

.reminder-box {
    background: #faf8f5;
    border: 1px solid var(--color-border, #e0ddd8);
    border-left: 3px solid var(--color-accent, #b68d40);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.88em;
    line-height: 1.85;
}

.reminder-box p {
    margin: 2px 0;
    color: var(--color-text, #1a1a1a);
}

.reminder-note {
    color: var(--color-text-muted, #888) !important;
    font-style: italic;
    margin-top: 8px !important;
}

/* ===== Change Password Modal ===== */
.cp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(26, 42, 27, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cp-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cp-modal {
    background: var(--color-white, #fff);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cp-modal-overlay.active .cp-modal {
    transform: translateY(0) scale(1);
}

/* Modal header */
.cp-header {
    background: linear-gradient(135deg, #1A1005 0%, #3D2E10 100%);
    padding: 28px 32px 24px;
    text-align: center;
    position: relative;
}

.cp-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-accent, #b68d40);
    border-radius: 2px;
}

.cp-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(182, 141, 64, 0.15);
    border-radius: 50%;
    color: var(--color-accent-light, #d4a855);
    margin-bottom: 12px;
}

.cp-header h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.35em;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 0.3px;
}

.cp-header p {
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Modal body */
.cp-body {
    padding: 28px 32px 32px;
}

/* Message area */
.cp-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85em;
    margin-bottom: 16px;
    display: none;
    animation: fadeIn 0.2s ease;
}

.cp-message.error {
    display: block;
    background: #fef2f2;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

.cp-message.success {
    display: block;
    background: #f0faf0;
    color: #27ae60;
    border: 1px solid #a9dfbf;
}

/* Form groups */
.cp-form-group {
    margin-bottom: 18px;
    position: relative;
}

.cp-form-group label {
    display: block;
    font-size: 0.82em;
    font-weight: 500;
    color: var(--color-text, #2d2d2d);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.cp-input-wrap {
    position: relative;
}

.cp-input-wrap input {
    width: 100%;
    padding: 12px 42px 12px 14px;
    border: 1.5px solid var(--color-border, #e8e4de);
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.9em;
    color: var(--color-text, #2d2d2d);
    background: var(--color-cream, #faf8f5);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
}

.cp-input-wrap input:focus {
    border-color: var(--color-accent, #b68d40);
    background: var(--color-white, #fff);
    box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.12);
}

.cp-input-wrap input.input-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.cp-input-wrap input.input-success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Toggle password visibility */
.cp-toggle-pw {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted, #6b6b6b);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.cp-toggle-pw:hover {
    color: var(--color-accent, #b68d40);
}

/* Validation hint */
.cp-hint {
    font-size: 0.76em;
    color: var(--color-text-muted, #6b6b6b);
    margin-top: 5px;
    transition: color 0.2s ease;
}

.cp-hint.error {
    color: #e74c3c;
}

.cp-hint.success {
    color: #27ae60;
}

/* Password strength bar */
.cp-strength-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--color-border, #e8e4de);
    margin-top: 8px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.cp-strength-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 0.35s ease, background 0.35s ease;
}

.cp-strength-fill.weak {
    width: 33%;
    background: #e74c3c;
}

.cp-strength-fill.medium {
    width: 66%;
    background: var(--color-accent, #b68d40);
}

.cp-strength-fill.strong {
    width: 100%;
    background: #27ae60;
}

.cp-strength-label {
    font-size: 0.73em;
    font-weight: 500;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.cp-strength-label.weak { color: #e74c3c; }
.cp-strength-label.medium { color: var(--color-accent, #b68d40); }
.cp-strength-label.strong { color: #27ae60; }

/* Requirements checklist */
.cp-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin-top: 8px;
}

.cp-req-item {
    font-size: 0.74em;
    color: var(--color-text-muted, #6b6b6b);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.cp-req-item .cp-req-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: var(--color-border, #e8e4de);
}

.cp-req-item.met {
    color: #27ae60;
}

.cp-req-item.met .cp-req-icon {
    background: #27ae60;
    color: #fff;
}

/* Buttons */
.cp-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.cp-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    border: none;
}

.cp-btn-primary {
    background: var(--color-primary, #2c3e2d);
    color: #fff;
}

.cp-btn-primary:hover {
    background: var(--color-primary-light, #3d5a3f);
    box-shadow: 0 4px 16px rgba(44, 62, 45, 0.25);
}

.cp-btn-primary:active {
    transform: scale(0.98);
}

.cp-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cp-btn-secondary {
    background: transparent;
    color: var(--color-text-muted, #6b6b6b);
    border: 1.5px solid var(--color-border, #e8e4de);
}

.cp-btn-secondary:hover {
    border-color: var(--color-text-muted, #6b6b6b);
    color: var(--color-text, #2d2d2d);
}

/* Nav change password button */
.btn-change-pw {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.78em;
    font-weight: 500;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-change-pw:hover {
    color: #fff;
    border-color: rgba(182, 141, 64, 0.5);
    background: rgba(182, 141, 64, 0.1);
}

.btn-change-pw svg {
    opacity: 0.75;
    flex-shrink: 0;
}

/* ===== Form Select ===== */
.form-group select {
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95em;
    background: var(--color-cream);
    color: var(--color-text);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 45, 0.08);
    background: var(--color-white);
}

/* ===== Product Category Badge ===== */
.product-category-badge {
    display: inline-block;
    font-size: 0.71em;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.badge-flower      { background: rgba(39, 174, 96, 0.1);  color: #1a7a45;                   border: 1px solid rgba(39, 174, 96, 0.25); }
.badge-arrangement { background: rgba(182, 141, 64, 0.1); color: var(--color-accent-dark);   border: 1px solid rgba(182, 141, 64, 0.3); }
.badge-gift        { background: rgba(192, 57, 43, 0.08); color: #a93226;                    border: 1px solid rgba(192, 57, 43, 0.2);  }
.badge-bundle      { background: rgba(212, 175, 55, 0.15); color: #7a5c00;                   border: 1px solid rgba(212, 175, 55, 0.45); }

/* ===== Admin Category Badge ===== */
/* ===== Admin Product Filter Bar ===== */
.admin-product-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.admin-pf-btn {
    padding: 5px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-cream);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.admin-pf-btn:hover  { border-color: var(--color-accent); color: var(--color-text); }
.admin-pf-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }

/* ===== Admin Order Enhancements ===== */
.order-payment-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.2px;
}
.pay-status-paid {
    background: rgba(39, 174, 96, 0.12);
    color: #1a7a40;
    border: 1px solid rgba(39, 174, 96, 0.25);
}
.pay-status-pending {
    background: rgba(230, 126, 34, 0.10);
    color: #b35c00;
    border: 1px solid rgba(230, 126, 34, 0.25);
}

.order-pay-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 600;
    background: rgba(44, 62, 45, 0.08);
    color: var(--color-primary);
    margin-left: 6px;
    vertical-align: middle;
}

.order-discount-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 600;
    background: rgba(182, 141, 64, 0.12);
    color: var(--color-accent-dark);
    margin-left: 6px;
    vertical-align: middle;
}

.order-delivery-row {
    padding: 8px 18px 10px;
    font-size: 0.84em;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border-light);
    background: var(--color-cream);
}

.order-delivery-label {
    font-weight: 600;
    color: var(--color-text);
    margin-right: 4px;
}

.order-custom-chips {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    vertical-align: middle;
    margin-left: 6px;
}

.order-custom-chip-sm {
    background: rgba(182, 141, 64, 0.1);
    border: 1px solid rgba(182, 141, 64, 0.2);
    border-radius: 8px;
    padding: 1px 7px;
    font-size: 0.78em;
    font-weight: 500;
    color: var(--color-accent-dark);
}

/* ===== Admin Category Badge (existing — below) ===== */
.admin-cat-badge {
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.admin-cat-flower      { background: rgba(39, 174, 96, 0.12);  color: #1a7a45; }
.admin-cat-arrangement { background: rgba(182, 141, 64, 0.12); color: var(--color-accent-dark); }
.admin-cat-gift        { background: rgba(192, 57, 43, 0.08);  color: #a93226; }

.admin-product-sold-out { opacity: 0.6; }

/* ===== Availability Toggle ===== */
.availability-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.25s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}
.toggle-switch input:checked + .toggle-slider { background: #2ecc71; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.avail-label { font-size: 0.9em; font-weight: 600; }
.avail-in-stock  { color: #1a7a40; }
.avail-sold-out  { color: #c0392b; }

/* ===== Products Search Bar ===== */
.products-search-wrap {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 0 auto 24px;
}

.products-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.products-search-input {
    width: 100%;
    padding: 13px 44px 13px 46px;
    border: 1.5px solid var(--color-border-light);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95em;
    color: var(--color-text);
    background: var(--color-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.products-search-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(200,164,58,0.15);
}

.products-search-input::placeholder { color: var(--color-text-muted); }

.products-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 0.85em;
    padding: 4px 6px;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.products-search-clear:hover { background: #f3f4f6; color: var(--color-text); }

/* ===== Admin Search Bar ===== */
.admin-search-wrap {
    position: relative;
    margin-bottom: 10px;
}

.admin-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.admin-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88em;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-search-input:focus {
    border-color: #6b7280;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107,114,128,0.1);
}

.admin-search-input::placeholder { color: #9ca3af; }

/* ===== Category Filter Bar (Products Page) ===== */
.category-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1.5px solid var(--color-border);
    border-radius: 30px;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.88em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cat-filter-btn:hover  { border-color: var(--color-accent); color: var(--color-text); }
.cat-filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); font-weight: 600; }

.cat-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 11px;
    font-size: 0.76em;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
}

.cat-filter-btn.active .cat-filter-count { background: rgba(255, 255, 255, 0.25); }

/* Bundle tab accent */
.cat-filter-bundle { border-color: #D4AF37; color: #9a7a1a; }
.cat-filter-bundle.active { background: linear-gradient(135deg,#D4AF37,#b8922a); border-color: #D4AF37; color: #fff; }

/* ===== Sub-filter bars (Occasion + Recipient) ===== */
.category-filter-bar { margin-bottom: 12px; }

.sub-filters-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.sub-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.sub-filter-label {
    font-size: 0.78em;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    width: 90px;
    flex-shrink: 0;
    text-align: right;
}
.sub-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.sub-filter-btn {
    padding: 6px 14px;
    border: 1.5px solid var(--color-border-light);
    border-radius: 20px;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.sub-filter-btn:hover  { border-color: var(--color-accent); color: var(--color-text); }
.sub-filter-btn.active { background: #6B4E11; border-color: #6B4E11; color: #fff; font-weight: 600; }

/* Occasion & recipient tags on product cards */
.product-tags { display: flex; gap: 5px; flex-wrap: wrap; margin: 6px 0 2px; }
.product-tag {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: capitalize;
}
.tag-occasion  { background: rgba(212,175,55,0.12); color: #8a6a10; border: 1px solid rgba(212,175,55,0.3); }
.tag-recipient { background: rgba(107,78,17,0.08);   color: #6B4E11;  border: 1px solid rgba(107,78,17,0.2); }

/* ===== Free Shipping Bar ===== */
.free-shipping-bar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.free-shipping-bar.qualified { background: #dcfce7; border-color: #86efac; }
.free-shipping-inner { display: flex; flex-direction: column; gap: 8px; }
.free-shipping-text { font-size: 0.85em; color: #166534; }
.free-shipping-text strong { color: #15803d; }
.free-shipping-track {
    height: 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: hidden;
}
.free-shipping-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* Free delivery tag in checkout summary */
.checkout-summary-freeship .freeship-tag {
    font-size: 0.78em;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    border: 1px solid #86efac;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ===== Custom Order Builder ===== */
.builder-section {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 80px;
}

.builder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.builder-col {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 12px var(--color-shadow);
    overflow: hidden;
}

.builder-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border-light);
    background: var(--color-cream);
}

.builder-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.82em;
    font-weight: 700;
    flex-shrink: 0;
}

.builder-step.optional { background: var(--color-border); color: var(--color-text-muted); }

.builder-col-header h3 {
    font-family: var(--font-display);
    font-size: 1em;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.optional-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7em;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: 1px;
}

.builder-options {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.builder-options::-webkit-scrollbar       { width: 4px; }
.builder-options::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.builder-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s ease;
    background: var(--color-cream);
    gap: 8px;
}

.builder-option:hover   { border-color: var(--color-accent); background: #fdf9f3; }
.builder-option.selected {
    border-color: var(--color-primary);
    background: rgba(44, 62, 45, 0.05);
    box-shadow: 0 0 0 2px rgba(44, 62, 45, 0.08);
}
.builder-option-none { border-style: dashed; }

.builder-option-name {
    font-size: 0.88em;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
}

.builder-option-price {
    font-size: 0.86em;
    font-weight: 600;
    color: var(--color-accent-dark);
    font-family: var(--font-display);
    white-space: nowrap;
    flex-shrink: 0;
}

.builder-option.selected .builder-option-name { color: var(--color-primary); font-weight: 600; }

/* ===== Builder Summary ===== */
.builder-summary {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 24px var(--color-shadow-strong);
    padding: 24px 32px;
    animation: fadeIn 0.3s ease;
}

.builder-summary-title {
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.builder-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.builder-summary-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 24px;
    font-size: 0.84em;
    font-weight: 500;
}

.tag-arrangement { background: rgba(182, 141, 64, 0.1); color: var(--color-accent-dark); border: 1px solid rgba(182, 141, 64, 0.3); }
.tag-flower      { background: rgba(39, 174, 96, 0.1);  color: #1a7a45;                  border: 1px solid rgba(39, 174, 96, 0.25);  }
.tag-gift        { background: rgba(192, 57, 43, 0.08); color: #a93226;                  border: 1px solid rgba(192, 57, 43, 0.2);   }

.builder-summary-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.builder-total-label { font-size: 0.82em; color: var(--color-text-muted); margin-bottom: 2px; }

.builder-total-price {
    font-family: var(--font-display);
    font-size: 1.7em;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.builder-add-btn { width: auto !important; padding: 13px 36px !important; }

/* ===== Cart Custom Order Detail ===== */
.cart-custom-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.cart-custom-chip {
    background: rgba(182, 141, 64, 0.1);
    border: 1px solid rgba(182, 141, 64, 0.2);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.78em;
    font-weight: 500;
    color: var(--color-accent-dark);
}

/* ===== Product Ribbon Badge ===== */
.product-img-wrap {
    position: relative;
    overflow: hidden;
}

.product-ribbon {
    position: absolute;
    top: 14px;
    left: -1px;
    z-index: 2;
    padding: 5px 12px 5px 10px;
    font-size: 0.68em;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.ribbon-new        { background: #27ae60; }
.ribbon-bestseller { background: var(--color-accent, #b68d40); }
.ribbon-hotpick    { background: #e74c3c; }
.ribbon-sale       { background: #e67e22; }
.ribbon-bundle     { background: #D4AF37; color: #fff; }

/* ===== Reviews ===== */
.reviews-section-wrap { padding-bottom: 20px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

/* Skeleton loading state */
.reviews-loading { display: contents; }
.review-skeleton {
    height: 160px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: var(--radius-lg);
}
@keyframes skeleton-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--color-text-muted);
    font-size: 0.95em;
}

/* Review card */
.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 14px var(--color-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 6px 28px var(--color-shadow-strong); }

.review-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-card-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A1005, #3D2E10);
    color: #D4AF37;
    font-weight: 700;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-card-meta { display: flex; flex-direction: column; gap: 1px; }
.review-card-name { font-weight: 600; font-size: 0.9em; color: var(--color-text); }
.review-card-date { font-size: 0.75em; color: var(--color-text-muted); }

/* =====================================================
   ORDER TRACKER — User-facing orders page
   ===================================================== */

/* Page hero */
.orders-hero {
    background: linear-gradient(135deg, #1A1005 0%, #3D2E10 55%, #2A1E08 100%);
    padding: 60px 20px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.orders-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(255,255,255,0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(212,175,55,0.08) 0%, transparent 45%);
    pointer-events: none;
}
.orders-hero-inner { position: relative; z-index: 1; }
.orders-page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.orders-page-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.orders-page-main { max-width: 760px; margin: 0 auto; padding: 36px 20px 80px; }

/* Auth gate */
.orders-auth-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 64px 20px;
    text-align: center;
}
.orders-auth-icon { font-size: 3.5rem; line-height: 1; }
.orders-auth-gate h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-text); margin: 0; }
.orders-auth-gate p  { color: var(--color-text-muted); margin: 0 0 4px; }

/* Guest order lookup */
.orders-guest-lookup { padding: 20px 0 40px; }
.guest-lookup-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 32px;
    background: var(--color-bg-card, #fff);
    border-radius: 16px;
    border: 1px solid var(--color-border, #ede8e0);
}
.guest-lookup-box h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-text); margin: 0; }
.guest-lookup-box p  { color: var(--color-text-muted); margin: 0; }
.guest-lookup-form { display: flex; gap: 10px; width: 100%; }
.guest-lookup-input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid var(--color-border, #ddd);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    outline: none;
    transition: border-color 0.2s;
}
.guest-lookup-input:focus { border-color: var(--color-accent, #2c3e2d); }
.guest-lookup-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.82em;
}
.guest-lookup-divider::before,
.guest-lookup-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border, #eee); }
.lookup-msg { color: var(--color-text-muted); font-size: 0.9em; margin: 4px 0 0; }
.lookup-error { color: #c0392b; }
.guest-order-result { width: 100%; text-align: left; margin-top: 8px; }

/* Guest order ID in success modal */
.guest-order-id-box {
    background: #faf8f5;
    border: 1px dashed #c8a43a;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 12px 0 4px;
    text-align: center;
}
.guest-order-id-label { font-size: 0.85em; color: var(--color-text-muted); margin: 0 0 8px; }
.guest-order-id-code {
    display: block;
    font-family: monospace;
    font-size: 0.9em;
    background: #fff;
    border: 1px solid #e0d5c0;
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--color-text);
    word-break: break-all;
    user-select: all;
}

/* Loading skeletons */
.orders-loading-state { padding: 20px 0; }
.orders-skeleton {
    height: 210px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 20px;
    margin-bottom: 16px;
}
@keyframes skeleton-shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* Filter tabs */
.orders-filter-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    padding: 4px;
    background: #f1f3f5;
    border-radius: 14px;
}
.orders-filter-tab {
    flex: 1;
    padding: 9px 14px;
    border: none;
    border-radius: 11px;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    font-family: var(--font-body);
}
.orders-filter-tab:hover { background: rgba(255,255,255,0.75); color: var(--color-text); }
.orders-filter-tab.filter-tab-active {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
.filter-tab-count {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
    background: #9ca3af;
    color: #fff;
    transition: background 0.18s;
}
.orders-filter-tab.filter-tab-active .filter-tab-count { background: var(--color-primary); }

.orders-container { display: flex; flex-direction: column; gap: 20px; }

/* Empty state */
.orders-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 72px 20px;
    text-align: center;
}
.orders-empty-icon { font-size: 4rem; line-height: 1; margin-bottom: 16px; }
.orders-empty-state h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-text); margin: 0; }
.orders-empty-state p  { color: var(--color-text-muted); margin: 0 0 6px; }

/* ---- Individual order tracking card ---- */
.order-track-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eaedf0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s, transform 0.22s;
}
.order-track-card:hover {
    box-shadow: 0 10px 36px rgba(0,0,0,0.13);
    transform: translateY(-2px);
}
.order-track-delivered { border-color: #bbf7d0; }

/* Colored status banner at the top of each card */
.order-status-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.order-status-icon { font-size: 1.6em; line-height: 1; flex-shrink: 0; }
.order-status-text { display: flex; flex-direction: column; gap: 2px; }
.order-status-name {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.order-status-desc {
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.85;
    text-transform: none;
    letter-spacing: 0;
}
.status-banner-pending          { background: #f4f5f7; color: #374151; }
.status-banner-confirmed        { background: #eff6ff; color: #1e3a8a; }
.status-banner-preparing        { background: #fffbeb; color: #78350f; }
.status-banner-out_for_delivery { background: #fff7ed; color: #7c2d12; }
.status-banner-delivered        { background: #f0fdf4; color: #14532d; }

/* Padded body section (header + stepper) — override any earlier .order-card-body flex rule */
.order-card-body { display: block; padding: 20px 22px 0; }

/* Header row */
.order-track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}
.order-track-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.order-num-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-track-id {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.01em;
}
.order-item-count {
    background: #f1f3f5;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.order-track-date { font-size: 0.83rem; color: var(--color-text-muted); font-weight: 400; }
.order-track-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.order-track-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.order-track-total-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: right;
}

/* ---- Progress stepper ---- */
.order-track-stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.order-track-stepper::-webkit-scrollbar { display: none; }

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 64px;
}
.tracker-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25em;
    border: 2.5px solid transparent;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: box-shadow 0.3s;
}
.tracker-label {
    font-size: 0.72em;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
    max-width: 76px;
}
.tracker-line {
    position: absolute;
    top: 21px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 3px;
    border-radius: 2px;
    background: #e5e7eb;
    z-index: 0;
    transition: background 0.4s;
}
.tracker-line.line-done { background: linear-gradient(90deg, #22c55e, #4ade80); }

/* Step states */
.step-done .tracker-dot {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    border-color: #22c55e;
    box-shadow: 0 3px 10px rgba(34,197,94,0.30);
}
.step-done .tracker-label { color: #16a34a; }

.step-active .tracker-dot {
    background: linear-gradient(135deg, #6B4E11 0%, #8B6508 100%);
    border-color: #6B4E11;
    box-shadow: 0 4px 14px rgba(107,78,17,0.40);
    animation: tracker-pulse 2s ease-in-out infinite;
}
.step-active .tracker-label { color: var(--color-primary); font-weight: 700; }

.step-future .tracker-dot {
    background: #f3f4f6;
    border-color: #e5e7eb;
    opacity: 0.6;
}
.step-future .tracker-label { color: #9ca3af; }

@keyframes tracker-pulse {
    0%,100% { box-shadow: 0 4px 14px rgba(107,78,17,0.40), 0 0 0 0 rgba(107,78,17,0.20); }
    50%      { box-shadow: 0 4px 14px rgba(107,78,17,0.40), 0 0 0 8px rgba(107,78,17,0.00); }
}

/* Details footer (items + delivery info) */
.order-track-details {
    border-top: 1px solid #eef0f3;
    padding: 16px 22px 20px;
    background: #fafbfc;
}
.order-details-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}
.order-track-items { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.order-item-pill {
    background: #fff;
    border: 1.5px solid #dde1e6;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 0.8em;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.order-track-divider {
    height: 1px;
    background: #eef0f3;
    margin: 12px 0;
}
.order-track-info { display: flex; flex-direction: column; gap: 6px; }
.track-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83em;
    color: var(--color-text-muted);
    line-height: 1.4;
}
.track-info-icon { flex-shrink: 0; opacity: 0.6; }

/* Archive action button (on delivered cards) */
.order-archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.15s;
}
.order-archive-btn:hover { border-color: #9ca3af; color: var(--color-text); background: #f9fafb; }

/* Archived badge shown in status banner */
.order-archived-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.07);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: auto;
}

/* Archived card visual treatment */
.order-track-card.order-archived { opacity: 0.72; }
.order-track-card.order-archived:hover { opacity: 0.88; transform: none; box-shadow: 0 4px 18px rgba(0,0,0,0.07); }

/* =====================================================
   ADMIN — Status badges & controls
   ===================================================== */
.badge-confirmed    { background: #e0f2fe; color: #0369a1; }
.badge-preparing    { background: #fef9c3; color: #854d0e; }
.badge-out-delivery { background: #ffedd5; color: #9a3412; }
.badge-delivered    { background: #dcfce7; color: #15803d; }

/* Admin mini stepper */
.admin-order-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0 14px;
    overflow-x: auto;
}
.mini-step {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid;
    flex-shrink: 0;
}
.mini-line       { flex: 1; height: 2px; background: #e5e7eb; min-width: 20px; }
.mini-line-done  { background: #22c55e; }
.mini-done       { background: #22c55e; border-color: #22c55e; }
.mini-active     { background: var(--color-primary); border-color: var(--color-primary); }
.mini-future     { background: #f9fafb; border-color: #d1d5db; }

/* Admin status action buttons */
.admin-status-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    margin-top: 8px;
}
.admin-status-btn {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid;
    background: #fff;
    transition: all 0.15s;
}
.btn-advance {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.btn-advance:hover { opacity: 0.88; }
.btn-force-complete {
    background: #fff;
    border-color: #ef4444;
    color: #ef4444;
    margin-left: auto;
}
.btn-force-complete:hover { background: #fef2f2; }
.btn-whatsapp-pay {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-whatsapp-pay:hover { background: #1ebe5a; border-color: #1ebe5a; opacity: 1; }
.order-delivered-tag {
    font-size: 0.82em;
    font-weight: 700;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* History archived tag */
.history-archived-tag {
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 7px;
}

/* History card subtle treatment */
.order-history-card {
    opacity: 0.88;
}

/* Admin card status colouring */
.order-status-delivered,
.order-status-completed  { border-left: 4px solid #22c55e; }
.order-status-out_for_delivery { border-left: 4px solid #f97316; }
.order-status-preparing  { border-left: 4px solid #eab308; }
.order-status-confirmed  { border-left: 4px solid #3b82f6; }
.order-status-pending    { border-left: 4px solid #9ca3af; }

/* My Orders nav item (desktop dropdown) */
.profile-dropdown-item[href*="orders"] { text-decoration: none; }

/* Mobile "My Orders" icon button */
.nav-orders-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26,42,27,0.08);
    color: var(--color-primary);
    border: none;
    flex-shrink: 0;
}
.nav-orders-mobile-btn:hover { background: rgba(26,42,27,0.15); }

.rv-stars { display: inline-flex; gap: 2px; align-items: center; }
.rv-star { fill: #e0e0e0; stroke: none; flex-shrink: 0; }
.rv-star.filled { fill: #D4AF37; }

.review-card-text {
    font-size: 0.88em;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

/* Write a Review CTA */
.reviews-write-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 44px 32px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 20px var(--color-shadow);
}
.reviews-write-cta p { color: var(--color-text-muted); font-size: 0.95em; margin: 0; }
.reviews-write-cta .button {
    background: linear-gradient(135deg, #C8A43A 0%, #D4B84A 100%);
    color: #2C1A05;
    width: auto;
    padding: 14px 44px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-size: 0.8em;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(200, 164, 58, 0.28);
}
.reviews-write-cta .button:hover {
    background: linear-gradient(135deg, #D4B84A 0%, #E8C960 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 164, 58, 0.42);
}

/* ── Review submission modal ── */
.rv-review-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(13, 21, 8, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.rv-review-overlay.active { opacity: 1; pointer-events: all; }

.rv-review-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
}
.rv-review-overlay.active .rv-review-modal { transform: translateY(0) scale(1); }

.rv-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--color-border-light);
}
.rv-review-header h3 { font-family: var(--font-display); font-size: 1.25em; margin: 0; }
.rv-review-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted);
    transition: background 0.15s;
}
.rv-review-close:hover { background: var(--color-cream); }

.rv-review-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.rv-review-subtitle { margin: 0; color: var(--color-text-muted); font-size: 0.9em; }

/* Star picker */
.rv-star-picker {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rv-star-pick-btn {
    width: 40px; height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #e0e0e0;
    transition: transform 0.1s, color 0.15s;
    display: flex; align-items: center; justify-content: center;
}
.rv-star-pick-btn svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.rv-star-pick-btn:hover, .rv-star-pick-btn.selected { color: #D4AF37; }
.rv-star-pick-btn:active { transform: scale(0.88); }

.rv-rating-label { font-size: 0.82em; font-weight: 600; color: #D4AF37; min-width: 60px; }
.rv-char-count { font-size: 0.75em; color: var(--color-text-muted); text-align: right; margin-top: 4px; display: block; }

.rv-review-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    color: #dc2626;
    font-size: 0.85em;
}

.rv-review-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--color-border-light);
    justify-content: flex-end;
}

/* Success toast */
.rv-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #3D2E10;
    color: #D4B84A;
    font-weight: 600;
    font-size: 0.9em;
    padding: 12px 24px;
    border-radius: 100px;
    z-index: 600;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.rv-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Admin review list ── */
.admin-reviews-list { display: flex; flex-direction: column; gap: 12px; }

.admin-review-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: 0 1px 6px var(--color-shadow);
}
/* ===== Stripe Payment Modal ===== */
.stripe-modal-wide {
    max-width: 480px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.stripe-modal-header {
    background: var(--color-primary, #2c3e2d);
    padding: 20px 24px 18px;
    color: #fff;
}

.stripe-modal-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stripe-modal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.stripe-modal-close {
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.stripe-modal-close:hover { background: rgba(255,255,255,0.22); color: #fff; }

.stripe-modal-amount-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.stripe-modal-amount-label {
    font-size: 0.78em;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.stripe-modal-amount {
    font-family: var(--font-display);
    font-size: 1.85em;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.stripe-modal-card-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}
.stripe-modal-card-icons img {
    height: 20px;
    border-radius: 3px;
    background: #fff;
    padding: 1px 5px;
}

.stripe-modal-body {
    padding: 24px 24px 4px;
    overflow-y: auto;
    flex: 1;
}

.stripe-error-msg {
    color: #c0392b;
    font-size: 0.88em;
    min-height: 18px;
    margin: 10px 0 0;
}

.stripe-modal-footer {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--color-border-light, #f0ede8);
    margin-top: 12px;
}

.stripe-pay-button {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
}

.stripe-secure-note {
    text-align: center;
    font-size: 0.76em;
    color: #bbb;
    margin: 0;
}

/* ===== Checkout Page (single-page layout) ===== */
.checkout-page-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.checkout-page-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-sidebar-sticky {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-block {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px var(--color-shadow);
    border: 1px solid var(--color-border-light);
    padding: 20px 24px;
}

.checkout-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-light);
}

/* ===== Product Cards — Clickable ===== */
.product { cursor: pointer; }
.product .product-img-wrap,
.product .product-body { pointer-events: none; }
.product .button,
.product .wishlist-btn { pointer-events: auto; cursor: pointer; }

/* ===== Product Detail Page ===== */
.pd-breadcrumb {
    padding: 18px 40px;
    font-size: 0.82em;
    color: var(--color-text-muted);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pd-breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--color-accent); }
.pd-breadcrumb-sep { opacity: 0.4; }
.pd-breadcrumb span:last-child { color: var(--color-text); font-weight: 500; }

.pd-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* Loading skeleton */
.pd-loading-state {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.pd-loading-img {
    aspect-ratio: 4/5;
    background: var(--color-border-light);
    border-radius: 12px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}
.pd-loading-info { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.pd-skeleton {
    border-radius: 6px;
    background: var(--color-border-light);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}
.pd-skeleton-badge  { height: 24px; width: 80px; }
.pd-skeleton-title  { height: 36px; width: 85%; }
.pd-skeleton-price  { height: 28px; width: 40%; }
.pd-skeleton-text   { height: 16px; }
.pd-skeleton-text.short { width: 65%; }
.pd-skeleton-btn    { height: 48px; width: 180px; margin-top: 8px; }
@keyframes skeletonPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* Two-column layout */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Gallery */
.pd-gallery { position: sticky; top: 90px; }

.pd-main-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-cream);
    aspect-ratio: 4/5;
}
.pd-main-img-wrap .product-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}
.pd-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: var(--color-cream);
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--color-accent); }

/* Info panel */
.pd-info { padding-top: 8px; }

.pd-info-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pd-name {
    font-family: var(--font-display);
    font-size: 2em;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin: 0 0 14px;
}

.pd-price {
    font-size: 1.55em;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.pd-desc {
    font-size: 0.95em;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 0 0 24px;
}

.pd-divider {
    border: none;
    border-top: 1px solid var(--color-border-light);
    margin: 0 0 24px;
}

/* Action buttons */
.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pd-add-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 0.98em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 24px;
    background: #25D366;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92em;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.pd-wa-btn:hover { background: #1DAA58; transform: translateY(-1px); }

/* Guarantee strip */
.pd-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-guarantee-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.83em;
    color: var(--color-text-muted);
}
.pd-guarantee-item svg { color: var(--color-accent); flex-shrink: 0; }

/* Cart reveal */
.pd-cart-reveal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}
.pd-cart-reveal-inner {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 36px;
}
.pd-cart-reveal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 24px;
}
.pd-cart-reveal-header svg { color: #4CAF50; flex-shrink: 0; }

.pd-cart-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.pd-cart-row:last-child { border-bottom: none; }
.pd-cart-row img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.pd-cart-row-info { flex: 1; }
.pd-cart-row-name { display: block; font-weight: 600; font-size: 0.9em; color: var(--color-text); }
.pd-cart-row-qty  { display: block; font-size: 0.8em; color: var(--color-text-muted); margin-top: 2px; }
.pd-cart-row-price { font-weight: 700; color: var(--color-primary); font-size: 0.92em; white-space: nowrap; }

.pd-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 6px;
    font-size: 1em;
    color: var(--color-text);
    border-top: 2px solid var(--color-border);
    margin-top: 8px;
}
.pd-cart-total strong { font-size: 1.2em; color: var(--color-primary); }

.pd-cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pd-checkout-btn { flex: 1; min-width: 180px; text-align: center; }
.pd-continue-btn { white-space: nowrap; }

/* Not found */
.pd-not-found {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-muted);
}
.pd-not-found p { margin-bottom: 24px; font-size: 1.05em; }

.checkout-block-title svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Override modal-specific form styles for inline checkout */
.checkout-block .checkout-form {
    overflow-y: visible;
    padding: 0;
    max-height: none;
}

.checkout-block .cart-items-container {
    margin-bottom: 0;
}

.checkout-btn {
    padding: 14px;
    font-size: 1em;
    letter-spacing: 1px;
}
.stripe-secure-note strong { color: #999; }

/* ===== Stripe Payment Info in Checkout Form ===== */
.stripe-payment-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #faf8f5;
    border: 1px solid var(--color-border, #e0ddd8);
    border-radius: 10px;
    gap: 12px;
}

.stripe-payment-info-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--color-text, #1a1a1a);
}
.stripe-payment-info-left svg { color: var(--color-primary, #2c3e2d); flex-shrink: 0; }

.stripe-card-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.stripe-card-icons img { height: 20px; border-radius: 3px; }

.stripe-payment-hint {
    font-size: 0.8em;
    color: var(--color-text-muted, #888);
    margin: 7px 0 0;
}

.admin-review-left { flex-shrink: 0; }
.admin-review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A1005, #3D2E10);
    color: #D4AF37;
    font-weight: 700;
    font-size: 1em;
    display: flex; align-items: center; justify-content: center;
}
.admin-review-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.admin-review-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-review-name { font-weight: 600; font-size: 0.9em; }
.admin-review-date { font-size: 0.78em; color: var(--color-text-muted); }
.admin-review-badge { font-size: 0.65em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; }
.admin-review-text { font-size: 0.88em; color: var(--color-text-muted); line-height: 1.6; margin: 0; }
.admin-review-delete {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.admin-review-delete:hover { background: #fee2e2; }

/* ===== Testimonials ===== */
.testimonials-section {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 70px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    box-shadow: 0 2px 16px var(--color-shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px var(--color-shadow-strong);
}

.testimonial-stars {
    color: #f0ad4e;
    font-size: 1em;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 0.9em;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.88em;
    color: var(--color-primary);
}

.testimonial-date {
    font-size: 0.78em;
    color: var(--color-text-light);
}

/* ===== FAQ Accordion ===== */
.faq-section {
    width: 90%;
    max-width: 820px;
    margin: 0 auto 70px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.faq-item[open] {
    box-shadow: 0 4px 24px var(--color-shadow);
    border-color: rgba(200, 164, 58, 0.35);
    border-left-color: var(--color-accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    font-weight: 600;
    font-size: 0.95em;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    gap: 12px;
    transition: color 0.18s ease;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '+';
    font-size: 1.3em;
    font-weight: 300;
    color: var(--color-accent);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-question {
    color: var(--color-accent);
}

.faq-item[open] .faq-question::after {
    content: '−';
    color: var(--color-accent);
}

.faq-answer {
    padding: 0 22px 20px;
    font-size: 0.9em;
    line-height: 1.8;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border-light);
    margin-top: 0;
}

/* ===== Editorial Shared ===== */
.editorial-label {
    display: block;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* ===== Editorial Reviews ===== */
.editorial-reviews {
    background: #1A1005;
    padding: 80px 40px;
}

.editorial-reviews-inner {
    max-width: 900px;
    margin: 0 auto;
}

.editorial-reviews-header {
    text-align: center;
    margin-bottom: 52px;
}

.editorial-reviews-header h2 {
    font-family: var(--font-display);
    font-size: 2.2em;
    color: #F3E9D2;
    font-weight: 600;
    margin-bottom: 18px;
}

.editorial-gold-line {
    width: 48px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto;
    opacity: 0.7;
}

/* Dark bg overrides for review cards */
.editorial-reviews .reviews-grid { gap: 20px; }
.editorial-reviews .review-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(200,164,58,0.18);
}
.editorial-reviews .review-card-name { color: #F3E9D2; }
.editorial-reviews .review-card-date { color: rgba(200,164,58,0.6); }
.editorial-reviews .review-card-text { color: rgba(243,233,210,0.75); }
.editorial-reviews .reviews-empty {
    color: rgba(243,233,210,0.5);
    font-style: italic;
    text-align: center;
    padding: 32px 0;
    font-size: 0.95em;
}

.editorial-reviews-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 52px;
    justify-content: center;
}

.editorial-cta-rule {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: rgba(200,164,58,0.25);
    display: block;
}

.editorial-cta-btn {
    background: none;
    border: 1px solid rgba(200,164,58,0.5);
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.editorial-cta-btn:hover {
    background: var(--color-accent);
    color: #1A1005;
    border-color: var(--color-accent);
}

/* ===== Editorial FAQ ===== */
.editorial-faq {
    background: var(--color-cream);
    padding: 80px 40px;
}

.editorial-faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.editorial-faq-header {
    margin-bottom: 48px;
}

.editorial-faq-header h2 {
    font-family: var(--font-display);
    font-size: 2.2em;
    color: var(--color-text);
    font-weight: 600;
}

.editorial-faq-list {
    display: flex;
    flex-direction: column;
}

.editorial-faq-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.editorial-faq-item:first-child { border-top: 1px solid var(--color-border); }

.editorial-faq-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    cursor: pointer;
    user-select: none;
}

.editorial-faq-q:hover .editorial-faq-num { color: var(--color-primary); }

.editorial-faq-num {
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-accent);
    flex-shrink: 0;
    line-height: 1;
}

.editorial-faq-q p {
    font-weight: 600;
    font-size: 0.92em;
    color: var(--color-text);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.editorial-faq-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: var(--color-accent);
    transition: transform 0.3s ease, background 0.2s;
    line-height: 1;
}

.editorial-faq-item.open .editorial-faq-toggle {
    transform: rotate(45deg);
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.editorial-faq-a {
    font-size: 0.88em;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-bottom: 0;
}

.editorial-faq-item.open .editorial-faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

/* ===== Editorial About ===== */
.editorial-about {
    display: flex;
    min-height: 440px;
}

.editorial-about-panel {
    flex: 1;
    padding: 72px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-about-left {
    background: #1A1005;
}

.editorial-about-right {
    background: #2C1A05;
    gap: 0;
}

.editorial-about-left h2 {
    font-family: var(--font-display);
    font-size: 2.1em;
    color: #F3E9D2;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.editorial-about-left > p {
    font-size: 0.9em;
    color: rgba(243,233,210,0.65);
    line-height: 1.85;
    margin-bottom: 32px;
}

.editorial-about-link {
    color: var(--color-accent);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(200,164,58,0.35);
    padding-bottom: 3px;
    width: fit-content;
    transition: opacity 0.2s ease;
}

.editorial-about-link:hover { opacity: 0.7; }

.editorial-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(200,164,58,0.12);
}

.editorial-feature:first-child { padding-top: 0; }
.editorial-feature:last-child { border-bottom: none; padding-bottom: 0; }

.editorial-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(200,164,58,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.editorial-feature h3 {
    font-family: var(--font-display);
    font-size: 1em;
    font-weight: 600;
    color: #F3E9D2;
    margin-bottom: 6px;
}

.editorial-feature p {
    font-size: 0.83em;
    color: rgba(243,233,210,0.58);
    line-height: 1.65;
    margin: 0;
}

/* ===== Email Signup Popup ===== */
.email-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 42, 27, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.email-popup-box {
    background: var(--color-white);
    border-radius: var(--radius-xl, 24px);
    padding: 44px 40px 36px;
    max-width: 440px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.email-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    /* minimum 44×44px touch target */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    touch-action: manipulation;
}

.email-popup-close:hover { background: var(--color-cream); }

.email-popup-icon {
    font-size: 2.8em;
    margin-bottom: 12px;
}

.email-popup-title {
    font-family: var(--font-display);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.email-popup-sub {
    font-size: 0.9em;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.email-popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-popup-input {
    padding: 13px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95em;
    background: var(--color-cream);
    color: var(--color-text);
    transition: border-color 0.18s;
    text-align: center;
}

.email-popup-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.email-popup-btn {
    width: 100%;
}

.email-popup-skip {
    margin-top: 14px;
    font-size: 0.8em;
    color: var(--color-text-light);
    cursor: pointer;
    text-decoration: underline;
}

.email-popup-skip:hover { color: var(--color-text-muted); }

.email-popup-success {
    text-align: center;
    padding: 10px 0;
}

.discount-code-box {
    display: inline-block;
    background: var(--color-cream);
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-family: monospace;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-accent-dark);
}