:root {
    --pink: #ffb6d9;
    --pink-dark: #ff7cc8;
    --lavender: #c7b9ff;
    --peach: #ffd9c0;
    --text: #2f2633;
    --muted: #6b5c6f;
    --bg: #fff6fb;
    --card: #ffffff;
    --border: rgba(47, 38, 51, 0.08);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

*:focus-visible {
    outline: 3px solid rgba(255, 124, 200, 0.5);
    outline-offset: 3px;
    border-radius: 4px;
}

button,
a,
input,
textarea {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(255, 124, 200, 0.1);
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    cursor: default;
}

a,
button,
.product-card,
.nav a,
.btn {
    will-change: transform, box-shadow;
    user-select: none;
}

.product-card:active {
    transform: translateY(-6px) scale(0.98);
}
.btn:active {
    transform: translateY(0) scale(0.95);
}

/* Inline icon utilities */
.inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    color: currentColor;
}

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

.inline-icon--leading {
    margin-right: 0.45rem;
}

.inline-icon--trailing {
    margin-left: 0.45rem;
}

.inline-icon--sparkle {
    color: var(--pink-dark);
}

.inline-icon--heart {
    color: #ff7cc8;
}

.inline-icon--lavender {
    color: var(--lavender);
}

.inline-icon--star {
    color: #f7c948;
}

.inline-icon--luna,
.inline-icon--bloom-ring {
    position: relative;
}

.inline-icon--luna::before,
.inline-icon--bloom-ring::before {
    content: '';
    position: absolute;
    inset: -0.35rem;
    border-radius: 999px;
    z-index: -1;
    opacity: 0.75;
}

.inline-icon--luna {
    color: #a884ff;
    animation: iconFloat 4.5s ease-in-out infinite;
}

.inline-icon--luna::before {
    background: radial-gradient(circle at 30% 35%, rgba(255, 216, 240, 0.95), rgba(199, 185, 255, 0));
}

.inline-icon--bloom-ring {
    color: #ff85c3;
    animation: iconPulse 3.6s ease-in-out infinite;
}

.inline-icon--bloom-ring::before {
    background: radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.9), rgba(255, 182, 217, 0.2));
}

.inline-icon--luna svg,
.inline-icon--bloom-ring svg {
    filter: drop-shadow(0 6px 18px rgba(199, 185, 255, 0.45));
}

.inline-icon--aurora {
    position: relative;
    color: #ff6fa6;
    animation: iconPulse 2.8s ease-in-out infinite;
}

.inline-icon--aurora::before {
    content: '';
    position: absolute;
    inset: -0.3rem;
    border-radius: 999px;
    background: radial-gradient(circle at 40% 30%, rgba(255, 214, 240, 0.8), rgba(255, 111, 166, 0));
    z-index: -1;
}

.inline-icon--aurora svg {
    filter: drop-shadow(0 8px 18px rgba(255, 111, 166, 0.35));
}

/* Larger, better-aligned icons for section headings (home page) */
.section-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
}

.section-head h2 .inline-icon {
    margin-top: 10px;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 2.2rem;
    vertical-align: middle;
    align-self: center;
}

.section-head h2 .inline-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Slightly larger eyebrow icon variant */
.eyebrow--icon .inline-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.hero {
    min-height: 70vh;
    background: radial-gradient(circle at top right, rgba(255, 182, 217, 0.6), transparent 50%),
        radial-gradient(circle at bottom left, rgba(199, 185, 255, 0.55), transparent 45%),
        #fff;
    padding: 2rem clamp(1.5rem, 4vw, 6rem) 4rem;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 217, 192, 0.3), transparent 25%),
        radial-gradient(circle at 85% 80%, rgba(199, 185, 255, 0.25), transparent 30%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(199, 185, 255, 0.15);
    margin-bottom: 2rem;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-dark), var(--lavender));
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--pink-dark);
}

.nav a:hover::after {
    width: 100%;
}

.logo {
    font-weight: 600;
    font-size: 1.25rem;
}

.bag-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.bag-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    flex-shrink: 0;
}

.bag-btn .bag-count {
    font-weight: 700;
    color: var(--accent);
}

.bag-btn:hover {
    background: #f9f9f9;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.15);
    transform: translateY(-1px);
}

.bag-btn:active {
    transform: translateY(0);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--pink-dark) 50%, var(--lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(255, 124, 200, 0.2);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--pink-dark);
    font-weight: 600;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.2), rgba(199, 185, 255, 0.2));
    border-radius: 999px;
    border: 1px solid rgba(255, 124, 200, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.subtext {
    color: var(--muted);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--muted);
}

.hero-list li::before {
    content: '✿';
    margin-right: 0.65rem;
    color: var(--pink-dark);
}

.hero-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 32px;
    border: 1px solid rgba(47, 38, 51, 0.05);
    isolation: isolate;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -30px -40px -60px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 182, 217, 0.35), transparent 60%),
        radial-gradient(circle at 80% 10%, rgba(199, 185, 255, 0.25), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(255, 217, 192, 0.4), transparent 65%);
    filter: blur(45px);
    opacity: 0.75;
    z-index: -1;
}

.hero-panel {
    background:
        linear-gradient(150deg, rgba(255, 238, 245, 0.96) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 228, 244, 0.92) 100%),
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.35), transparent 45%);
    border-radius: 28px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
    opacity: 0.18;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-panel__tag {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--muted);
}

.hero-panel__tag strong {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text);
}

.hero-panel__image {
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin: 0;
}

.hero-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-panel__details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-digest {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(199, 185, 255, 0.18), transparent 60%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(245, 236, 255, 0.9));
    border: 1px solid rgba(47, 38, 51, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero-panel > *,
.hero-digest > * {
    position: relative;
    z-index: 1;
}

.hero-digest::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
    opacity: 0.12;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-digest__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-digest__stat strong {
    font-size: 3rem;
    line-height: 1;
    color: var(--pink-dark);
    letter-spacing: normal;
}

.hero-digest__stat span {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: none;
    letter-spacing: normal;
}

.hero-digest p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.hero-digest ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-digest__shipping {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 182, 217, 0.15);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 700px) {
    .hero-panel__details {
        flex-direction: column;
        gap: 0.3rem;
    }
    .hero-digest {
        padding: 1rem;
    }
}

.btn {
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn.primary {
    background: linear-gradient(135deg, var(--pink-dark), var(--lavender));
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 124, 200, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 124, 200, 0.45), 0 0 30px rgba(199, 185, 255, 0.3);
    background: linear-gradient(135deg, var(--pink-dark), var(--lavender), var(--peach));
}

.btn.ghost {
    background: transparent;
    color: var(--pink-dark);
    border: 1px solid rgba(255, 124, 200, 0.4);
    transition: all 0.3s ease;
}

.btn.ghost:hover {
    background: rgba(255, 182, 217, 0.1);
    border-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 124, 200, 0.2);
}

main {
    padding: 4rem clamp(1.5rem, 4vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

main>section {
    position: relative;
    animation: sectionFadeIn 0.8s ease-out backwards;
}

main>section:nth-child(1) {
    animation-delay: 0.1s;
}

main>section:nth-child(2) {
    animation-delay: 0.2s;
}

main>section:nth-child(3) {
    animation-delay: 0.3s;
}

main>section:nth-child(4) {
    animation-delay: 0.4s;
}

main>section:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

main>section::after {
    content: '';
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--lavender), transparent);
    border-radius: 999px;
}

main>section:last-child::after {
    display: none;
}

.section-head {
    text-align: center;
    max-width: 735px;
    margin: 0 auto 3rem;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    justify-content: center;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.grid-section .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
    justify-content: center;
}

.product-card {
    background: var(--card);
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 6px 20px rgba(199, 185, 255, 0.12);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out backwards;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    content-visibility: auto;
    contain-intrinsic-size: 280px 500px;
    flex: 0 1 280px;
    max-width: 400px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-dark), var(--lavender), var(--peach));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(199, 185, 255, 0.25),
        0 8px 20px rgba(255, 182, 217, 0.2),
        inset 0 0 0 1px rgba(255, 182, 217, 0.2);
}

.product-card:hover .product-media img {
    transform: scale(1.03);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-media img,
    .quick-view-btn,
    .quick-view,
    .quick-view__dialog {
        transition: none !important;
        animation: none !important;
    }
}

.product-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text);
}

.product-card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted);
    flex-grow: 1;
}

.product-media {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.05), rgba(199, 185, 255, 0.05));
    position: relative;
}

.product-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}


.product-card:hover .product-media::after {
    opacity: 1;
}

.quick-view-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translate(-50%, 20px);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    letter-spacing: 0.02em;
    z-index: 2;
    will-change: transform, opacity;
    pointer-events: none;
}

.product-card:hover .quick-view-btn,
.product-media:focus-within .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
    pointer-events: auto;
}

.quick-view-btn:focus-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
    outline: 3px solid rgba(255, 124, 200, 0.4);
    outline-offset: 4px;
}

.quick-view-btn svg {
    width: 1rem;
    height: 1rem;
    color: var(--pink-dark);
}

@media (max-width: 768px) {
    .quick-view-btn {
        opacity: 1;
        transform: translate(-50%, 0);
        pointer-events: auto;
        visibility: visible;
    }
}

.quick-view {
    position: fixed;
    inset: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.quick-view.is-open {
    visibility: visible;
    opacity: 1;
}

.quick-view__overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 12, 23, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.4s ease-out,
                backdrop-filter 0.4s ease-out;
    will-change: backdrop-filter;
}

.quick-view.is-open .quick-view__overlay {
    background: rgba(18, 12, 23, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.quick-view__dialog {
    position: relative;
    background: #fff;
    border-radius: 32px;
    max-width: 920px;
    width: min(92vw, 920px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2.5rem;
    box-shadow: 0 40px 110px rgba(25, 10, 34, 0.35);
    transform: translateY(30px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-view.is-open .quick-view__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.quick-view__media {
    grid-column: span 2;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.12), rgba(199, 185, 255, 0.15));
}

.quick-view.is-open .quick-view__media {
    animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.05s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quick-view__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quick-view__info {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-view.is-open .quick-view__info > * {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.quick-view.is-open .quick-view__eyebrow {
    animation-delay: 0.1s;
}

.quick-view.is-open .quick-view__title {
    animation-delay: 0.15s;
}

.quick-view.is-open .quick-view__description {
    animation-delay: 0.2s;
}

.quick-view.is-open .quick-view__price {
    animation-delay: 0.25s;
}

.quick-view.is-open .quick-view__actions {
    animation-delay: 0.3s;
}

.quick-view__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--pink-dark);
}

.quick-view__title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin: 0;
}

.quick-view__description {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}

.quick-view__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.quick-view__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-view__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-view__close:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 1);
}

.quick-view__close svg {
    width: 1.4rem;
    height: 1.4rem;
}

@media (max-width: 900px) {
    .quick-view {
        padding: 1rem;
    }
    .quick-view__dialog {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .quick-view__media,
    .quick-view__info {
        grid-column: span 1;
    }
}

/* ========================
   Shopping Bag Sidebar
   ======================== */

.bag-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bag-sidebar.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bag-sidebar__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bag-sidebar.is-open .bag-sidebar__overlay {
    opacity: 1;
}

.bag-sidebar__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(480px, 100%);
    height: 100%;
    background: white;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bag-sidebar.is-open .bag-sidebar__panel {
    transform: translateX(0);
}

.bag-sidebar__header {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bag-sidebar__header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.bag-sidebar__close {
    border: none;
    background: rgba(255, 182, 217, 0.2);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bag-sidebar__close:hover {
    background: rgba(255, 182, 217, 0.3);
    transform: scale(1.08);
}

.bag-sidebar__close svg {
    width: 1.2rem;
    height: 1.2rem;
}

.bag-sidebar__content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.bag-sidebar__empty {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.bag-sidebar__empty p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.bag-sidebar__items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bag-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.bag-item__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.bag-item__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bag-item__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bag-item__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}

.bag-item__quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.bag-item__qty-btn {
    border: 1px solid var(--border);
    background: white;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bag-item__qty-btn:hover {
    background: rgba(255, 182, 217, 0.1);
    border-color: var(--accent);
}

.bag-item__quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.bag-item__remove {
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.bag-item__remove:hover {
    background: rgba(255, 124, 200, 0.1);
    color: var(--accent);
}

.bag-item__remove svg {
    width: 1rem;
    height: 1rem;
}

.bag-sidebar__footer {
    display: none;
    padding: 2rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 182, 217, 0.05);
}

.bag-sidebar__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bag-sidebar__total-price {
    color: var(--accent);
}

.bag-sidebar__note {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0 0 1.5rem 0;
}

.bag-sidebar__checkout {
    width: 100%;
    justify-content: center;
}

.bag-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(255, 124, 200, 0.4);
    font-weight: 600;
    z-index: 10001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

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

@media (max-width: 600px) {
    .bag-sidebar__panel {
        width: 100%;
    }
    
    .bag-sidebar__header,
    .bag-sidebar__content,
    .bag-sidebar__footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .bag-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.product-card .badge {
    align-self: flex-start;
    font-size: 0.7rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.95), rgba(255, 124, 200, 0.9));
    color: white;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.5), 0 0 20px rgba(255, 124, 200, 0.3);
    backdrop-filter: blur(8px);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 124, 200, 0.5), 0 0 20px rgba(255, 124, 200, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 124, 200, 0.6), 0 0 30px rgba(255, 124, 200, 0.4);
    }
}

.price {
    margin-top: auto;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price s {
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
    font-weight: 400;
}

.new-arrivals {
    background: linear-gradient(145deg, rgba(255, 182, 217, 0.2), rgba(199, 185, 255, 0.25));
    border-radius: 36px;
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.6), 0 25px 60px rgba(199, 185, 255, 0.2);
}

.new-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.new-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(255, 124, 200, 0.18);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex: 0 1 220px;
    max-width: 350px;
}

.new-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 124, 200, 0.3);
}

.new-card img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.new-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}

.new-card__body h3 {
    font-size: 1.15rem;
    margin: 0;
}

.new-card__body p:last-child {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 182, 217, 0.15) 100%);
    border-radius: 36px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(199, 185, 255, 0.25);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding: clamp(2.5rem, 4vw, 4rem);
}

.about-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-text>p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-list li {
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-list li:hover {
    transform: translateX(8px);
}

.about-list li .icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: var(--pink);
    filter: drop-shadow(0 2px 8px rgba(255, 182, 217, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.about-list li:hover .icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(255, 182, 217, 0.5));
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-dark), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

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

.about-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Rituals/Collection Section */
.rituals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(199, 185, 255, 0.1), rgba(255, 182, 217, 0.1));
    box-shadow: 0 30px 70px rgba(199, 185, 255, 0.2);
}

.ritual-copy {
    padding: clamp(2.5rem, 4vw, 4rem);
}

.ritual-copy h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ritual-copy p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ritual-copy ul {
    margin: 1.5rem 0 0;
    padding-left: 0;
    color: var(--muted);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ritual-copy ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.ritual-copy ul li:hover {
    transform: translateX(8px);
}

.ritual-copy ul li .icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: var(--lavender);
    filter: drop-shadow(0 2px 8px rgba(199, 185, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ritual-copy ul li:hover .icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(199, 185, 255, 0.5));
}

.ritual-photo {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.ritual-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 36px 36px 0px;
    box-shadow: none;
    display: block;
}

.leaf-pill {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.95), rgba(255, 124, 200, 0.9));
    color: white;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(255, 124, 200, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Testimonials Section */
.testimonials {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.testimonials .section-head h2 {
    display: inline-flex;
    justify-content: center;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(199, 185, 255, 0.15);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    flex: 0 1 280px;
    max-width: 400px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(199, 185, 255, 0.25);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    color: #ffd700;
}

.testimonial-card>p {
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-author strong {
    color: var(--text);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.08), rgba(199, 185, 255, 0.08));
    border-top: 1px solid var(--border);
    padding: 3rem clamp(1.5rem, 4vw, 6rem);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.footer-contact {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0.5rem 0 0;
}

.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social span {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    padding: 0.5rem;
}

.footer-social a img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(199, 185, 255, 0.4);
}

.footer-social .inline-icon {
    width: 1.25rem;
    height: 1.25rem;
}

#secret-heart.hidden-state {
    opacity: 0.4;
}

#secret-heart:focus-visible {
    outline: 2px dashed var(--pink-dark);
    outline-offset: 4px;
}

.chat-body {
    min-height: 100vh;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.chat-background {
    display: none;
}

.chat-shell {
    width: min(900px, 100%);
    min-height: min(80vh, 700px);
    border-radius: 16px;
    background: white;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Access Gate Styles */
.access-gate {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    z-index: 100;
    transition: opacity 0.3s ease;
}

.access-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 90%;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.access-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #2d2d2d;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: white;
}

.access-icon svg {
    width: 40px;
    height: 40px;
}

.access-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.access-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.access-form {
    margin-bottom: 1.5rem;
}

.access-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #1a1a1a;
}

.access-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 124, 200, 0.1);
    color: #1a1a1a;
}

.access-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    user-select: none;
    margin-bottom: 15px;

}

.access-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.access-remember span {
    cursor: pointer;
}

.access-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #2d2d2d;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #1a1a1a;
}

.access-btn:active {
    transform: translateY(0);
}

.access-btn span {
    color: #ffffff;
}

.access-btn svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

.access-error {
    display: none;
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.access-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.access-back:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff5fb;
}

.access-back svg {
    width: 16px;
    height: 16px;
}

/* Redesigned Chat Inputs */
.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow: hidden;
}

.chat-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.chat-input-group:first-child {
    width: 140px;
    flex-shrink: 0;
}

.chat-input-message {
    flex: 1;
    min-width: 0;
}

.chat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 0.25rem;
}

.chat-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 124, 200, 0.1);
    transform: translateY(-1px);
}

.chat-input::placeholder {
    color: var(--muted);
}

.chat-send-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: none;
    background: #2d2d2d;
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 20px;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #1a1a1a;
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-send-btn svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    fill: none;
}

.dm-frame {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    color: var(--text);
}

.dm-device-bar {
    display: none;
}

.dm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    background: white;
}

.dm-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.dm-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: white;
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dm-nav-btn:hover {
    background: #f9f9f9;
    border-color: var(--accent);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.logout-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

.logout-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.dm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    padding: 2px;
    background: white;
}

.dm-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.dm-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.dm-name {
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.dm-status {
    font-size: 0.875rem;
    color: var(--muted);
}

.dm-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dm-icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: white;
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dm-icon-btn:hover {
    background: #f9f9f9;
    border-color: var(--accent);
}

.dm-icon-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.dm-ribbon {
    display: none;
}

.dm-pill-tray {
    display: none;
}

.chat-log {
    background: #fafafa;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.chat-log::-webkit-scrollbar {
    width: 8px;
}

.chat-log::-webkit-scrollbar-track {
    background: transparent;
}

.chat-log::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 999px;
}

.chat-log::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

.dm-date-tag {
    align-self: center;
    background: white;
    color: var(--muted);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    margin: 0.5rem 0;
}

.loading-indicator {
    align-self: center;
    background: #f5f5f5;
    color: var(--muted);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.5rem 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.load-more-btn {
    align-self: center;
    background: white;
    color: var(--text);
    padding: 0.625rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.load-more-btn:hover {
    background: #f9f9f9;
    border-color: var(--text);
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.message {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: white;
    color: var(--text);
    max-width: 70%;
    align-self: flex-start;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.message:hover .message-delete-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.message-delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px) scale(0.8);
    z-index: 10;
}

.message-delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(0) scale(1.05) rotate(90deg);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4), 0 3px 6px rgba(0, 0, 0, 0.15);
    border-color: #fef2f2;
}

.message-delete-btn:active {
    transform: translateY(0) scale(0.95) rotate(90deg);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.message-delete-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.message.me .message-delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.message.me .message-delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.message .meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.message p:last-child {
    margin: 0;
}

.message.me {
    align-self: flex-end;
    background: #2d2d2d;
    color: #ffffff;
    border-color: #2d2d2d;
}

.message.me .meta {
    color: rgba(255, 255, 255, 0.7);
}

.message::after {
    display: none;
}

.message.system {
    align-self: center;
    background: #f5f5f5;
    border-color: #e5e5e5;
    font-style: italic;
    color: var(--muted);
    max-width: 90%;
    text-align: center;
}

.chat-input {
    padding: 16px 2rem;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dm-name-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.9rem;
    color: var(--muted);
}

.dm-chip-label {
    font-weight: 500;
    white-space: nowrap;
}

.dm-name-chip input {
    border: none;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
}

.dm-name-chip input::placeholder {
    color: var(--muted);
}

.dm-name-chip input:focus {
    outline: none;
}

/* Old input row styles - replaced by new chat-input-wrapper */
/* 
.dm-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dm-input-row:focus-within {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.15);
    transform: translateY(-1px);
}

.dm-input-row input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    font-weight: 500;
}

.dm-input-row input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.dm-input-row input:focus {
    outline: none;
}

.dm-input-row #chat-name {
    max-width: 150px;
    padding-right: 0.75rem;
    border-right: 2px solid #f0f0f0;
}

.dm-input-row #chat-message {
    flex: 2;
}
*/

/* Old send button - replaced by chat-send-btn */
/*
.dm-send-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dm-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.3);
}

.dm-send-btn:active {
    transform: translateY(0);
}

.dm-send-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}
*/

.dm-typing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    max-width: fit-content;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    visibility: hidden;
}

.dm-typing.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dm-typing-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.dm-typing-dots {
    display: inline-flex;
    gap: 0.35rem;
}

.dm-typing-dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent);
    animation: dmTyping 1s infinite ease-in-out;
}

.dm-typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.dm-typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dmTyping {
    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@media (max-width: 640px) {
    .chat-body {
        padding: 0;
    }

    .chat-shell {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border: none;
    }

    .dm-topbar {
        padding: 1rem 1.5rem;
    }

    .chat-log {
        padding: 1.5rem;
    }

    .chat-input {
        padding: 1rem 1.5rem;
    }

    .message {
        max-width: 85%;
    }
}

.icon-button {
    border: none;
    background: rgb(255 215 238) !important;
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(255, 182, 217, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: 5px !important;
}

.icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(255, 182, 217, 0.4);
}

@media (max-width: 768px) {
    .nav ul {
        display: none;
    }

    .hero {
        padding-top: 1.5rem;
    }

    main {
        padding: 2.5rem 1.25rem 4rem;
        gap: 3.5rem;
    }

    .hero-grid {
        margin-top: 1.5rem;
    }

    .grid-section .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .product-card__content {
        padding: 1.25rem;
    }

    .section-head h2 {
        font-size: 1.75rem;
    }

    .new-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 300px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-shell {
        border-radius: 28px;
    }

    .message {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .grid-section .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card:nth-child(n) {
        animation-delay: 0.1s;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(199, 185, 255, 0.1) 0%,
            rgba(255, 182, 217, 0.2) 50%,
            rgba(199, 185, 255, 0.1) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth transitions for all interactive elements */
::selection {
    background: rgba(255, 182, 217, 0.5);
    color: var(--text);
}

/* Image loading optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth scroll padding for anchor links */
html {
    scroll-padding-top: 100px;
}

/* Enhanced link states */
a {
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    transform: translateX(2px);
}

/* Performance optimization */
.product-card,
.new-card,
.hero-image {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Shop Page Styles */
.shop-header {
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.15), rgba(199, 185, 255, 0.15));
    padding: 2rem clamp(1.5rem, 4vw, 6rem);
}

.page-hero {
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.1rem;
}

.shop-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 3rem clamp(1.5rem, 4vw, 6rem);
    max-width: 1600px;
    margin: 0 auto;
}

.shop-sidebar {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--lavender) transparent;
}

.shop-sidebar::-webkit-scrollbar {
    width: 8px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 0.5rem 0;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--lavender) 0%, var(--pink) 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b39dff 0%, #ff99cc 100%);
    box-shadow: 0 0 12px rgba(199, 185, 255, 0.4);
}

.shop-sidebar::-webkit-scrollbar-thumb:active {
    background: var(--accent);
}

.filter-section {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
}

.filter-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.filter-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.filter-group label:hover {
    color: var(--pink-dark);
}

.filter-group input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--pink-dark);
}

.filter-group span {
    color: var(--muted);
    font-size: 0.85rem;
}

.color-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
    border-color: var(--pink-dark);
}

.color-swatch.active {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(255, 124, 200, 0.2);
}

.shop-content {
    min-width: 0;
}

.shop-content .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(199, 185, 255, 0.1);
}

.results-count {
    color: var(--muted);
    margin: 0;
}

.results-count strong {
    color: var(--text);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-controls label {
    color: var(--muted);
    font-size: 0.9rem;
}

.sort-select {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: var(--pink-dark);
}

.sort-select:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(255, 124, 200, 0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-num:hover {
    border-color: var(--pink-dark);
    color: var(--pink-dark);
}

.page-num.active {
    background: linear-gradient(135deg, var(--pink-dark), var(--lavender));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.4);
}

/* Responsive Shop Layout */
@media (max-width: 968px) {
    .shop-main {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Page Content Styles */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1.5rem, 4vw, 6rem);
}

.size-guide-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.size-guide-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.measurement-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.measure-card {
    background: var(--card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(199, 185, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
    width: clamp(200px, 240px, 240px);
    min-width: 200px;
}

.measure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(199, 185, 255, 0.25);
}

.measure-icon {
    margin-bottom: 1rem;
}

.measure-icon .inline-icon {
    width: 3rem;
    height: 3rem;
    color: var(--pink-dark);
    filter: drop-shadow(0 4px 16px rgba(255, 182, 217, 0.35));
}

.measure-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.measure-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.size-tables {
    margin: 2.5rem 0;
}

.table-section {
    margin-bottom: 2rem;
}

.table-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.table-note {
    color: var(--muted);
    font-style: italic;
    margin-top: 1rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(199, 185, 255, 0.15);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
}

.size-table thead {
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.2), rgba(199, 185, 255, 0.2));
}

.size-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.size-table td {
    padding: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.size-table tbody tr:hover {
    background: rgba(255, 182, 217, 0.05);
}

.fit-guide-section {
    margin: 2.5rem 0;
}

.fit-guide-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fit-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.fit-card {
    background: var(--card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(199, 185, 255, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    width: clamp(260px, 320px, 320px);
    min-width: 260px;
}

.fit-card:hover {
    border-color: var(--pink-dark);
    transform: translateY(-4px);
}

.fit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fit-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.5rem 0;
}

.fit-card strong {
    color: var(--text);
}

.faq-section {
    margin: 2.5rem 0;
}

.faq-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.faq-item {
    background: var(--card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(199, 185, 255, 0.1);
    flex: 0 0 auto;
    width: clamp(260px, 320px, 320px);
    min-width: 260px;
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cta-banner {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.15), rgba(199, 185, 255, 0.15));
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.cta-banner h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    margin-top: 5px;
    color: var(--text);
}

.cta-banner p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Shipping Page Styles */
.info-section {
    margin: 3rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(199, 185, 255, 0.15);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
}

.info-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.info-icon .inline-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--lavender);
    filter: drop-shadow(0 6px 20px rgba(199, 185, 255, 0.4));
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.info-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.content-sections {
    margin: 4rem 0;
}

.content-block {
    background: var(--card);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(199, 185, 255, 0.15);
}

.content-block h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text), var(--pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-block h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.content-block p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.shipping-table {
    margin: 2rem 0;
}

.shipping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.shipping-row:hover {
    background: rgba(255, 182, 217, 0.05);
}

.shipping-row.highlight {
    background: linear-gradient(135deg, rgba(255, 182, 217, 0.15), rgba(199, 185, 255, 0.15));
    border-radius: 12px;
    border: none;
    margin-top: 1rem;
}

.shipping-method strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.shipping-method span {
    color: var(--muted);
    font-size: 0.85rem;
}

.shipping-cost {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pink-dark);
}

.numbered-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
}

.numbered-list li {
    counter-increment: step-counter;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    color: var(--muted);
    line-height: 1.7;
}

.numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--pink-dark), var(--lavender));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.numbered-list strong {
    color: var(--text);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item-full {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.faq-item-full:last-child {
    border-bottom: none;
}

.faq-item-full h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item-full p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.faq-item-full a {
    color: var(--pink-dark);
    text-decoration: underline;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 182, 217, 0.05);
    border-radius: 12px;
}

.contact-item strong {
    color: var(--text);
    min-width: 120px;
    display: inline-flex;
    align-items: center;
}

.contact-item a {
    color: var(--pink-dark);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

.contact-item span {
    color: var(--muted);
}

/* ============================================
   SVG Icon Animations & Enhancements
   ============================================ */

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes iconPulse {

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

    50% {
        transform: scale(1.08);
    }
}

.icon {
    animation: iconFloat 3s ease-in-out infinite;
}

.about-list li:nth-child(1) .icon {
    animation-delay: 0s;
}

.about-list li:nth-child(2) .icon {
    animation-delay: 0.2s;
}

.about-list li:nth-child(3) .icon {
    animation-delay: 0.4s;
}

.about-list li:nth-child(4) .icon {
    animation-delay: 0.6s;
}

.ritual-copy ul li:nth-child(1) .icon {
    animation-delay: 0.1s;
}

.ritual-copy ul li:nth-child(2) .icon {
    animation-delay: 0.3s;
}

.ritual-copy ul li:nth-child(3) .icon {
    animation-delay: 0.5s;
}

.ritual-copy ul li:nth-child(4) .icon {
    animation-delay: 0.7s;
}

/* Enhanced hover effects */
.about-list li:hover .icon,
.ritual-copy ul li:hover .icon {
    animation: iconPulse 0.6s ease-in-out;
}

/* Add shimmer effect to gradients on hover */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.product-card:hover {
    box-shadow: 0 25px 70px rgba(255, 182, 217, 0.25),
        0 15px 30px rgba(199, 185, 255, 0.15);
}

/* Smooth scroll enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .about-list li,
    .ritual-copy ul li {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .about-list li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .about-list li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .about-list li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .about-list li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .ritual-copy ul li:nth-child(1) {
        animation-delay: 0.15s;
    }

    .ritual-copy ul li:nth-child(2) {
        animation-delay: 0.25s;
    }

    .ritual-copy ul li:nth-child(3) {
        animation-delay: 0.35s;
    }

    .ritual-copy ul li:nth-child(4) {
        animation-delay: 0.45s;
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .icon {
        animation: none;
    }
}
/* ========================
   Checkout Page
   ======================== */

.checkout-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.checkout-header .nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header .logo {
    padding: 0.5rem 0;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-step {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

.checkout-step.active {
    color: var(--accent);
    font-weight: 600;
}

.checkout-step-divider {
    color: var(--border);
}

.checkout-main {
    background: #fafafa;
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    align-items: start;
}

.checkout-forms {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.checkout-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.checkout-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section__header {
    margin-bottom: 1.5rem;
}

.checkout-section__header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.checkout-section__subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

.payment-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #059669;
    background: #d1fae5;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.payment-badge svg {
    width: 1rem;
    height: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 124, 200, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #ef4444;
}

.form-input.error:focus,
.form-select.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    display: none;
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.5rem;
}

.form-error.show {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-option {
    display: block;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shipping-option:hover {
    border-color: var(--accent);
    background: rgba(255, 182, 217, 0.05);
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option input[type="radio"]:checked + .shipping-option__content {
    border-left-color: var(--accent);
}

.shipping-option:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: rgba(255, 182, 217, 0.08);
    box-shadow: 0 0 0 1px var(--accent);
}

.shipping-option__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: border-color 0.2s ease;
}

.shipping-option__details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shipping-option__details strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.shipping-option__details span {
    font-size: 0.875rem;
    color: var(--muted);
}

.shipping-option__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.checkout-actions .btn {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    min-width: 0;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    box-shadow: none;
    transform: none;
}

.checkout-actions .btn:hover {
    transform: translateY(-1px);
}

.checkout-actions .btn:active {
    transform: translateY(0);
}

.checkout-actions .btn::before {
    display: none;
}

.checkout-actions .btn svg {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.checkout-actions .btn.ghost,
.checkout-actions .btn.primary {
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    flex: 1;
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.checkout-actions .btn.ghost:hover,
.checkout-actions .btn.primary:hover {
    background: #f9f9f9;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 124, 200, 0.15);
}

.checkout-actions .btn.ghost svg {
    stroke: currentColor;
}

.checkout-summary {
    position: sticky;
    top: 6rem;
}

.checkout-summary__content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.checkout-summary h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text);
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
}

.checkout-item__image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.checkout-item__details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkout-item__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: var(--text);
}

.checkout-item__meta {
    font-size: 0.875rem;
    color: var(--muted);
}

.checkout-item__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

.checkout-summary__divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.checkout-totals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text);
}

.checkout-total-row--final {
    font-size: 1.375rem;
    color: var(--text);
    padding-top: 1rem;
}

.checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.checkout-trust-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #059669;
    flex-shrink: 0;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.success-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.success-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-modal.is-open .success-modal__dialog {
    transform: translate(-50%, -50%) scale(1);
}

.success-modal__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.success-modal__icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 3;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-modal__dialog h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text);
}

.success-modal__dialog p {
    font-size: 1.125rem;
    color: var(--muted);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.success-modal__order-number {
    background: rgba(255, 182, 217, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.success-modal__order-number strong {
    color: var(--accent);
    font-weight: 700;
}

.success-modal__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 1100px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .checkout-summary { position: static; order: -1; }
}

@media (max-width: 768px) {
    .checkout-header .nav { padding: 0.5rem 1.5rem; }
    .checkout-steps { display: none; }
    .checkout-main { padding: 2rem 0; }
    .checkout-container { padding: 0 1rem; }
    .checkout-forms { padding: 1.5rem; }
    .checkout-summary__content { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .checkout-actions { flex-direction: column-reverse; gap: 0.75rem; }
    .checkout-actions .btn { width: 100%; flex: 1; }
    .checkout-actions .btn.ghost { flex: 1; width: 100%; }
    .success-modal__dialog { padding: 2rem 1.5rem; }
    .success-modal__dialog h2 { font-size: 1.5rem; }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================== */

/* Base Mobile-First Optimizations */
* {
    -webkit-tap-highlight-color: rgba(255, 124, 200, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-grid {
        gap: 3rem;
    }
    
    .products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
}

/* Desktop to Tablet (769px - 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .hero {
        padding: 2rem 2rem 3rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }
}

/* Tablet and below (768px) */
@media (max-width: 768px) {
    /* === GLOBAL TYPOGRAPHY === */
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); }
    
    /* === NAVIGATION === */
    .nav {
        padding: 0.875rem 1.25rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }
    
    .logo {
        font-size: 1.15rem;
        white-space: nowrap;
    }
    
    .nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        flex-shrink: 0;
    }
    
    .nav a {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }
    
    .nav a::after {
        bottom: 0;
    }
    
    /* Simplified Bag Button for Tablet */
    .bag-btn {
        padding: 0.625rem 1rem;
        gap: 0.375rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .bag-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .bag-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 20px;
        height: 20px;
        padding: 0 4px;
        border-radius: 10px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        color: white;
        font-weight: 700;
        border: 2px solid white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    /* === HERO SECTION === */
    .hero {
        padding: 1.5rem 1.25rem 2.5rem;
        min-height: 60vh;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-visual {
        order: 2;
        padding-top: 0;
    }
    
    .eyebrow {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .hero h1 {
        font-size: clamp(1.875rem, 6vw, 2.5rem);
        line-height: 1.15;
        margin-bottom: 1rem;
    }
    
    .subtext {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .cta-row {
        flex-direction: column;
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-row .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .hero-list {
        padding: 0 1rem;
        gap: 0.625rem;
    }
    
    .hero-list li {
        font-size: 0.875rem;
    }
    
    .hero-panel,
    .hero-digest {
        max-width: 100%;
    }
    
    .hero-panel__tag {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }
    
    .hero-digest {
        padding: 1.25rem;
    }
    
    .hero-digest__stat strong {
        font-size: 2rem;
    }
    
    .hero-digest p,
    .hero-digest ul li {
        font-size: 0.875rem;
    }
    
    /* === PRODUCT GRID === */
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1.25rem;
    }
    
    .product-card {
        padding: 0.875rem;
        border-radius: 16px;
    }
    
    .product-img {
        height: 180px;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    .product-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .product-card .price {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }
    
    .add-btn {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        min-height: 42px;
    }
    
    /* === SECTIONS === */
    .grid-section,
    .section {
        padding: 2.5rem 1.25rem;
    }
    
    .section-head {
        margin-bottom: 2rem;
    }
    
    .section-head h2 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .section-head h2 .inline-icon {
        width: 2rem;
        height: 2rem;
        margin-top: 0;
    }
    
    /* === CHAT INTERFACE === */
    .chat-shell {
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
        max-height: none;
        box-shadow: none;
    }
    
    .dm-header {
        padding: 1rem 1.25rem;
        border-radius: 0;
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .dm-user {
        flex: 1;
        min-width: 0;
    }
    
    .dm-user h3 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .dm-user .status {
        font-size: 0.8rem;
    }
    
    .logout-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .logout-btn span {
        display: inline;
    }
    
    .logout-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .chat-log {
        padding: 1.25rem 1rem;
        gap: 1rem;
        padding-bottom: 2rem;
    }
    
    .message {
        max-width: 82%;
        padding: 0.875rem 1.125rem;
        border-radius: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .message .meta {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    .message .text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .message-delete-btn {
        width: 30px;
        height: 30px;
        top: -7px;
        right: -7px;
    }
    
    .message-delete-btn svg {
        width: 15px;
        height: 15px;
    }
    
    .load-more-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        margin: 0.5rem auto;
    }
    
    .chat-input-wrapper {
        padding: 1rem;
        gap: 0.75rem;
        position: sticky;
        bottom: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .chat-input-group {
        min-width: 0;
        flex-shrink: 1;
    }
    
    .chat-input-group:first-child {
        width: 100px;
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .chat-input-message {
        flex: 1;
        min-width: 0;
    }
    
    .chat-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
        min-height: 42px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .chat-label {
        font-size: 0.7rem;
    }
    
    .chat-send-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        margin-top: 18px;
    }
    
    .chat-send-btn svg {
        width: 20px;
        height: 20px;
    }
    
    /* === ACCESS GATE (LOGIN) === */
    .access-gate {
        padding: 1.25rem;
    }
    
    .access-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
        max-width: 450px;
    }
    
    .access-card h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .access-card p {
        font-size: 0.925rem;
        margin-bottom: 1.75rem;
    }
    
    .access-form {
        gap: 1rem;
    }
    
    .access-label {
        font-size: 0.875rem;
    }
    
    .access-input,
    .access-btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 14px;
        min-height: 48px;
    }
    
    .access-remember {
        font-size: 0.875rem;
        gap: 0.625rem;
        padding: 0.25rem 0;
    }
    
    .access-remember input[type="checkbox"] {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    /* === TYPOGRAPHY === */
    body {
        font-size: 14px;
    }
    
    /* === NAVIGATION === */
    .nav {
        padding: 0.75rem 1rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
    
    .logo {
        font-size: 1.05rem;
    }
    
    .nav ul {
        display: none; /* Hide menu on mobile, consider hamburger */
    }
    
    .bag-btn {
        padding: 0.5rem 0.875rem;
        border-radius: 12px;
        margin-left: auto;
    }
    
    /* === HERO === */
    .hero {
        padding: 1rem 1rem 2rem;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
        margin-bottom: 0.875rem;
    }
    
    .subtext {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-row {
        gap: 0.75rem;
    }
    
    .cta-row .btn {
        padding: 0.8125rem 1.25rem;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .hero-list {
        gap: 0.5rem;
    }
    
    .hero-list li {
        font-size: 0.8125rem;
        padding-left: 1.5rem;
    }
    
    .hero-list li::before {
        width: 5px;
        height: 5px;
        left: 0.375rem;
    }
    
    .hero-panel {
        padding: 1rem;
    }
    
    .hero-digest {
        padding: 1rem;
    }
    
    /* === PRODUCTS === */
    .products {
        padding: 1.5rem 1rem;
        gap: 0.875rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-img {
        height: 160px;
        margin-bottom: 0.625rem;
    }
    
    .product-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    
    .product-card .price {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .add-btn {
        padding: 0.5625rem 0.875rem;
        font-size: 0.8125rem;
        min-height: 40px;
    }
    
    /* === CHAT === */
    .dm-header {
        padding: 0.875rem 1rem;
    }
    
    .dm-user h3 {
        font-size: 0.95rem;
    }
    
    .dm-user .status {
        font-size: 0.75rem;
    }
    
    .logout-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }
    
    .logout-btn span {
        display: none;
    }
    
    .logout-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .chat-log {
        padding: 1rem 0.875rem;
        gap: 0.875rem;
    }
    
    .message {
        max-width: 85%;
        padding: 0.75rem 1rem;
        border-radius: 16px;
    }
    
    .message .meta {
        font-size: 0.7rem;
        margin-bottom: 0.325rem;
    }
    
    .message .text {
        font-size: 0.9rem;
    }
    
    .message-delete-btn {
        width: 28px;
        height: 28px;
        top: -6px;
        right: -6px;
        border-width: 1.5px;
    }
    
    .message-delete-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .chat-input-wrapper {
        padding: 0.875rem;
        gap: 0.625rem;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .chat-input-group:first-child {
        width: 85px;
        min-width: 70px;
    }
    
    .chat-input {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    .chat-label {
        font-size: 0.65rem;
    }
    
    .chat-send-btn {
        width: 42px;
        height: 42px;
        margin-top: 16px;
    }
    
    .chat-send-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* === ACCESS GATE === */
    .access-gate {
        padding: 1rem;
    }
    
    .access-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }
    
    .access-card h1 {
        font-size: 1.5rem;
    }
    
    .access-card p {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .access-form {
        gap: 0.875rem;
    }
    
    .access-input,
    .access-btn {
        padding: 0.875rem 1.125rem;
        font-size: 0.95rem;
        min-height: 46px;
    }
    
    .access-remember {
        font-size: 0.8125rem;
    }
    
    .access-remember input[type="checkbox"] {
        width: 17px;
        height: 17px;
    }
    
    /* === SECTIONS === */
    .grid-section,
    .section {
        padding: 2rem 1rem;
    }
    
    .section-head h2 {
        font-size: 1.5rem;
    }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
    /* === NAVIGATION === */
    .nav {
        padding: 0.625rem 0.875rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .bag-btn {
        padding: 0.5rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    .bag-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .bag-count {
        width: 18px;
        height: 18px;
        font-size: 0.625rem;
        top: -5px;
        right: -5px;
    }
    
    /* === HERO === */
    .hero {
        padding: 0.875rem 0.875rem 1.75rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .subtext {
        font-size: 0.875rem;
    }
    
    .cta-row .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-height: 44px;
    }
    
    .hero-list {
        padding: 0 0.75rem;
    }
    
    .hero-list li {
        font-size: 0.8rem;
    }
    
    /* === PRODUCTS === */
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1.25rem 0.875rem;
    }
    
    .product-card {
        padding: 0.625rem;
        border-radius: 12px;
    }
    
    .product-img {
        height: 140px;
        border-radius: 10px;
    }
    
    .product-card h3 {
        font-size: 0.8125rem;
        line-height: 1.25;
    }
    
    .product-card .price {
        font-size: 0.95rem;
    }
    
    .add-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 38px;
    }
    
    /* === CHAT === */
    .dm-header {
        padding: 0.75rem 0.875rem;
    }
    
    .dm-user h3 {
        font-size: 0.9rem;
    }
    
    .dm-user .status {
        font-size: 0.7rem;
    }
    
    .logout-btn {
        padding: 0.375rem 0.5rem;
    }
    
    .logout-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .chat-log {
        padding: 0.875rem 0.75rem;
        gap: 0.75rem;
    }
    
    .message {
        max-width: 88%;
        padding: 0.625rem 0.875rem;
        border-radius: 14px;
    }
    
    .message .meta {
        font-size: 0.675rem;
    }
    
    .message .text {
        font-size: 0.875rem;
    }
    
    .message-delete-btn {
        width: 26px;
        height: 26px;
        top: -5px;
        right: -5px;
    }
    
    .message-delete-btn svg {
        width: 13px;
        height: 13px;
    }
    
    .load-more-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .chat-input-wrapper {
        padding: 0.625rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .chat-input-group:first-child {
        width: 75px;
        min-width: 60px;
    }
    
    .chat-input {
        padding: 0.5625rem 0.625rem;
        font-size: 0.875rem;
        min-height: 38px;
    }
    
    .chat-label {
        font-size: 0.6rem;
    }
    
    .chat-send-btn {
        width: 40px;
        height: 40px;
        margin-top: 14px;
    }
    
    .chat-send-btn svg {
        width: 17px;
        height: 17px;
    }
    
    /* === ACCESS GATE === */
    .access-gate {
        padding: 0.875rem;
    }
    
    .access-card {
        padding: 1.5rem 1rem;
    }
    
    .access-card h1 {
        font-size: 1.375rem;
    }
    
    .access-card p {
        font-size: 0.8125rem;
    }
    
    .access-input,
    .access-btn {
        padding: 0.8125rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* === SECTIONS === */
    .grid-section,
    .section {
        padding: 1.75rem 0.875rem;
    }
}

/* Landscape Mobile (max height 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .chat-shell {
        height: 100vh;
    }
    
    .dm-header {
        padding: 0.625rem 1rem;
    }
    
    .chat-log {
        padding: 0.75rem 1rem;
    }
    
    .chat-input-wrapper {
        padding: 0.625rem 1rem;
        gap: 0.75rem;
    }
    
    .chat-input-group:first-child {
        width: 90px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 1.5rem 1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .cta-row {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .cta-row .btn {
        width: auto;
        flex: 1;
    }
    
    .access-gate {
        padding: 1rem;
    }
    
    .access-card {
        max-width: 600px;
        padding: 1.5rem 2rem;
    }
    
    .access-form {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .access-btn {
        grid-column: 1 / -1;
    }
}

/* iPad and Tablet Portrait (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 2rem;
    }
    
    .hero-grid {
        gap: 2.5rem;
    }
    
    .nav {
        padding: 1rem 2rem;
    }
    
    .message {
        max-width: 70%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav a {
        padding: 0.5rem 0.75rem;
    }
    
    .add-btn,
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    /* Remove hover states on touch */
    .nav a:hover::after {
        width: 0;
    }
    
    .nav a:active::after {
        width: 100%;
    }
    
    /* Better touch feedback */
    button:active,
    .btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    
    /* Prevent double-tap zoom */
    a, button {
        touch-action: manipulation;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-img,
    .hero-panel__image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Safe Area Insets for Notched Devices */
@supports (padding: max(0px)) {
    .chat-shell {
        padding-top: max(0px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
    
    .chat-input-wrapper {
        padding-bottom: max(0.875rem, calc(0.875rem + env(safe-area-inset-bottom)));
        padding-left: max(0.875rem, env(safe-area-inset-left));
        padding-right: max(0.875rem, env(safe-area-inset-right));
    }
    
    .dm-header {
        padding-top: max(1rem, calc(1rem + env(safe-area-inset-top)));
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .nav {
        margin-left: max(0px, env(safe-area-inset-left));
        margin-right: max(0px, env(safe-area-inset-right));
    }
    
    .hero,
    .grid-section,
    .section {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Future-Proofing) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light; /* Force light mode for now */
    }
}

/* Print Styles */
@media print {
    .nav,
    .bag-btn,
    .chat-input-wrap,
    .add-btn,
    .logout-btn,
    .message-delete-btn {
        display: none !important;
    }
    
    .hero {
        background: white !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
