@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@400;500;600;700&family=Shrikhand&display=swap');

@font-face {
    font-family: 'Elika Gorica';
    src: url('assets/fonts/elika-gorica.ttf.ttf') format('truetype'),
         url('assets/fonts/elika-gorica.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --clr-bg: #fdf6ee;
    --clr-surface: #ffffff;
    --clr-text: #3a2a2f;
    --clr-muted: #6f5f66;
    --clr-nav-bg: #ffe3ef;
    --clr-nav-text: #7a4e5a;
    --clr-header: #ffffff;
    --clr-footer: #dcd6ff;
    --clr-nav-bg: #ffe3ef;
    --clr-accent: #f2a6c7;
    --clr-accent-soft: #fff1f7;
    --clr-btn: #f2a6c7;
    --clr-btn-hover: #e878ac;
    --clr-purple: #dcd6ff;
    --clr-pink: #ffd8ea;
    --clr-shadow: rgba(87, 55, 64, 0.14);
    --clr-faq-section-bg: #fdf6ee;
    --clr-faq-card-bg: #ffe3ef;
    --clr-faq-answer-bg: #fff1f7;
    --clr-faq-title: #3a2a2f;
    --clr-faq-body: #6f5f66;
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --font-script: 'Pacifico', cursive;
    --header-height: 84px;
    --container-pad: clamp(20px, 4vw, 64px);
    --maxw: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    isolation: isolate;
    position: relative;
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.js-loading > *:not(#page-loader) {
    opacity: 0 !important;
    pointer-events: none !important;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(122, 78, 90, 0.08);
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 48%),
        rgba(255, 229, 239, 0.72);
    color: var(--clr-text);
    cursor: pointer;
    box-shadow:
        0 8px 18px rgba(122, 78, 90, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 229, 239, 1);
    box-shadow:
        0 12px 22px rgba(122, 78, 90, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.main-header > *,
.main-nav > * {
    position: relative;
    z-index: 2;
}

.main-header {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: calc(var(--header-height) + 18px);
    padding: 12px var(--container-pad) 10px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.98), transparent 36%),
        linear-gradient(180deg, #fffdf9 0%, #fff7fb 72%, #f8edf4 100%);
    border-bottom: 1px solid rgba(122, 78, 90, 0.08);
    box-shadow: 0 10px 32px rgba(122, 78, 90, 0.05);
    overflow: hidden;
    isolation: isolate;
    transition: opacity 0.28s ease, transform 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
}

.main-header::before,
.main-header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.32;
    background-repeat: repeat-x;
}

.main-header::before {
    opacity: 0.5;
    background-position: 0 50%;
    background-size: 860px 118px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='860'%20height='118'%20viewBox='0%200%20860%20118'%3E%3Cpath%20d='M0%2072%20C%20120%2028%2C%20220%20104%2C%20342%2064%20C%20482%2018%2C%20552%2048%2C%20672%2064%20C%20772%2078%2C%20808%2028%2C%20860%2050'%20fill='none'%20stroke='%23d8bdd8'%20stroke-opacity='0.5'%20stroke-width='3.5'%20stroke-linecap='round'/%3E%3Cpath%20d='M0%2084%20C%20134%2054%2C%20218%2094%2C%20340%2072%20C%20480%2046%2C%20580%2078%2C%20708%2070%20C%20776%2066%2C%20818%2052%2C%20860%2064'%20fill='none'%20stroke='%23f2a6c7'%20stroke-opacity='0.5'%20stroke-width='3'%20stroke-linecap='round'/%3E%3C/svg%3E");
}

.main-header::after {
    display: none;
    background-position: 0 28%;
    background-size: 560px auto;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='560'%20height='120'%20viewBox='0%200%20560%20120'%3E%3Cpath%20d='M0%2062%20C%2090%2010%2C%20170%20110%2C%20260%2050%20S%20410%2010%2C%20560%2060'%20fill='none'%20stroke='%23f2a6c7'%20stroke-opacity='0.42'%20stroke-width='4'%20stroke-linecap='round'/%3E%3C/svg%3E");
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-center {
    display: flex;
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
    gap: 12px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: min(34vw, 280px);
    flex-direction: row;
    gap: 14px;
    padding: 8px 18px 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(122, 78, 90, 0.08);
    box-shadow:
        0 12px 26px rgba(122, 78, 90, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.22s ease, box-shadow 0.22s ease;
}

.logo-wrapper:hover {
    transform: scale(1.03);
    border-color: rgba(242, 166, 199, 0.35);
    box-shadow:
        0 16px 32px rgba(122, 78, 90, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-wrapper:active {
    transform: scale(0.98);
}

.brand-logo {
    width: min(108px, 18vw);
    min-width: 82px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(122, 78, 90, 0.08));
}

.brand-wordmark-inline {
    text-align: left;
    max-width: 280px;
}

.brand-wordmark {
    position: relative;
    line-height: 1;
    text-align: center;
    transform-origin: center;
    animation: wordmarkIn 720ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
    animation-delay: 120ms;
}

.brand-wordmark-right {
    text-align: right;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: wordmarkInRight 720ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
    animation-delay: 120ms;
}

.brand-wordmark-text {
    display: inline-block;
    font-family: var(--font-script);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: rgba(122, 78, 90, 0.88);
}

.brand-wordmark::after {
    content: '';
    display: none;
}

.brand-wordmark-right::after {
    width: 92%;
    margin: 6px 0 0 auto;
}

@keyframes wordmarkIn {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
        filter: blur(1px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes wordmarkInRight {
    0% {
        opacity: 0;
        transform: translateX(10px) scale(0.985);
        filter: blur(1px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes underlineIn {
    0% {
        opacity: 0;
        transform: scaleX(0.35);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .brand-wordmark,
    .brand-wordmark::after {
        animation: none;
    }

    .hero-decor-blob,
    .hero-decor-yarn,
    .hero-decor-flower,
    .hero-decor-spark {
        animation: none;
    }
}

@media (max-width: 640px) {
    .main-header {
        grid-template-columns: auto 1fr auto;
        padding-inline: 14px;
    }

    .logo-wrapper {
        min-width: 0;
        padding: 6px 10px;
    }

    .brand-logo {
        min-width: 64px;
        width: 72px;
    }

    .brand-wordmark-inline {
        display: none;
    }

    .brand-wordmark::after {
        display: none;
    }

    .social-btn--header-contact .header-wa-label,
    .social-btn--header-insta .header-insta-label {
        display: none;
    }

    .main-nav {
        top: 8px;
        width: calc(100% - 20px);
        border-radius: 22px;
        overflow: visible;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav ul::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        white-space: nowrap;
        min-height: 34px;
        font-size: 0.72rem;
    }
}

/* --- Social buttons (header + footer) --- */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    text-decoration: none;
    color: #4a3439;
    background: #fff;
    border: 1px solid rgba(122, 78, 90, 0.14);
    box-shadow:
        0 10px 22px rgba(87, 55, 64, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.social-btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(87, 55, 64, 0.16);
}

.social-btn--instagram:hover {
    color: #fff;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7);
    border-color: transparent;
}

.social-btn--pinterest:hover {
    color: #fff;
    background: #e60023;
    border-color: transparent;
}

.social-btn--whatsapp:hover {
    color: #fff;
    background: #25d366;
    border-color: transparent;
}

.social-btn--header-contact {
    width: auto;
    min-width: 44px;
    height: 40px;
    padding: 0 14px 0 12px;
    color: #1a6b3c;
    background: linear-gradient(180deg, #eefbf3 0%, #dff5e8 100%);
    border-color: rgba(37, 211, 102, 0.35);
}

.social-btn--header-contact:hover {
    color: #fff;
    background: #25d366;
    border-color: transparent;
}

.social-btn--header-insta {
    width: auto;
    min-width: 44px;
    height: 40px;
    padding: 0 14px 0 12px;
    color: #7228a7;
    background: linear-gradient(180deg, #fff2f9 0%, #ffe6f5 100%);
    border-color: rgba(238, 42, 123, 0.25);
}

.social-btn--header-insta:hover {
    color: #fff;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7);
    border-color: transparent;
}

.header-wa-label,
.header-insta-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-btn--header-contact .social-btn-icon,
.social-btn--header-insta .social-btn-icon {
    width: 20px;
    height: 20px;
}

.main-nav {
    position: sticky;
    top: 10px;
    z-index: 50;
    width: min(980px, calc(100% - 32px));
    margin: 12px auto 0;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 238, 247, 0.92)),
        var(--clr-nav-bg);
    border: 1px solid rgba(122, 78, 90, 0.1);
    box-shadow:
        0 16px 36px rgba(122, 78, 90, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    overflow: visible;
}

.main-nav ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 8px;
    list-style: none;
    overflow: visible;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 clamp(8px, 1.4vw, 18px);
    border-radius: 999px;
    color: var(--clr-nav-text);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.74rem;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        rgba(200, 115, 90, 0.55) 0,
        rgba(200, 115, 90, 0.55) 6px,
        transparent 6px,
        transparent 11px
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #4a3439;
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(122, 78, 90, 0.07);
}

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

@media (max-width: 640px) {
    .main-header {
        grid-template-columns: auto 1fr auto;
        padding-inline: 14px;
    }

    .logo-wrapper {
        min-width: 0;
        padding: 6px 10px;
    }

    .brand-logo {
        min-width: 64px;
        width: 72px;
    }

    .brand-wordmark-inline,
    .social-btn--header-contact .header-wa-label,
    .social-btn--header-insta .header-insta-label {
        display: none;
    }

    .main-nav {
        top: 8px;
        width: calc(100% - 20px);
        border-radius: 22px;
        overflow: visible;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav ul::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        white-space: nowrap;
        min-height: 34px;
        font-size: 0.72rem;
    }
}

main {
    position: relative;
}

/* --- Reference-Inspired Boutique Styles (Sunflower Crochets) --- */
.hero-boutique {
    position: relative;
    background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.85), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.65), transparent 50%),
        linear-gradient(180deg, #ffeaf4 0%, #ffd8ea 100%);
    padding: 36px var(--container-pad) 48px;
    overflow-x: hidden;
    overflow-y: visible;
    isolation: isolate;
}

.hero-boutique::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(242, 166, 199, 0.16) 1px, transparent 0),
        radial-gradient(circle at 13px 13px, rgba(220, 214, 255, 0.12) 1px, transparent 0);
    background-size: 26px 26px, 26px 26px;
    mask-image: radial-gradient(circle at 50% 42%, black 18%, transparent 78%);
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-decor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.55;
    animation: heroDecorFloat 9s ease-in-out infinite;
}

.hero-decor-blob--pink {
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    top: 8%;
    left: 12%;
    background: rgba(255, 184, 213, 0.55);
}

.hero-decor-blob--lavender {
    width: min(34vw, 260px);
    height: min(34vw, 260px);
    top: 18%;
    right: 10%;
    background: rgba(220, 214, 255, 0.62);
    animation-delay: -2.5s;
}

.hero-decor-blob--mint {
    width: min(28vw, 220px);
    height: min(28vw, 220px);
    bottom: 8%;
    left: 38%;
    background: rgba(196, 215, 155, 0.42);
    animation-delay: -4.5s;
}

.hero-decor-yarn {
    position: absolute;
    width: min(28vw, 220px);
    opacity: 0.85;
    animation: heroDecorFloat 11s ease-in-out infinite;
}

.hero-decor-yarn--left {
    left: 4%;
    bottom: 18%;
    transform: rotate(-8deg);
}

.hero-decor-yarn--right {
    right: 4%;
    bottom: 18%;
    transform: rotate(8deg) scaleX(-1);
    animation-delay: -3s;
}

.hero-decor-flower {
    position: absolute;
    width: clamp(42px, 5vw, 68px);
    opacity: 0.72;
    filter: drop-shadow(0 8px 14px rgba(122, 78, 90, 0.08));
    animation: heroDecorFloat 8s ease-in-out infinite;
}

.hero-decor-flower--tl {
    top: 12%;
    left: 6%;
    --hero-rot: -12deg;
}

.hero-decor-flower--tr {
    top: 10%;
    right: 7%;
    --hero-rot: 14deg;
    animation-delay: -1.5s;
}

.hero-decor-flower--bl {
    bottom: 14%;
    left: 8%;
    --hero-rot: 8deg;
    animation-delay: -2.8s;
}

.hero-decor-flower--br {
    bottom: 12%;
    right: 8%;
    --hero-rot: -10deg;
    animation-delay: -4.2s;
}

.hero-decor-spark {
    position: absolute;
    color: rgba(242, 166, 199, 0.75);
    font-size: clamp(0.9rem, 1.6vw, 1.25rem);
    animation: heroSparkle 4.8s ease-in-out infinite;
}

.hero-decor-spark--1 {
    top: 28%;
    left: 34%;
}

.hero-decor-spark--2 {
    top: 22%;
    right: 32%;
    color: rgba(220, 214, 255, 0.9);
    animation-delay: -1.6s;
}

.hero-decor-spark--3 {
    bottom: 24%;
    left: 46%;
    animation-delay: -2.4s;
}

@keyframes heroDecorFloat {
    0%, 100% {
        transform: translateY(0) rotate(var(--hero-rot, 0deg));
    }

    50% {
        transform: translateY(-10px) rotate(calc(var(--hero-rot, 0deg) + 4deg));
    }
}

@keyframes heroSparkle {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.92) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.08) rotate(12deg);
    }
}

.hero-scallop {
    position: absolute;
    left: 0;
    right: 0;
    top: -2px;
    height: 22px;
    background: radial-gradient(circle at 18px 22px, #fff7fb 18px, transparent 19px) repeat-x;
    background-size: 36px 36px;
}

.hero-wrap {
    max-width: min(1250px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0 12px;
    position: relative;
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) minmax(240px, 0.75fr) minmax(250px, 1.25fr);
    align-items: center;
    gap: clamp(20px, 5.5vw, 84px);
    z-index: 2;
}

.hero-polaroid-stack {
    pointer-events: auto;
    width: min(100%, clamp(250px, 27vw, 340px));
    justify-self: center;
    cursor: pointer;
    touch-action: pan-y pinch-zoom;
}

.hero-polaroid-stack--left {
    justify-self: start;
}

.hero-polaroid-stack--right {
    justify-self: end;
}

.hero-boutique .polaroid-stack {
    width: 100%;
    aspect-ratio: 0.9;
}

.polaroid-stack-stage {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-boutique .polaroid-frame {
    opacity: 1;
    --stack-x: 0px;
    --stack-y: 0px;
    --stack-rotate: 0deg;
    --stack-scale: 1;
    --stack-opacity: 1;
    transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.34s ease, filter 0.34s ease;
}

.hero-boutique .polaroid-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-boutique .polaroid-frame.active {
    transform: translateX(var(--stack-x)) translateY(var(--stack-y)) rotate(var(--stack-rotate)) scale(var(--stack-scale));
}

.hero-boutique .polaroid-frame--right.active {
    transform: translateX(var(--stack-x)) translateY(var(--stack-y)) rotate(var(--stack-rotate)) scale(var(--stack-scale));
}

.hero-boutique .polaroid-frame:not(.active) {
    opacity: var(--stack-opacity);
    filter: saturate(0.92) brightness(0.98);
    transform: translateX(var(--stack-x)) translateY(var(--stack-y)) rotate(var(--stack-rotate)) scale(var(--stack-scale));
}

.hero-boutique .polaroid-frame--right:not(.active) {
    transform: translateX(var(--stack-x)) translateY(var(--stack-y)) rotate(var(--stack-rotate)) scale(var(--stack-scale));
}

.hero-boutique .polaroid-frame.is-leaving {
    opacity: 0;
    transform: rotate(-14deg) translateX(-70px) translateY(-16px) scale(0.92);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.hero-boutique .polaroid-frame--right.is-leaving {
    transform: rotate(14deg) translateX(70px) translateY(-16px) scale(0.92);
}

.hero-boutique .polaroid-frame.is-entering {
    opacity: 0;
    transform: rotate(-1deg) translateY(12px) scale(0.97);
}

.hero-boutique .polaroid-frame.is-entering.is-entering-active {
    opacity: 1;
    transform: rotate(-3deg) translateY(0) scale(1);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.hero-boutique .polaroid-frame--right.is-entering {
    transform: rotate(1deg) translateY(12px) scale(0.97);
}

.hero-boutique .polaroid-frame--right.is-entering.is-entering-active {
    transform: rotate(3deg) translateY(0) scale(1);
}

.hero-boutique .polaroid-stack--right .polaroid-base.base-one,
.hero-polaroid-stack--right .polaroid-base.base-one {
    transform: translate(-18px, 18px) rotate(-7deg);
}

.hero-boutique .polaroid-stack--right .polaroid-base.base-two,
.hero-polaroid-stack--right .polaroid-base.base-two {
    transform: translate(12px, 28px) rotate(6deg);
}

.hero-polaroid-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.hero-polaroid-nav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(122, 78, 90, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--clr-text);
    line-height: 1;
    font-size: 0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-polaroid-nav::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -4px;
}

.hero-polaroid-nav[data-dir="-1"]::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-polaroid-nav[data-dir="1"]::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.hero-polaroid-nav:hover {
    background: var(--clr-accent-soft);
    transform: scale(1.05);
}

.polaroid-caption-text {
    font-family: var(--font-script);
    color: rgba(122, 78, 90, 0.85);
}

.hero-polaroid-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.hero-polaroid-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(122, 78, 90, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-polaroid-dot.is-active {
    background: var(--clr-accent);
    transform: scale(1.25);
}

.hero-polaroid-dots[hidden] {
    display: none !important;
}

.hero-center {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 28px 22px 24px;
    max-width: 760px;
    justify-self: center;
}

.hero-center::before {
    content: '';
    position: absolute;
    inset: 0 -16px;
    border-radius: 60px 24px 60px 24px;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96), rgba(255, 253, 250, 0.88) 70%, rgba(255, 245, 250, 0.6) 100%);
    border: 2.5px dashed rgba(200, 115, 90, 0.35);
    transform: rotate(-1deg);
    z-index: -1;
    box-shadow:
        0 12px 30px rgba(122, 78, 90, 0.05),
        inset 0 0 0 6px rgba(255, 255, 255, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-center::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: min(72%, 280px);
    height: 10px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(242, 166, 199, 0.35), rgba(220, 214, 255, 0.35), transparent);
    z-index: -1;
}

.hero-polaroid {
    width: clamp(260px, 20vw, 340px);
    height: clamp(310px, 24vw, 420px);
    background: #fff;
    border-radius: 14px;
    padding: 16px 16px 74px;
    box-shadow: 0 22px 40px rgba(87, 55, 64, 0.16);
    border: 1px solid rgba(214, 185, 198, 0.7);
    position: absolute;
}

.polaroid-photo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.polaroid-caption-small {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    text-align: center;
    font-family: var(--font-script);
    color: rgba(122, 78, 90, 0.8);
    font-size: 1.1rem;
}

.polaroid-left {
    left: clamp(-180px, -7vw, -60px);
    top: 24px;
    transform: rotate(-10deg) translate3d(0, var(--parallax-y, 0px), 0);
}

.polaroid-right {
    right: clamp(-180px, -7vw, -60px);
    top: 32px;
    transform: rotate(9deg) translate3d(0, var(--parallax-y, 0px), 0);
}

.hero-arc {
    font-family: var(--font-script);
    color: rgba(122, 78, 90, 0.82);
    font-size: 1.9rem;
    margin-bottom: 10px;
    transform: rotate(-2deg);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-arc::before,
.hero-arc::after {
    content: '\273F';
    font-size: 0.72em;
    color: rgba(242, 166, 199, 0.75);
    transform: translateY(-2px);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(3rem, 6.1vw, 4.6rem);
    line-height: 0.95;
    color: rgba(122, 78, 90, 1);
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
    max-width: 12ch;
    margin: 0 auto;
    position: relative;
}

.hero-title::after {
    content: '';
    display: block;
    width: min(68%, 220px);
    height: 2px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, rgba(200, 115, 90, 0.45) 0 6px, transparent 6px 12px);
    opacity: 0.85;
}

.hero-sub {
    margin-top: 16px;
    font-family: var(--font-script);
    color: var(--clr-accent, #c8735a);
    font-size: 1.25rem;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    background: #fffdfb;
    border: 1.5px dashed rgba(200, 115, 90, 0.35);
    box-shadow:
        0 8px 20px rgba(122, 78, 90, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: rotate(1.2deg);
}

.btn-boutique {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 26px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--clr-btn);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 18px 32px rgba(232, 120, 172, 0.24);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.btn-boutique:hover {
    background: var(--clr-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(232, 120, 172, 0.24), 0 0 0 6px rgba(242, 166, 199, 0.16), 0 0 28px rgba(232, 120, 172, 0.38);
}

.btn-boutique.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--clr-nav-text);
    border: 1px solid rgba(214, 185, 198, 0.8);
    box-shadow: 0 18px 32px rgba(87, 55, 64, 0.08);
}

.btn-boutique.btn-ghost:hover {
    background: #fff;
}

.top-sellers {
    padding: 44px var(--container-pad) clamp(28px, 4vw, 40px);
    background: var(--clr-bg);
}

.top-sellers .section-title {
    text-align: center;
    max-width: var(--maxw);
    margin: 0 auto 24px;
}

.section-kicker {
    font-family: var(--font-script);
    color: rgba(122, 78, 90, 0.8);
    font-size: 1.4rem;
}

.top-sellers h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1;
    color: rgba(122, 78, 90, 1);
}

.boutique-grid {
    max-width: var(--maxw);
    margin: 0 auto;
}

.collection-band {
    position: relative;
    background: linear-gradient(180deg, rgba(220, 214, 255, 0.65), rgba(255, 213, 234, 0.9));
    padding: 40px var(--container-pad) 56px;
    overflow: hidden;
    margin-top: -1px;
}

.band-title {
    text-align: center;
    max-width: var(--maxw);
    margin: 0 auto 18px;
}

.band-kicker {
    font-family: var(--font-script);
    color: rgba(122, 78, 90, 0.8);
    font-size: 1.4rem;
}

.band-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 3.9rem);
    line-height: 1;
    color: rgba(122, 78, 90, 1);
}

.collection-band .category-flower-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 10px 0 0;
}

.collection-band .cat-flower-card {
    min-height: 260px;
    padding: 6px;
}

.collection-band .cat-flower-svg {
    width: min(100%, 286px);
}

.collection-band .cat-flower-content h3 {
    color: rgba(58, 42, 47, 0.75);
}

/* Product cards closer to reference */
.product-era-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
    padding: 0;
}

.product-era-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(214, 185, 198, 0.7);
    box-shadow: 0 18px 30px rgba(87, 55, 64, 0.08);
    padding: 14px 14px 16px;
}

.product-era-card .img-box {
    border-radius: 12px;
}

.subscribe-era {
    background: #ffd8ea;
}

.wanted-era {
    background: #fff;
    border-top: 1px solid rgba(232, 205, 215, 0.7);
}

.btn-era {
    background: var(--clr-btn);
    color: #fff;
    box-shadow: 0 18px 32px rgba(232, 120, 172, 0.24);
}

.btn-era:hover {
    background: var(--clr-btn-hover);
    box-shadow: 0 18px 32px rgba(232, 120, 172, 0.24), 0 0 0 6px rgba(242, 166, 199, 0.16), 0 0 28px rgba(232, 120, 172, 0.38);
}

.hero-era {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(280px, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    min-height: calc(100vh - var(--header-height) - 60px);
    padding: clamp(40px, 8vw, 96px) var(--container-pad) clamp(52px, 10vw, 110px);
    overflow: hidden;
    isolation: isolate;
}

.hero-era::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 236, 176, 0.62), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(255, 220, 236, 0.75), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.92));
    z-index: -2;
}

.hero-era::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(233, 203, 212, 0.55);
    border-radius: 32px;
    z-index: -1;
    pointer-events: none;
}

#floating-flowers-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.floating-flower {
    position: absolute;
    width: var(--flower-size, 56px);
    height: var(--flower-size, 56px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, var(--flower-center, #ffda8b) 0 18%, transparent 19%),
        radial-gradient(circle at 50% 14%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 74% 26%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 86% 50%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 74% 74%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 50% 86%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 26% 74%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 14% 50%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%),
        radial-gradient(circle at 26% 26%, var(--flower-petal, #ffd6ea) 0 16%, transparent 17%);
    opacity: var(--flower-opacity, 0.35);
    filter: drop-shadow(0 10px 18px rgba(87, 55, 64, 0.08));
    animation: heroFloat var(--float-duration, 16s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    25% {
        transform: translate3d(16px, -18px, 0) rotate(4deg);
    }

    50% {
        transform: translate3d(-10px, 16px, 0) rotate(-4deg);
    }

    75% {
        transform: translate3d(14px, 10px, 0) rotate(3deg);
    }
}

.polaroid-stack {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 0.82;
    margin: 0 auto;
    perspective: 1600px;
    z-index: 1;
}

.polaroid-base {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(216, 190, 201, 0.7);
    box-shadow: 0 28px 60px rgba(87, 55, 64, 0.12);
    display: none;
}

.polaroid-base.base-one {
    transform: translate(18px, 18px) rotate(7deg);
}

.polaroid-base.base-two {
    transform: translate(-12px, 28px) rotate(-6deg);
}

.polaroid-frame {
    position: absolute;
    inset: 0;
    transform-origin: center center;
    perspective: 1000px;
    z-index: 1;
}

.polaroid-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Hover flip on desktop only when active card, and toggle class for mobile/clicks */
@media (hover: hover) {
    .polaroid-frame.active:hover .polaroid-inner {
        transform: rotateY(180deg);
    }
}

.polaroid-frame.is-flipped .polaroid-inner {
    transform: rotateY(180deg) !important;
}

.polaroid-front,
.polaroid-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 24px;
    background: var(--clr-surface);
    border: 1px solid rgba(219, 196, 205, 0.95);
    box-shadow: 0 30px 60px rgba(87, 55, 64, 0.18);
    display: flex;
    flex-direction: column;
}

.polaroid-front {
    z-index: 2;
    transform: rotateY(0deg);
    padding: 18px 18px 72px;
    overflow: hidden;
}

.polaroid-back {
    transform: rotateY(180deg);
    padding: 22px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fffbfd 100%);
    overflow: hidden;
}

.polaroid-back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.polaroid-back-sparkle {
    font-size: 1.6rem;
    color: #ffda8b;
    animation: loaderPulse 1.5s infinite alternate;
}

.polaroid-back-title {
    font-family: 'Shrikhand', cursive, sans-serif;
    font-size: 1.25rem;
    color: #c8735a;
    margin: 8px 0 4px;
}

.polaroid-back-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    color: #6f5f66;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.polaroid-back-stamp {
    margin: 12px 0;
    border: 1.5px dashed rgba(200, 115, 90, 0.4);
    padding: 4px 12px;
    border-radius: 12px;
    transform: rotate(-3deg);
}

.crochet-badge {
    font-family: 'Pacifico', cursive;
    font-size: 0.82rem;
    color: #c8735a;
}

.polaroid-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c8735a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(200, 115, 90, 0.25);
    width: 90%;
}

.polaroid-back-btn:hover {
    background: #8e3f2f;
    transform: translateY(-1px);
}

.polaroid-frame.active {
    z-index: 3;
}

.polaroid-frame.flipping {
    animation: polaroidFlip 1.2s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

@keyframes polaroidFlip {
    0% {
        transform: rotate(-2.8deg) translate3d(0, 0, 0);
        opacity: 1;
    }

    48% {
        transform: rotateY(-92deg) rotate(-7deg) translate3d(-14px, -18px, 60px);
        opacity: 0.9;
    }

    100% {
        transform: rotateY(-180deg) rotate(-11deg) translate3d(-40px, -32px, 80px);
        opacity: 0;
    }
}

.polaroid-img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f9f2ef;
}

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

.polaroid-caption {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--clr-muted);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.polaroid-caption::before {
    content: '';
    width: 56px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 201, 75, 0.32);
}

.hero-text-era {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.script-sub {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    color: #c1808e;
}

.hero-text-era h2 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6.2rem);
    line-height: 0.94;
    margin-bottom: 18px;
    color: #533946;
}

.hero-note {
    max-width: 34ch;
    margin-bottom: 26px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--clr-muted);
}

.btn-era {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: var(--clr-green);
    color: var(--clr-text);
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(148, 173, 79, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-era:hover {
    transform: translateY(-2px);
    background: var(--clr-green-hover);
    box-shadow: 0 18px 32px rgba(232, 120, 172, 0.22), 0 0 0 6px rgba(242, 166, 199, 0.14), 0 0 26px rgba(232, 120, 172, 0.32);
}

/* --- Darker Premium Checkout Buttons --- */
#checkout-btn,
.checkout-panel-right button[type="submit"] {
    background: #8e3f2f !important; /* Rich premium dark terracotta */
    color: #ffffff !important;      /* Clean readable white text */
    box-shadow: 0 12px 24px rgba(142, 63, 47, 0.24) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

#checkout-btn:hover,
.checkout-panel-right button[type="submit"]:hover {
    background: #753123 !important; /* Darker terracotta hover state */
    box-shadow: 0 14px 28px rgba(142, 63, 47, 0.32) !important;
    transform: translateY(-2px) !important;
}

#checkout-btn:active,
.checkout-panel-right button[type="submit"]:active {
    transform: translateY(0) !important;
}


.category-flower-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.6vw, 22px);
    align-items: start;
    padding: 12px var(--container-pad) clamp(70px, 8vw, 100px);
    margin-top: -4px;
}

.cat-flower-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 12px;
    transition: transform 0.25s ease, filter 0.25s ease;
    isolation: isolate;
}

.cat-flower-card::before {
    content: none;
}

.cat-flower-card:hover::before {
    transform: none;
}

.cat-flower-card:hover {
    transform: translateY(-8px) scale(1.03) rotate(2deg);
    filter: saturate(1.02);
}

.cat-flower-svg {
    width: min(100%, 320px);
    aspect-ratio: 1;
    overflow: visible;
    display: block;
    filter: drop-shadow(0 18px 30px rgba(145, 106, 128, 0.18));
    z-index: 1;
    pointer-events: none;
}

.flower-belt {
    display: none;
}

.flower-solid {
    fill: var(--flower-fill, #ffd1e6);
}

.cat-flower-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    max-width: 170px;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cat-flower-card[data-flower="1"] {
    --flower-fill: #f5ddd7;
}

.cat-flower-card[data-flower="2"] {
    --flower-fill: #c891e3;
}

.cat-flower-card[data-flower="3"] {
    --flower-fill: #b3b5e7;
}

.cat-flower-card[data-flower="4"] {
    --flower-fill: #f3b3ca;
}

.cat-flower-content h3 {
    font-family: 'Elika Gorica', var(--font-heading), cursive;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cat-flower-content h3 .big {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
}

.cat-flower-content h3 .small {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    display: inline-block;
    margin-top: -4px;
}

.wave-divider {
    width: 100%;
    height: 100px;
    background-repeat: no-repeat;
    background-size: cover;
}

.wave-to-purple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ece3ff' fill-opacity='1' d='M0,160L80,176C160,192,320,224,480,213.3C640,203,800,149,960,144C1120,139,1280,181,1360,202.7L1440,224L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
}

.wanted-era {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    padding: clamp(70px, 8vw, 110px) var(--container-pad);
    background: var(--clr-purple);
}

.wanted-text h2 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.94;
    margin: 12px 0;
}

.wanted-text p {
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-muted);
}

.wanted-image-frame {
    position: relative;
    max-width: 450px;
    margin-inline: auto;
}

.wanted-image-frame .img-container {
    background: #fff;
    padding: 16px 16px 58px;
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(87, 55, 64, 0.16);
    transform: rotate(3deg);
}

.wanted-image-frame img {
    border-radius: 14px;
}

.container {
    padding: 0 var(--container-pad);
}

.product-era-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding: 40px 0 90px;
}

.product-era-card {
    display: grid;
    gap: 14px;
    text-align: center;
}

.product-era-card .img-box {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(87, 55, 64, 0.08);
}

.product-era-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-era-card:hover img {
    transform: scale(1.05);
}

.product-era-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.product-era-card .btn-boutique {
    margin-top: 4px;
    min-height: 40px;
    font-size: 0.8rem;
}

.price {
    color: var(--clr-muted);
}

.subscribe-era {
    padding: clamp(70px, 8vw, 100px) var(--container-pad);
    text-align: center;
    background: var(--clr-pink);
}

.subscribe-era h2 {
    font-size: clamp(3.2rem, 8vw, 5.6rem);
    margin-bottom: 20px;
}

.subscribe-era form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

.subscribe-era input {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: none;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(141, 118, 127, 0.18);
}

.subscribe-era button {
    min-width: 110px;
    padding: 16px 24px;
    border: none;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

footer {
    background: var(--clr-purple);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(45, 33, 39, 0.45);
    padding: 24px;
}

.modal-content {
    position: relative;
    max-width: 520px;
    margin: 8vh auto 0;
    padding: 28px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(222, 207, 214, 0.75);
}

.cart-remove {
    border: 0;
    background: transparent;
    color: #d45c76;
    font-size: 1.1rem;
    cursor: pointer;
}

@media (max-width: 1100px) {

    .hero-era,
    .wanted-era {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-era,
    .wanted-text {
        margin-inline: auto;
    }

    .polaroid-stack {
        width: min(100%, 420px);
    }
}

@media (max-width: 900px) {
    .category-flower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-header {
        grid-template-columns: auto 1fr auto;
    }

    .logo-wrapper {
        min-width: 0;
    }

    .brand-logo {
        width: min(120px, 28vw);
    }

    .brand-wordmark-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 72px;
    }

    .main-header {
        gap: 8px;
        padding: 6px 16px;
    }

    .header-right {
        gap: 10px;
    }

    .social-btn--header-contact,
    .social-btn--header-insta {
        min-width: 40px;
        height: 36px;
        padding: 0 10px;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
    }

    .brand-logo {
        width: min(108px, 28vw);
        min-width: 82px;
    }

    .brand-wordmark-text {
        font-size: 0.88rem;
    }

    .main-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        flex-wrap: nowrap;
        padding-inline: 16px;
    }

    .hero-boutique {
        padding: 16px 14px 22px;
    }

    .hero-wrap {
        min-height: auto;
        gap: 12px;
        padding: 4px 0;
    }

    .hero-center {
        padding: 4px 8px 0;
    }

    .hero-arc {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    }

    .hero-sub {
        font-size: 0.92rem;
        margin-top: 4px;
    }

    .section-wave {
        height: 52px;
    }

    .collection-band {
        padding: 14px 12px 18px;
    }

    .band-kicker {
        font-size: 0.88rem;
    }

    .band-title {
        margin-bottom: 6px;
    }

    .band-title h2 {
        font-size: 1.55rem;
    }

    .collection-band .category-flower-grid,
    .category-flower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: 440px;
        margin-inline: auto;
        padding: 0 10px 2px;
    }

    .collection-band .cat-flower-card,
    .cat-flower-card {
        min-height: 0;
        aspect-ratio: 1;
        padding: 0;
        max-width: 210px;
        margin-inline: auto;
        width: 100%;
    }

    .cat-flower-svg {
        width: 100% !important;
        max-width: 100%;
    }

    .cat-flower-content {
        max-width: 85%;
        top: 50%;
    }

    .cat-flower-content h3 .big {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    }

    .cat-flower-content h3 .small {
        font-size: clamp(0.85rem, 3.2vw, 1.15rem);
    }

    .top-sellers {
        padding: 24px 14px 20px;
    }

    .section-kicker {
        font-size: 0.95rem;
    }

    .top-sellers h2 {
        font-size: 1.75rem;
    }

    .browse-grid {
        gap: 10px 8px;
    }

    .browse-tile-label {
        font-size: 0.76rem;
    }

    .hero-era {
        min-height: auto;
        padding: 28px 16px 54px;
        gap: 28px;
    }

    .hero-era::after {
        inset: 10px;
        border-radius: 24px;
    }

    .polaroid-stack {
        width: min(100%, 340px);
    }

    .polaroid-front {
        padding: 14px 14px 56px;
    }

    .polaroid-caption {
        left: 18px;
        right: 18px;
        bottom: 14px;
        font-size: 0.78rem;
    }

    .subscribe-era form {
        flex-direction: column;
    }

    .subscribe-era button {
        width: 100%;
    }

    .modal {
        padding: 12px;
    }

    .modal-content {
        padding: 22px;
        margin-top: 12vh;
    }
}

footer {
    background: var(--clr-footer);
}

.main-header {
    background: var(--clr-header);
}

/* --- Top Sellers Marquee --- */
.sellers-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    padding: 14px 0 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.sellers-marquee::-webkit-scrollbar {
    display: none;
}

.sellers-marquee.grabbing {
    cursor: grabbing;
}

.sellers-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 22px;
    width: max-content;
    will-change: scroll-position;
}

.sellers-marquee .product-era-card {
    flex: 0 0 240px;
    width: 240px;
}

@keyframes sellers-marquee-scroll {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.sellers-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--clr-muted);
    font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
    .sellers-marquee-track {
        animation: none;
    }
}

@media (max-width: 640px) {
    .sellers-marquee .product-era-card {
        flex: 0 0 220px;
        width: 220px;
    }
    .sellers-marquee-track {
        gap: 16px;
        animation-duration: 30s;
    }
}

/* --- Partition: top sellers → collections --- */
.home-partition--sellers-collections {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(220, 214, 255, 0.55) 0%,
        rgba(255, 225, 238, 0.92) 42%,
        rgba(245, 235, 224, 0.95) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 28px rgba(87, 55, 64, 0.06);
}

.home-partition-band {
    padding: clamp(20px, 3.5vw, 32px) var(--container-pad);
}

.home-partition-rule {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 28px);
    max-width: min(720px, 100%);
    margin: 0 auto;
}

.home-partition-heading {
    flex: 1;
    margin: 0;
    padding: 0 clamp(8px, 2vw, 16px);
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    line-height: 1;
    color: rgba(58, 42, 47, 0.88);
    transform-origin: center center;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Dashed stitch lines flanking the heading (same pattern as old hyphen rule) */
.home-partition-heading::before,
.home-partition-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: clamp(28px, 12%, 80px);
    height: 2px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        rgba(122, 78, 90, 0.22) 0,
        rgba(122, 78, 90, 0.22) 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translateY(-50%) scaleX(0);
    transform-origin: center center;
    opacity: 0.9;
}

.home-partition-heading::before {
    right: 100%;
    margin-right: clamp(10px, 2vw, 18px);
}

.home-partition-heading::after {
    left: 100%;
    margin-left: clamp(10px, 2vw, 18px);
}

.home-partition-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(200, 115, 90, 0.35);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* --- Browse collections grid (photo tiles) --- */
.browse-collections {
    padding: clamp(32px, 5vw, 52px) var(--container-pad) clamp(64px, 8vw, 96px);
    background: linear-gradient(180deg, #faf4ec 0%, var(--clr-bg) 140px);
    max-width: 100%;
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
    max-width: var(--maxw);
    margin: 0 auto;
}

.browse-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.browse-tile:hover {
    transform: translateY(-4px);
}

.browse-tile-visual {
    position: relative;
    aspect-ratio: 1;
    border-radius: clamp(22px, 4vw, 32px);
    overflow: hidden;
    background: linear-gradient(145deg, #fce8ef 0%, #f5ddd0 100%);
    box-shadow: 0 12px 32px rgba(87, 55, 64, 0.1);
    border: 1px solid rgba(200, 115, 90, 0.12);
}

.browse-tile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.browse-tile:hover .browse-tile-visual img {
    transform: scale(1.04);
}

.browse-tile-visual.is-placeholder {
    background: linear-gradient(160deg, #fce4dc 0%, #f8d4e8 50%, #efe8f4 100%);
}

.browse-tile-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    color: var(--clr-text);
    padding-left: 4px;
}

.browse-tile-label .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.browse-tile:hover .browse-tile-label .arrow {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .browse-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .browse-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        gap: 10px 8px;
    }

    .browse-tile-visual {
        border-radius: 16px;
    }
}

/* --- Scroll progress bar (top of page) --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(122, 78, 90, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(
        90deg,
        var(--clr-accent) 0%,
        var(--clr-purple) 50%,
        var(--clr-pink) 100%
    );
    background-size: 200% 100%;
    box-shadow: 0 0 12px rgba(242, 166, 199, 0.55);
    transition: width 0.18s ease-out;
    animation: progressShimmer 3s linear infinite;
}

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

/* --- Live animated wave dividers (no scallops) --- */
.section-wave {
    position: relative;
    width: 100%;
    height: clamp(88px, 11vw, 140px);
    overflow: hidden;
    margin: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, var(--clr-bg) 0%, #fff0f7 42%, #efe6fb 100%);
}

.section-wave--to-band {
    margin-bottom: -2px;
}

.wave-stack {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Solid fill behind waves — no white gaps between layers */
.wave-base {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        180deg,
        var(--clr-bg) 0%,
        #fff0f7 34%,
        #f6ddeb 62%,
        #e8ddf6 100%
    );
}

.wave-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: calc(100% + 4px);
    overflow: hidden;
    z-index: 1;
}

.wave-layer svg {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 105%;
    display: block;
    transform-origin: center bottom;
}

.wave-drift {
    animation: waveFlow 26s linear infinite;
    will-change: transform;
}

.wave-drift--reverse {
    animation-duration: 18s;
    animation-direction: reverse;
}

.wave-layer--front .wave-drift {
    animation-duration: 12s;
}

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

/* Opaque fills so page background never shows through */
.wave-layer--back path {
    fill: #e9def7;
}

.wave-layer--mid path {
    fill: #ffd9eb;
}

.wave-layer--front path {
    fill: #f4e8fb;
}

.wave-layer--back { z-index: 1; }
.wave-layer--mid  { z-index: 2; }
.wave-layer--front { z-index: 3; }

.float-charm {
    position: absolute;
    font-size: 1.1rem;
    color: rgba(122, 78, 90, 0.55);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: charmFloat 6s ease-in-out infinite;
}

.float-charm--1 { left: 18%; top: 25%; animation-delay: 0s; }
.float-charm--2 { left: 72%; top: 40%; animation-delay: 2.4s; font-size: 0.9rem; }

@keyframes charmFloat {
    0%, 100% { transform: translateY(0) rotate(0); opacity: 0.55; }
    50% { transform: translateY(-12px) rotate(8deg); opacity: 0.95; }
}

/* --- Live ticker strip between sections --- */
.section-ticker {
    position: relative;
    background: linear-gradient(
        90deg,
        var(--clr-accent) 0%,
        #e878ac 50%,
        var(--clr-accent) 100%
    );
    color: #fff;
    overflow: hidden;
    padding: clamp(14px, 1.6vw, 20px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(122, 78, 90, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 28px rgba(242, 166, 199, 0.18);
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: clamp(18px, 3vw, 32px);
    white-space: nowrap;
    animation: tickerScroll 32s linear infinite;
    will-change: transform;
}

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

.ticker-item {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0 clamp(8px, 1.5vw, 16px);
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    animation: tickerDotSpin 6s linear infinite;
    display: inline-block;
}

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

@keyframes tickerDotSpin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

/* --- Section reveal & live transitions --- */
.reveal-item,
.reveal-stagger > *:not(.cat-flower-card) {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
    filter: blur(6px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.75s ease;
}

.reveal-stagger > .cat-flower-card,
.reveal-stagger-child {
    opacity: 0;
    transition: none;
}

.reveal-section.is-visible .reveal-item,
.reveal-section.is-visible .reveal-stagger > *:not(.cat-flower-card) {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal-item--delay-1 { transition-delay: 0.08s; }
.reveal-item--delay-2 { transition-delay: 0.18s; }
.reveal-item--wide { transition-delay: 0.12s; }

.reveal-stagger > *:nth-child(1) { transition-delay: 0.06s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.22s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.38s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.46s; }

.reveal-section.is-visible .reveal-stagger-child:nth-child(1) { animation-delay: 0.06s; }
.reveal-section.is-visible .reveal-stagger-child:nth-child(2) { animation-delay: 0.14s; }
.reveal-section.is-visible .reveal-stagger-child:nth-child(3) { animation-delay: 0.22s; }
.reveal-section.is-visible .reveal-stagger-child:nth-child(4) { animation-delay: 0.3s; }
.reveal-section.is-visible .reveal-stagger-child:nth-child(5) { animation-delay: 0.38s; }
.reveal-section.is-visible .reveal-stagger-child:nth-child(6) { animation-delay: 0.46s; }

/* Collection cards pop in with a gentle wiggle */
.reveal-section.is-visible .reveal-stagger > .cat-flower-card {
    animation: revealFlowerPop 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.reveal-stagger > .cat-flower-card:nth-child(1) { animation-delay: 0.08s; }
.reveal-stagger > .cat-flower-card:nth-child(2) { animation-delay: 0.18s; }
.reveal-stagger > .cat-flower-card:nth-child(3) { animation-delay: 0.28s; }
.reveal-stagger > .cat-flower-card:nth-child(4) { animation-delay: 0.38s; }

@keyframes revealFlowerPop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.88) rotate(-4deg);
        filter: blur(8px);
    }
    70% {
        transform: translateY(-6px) scale(1.03) rotate(1deg);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

/* Top sellers marquee glows in */
.top-sellers.is-visible .sellers-marquee {
    animation: sellersGlowIn 1.2s ease forwards;
}

@keyframes sellersGlowIn {
    0% {
        box-shadow: 0 0 0 rgba(242, 166, 199, 0);
    }
    100% {
        box-shadow: 0 16px 48px rgba(242, 166, 199, 0.18);
    }
}

.top-sellers.is-visible .sellers-marquee-track {
    animation: sellersMarqueePulse 4s ease-in-out infinite;
}

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

/* Partition: shimmer band + sparkles + line draw */
.reveal-partition .home-partition-band {
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 45%,
        rgba(255, 255, 255, 0) 90%
    );
    background-size: 220% 100%;
    background-repeat: no-repeat;
}

.reveal-partition.is-visible .home-partition-band {
    animation: partitionShimmer 2.8s ease-in-out infinite;
}

@keyframes partitionShimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -40% 0; }
}

.reveal-partition:not(.is-visible) .home-partition-heading {
    transform: scaleX(0);
    opacity: 0.3;
}

.reveal-partition:not(.is-visible) .home-partition-heading::before,
.reveal-partition:not(.is-visible) .home-partition-heading::after {
    transform: translateY(-50%) scaleX(0);
    opacity: 0.3;
}

.reveal-partition.is-visible .home-partition-heading {
    transform: scaleX(1);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.6s ease 0.15s;
}

.reveal-partition.is-visible .home-partition-heading::before,
.reveal-partition.is-visible .home-partition-heading::after {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.6s ease 0.15s;
}

.reveal-partition.is-visible .home-partition-dot {
    animation: partitionDotPulse 2.2s ease-in-out infinite;
}

.reveal-partition.is-visible .home-partition-dot:last-child {
    animation-delay: 0.4s;
}

@keyframes partitionDotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5); }
    50% { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(242, 166, 199, 0.35); }
}

.partition-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 30%, rgba(242, 166, 199, 0.9) 100%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(242, 166, 199, 0.6);
}

.reveal-partition.is-visible .partition-sparkle {
    opacity: 1;
    animation: partitionSparkleFloat 5s ease-in-out infinite;
}

.partition-sparkle--1 { left: 12%; top: 38%; animation-delay: 0s; }
.partition-sparkle--2 { left: 78%; top: 52%; width: 6px; height: 6px; animation-delay: 1.2s; }
.partition-sparkle--3 { left: 48%; top: 28%; width: 10px; height: 10px; animation-delay: 2.4s; }

@keyframes partitionSparkleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(8px, -14px) scale(1.2); opacity: 1; }
    66% { transform: translate(-6px, -8px) scale(0.85); opacity: 0.65; }
}

/* Browse tiles scale up on reveal */
.reveal-section.is-visible .reveal-stagger-child {
    animation: revealTilePop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes revealTilePop {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(0.92);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Section backgrounds gently shift when entering view */
.collection-band.reveal-section:not(.is-visible) {
    background-size: 100% 100%;
}

.collection-band.reveal-section.is-visible {
    animation: bandBgBloom 1.4s ease forwards;
}

@keyframes bandBgBloom {
    0% { filter: brightness(0.96) saturate(0.92); }
    100% { filter: brightness(1) saturate(1); }
}

.browse-collections.reveal-section.is-visible {
    animation: browseBgShift 1.2s ease forwards;
}

@keyframes browseBgShift {
    0% { background-position: 0 20px; }
    100% { background-position: 0 0; }
}

.browse-collections {
    background-size: 100% 200%;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item,
    .reveal-stagger > *,
    .reveal-stagger-child {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none !important;
    }

    .reveal-section.is-visible .reveal-stagger > .cat-flower-card,
    .reveal-section.is-visible .reveal-stagger-child {
        animation: none !important;
    }

    .reveal-partition.is-visible .home-partition-band,
    .reveal-partition.is-visible .home-partition-dot,
    .reveal-partition.is-visible .partition-sparkle {
        animation: none !important;
    }

    .reveal-partition .home-partition-heading,
    .reveal-partition .home-partition-heading::before,
    .reveal-partition .home-partition-heading::after {
        transform: scaleX(1);
        opacity: 1;
    }

    .reveal-partition .home-partition-heading::before,
    .reveal-partition .home-partition-heading::after {
        transform: translateY(-50%) scaleX(1);
    }

    .scroll-progress-fill,
    .wave-drift,
    .float-charm,
    .ticker-track,
    .ticker-dot {
        animation: none !important;
    }
}

/* --- Professional Footer Redesign --- */
.site-footer {
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 244, 219, 0.9), transparent 28%),
        linear-gradient(135deg, #fffaf3 0%, #f7eadf 58%, #efe5ff 100%);
    border-top: 1px solid rgba(122, 78, 90, 0.16);
    color: var(--clr-text);
}

.site-footer .footer-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 72px) 0 34px;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.8fr) minmax(240px, 0.95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.site-footer .footer-brand {
    display: grid;
    justify-items: start;
    gap: 14px;
}

.site-footer .footer-logo {
    width: 86px;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 10px 18px rgba(87, 55, 64, 0.12));
}

.site-footer .footer-tagline {
    max-width: 280px;
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #4a3439;
}

.site-footer .footer-col-title {
    margin: 0 0 16px;
    font-family: var(--font-script);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: var(--clr-nav-text);
}

.site-footer .footer-links-col,
.site-footer .footer-connect-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer #footer-explore-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer .footer-links-col a,
.site-footer .footer-connect-col > a {
    display: inline-flex;
    padding: 4px 0;
    color: rgba(58, 42, 47, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links-col a:hover,
.site-footer .footer-connect-col > a:hover {
    color: var(--clr-btn-hover);
    transform: translateX(4px);
}

.site-footer .footer-socials {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 14px;
}

.site-footer .social-btn {
    width: 48px;
    height: 48px;
}

.site-footer .social-btn-icon {
    width: 24px;
    height: 24px;
}

.site-footer .footer-social-note {
    max-width: 260px;
    margin: 0 0 12px;
    color: rgba(58, 42, 47, 0.66);
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer .footer-bottom {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(122, 78, 90, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.site-footer .footer-copyright {
    color: rgba(58, 42, 47, 0.55);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer .footer-developer {
    color: rgba(58, 42, 47, 0.55);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.site-footer .footer-developer a {
    color: var(--clr-accent, #c8735a);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed var(--clr-accent, #c8735a);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer .footer-developer a:hover {
    color: var(--clr-text, #3c2715);
    border-bottom-style: solid;
}

@media (max-width: 820px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
        padding-bottom: 28px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        justify-items: center;
        text-align: center;
    }

    .site-footer .footer-tagline {
        max-width: 320px;
    }

    .site-footer .footer-links-col,
    .site-footer .footer-connect-col {
        align-items: center;
    }

    .site-footer .footer-col-title {
        text-align: center;
        width: 100%;
    }

    .site-footer #footer-explore-links {
        align-items: center;
    }

    .site-footer .footer-socials {
        justify-content: center;
    }

    .site-footer .footer-social-note {
        text-align: center;
        max-width: none;
    }
}

@media (max-width: 560px) {
    .site-footer {
        border-top: none;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 244, 219, 0.95), transparent 42%),
            linear-gradient(180deg, #fffaf3 0%, #f3e8f8 55%, #ebe4ff 100%);
    }

    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        width: min(100% - 28px, 1120px);
        padding: 36px 0 28px;
        gap: 22px;
    }

    .site-footer .footer-brand {
        grid-column: 1;
        justify-items: center;
        text-align: center;
        padding: 22px 18px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.62);
        border: 1px solid rgba(122, 78, 90, 0.1);
        box-shadow: 0 10px 28px rgba(87, 55, 64, 0.07);
    }

    .site-footer .footer-logo {
        width: 72px;
    }

    .site-footer .footer-tagline {
        max-width: 260px;
        font-size: 1.45rem;
        margin: 0 auto;
    }

    .site-footer .footer-links-col,
    .site-footer .footer-connect-col {
        width: 100%;
        padding: 18px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.55);
        border: 1px solid rgba(122, 78, 90, 0.08);
        box-shadow: 0 6px 18px rgba(87, 55, 64, 0.05);
    }

    .site-footer .footer-col-title {
        font-size: 1.45rem;
        margin-bottom: 12px;
        width: 100%;
        text-align: center;
    }

    .site-footer #footer-explore-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 12px;
        width: 100%;
        align-items: stretch;
    }

    .site-footer .footer-links-col a {
        justify-content: center;
        text-align: center;
        padding: 10px 8px;
        border-radius: 12px;
        background: rgba(255, 247, 251, 0.85);
        font-size: 0.82rem;
    }

    .site-footer .footer-links-col a:hover {
        transform: none;
        background: var(--clr-accent-soft);
    }

    .site-footer .footer-socials {
        justify-content: center;
        gap: 14px;
        margin-bottom: 12px;
    }

    .site-footer .footer-social-note {
        max-width: none;
        text-align: center;
        font-size: 0.88rem;
        margin-bottom: 14px;
    }

    .site-footer .footer-connect-col > a {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 247, 251, 0.9);
        font-size: 0.85rem;
    }

    .site-footer .footer-connect-col > a:hover {
        transform: none;
        background: var(--clr-accent-soft);
    }

    .site-footer .footer-bottom {
        width: min(100% - 28px, 1120px);
        justify-content: center;
        text-align: center;
        padding: 18px 0 calc(24px + env(safe-area-inset-bottom, 0px));
        border-top: none;
        background: transparent;
    }

    .site-footer .footer-copyright {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        line-height: 1.5;
    }

    .site-footer .footer-developer {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }
}

/* --- Product search modal --- */
body.search-open {
    overflow: hidden;
}

.search-modal[hidden] {
    display: none !important;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 40px;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 42, 47, 0.45);
    backdrop-filter: blur(6px);
}

.search-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    background: #fffdf9;
    border-radius: 22px;
    border: 1px solid rgba(122, 78, 90, 0.12);
    box-shadow: 0 28px 60px rgba(58, 42, 47, 0.2);
    overflow: hidden;
}

.search-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 10px;
}

.search-modal-head h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text);
}

.search-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 229, 239, 0.8);
    color: var(--clr-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-modal-close:hover {
    background: var(--clr-accent-soft);
    transform: scale(1.05);
}

.search-field-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 20px 12px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid rgba(122, 78, 90, 0.14);
    color: rgba(58, 42, 47, 0.5);
}

.search-field-wrap:focus-within {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(200, 115, 90, 0.15);
    color: var(--clr-accent);
}

.search-field-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text);
    background: transparent;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px 16px;
}

.search-hint,
.search-empty {
    padding: 24px 16px;
    text-align: center;
    color: rgba(58, 42, 47, 0.55);
    font-size: 0.92rem;
    font-weight: 600;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: rgba(255, 229, 239, 0.55);
}

.search-result-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--clr-accent-soft);
}

.search-result-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-result-text strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.search-result-text small {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(58, 42, 47, 0.55);
}

/* ==========================================================================
   Store Premium Navigation & FAQ Accordion Upgrades
   ========================================================================== */

/* --- Sticky Header Transitions --- */
.main-header.is-sticky {
    /* Keep the header relative and let it naturally scroll out of view to prevent layout collapse jumps! */
    position: relative;
    opacity: 0.1;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.main-header.is-sticky::before,
.main-header.is-sticky::after {
    opacity: 0.1;
}

/* --- Sticky Header & Integrated Navigation Transitions --- */
.nav-inner-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 24px;
    overflow: visible;
}

.nav-sticky-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.85);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), margin-right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 0;
}

.nav-sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.85);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), margin-left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 0;
}

.brand-logo-circle {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #fff;
    border: 1px solid rgba(122, 78, 90, 0.15);
    box-shadow: 0 2px 8px rgba(87, 55, 64, 0.08);
    transition: transform 0.2s ease;
}

.brand-logo-circle:hover {
    transform: scale(1.08) rotate(5deg);
}

.nav-sticky-actions .icon-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid rgba(122, 78, 90, 0.12);
    box-shadow: 0 2px 6px rgba(87, 55, 64, 0.04);
}

body.header-sticky .main-header {
    visibility: hidden;
    pointer-events: none;
}

body.header-sticky {
    /* ZERO padding-top! Remove completely to guarantee mathematically flawless scroll flow with no jumps! */
}

body.header-sticky .main-nav {
    /* Keep position sticky natively! Never collapse or leave the document flow! */
    position: sticky;
    top: 12px;
    width: min(1080px, calc(100% - 32px));
    margin: 12px auto 0;
    z-index: 999;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 239, 247, 0.84)),
        var(--clr-nav-bg);
    box-shadow:
        0 8px 26px rgba(87, 55, 64, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, width 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s ease;
}

body.header-sticky .nav-inner-container {
    justify-content: space-between;
}

body.header-sticky .nav-sticky-logo {
    display: flex;
    align-items: center;
    width: 38px;
    margin-right: 20px;
    opacity: 1;
    transform: scale(1);
    overflow: visible;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.header-sticky .nav-sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 86px;
    margin-left: 20px;
    opacity: 1;
    transform: scale(1);
    overflow: visible;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.header-sticky .main-nav ul {
    padding: 5px 7px;
}

body.header-sticky .main-nav a {
    min-height: 30px;
    padding: 0 clamp(9px, 1.35vw, 16px);
    font-size: 0.68rem;
}

@media (max-width: 640px) {
    body.header-sticky .main-nav {
        top: 8px;
        width: calc(100% - 18px);
    }

    body.header-sticky .main-nav a {
        min-height: 30px;
        font-size: 0.68rem;
    }

    body.header-sticky .nav-sticky-logo {
        display: none !important;
    }

    body.header-sticky .nav-sticky-actions {
        margin-left: 8px !important;
        gap: 6px !important;
        width: auto !important;
    }
}

/* --- Cart Icon Badge --- */
#open-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--clr-accent, #c8735a);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(87, 55, 64, 0.22);
    animation: popBadge 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    pointer-events: none;
    z-index: 5;
}

@keyframes popBadge {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Nav category dropdowns --- */
.main-nav ul li.has-dropdown {
    position: relative;
    z-index: 1;
}

.main-nav ul li.has-dropdown.is-open,
.main-nav ul li.has-dropdown:hover,
.main-nav ul li.has-dropdown:focus-within {
    z-index: 20;
}

/* Invisible bridge so the pointer can reach the panel */
.main-nav ul li.has-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    pointer-events: none;
}

.main-nav ul li.has-dropdown:hover .nav-dropdown,
.main-nav ul li.has-dropdown:focus-within .nav-dropdown,
.main-nav ul li.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.main-nav a.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.main-nav a.nav-dropdown-trigger::after {
    display: none;
}

.nav-dropdown-trigger .nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.65;
    transform: translateY(1px);
}

.nav-dropdown--single {
    grid-template-columns: 1fr;
    width: max-content;
    min-width: 210px;
    max-width: min(280px, calc(100vw - 28px));
}

.nav-dropdown--photos {
    min-width: 230px;
    max-width: min(300px, calc(100vw - 28px));
}

.nav-dropdown-thumb--placeholder {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    transform: translateY(6px);
    background: linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
    border: 1px solid rgba(122, 78, 90, 0.14);
    border-radius: 14px;
    box-shadow:
        0 16px 40px rgba(87, 55, 64, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 10px 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2000;
    text-align: left;
}

.main-nav ul li.has-dropdown.nav-drop-align-end .nav-dropdown {
    left: 0;
    right: auto;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: var(--nav-arrow-left, 22px);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    filter: drop-shadow(0 -1px 0 rgba(122, 78, 90, 0.06));
}

.main-nav ul li.has-dropdown.nav-drop-align-end .nav-dropdown::before {
    left: var(--nav-arrow-left, 22px);
    right: auto;
}

.nav-dropdown-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nav-dropdown-col h4 {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(122, 78, 90, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 6px 6px;
    padding: 0 4px 6px;
    border-bottom: 1px solid rgba(122, 78, 90, 0.08);
}

.nav-dropdown-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 !important;
    margin: 0;
}

.nav-dropdown-col li {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-dropdown-col a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 34px !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
    color: var(--clr-text) !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
    white-space: nowrap;
}

.nav-dropdown-col a::after {
    display: none !important; /* Hide dot line inside dropdown */
}

.nav-dropdown-col a:hover {
    background: var(--clr-accent-soft) !important;
    color: var(--clr-accent, #c8735a) !important;
    padding-left: 12px !important;
}

.nav-dropdown-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--clr-accent-soft);
    border: 1px solid rgba(122, 78, 90, 0.08);
    flex-shrink: 0;
}

.nav-dropdown-bullet {
    color: var(--clr-accent, #c8735a);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Full-page FAQ & Policy views (hidden until nav link) --- */
.page-view[hidden] {
    display: none !important;
}

body.is-page-view #site-home {
    display: none !important;
}

body.is-page-view--faq #faq-section:not([hidden]),
body.is-page-view--policy #policy-section:not([hidden]) {
    display: block;
}

/* --- FAQ Single Page Section --- */
.faq-section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 80px var(--container-pad) 100px;
    background: var(--clr-faq-section-bg, var(--clr-bg));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--clr-faq-title, var(--clr-text));
    text-align: center;
    margin-bottom: 48px;
    font-weight: 800;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 6px;
    background: var(--clr-faq-card-bg, var(--clr-nav-bg, #ffe3ef));
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 10px rgba(87, 55, 64, 0.02);
}

.faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(87, 55, 64, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--clr-faq-title, var(--clr-text));
    text-align: left;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.24);
}

.faq-question span {
    padding-right: 14px;
}

.faq-carat {
    color: var(--clr-faq-title, var(--clr-text));
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-question[aria-expanded="true"] .faq-carat {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--clr-faq-answer-bg, var(--clr-accent-soft, #fff1f7));
}

.faq-answer-inner {
    padding: 20px 24px 22px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--clr-faq-body, var(--clr-muted));
    border-top: 1px dashed rgba(122, 78, 90, 0.08);
}

/* --- Privacy & Order Policy page --- */
.policy-section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 80px var(--container-pad) 100px;
    background: var(--clr-faq-section-bg, var(--clr-bg));
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--clr-faq-title, var(--clr-text));
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.policy-block {
    border-radius: 6px;
    background: var(--clr-faq-card-bg, var(--clr-nav-bg, #ffe3ef));
    padding: 22px 24px;
    box-shadow: 0 4px 10px rgba(87, 55, 64, 0.02);
}

.policy-block h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--clr-faq-title, var(--clr-text));
    margin: 0 0 10px;
}

.policy-block-body p,
.policy-block-body li,
.policy-block p,
.policy-block li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--clr-faq-body, var(--clr-muted));
}

.policy-block-body p,
.policy-block p {
    margin: 0 0 10px;
}

.policy-block-body p:last-child,
.policy-block p:last-child {
    margin-bottom: 0;
}

.policy-block-body ul,
.policy-block ul {
    margin: 8px 0 10px;
    padding-left: 1.25rem;
}

.policy-block-body li + li,
.policy-block li + li {
    margin-top: 6px;
}

.policy-empty {
    text-align: center;
    color: var(--clr-faq-body, var(--clr-muted));
}

.policy-block em {
    font-style: italic;
    color: var(--clr-faq-body, var(--clr-muted));
    opacity: 0.85;
}

/* --- Floating crochet charms: visible, gentle, polished --- */
.floating-charms-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 35;
    overflow: visible;
    contain: layout style;
}

.floating-charm-item {
    position: fixed;
    width: clamp(38px, 4.6vw, 56px);
    height: clamp(38px, 4.6vw, 56px);
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
    filter:
        drop-shadow(0 6px 10px rgba(122, 78, 90, 0.18))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    transition:
        left 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease;
    animation:
        charmEnter 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) var(--enter-delay, 0s) both,
        charmDrift var(--bob-duration, 16s) ease-in-out var(--bob-delay, 0s) infinite;
    will-change: left, top, transform, opacity;
}

.floating-charm-item::before {
    content: '';
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.18) 38%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.crochet-charm-svg {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes charmEnter {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 16px)) rotate(calc(var(--rotate, 0deg) - 18deg)) scale(calc(var(--scale, 1) * 0.55));
    }
    100% {
        opacity: 0.88;
        transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
    }
}

@keyframes charmDrift {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
    }
    25% {
        transform: translate(calc(-50% + 4px), calc(-50% - 8px)) rotate(calc(var(--rotate, 0deg) + 5deg)) scale(var(--scale, 1));
    }
    50% {
        transform: translate(-50%, calc(-50% - 12px)) rotate(calc(var(--rotate, 0deg) - 3deg)) scale(var(--scale, 1));
    }
    75% {
        transform: translate(calc(-50% - 4px), calc(-50% - 6px)) rotate(calc(var(--rotate, 0deg) + 2deg)) scale(var(--scale, 1));
    }
}

.floating-charms-container[data-mode="header"] .floating-charm-item,
.floating-charms-container[data-mode="footer"] .floating-charm-item {
    animation-name: charmEnter, charmDriftLine;
}

@keyframes charmDriftLine {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
    }
    50% {
        transform: translate(-50%, calc(-50% - 5px)) rotate(calc(var(--rotate, 0deg) + 3deg)) scale(var(--scale, 1));
    }
}

/* Keep content above charms while charms remain visible on backgrounds.
   IMPORTANT: only add z-index here — don't reset `position`, because several
   of these elements (polaroids, modals, product img-box) already rely on
   `position: absolute` for their layout. */
.main-header,
.main-nav,
.hero-wrap,
.product-era-card,
.browse-grid {
    position: relative;
    z-index: 60;
}

.hero-polaroid-stack,
.polaroid-stack,
.polaroid-base,
.polaroid-frame,
.product-era-card .img-box,
.product-era-card img {
    z-index: 60;
}

.modal,
.search-modal,
#cart-modal,
#review-modal {
    z-index: 9500 !important;
}

.site-footer {
    position: relative;
    z-index: 40;
}

.site-footer .footer-inner,
.site-footer .footer-bottom {
    position: relative;
    z-index: 50;
}

@media (prefers-reduced-motion: reduce) {
    .floating-charm-item {
        animation: none;
        opacity: 0.85;
        transition: opacity 0.3s ease;
    }
}

/* --- Click Sparkle Bubble Pop --- */
.click-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 16px;
    animation: sparklePop 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    transform: translate(-50%, -50%) scale(0.5);
    user-select: none;
}

@keyframes sparklePop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.4) rotate(180deg);
        opacity: 0;
    }
}

/* --- Interactive Logo Wiggle --- */
.brand-logo:hover {
    animation: cuteWiggle 0.6s ease-in-out;
}
@keyframes cuteWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-7deg) scale(1.06); }
    75% { transform: rotate(7deg) scale(1.06); }
}

/* --- Interactive Cart Button Wiggle --- */
#open-cart:hover {
    animation: cuteWiggle 0.6s ease-in-out;
}

/* --- Playful bouncy product card cards --- */
.product-era-card .img-box {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.product-era-card:hover .img-box {
    transform: translateY(-8px) rotate(1.8deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(200, 115, 90, 0.16);
}

/* ==========================================================================
   Cozy Boutique Premium Checkout & Quantity Upgrades
   ========================================================================== */

/* --- Toast Notifications --- */
#notification-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.notification-toast {
    background: var(--clr-accent, #c8735a);
    color: #fff;
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(200, 115, 90, 0.25);
    font-family: var(--font-body), sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
}

/* --- Quantity Selectors --- */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-bg, #fdf6ee);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(200, 115, 90, 0.3);
}
.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--clr-nav-bg, #f7ede2);
    color: var(--clr-text, #3c2715);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.quantity-btn:hover {
    background: var(--clr-accent, #c8735a);
    color: #fff;
    transform: scale(1.15) rotate(10deg);
}
.quantity-btn:active {
    transform: scale(0.9);
}
.quantity-number {
    font-family: var(--font-body), sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--clr-text, #3c2715);
    min-width: 18px;
    text-align: center;
}

/* --- Per-Item Customization Area --- */
.item-customization-wrap {
    margin-top: 8px;
    width: 100%;
}
.item-customization-trigger {
    background: transparent;
    border: none;
    color: var(--clr-accent, #c8735a);
    font-family: var(--font-body), sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}
.item-customization-trigger:hover {
    color: var(--clr-btn-hover, #e878ac);
    text-decoration: underline;
}
.item-customization-box {
    width: 100%;
    min-height: 56px;
    border-radius: 12px;
    border: 1px dashed rgba(200, 115, 90, 0.25);
    padding: 10px 14px;
    background: var(--clr-bg, #fdf6ee);
    font-family: var(--font-body), sans-serif;
    font-size: 0.85rem;
    color: var(--clr-text, #3c2715);
    resize: none;
    transition: all 0.3s ease;
}
.item-customization-box:focus {
    outline: none;
    border: 1px solid var(--clr-accent, #c8735a);
    background: #fff;
    box-shadow: 0 0 10px rgba(200, 115, 90, 0.1);
}

.item-customization-note {
    margin: 6px 2px 0;
    color: rgba(58, 42, 47, 0.58);
    font-family: var(--font-body), sans-serif;
    font-size: 0.76rem;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .item-customization-box {
        min-height: 72px;
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}


/* --- Dedicated Checkout SPA Section --- */
.checkout-section {
    max-width: var(--maxw, 1200px);
    margin: 120px auto 80px;
    padding: 0 5%;
}
.checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.checkout-panel-left, .checkout-panel-right {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(200, 115, 90, 0.08);
    border: 1px solid rgba(222, 207, 214, 0.4);
    padding: 32px;
}
.checkout-title {
    font-family: var(--font-heading), cursive;
    font-size: 2.8rem;
    color: var(--clr-text, #3c2715);
    margin-bottom: 24px;
    text-align: center;
}
.checkout-item-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(222, 207, 214, 0.4);
}
.checkout-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 1.5px solid rgba(200, 115, 90, 0.15);
}
.checkout-item-details h4 {
    font-family: var(--font-heading), cursive;
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--clr-text, #3c2715);
}
.checkout-item-details p {
    font-family: var(--font-body), sans-serif;
    color: #888;
    font-size: 0.9rem;
}
.checkout-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.checkout-item-row:last-child {
    border-bottom: none;
}
.checkout-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.checkout-form-group label {
    font-family: var(--font-body), sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-text, #3c2715);
}
.checkout-form-group input, .checkout-form-group textarea {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(122, 78, 90, 0.15);
    font-family: var(--font-body), sans-serif;
    font-size: 0.95rem;
    color: var(--clr-text, #3c2715);
    background: var(--clr-header, #fffdf9);
    transition: all 0.3s ease;
}
.checkout-form-group input:focus, .checkout-form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent, #c8735a);
    box-shadow: 0 0 0 3px rgba(200, 115, 90, 0.1);
}
.checkout-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-family: var(--font-body), sans-serif;
    font-size: 1rem;
    color: var(--clr-text, #3c2715);
}
.checkout-price-row.total-row {
    font-size: 1.3rem;
    font-weight: 800;
    border-top: 1.5px dashed rgba(200, 115, 90, 0.25);
    margin-top: 10px;
    padding-top: 16px;
}

/* --- Admin Panel Order Dashboard Accents --- */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: var(--font-body), sans-serif;
}
.order-table th, .order-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.order-table th {
    font-weight: 700;
    background: var(--clr-nav-bg, #f7ede2);
    color: var(--clr-text, #3c2715);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.order-card-row {
    background: #fff;
    transition: background 0.2s ease;
}
.order-card-row:hover {
    background: var(--clr-bg, #fdf6ee);
}
.status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
}
.status-badge--pending {
    background: #ffe3ef;
    color: #d45c76;
}
.status-badge--processing {
    background: #e3f2fd;
    color: #1e88e5;
}
.status-badge--shipped {
    background: #e8f5e9;
    color: #43a047;
}
.status-badge--cancelled {
    background: #efebe9;
    color: #6d4c41;
}
.order-item-chip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--clr-bg, #fdf6ee);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px dashed rgba(200, 115, 90, 0.2);
    margin-bottom: 6px;
}
.order-item-custom-note {
    font-size: 0.8rem;
    color: var(--clr-accent, #c8735a);
    font-style: italic;
    background: rgba(200, 115, 90, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* --- Cozy Public Order Tracker SPA Section --- */
.tracker-section {
    max-width: 650px;
    margin: 120px auto 80px;
    padding: 0 var(--container-pad);
}

.tracker-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(200, 115, 90, 0.08);
    border: 1px solid rgba(222, 207, 214, 0.4);
    padding: 40px;
    text-align: center;
}

@media (max-width: 480px) {
    .tracker-card {
        padding: 24px;
    }
}

.tracker-card-title {
    font-family: var(--font-heading), cursive;
    font-size: 2.8rem;
    color: var(--clr-text, #3c2715);
    margin-bottom: 8px;
}

.tracker-card-subtitle {
    color: #6f5f66;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.tracker-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1.5px dashed rgba(200, 115, 90, 0.25);
    padding: 24px;
    border-radius: 20px;
    background: rgba(253, 246, 238, 0.4);
}

.tracker-input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracker-input-group input {
    background: #fff;
    border: 1px solid rgba(222, 207, 214, 0.8);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.tracker-input-group input:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 4px rgba(200, 115, 90, 0.1);
}

.tracker-submit-btn {
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    min-height: 48px;
    transition: transform 0.2s ease;
}

.tracker-submit-btn:hover {
    transform: scale(1.02);
}

.order-status-badge {
    border-color: rgba(200, 115, 90, 0.3) !important;
}

.order-status-badge.status-pending {
    background-color: #fef9c3;
    color: #854d0e;
    border-color: #fef08a !important;
}

.order-status-badge.status-processing {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe !important;
}

.order-status-badge.status-shipped {
    background-color: #dcfce7;
    color: #166534;
    border-color: #bbf7d0 !important;
}

.order-status-badge.status-delivered {
    background-color: #f3e8ff;
    color: #6b21a8;
    border-color: #e9d5ff !important;
}

.order-status-badge.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca !important;
}

/* Progressive tracker timeline bar */
.order-progress-container {
    margin: 32px 0;
    position: relative;
    padding: 0 10px;
}

.order-progress-line {
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 6px;
    background: rgba(200, 115, 90, 0.15);
    border-radius: 4px;
    z-index: 1;
}

.order-progress-fill {
    height: 100%;
    background: var(--clr-accent);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.order-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.progress-step .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(200, 115, 90, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(200, 115, 90, 0.05);
}

.progress-step.active .step-icon {
    border-color: var(--clr-accent);
    background: var(--clr-purple, #ffe3ef);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 15px rgba(200, 115, 90, 0.15);
}

.progress-step.cancelled .step-icon {
    border-color: #ef4444;
    background: #fee2e2;
    transform: scale(1.05);
}

.progress-step .step-label {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    transition: color 0.3s ease;
}

.progress-step.active .step-label {
    color: var(--clr-text);
}

.progress-step.cancelled .step-label {
    color: #ef4444;
}

.tracker-wa-btn {
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(200, 115, 90, 0.15);
}

.tracker-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 115, 90, 0.25);
}

@media (max-width: 500px) {
    .order-progress-line {
        left: 20px !important;
        right: 20px !important;
        top: 18px !important;
        height: 4px !important;
    }
    .progress-step {
        width: 50px !important;
    }
    .progress-step .step-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }
    .progress-step.active .step-icon {
        transform: scale(1.1) rotate(5deg) !important;
    }
    .progress-step .step-label {
        font-size: 0.65rem !important;
        margin-top: 6px !important;
    }
    .order-header-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .order-status-badge {
        align-self: flex-start !important;
    }
}

/* --- Mobile Navigation Drawer, Hero Polaroids, Marquee Controls & Checkout Polish --- */
.menu-toggle-btn {
    display: none !important;
}

.js-paused {
    animation-play-state: paused !important;
}

body.mobile-sidebar-open {
    overflow: hidden;
}

/* Mobile Sidebar Drawer Layout */
.mobile-sidebar {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
}

.mobile-sidebar.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-sidebar-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 33, 39, 0.45);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sidebar.is-open .mobile-sidebar-backdrop {
    opacity: 1;
}

.mobile-sidebar-panel {
    position: relative;
    z-index: 1;
    width: min(88vw, 320px);
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 227, 239, 0.9), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #fff8fc 48%, #fdf2f8 100%);
    box-shadow: 12px 0 40px rgba(87, 55, 64, 0.18);
    border-right: 1px solid rgba(200, 115, 90, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sidebar.is-open .mobile-sidebar-panel {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 16px;
    border-bottom: 1px solid rgba(122, 78, 90, 0.1);
    background: rgba(255, 255, 255, 0.55);
}

.mobile-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mobile-sidebar-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(87, 55, 64, 0.12);
    flex-shrink: 0;
}

.mobile-sidebar-kicker {
    margin: 0 0 2px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(58, 42, 47, 0.5);
}

.mobile-sidebar-brand-text h2,
#mobile-sidebar-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--clr-text);
}

.mobile-sidebar-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(122, 78, 90, 0.1);
    border-radius: 50%;
    background: #fff;
    color: var(--clr-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(87, 55, 64, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-sidebar-close:hover {
    transform: scale(1.05);
    background: var(--clr-accent-soft);
}

.mobile-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px 8px;
    -webkit-overflow-scrolling: touch;
}

.mobile-sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link,
.mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(122, 78, 90, 0.08);
    text-align: left;
    padding: 13px 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--clr-text);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(87, 55, 64, 0.04);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--clr-accent-soft);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mobile-nav-label {
    flex: 1;
    min-width: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-dropdown-trigger:hover,
.mobile-dropdown-trigger.is-expanded {
    background: #fff;
    border-color: rgba(242, 166, 199, 0.45);
    color: var(--clr-accent);
    transform: translateX(2px);
}

.mobile-nav-link.active .mobile-nav-icon,
.mobile-dropdown-trigger.is-expanded .mobile-nav-icon {
    background: var(--clr-accent);
    color: #fff;
}

.mobile-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-dropdown-trigger {
    justify-content: flex-start;
}

.mobile-dropdown-trigger .caret {
    margin-left: auto;
    font-size: 0.7rem;
    opacity: 0.65;
    transition: transform 0.22s ease;
}

.mobile-dropdown-trigger.is-expanded .caret {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    margin: 0 0 4px 38px;
    padding: 6px 8px 8px;
    flex-direction: column;
    gap: 4px;
    border-left: 2px solid rgba(242, 166, 199, 0.35);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 12px 12px 0;
}

.mobile-dropdown-menu[hidden] {
    display: none !important;
}

.mobile-dropdown-menu:not([hidden]) {
    display: flex;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 9px 10px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--clr-muted);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-dropdown-menu a:hover {
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.85);
}

.mobile-dropdown-link--thumb {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.mobile-dropdown-thumb {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(200, 115, 90, 0.15);
}

.mobile-sidebar-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(122, 78, 90, 0.1);
    background: rgba(255, 255, 255, 0.65);
}

.mobile-sidebar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(122, 78, 90, 0.12);
    border-radius: 14px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-text);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(87, 55, 64, 0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-sidebar-action:hover {
    transform: translateY(-1px);
    background: var(--clr-accent-soft);
}

.mobile-sidebar-action--accent {
    background: linear-gradient(135deg, var(--clr-accent) 0%, #f5b8d4 100%);
    border-color: transparent;
    color: #fff;
}

.mobile-sidebar-action--accent:hover {
    background: linear-gradient(135deg, var(--clr-btn-hover) 0%, var(--clr-accent) 100%);
    color: #fff;
}

@media (max-width: 900px) {
    /* Menu Hamburger toggle */
    .menu-toggle-btn {
        display: inline-flex !important;
        margin-right: 8px;
    }

    /* Hide standard nav bar on mobile */
    .main-nav {
        display: none !important;
    }

    /* Mobile: always fixed at top; compact via .is-compact with constant body padding to prevent jumps/oscillations */
    body {
        padding-top: 104px !important;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 104px !important;
        min-height: 104px !important;
        box-sizing: border-box;
    }

    .main-header:not(.is-compact) .brand-logo {
        height: 72px !important;
        width: auto !important;
    }

    .main-header.is-sticky {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .main-header.is-sticky::before,
    .main-header.is-sticky::after {
        opacity: 0.15;
    }

    body.header-sticky .main-header {
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    body.header-sticky {
        padding-top: 104px !important;
    }

    .main-header.is-compact {
        min-height: 56px !important;
        height: 56px !important;
        padding: 4px 12px 3px;
        box-shadow: 0 4px 18px rgba(87, 55, 64, 0.08);
    }

    .main-header.is-compact::before,
    .main-header.is-compact::after {
        opacity: 0.12;
    }

    .main-header.is-compact .logo-wrapper {
        padding: 3px 8px;
        gap: 6px;
    }

    .main-header.is-compact .brand-logo {
        height: 44px !important;
        width: auto !important;
    }

    .main-header.is-compact .icon-btn {
        width: 32px;
        height: 32px;
    }

    .main-header.is-compact .social-btn--header-contact,
    .main-header.is-compact .social-btn--header-insta {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
    }

    .main-header,
    .main-header.is-compact {
        transition:
            height 0.22s ease,
            min-height 0.22s ease,
            padding 0.22s ease,
            box-shadow 0.22s ease;
    }

    .main-header .logo-wrapper,
    .main-header .brand-logo,
    .main-header .icon-btn {
        transition:
            width 0.22s ease,
            min-width 0.22s ease,
            height 0.22s ease,
            padding 0.22s ease;
    }

    /* Smaller, punchier category grids on mobile */
    .collection-band {
        padding: 20px 14px 24px;
    }

    .band-title {
        margin-bottom: 10px;
    }

    .band-kicker {
        font-size: 1rem;
    }

    .band-title h2 {
        font-size: clamp(1.65rem, 5vw, 2rem);
    }

    .collection-band .category-flower-grid {
        max-width: min(100%, 480px);
        margin-inline: auto;
        padding: 0;
    }

    .category-flower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 12px 8px;
        margin-top: 0;
    }

    .collection-band .cat-flower-card,
    .cat-flower-card {
        min-height: 0;
        aspect-ratio: 1;
        padding: 0;
        max-width: 230px;
        margin-inline: auto;
        width: 100%;
    }

    .cat-flower-card:hover {
        transform: translateY(-3px) scale(1.02);
    }

    .collection-band .cat-flower-svg,
    .cat-flower-svg {
        width: 100% !important;
        max-width: 100%;
        filter: drop-shadow(0 8px 14px rgba(145, 106, 128, 0.12));
    }

    .cat-flower-content {
        max-width: 85%;
        top: 50%;
    }

    .cat-flower-content h3 .big {
        font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    }

    .cat-flower-content h3 .small {
        font-size: clamp(0.9rem, 3.2vw, 1.2rem);
    }

    .section-wave {
        height: 60px;
    }

    .top-sellers {
        padding: 28px 14px 22px;
    }

    .section-kicker {
        font-size: 1.05rem;
    }

    .top-sellers h2 {
        font-size: clamp(1.85rem, 5vw, 2.2rem);
    }

    .browse-collections {
        padding: 22px 14px 40px;
    }

    .browse-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
        max-width: none;
    }

    .browse-tile {
        gap: 6px;
    }

    .browse-tile-visual {
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(87, 55, 64, 0.09);
    }

    .browse-tile-label {
        font-size: 0.78rem;
        padding-left: 2px;
    }

    /* Mobile hero: title on top, symmetrical dual stacks below */
    .hero-boutique {
        padding: 16px 12px 28px;
    }

    .hero-decor-yarn,
    .hero-decor-spark {
        display: none;
    }

    .hero-decor-flower {
        width: 34px;
        opacity: 0.45;
    }

    .hero-decor-flower--tl,
    .hero-decor-flower--tr {
        top: 6%;
    }

    .hero-decor-flower--bl,
    .hero-decor-flower--br {
        display: none;
    }

    .hero-decor-blob {
        opacity: 0.35;
        filter: blur(24px);
    }

    .hero-center {
        padding: 20px 14px 18px;
    }

    .hero-center::before {
        inset: -2px 0;
    }

    .hero-arc::before,
    .hero-arc::after {
        display: none;
    }

    .hero-sub {
        padding: 5px 12px;
        font-size: 1.05rem;
        transform: none !important;
    }

    .hero-wrap {
        min-height: auto !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 14px 12px !important;
        padding: 4px 0 0 !important;
        max-width: 380px;
        margin-inline: auto;
    }

    .hero-center {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 0 6px 2px;
    }

    .hero-arc {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.35rem);
    }

    .hero-sub {
        font-size: 0.92rem;
        margin-top: 4px;
    }

    .hero-polaroid-stack,
    .hero-polaroid-stack--left,
    .hero-polaroid-stack--right {
        width: 100%;
        max-width: 170px;
        justify-self: center;
        margin: 0;
    }

    .hero-polaroid-stack--left {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-polaroid-stack--right {
        grid-column: 2;
        grid-row: 2;
    }

    .hero-boutique .polaroid-stack {
        aspect-ratio: 0.8;
        margin-inline: auto;
    }

    .hero-boutique .polaroid-front {
        padding: 10px 10px 48px;
    }

    .hero-boutique .polaroid-frame.is-leaving {
        transform: rotate(-7deg) translateX(-10px) scale(0.97);
    }

    .hero-boutique .polaroid-frame--right.is-leaving {
        transform: rotate(7deg) translateX(10px) scale(0.97);
    }

    .hero-polaroid-stack--left .polaroid-base.base-one {
        transform: translate(10px, 14px) rotate(6deg);
    }

    .hero-polaroid-stack--left .polaroid-base.base-two {
        transform: translate(-8px, 22px) rotate(-5deg);
    }

    .hero-polaroid-stack--right .polaroid-base.base-one {
        transform: translate(-10px, 14px) rotate(-6deg);
    }

    .hero-polaroid-stack--right .polaroid-base.base-two {
        transform: translate(8px, 22px) rotate(5deg);
    }

    .hero-boutique .polaroid-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-size: 0.72rem;
        gap: 8px;
    }

    .hero-boutique .polaroid-caption::before {
        width: 36px;
        height: 8px;
    }

    .hero-polaroid-nav {
        display: none;
    }

    .hero-polaroid-controls {
        justify-content: center;
        gap: 0;
        margin-top: 8px;
        min-height: 14px;
    }

    .hero-polaroid-dots {
        flex: 0 1 auto;
        gap: 5px;
    }

    .hero-polaroid-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-wrap {
        max-width: 340px;
        gap: 12px 8px !important;
    }

    .hero-polaroid-stack,
    .hero-polaroid-stack--left,
    .hero-polaroid-stack--right {
        max-width: 154px;
    }

    .hero-boutique .polaroid-front {
        padding: 8px 8px 42px;
    }

    .hero-boutique .polaroid-caption {
        font-size: 0.68rem;
        bottom: 10px;
    }

    /* Best Sellers Marquee Tuning - Show multiple pictures scrolling simultaneously */
    .sellers-marquee .product-era-card {
        flex: 0 0 150px !important;
        width: 150px !important;
        gap: 8px !important;
    }

    .sellers-marquee .product-era-card h4 {
        font-size: 0.85rem !important;
    }

    .sellers-marquee .product-era-card .price {
        font-size: 0.8rem !important;
    }

    .sellers-marquee .product-era-card .btn-boutique {
        min-height: 32px !important;
        font-size: 0.72rem !important;
        padding: 4px 8px !important;
    }

    .sellers-marquee-track {
        gap: 12px !important;
    }

    /* Checkout Page overrides */
    .checkout-section {
        margin: 124px auto 40px !important;
        padding: 0 12px;
    }
    .checkout-panel-left, .checkout-panel-right {
        padding: 16px;
        border-radius: 20px;
    }
    .checkout-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    .checkout-item-row {
        grid-template-columns: 64px 1fr;
        gap: 12px;
        align-items: start;
    }
    .checkout-item-thumb {
        width: 64px;
        height: 64px;
        grid-row: span 2;
    }
    .checkout-item-actions {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 4px;
    }
    .checkout-price-row {
        padding: 8px 0;
        font-size: 0.95rem;
    }
    .checkout-form-group {
        margin-bottom: 12px;
    }
}

/* --- Cute Page Loader Overlay --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fdf6ee; /* matches var(--clr-bg) */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    z-index: 10;
}

.loader-flower {
    animation: loaderSpin 2.5s linear infinite;
    display: inline-flex;
}

.sunflower-spinner {
    filter: drop-shadow(0 4px 12px rgba(200, 115, 90, 0.22));
}

.outer-ring {
    transform-origin: center;
    animation: ringSpin 4s linear infinite;
}

.loader-text {
    font-family: 'Pacifico', cursive, sans-serif;
    font-size: 1.35rem;
    color: #c8735a; /* matches var(--clr-accent) */
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(200, 115, 90, 0.08);
    animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringSpin {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes loaderPulse {
    0% { transform: scale(0.96); opacity: 0.85; }
    100% { transform: scale(1.04); opacity: 1; }
}

.loader-bg-icon {
    position: absolute;
    color: var(--icon-color, rgba(200, 115, 90, 0.12));
    animation: loaderIconFloat var(--float-dur, 6s) ease-in-out var(--float-delay, 0s) infinite alternate;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    transition: color 0.3s ease;
}

@keyframes loaderIconFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.92);
    }
    100% {
        transform: translate(var(--drift-x, 15px), var(--drift-y, -25px)) rotate(var(--rot-end, 15deg)) scale(1.08);
    }
}

/* --- Reviews Marquee --- */
.reviews-marquee-section {
    padding: 60px 0;
    overflow: hidden;
    background: linear-gradient(180deg, transparent, rgba(255, 238, 247, 0.3), transparent);
}

.reviews-marquee {
    overflow-x: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    padding: 20px 0;
}

.reviews-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: reviews-marquee-scroll 45s linear infinite;
    will-change: transform;
}

.reviews-marquee-track:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 320px;
    width: 320px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(222, 207, 214, 0.5);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(122, 78, 90, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
    position: relative;
}

.review-card::before {
    content: "✿";
    position: absolute;
    top: 15px;
    right: 18px;
    color: rgba(200, 115, 90, 0.12);
    font-size: 1.5rem;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(122, 78, 90, 0.1);
    border-color: rgba(200, 115, 90, 0.25);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
}

.review-stars {
    color: #ffda8b;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.review-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--clr-text);
    opacity: 0.85;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--clr-text);
    opacity: 0.6;
    border-top: 1px dashed rgba(222, 207, 214, 0.5);
    padding-top: 10px;
    margin-top: 4px;
}

.review-order-id {
    font-family: monospace;
}

@keyframes reviews-marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
    .reviews-marquee-section {
        padding: 40px 0;
    }
    .review-card {
        flex: 0 0 280px;
        width: 280px;
        padding: 20px;
    }
}

/* --- Review Modal Additions --- */
.review-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(122, 78, 90, 0.15);
}

.review-step {
    animation: fadeInModalStep 0.3s ease-out;
}

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

.review-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 8px 0;
    text-align: center;
}

.review-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    opacity: 0.75;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.45;
}

.review-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-form-group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text);
    opacity: 0.8;
}

.review-form-group input[type="tel"],
.review-form-group textarea,
.review-form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(222, 207, 214, 0.7);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--clr-text);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.review-form-group input:focus,
.review-form-group textarea:focus,
.review-form-group select:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(200, 115, 90, 0.15);
}

.review-action-btn {
    background: var(--clr-btn);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
}

.review-action-btn:hover {
    filter: brightness(0.92);
}

.review-action-btn:active {
    transform: scale(0.98);
}

/* --- Reviews Header Badge & Live Transitions --- */
.reviews-header-badge {
    position: relative;
    display: inline-block;
    background: #fffdf9;
    border: 2px dashed rgba(122, 78, 90, 0.4);
    border-radius: 40px 16px 40px 16px;
    padding: 24px 60px;
    box-shadow: 0 12px 36px rgba(122, 78, 90, 0.05), inset 0 0 0 6px #ffffff;
    margin: 0 auto;
    transform: scale(0.8) rotate(-4deg);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
}

.reviews-marquee-section.is-visible .reviews-header-badge {
    transform: scale(1) rotate(-0.8deg);
    opacity: 1;
}

/* Badge Flowers */
.badge-flower {
    position: absolute;
    width: 44px;
    height: 44px;
    top: 50%;
    transform-origin: center;
    transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
    opacity: 0;
}

.badge-flower-left {
    left: -22px;
    margin-top: -22px;
    transform: scale(0) rotate(0deg);
}

.badge-flower-right {
    right: -22px;
    margin-top: -22px;
    transform: scale(0) rotate(0deg);
}

.reviews-marquee-section.is-visible .badge-flower-left {
    transform: scale(1) rotate(360deg);
    opacity: 1;
}

.reviews-marquee-section.is-visible .badge-flower-right {
    transform: scale(1) rotate(-360deg);
    opacity: 1;
}

.reviews-header-badge:hover {
    transform: scale(1.03) rotate(0.5deg) !important;
}

.reviews-header-badge:hover .badge-flower-left {
    transform: scale(1.1) rotate(420deg) !important;
}

.reviews-header-badge:hover .badge-flower-right {
    transform: scale(1.1) rotate(-420deg) !important;
}

/* Reviews Summary Badge inside Header Tag */
.reviews-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(122, 78, 90, 0.05);
    border-radius: 99px;
    padding: 6px 14px;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7a4e5a;
    font-family: var(--font-body), sans-serif;
    transition: all 0.3s ease;
}

.reviews-summary-badge .stars-display {
    color: #f5c767;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
    margin-top: -2px;
}

.reviews-summary-badge .total-count {
    color: rgba(122, 78, 90, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ✍️ Review Us section trigger button */
.review-section-trigger-btn {
    margin-top: 8px !important;
    background: #7a4e5a !important;
    box-shadow: 0 10px 24px rgba(122, 78, 90, 0.2) !important;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    min-height: 40px !important;
    padding: 0 20px !important;
    font-size: 0.8rem !important;
}

.review-section-trigger-btn:hover {
    background: var(--clr-accent, #c8735a) !important;
    box-shadow: 0 12px 28px rgba(200, 115, 90, 0.3), 0 0 0 5px rgba(200, 115, 90, 0.15) !important;
}

.view-all-collections-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Inventory & Out of Stock Upgrades --- */
.product-era-card {
    position: relative;
}

.product-era-card .img-box {
    position: relative;
    overflow: hidden;
}

.out-of-stock-watermark {
    position: absolute;
    inset: 0;
    background: rgba(45, 33, 39, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading), cursive;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 5;
    pointer-events: none;
    border-radius: 20px;
    animation: fadeInWatermark 0.38s ease;
}

.out-of-stock-watermark::before {
    content: 'OUT OF STOCK';
    position: absolute;
    width: 120%;
    height: 38px;
    background: var(--clr-accent, #c8735a);
    transform: rotate(-12deg);
    z-index: 6;
    box-shadow: 0 4px 15px rgba(200, 115, 90, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

@keyframes fadeInWatermark {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.stock-badge {
    font-family: var(--font-body), sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8c64c8;
    background: rgba(140, 100, 200, 0.08);
    border: 1px dashed rgba(140, 100, 200, 0.25);
    padding: 4px 12px;
    border-radius: 99px;
    margin: 8px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    transition: all 0.3s ease;
}

.stock-badge.low-stock {
    color: var(--clr-accent, #c8735a);
    background: rgba(200, 115, 90, 0.08);
    border-color: rgba(200, 115, 90, 0.3);
    animation: pulseLowStock 1.5s ease-in-out infinite alternate;
}

@keyframes pulseLowStock {
    0% { transform: scale(0.97); }
    100% { transform: scale(1.03); }
}





