
:root {
    --plum-900: #3B1A47;
    --plum-800: #4A2258;
    --plum-700: #5B2C6B;
    --plum-600: #6E3781;
    --plum-500: #855099;
    --lavender-400: #A97BC0;
    --lavender-300: #C4A0D6;
    --lavender-200: #DCC3E8;
    --lilac-100: #EFE2F5;
    --lilac-50: #F7EFFA;

    --cream-50: #FDFBF8;
    --cream-100: #FAF6F1;
    --cream-200: #F5EFE7;
    --cream-300: #EDE4DA;
    --sand-400: #DCCFC2;

    --ink-900: #382A3C;
    --ink-700: #4E3F53;
    --ink-500: #6F6075;
    --ink-400: #8C7F92;

    --success: #4B8F6D;
    --success-soft: #E4F2EA;
    --warning: #B9832E;
    --warning-soft: #FBF0DC;
    --danger: #B4504F;
    --danger-soft: #FBE7E6;
    --info: #5A7BA6;
    --info-soft: #E6EDF6;

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

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(59, 26, 71, .05);
    --shadow-sm: 0 2px 10px rgba(59, 26, 71, .06);
    --shadow-md: 0 8px 28px rgba(59, 26, 71, .09);
    --shadow-lg: 0 18px 48px rgba(59, 26, 71, .13);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-back: cubic-bezier(.34, 1.4, .64, 1);

    --container: 1280px;
    --header-height: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-700);
    background-color: var(--cream-200);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--plum-700);
    line-height: 1.2;
    margin: 0 0 .6em;
    font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--plum-600);
    text-decoration: none;
    transition: color .25s var(--ease);
}

a:hover { color: var(--lavender-400); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand-400), transparent);
    margin: 2.5rem 0;
}

:focus-visible {
    outline: 2px solid var(--lavender-400);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--lavender-200);
    color: var(--plum-900);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 880px;
}

.shell {
    max-width: 1360px;
    margin: 0 auto;
    background: var(--cream-50);
    box-shadow: var(--shadow-sm);
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 999;
    background: var(--plum-700);
    color: #fff;
    padding: .7rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: top .25s var(--ease);
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.announcement {
    background: linear-gradient(100deg, var(--plum-700), var(--lavender-400));
    color: #fff;
    text-align: center;
    font-size: .82rem;
    letter-spacing: .04em;
    padding: .55rem 24px;
    position: relative;
    z-index: 60;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 251, 248, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header.is-stuck {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--cream-300);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    transition: transform .5s var(--ease-back);
}

.brand:hover img { transform: scale(1.06) rotate(-4deg); }

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: var(--plum-700);
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li { margin: 0; }

.main-nav a {
    position: relative;
    color: var(--ink-700);
    font-weight: 500;
    font-size: .95rem;
    padding: .4rem 0;
    display: inline-block;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--plum-600);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .3s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--plum-700);
}

.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--plum-700);
    cursor: pointer;
    transition: background .25s var(--ease), transform .25s var(--ease-back), color .25s var(--ease);
}

.icon-button:hover {
    background: var(--lilac-100);
    transform: translateY(-2px);
}

.icon-button svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--plum-700);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge.is-bumping {
    animation: badge-bump .45s var(--ease-back);
}

@keyframes badge-bump {
    0% { transform: scale(1); }
    45% { transform: scale(1.45); }
    100% { transform: scale(1); }
}

.burger { display: none; }

.search-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(59, 26, 71, .35);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}

.search-panel.is-open { opacity: 1; visibility: visible; }

.search-panel-inner {
    background: var(--cream-50);
    padding: 2.4rem 24px 2.8rem;
    transform: translateY(-24px);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
}

.search-panel.is-open .search-panel-inner { transform: translateY(0); }

.search-form {
    display: flex;
    gap: .7rem;
    max-width: 660px;
    margin: 0 auto;
}

.search-results {
    max-width: 660px;
    margin: 1.4rem auto 0;
    display: grid;
    gap: .5rem;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.search-result:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.search-result img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-result strong { color: var(--plum-700); font-weight: 600; }
.search-result span { color: var(--lavender-400); font-weight: 600; font-size: .9rem; }

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59, 26, 71, .4);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.mobile-nav-drawer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: var(--cream-50);
    padding: 1.6rem 1.5rem;
    transform: translateX(-100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-nav.is-open { pointer-events: auto; }
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav-drawer { transform: translateX(0); }

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .2rem;
}

.mobile-nav ul a {
    display: block;
    padding: .8rem .9rem;
    border-radius: var(--radius-md);
    color: var(--ink-700);
    font-weight: 500;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.mobile-nav ul a:hover,
.mobile-nav ul a.is-active {
    background: var(--lilac-100);
    color: var(--plum-700);
    transform: translateX(4px);
}

.mobile-nav-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-400);
    font-weight: 700;
    margin: .4rem 0 .1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.7rem;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-back), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(120deg, var(--plum-700), var(--plum-600));
    color: #fff;
    box-shadow: 0 6px 18px rgba(91, 44, 107, .25);
}

.btn-primary:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(91, 44, 107, .32);
}

.btn-secondary {
    background: var(--lilac-100);
    color: var(--plum-700);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--lavender-200);
    color: var(--plum-800);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    box-shadow: inset 0 0 0 1.5px var(--lavender-300);
}

.btn-outline:hover:not(:disabled) {
    background: var(--lilac-50);
    box-shadow: inset 0 0 0 1.5px var(--plum-600);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-500);
    padding: .5rem .9rem;
}

.btn-ghost:hover:not(:disabled) { color: var(--plum-700); background: var(--cream-200); }

.btn-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.btn-danger:hover:not(:disabled) { background: var(--danger); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }

.btn:disabled,
.btn.is-loading {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn.is-loading::after {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

.hero {
    position: relative;
    margin: 20px 24px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(115deg, var(--lilac-100) 0%, var(--cream-200) 55%);
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    left: 42%;
}

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

.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--cream-100) 0%, rgba(250, 246, 241, .75) 26%, transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 3.6rem 0 3.6rem 3.4rem;
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--plum-600);
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.eyebrow::before,
.eyebrow.centered::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--lavender-300);
}

.hero h1 {
    color: var(--plum-800);
    margin-bottom: 1rem;
}

.hero h1 .heart {
    display: inline-block;
    color: var(--lavender-400);
    font-size: .6em;
    vertical-align: middle;
    animation: heartbeat 2.6s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.22); }
    24% { transform: scale(1); }
    36% { transform: scale(1.14); }
    48% { transform: scale(1); }
}

.hero p {
    font-size: 1.06rem;
    color: var(--ink-500);
    max-width: 410px;
    margin-bottom: 1.9rem;
}

.section {
    padding: 4.5rem 0;
}

.section-tight { padding: 3rem 0; }

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

.section-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
}

.section-head h2::before,
.section-head h2::after {
    content: '♡';
    color: var(--lavender-300);
    font-size: .52em;
    font-family: var(--font-body);
}

.section-head p {
    color: var(--ink-500);
    margin: 0;
}

.divider-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--lavender-300);
    padding: .4rem 0;
}

.divider-heart::before,
.divider-heart::after {
    content: '';
    height: 1px;
    width: min(180px, 26vw);
    background: linear-gradient(90deg, transparent, var(--sand-400));
}

.divider-heart::after { background: linear-gradient(90deg, var(--sand-400), transparent); }

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--cream-300);
    border-bottom: 1px solid var(--cream-300);
}

.feature {
    text-align: center;
    padding: 2.4rem 1.4rem;
    position: relative;
    transition: background .35s var(--ease);
}

.feature + .feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--cream-300);
}

.feature:hover { background: var(--lilac-50); }

.feature svg {
    width: 30px;
    height: 30px;
    color: var(--plum-600);
    margin: 0 auto .9rem;
    stroke-width: 1.5;
    transition: transform .4s var(--ease-back);
}

.feature:hover svg { transform: translateY(-4px) scale(1.08); }

.feature h3 {
    font-family: var(--font-body);
    font-size: .98rem;
    font-weight: 700;
    color: var(--plum-700);
    margin-bottom: .35rem;
}

.feature p {
    font-size: .86rem;
    color: var(--ink-500);
    margin: 0;
    line-height: 1.55;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 2.4rem;
}

.pill {
    padding: .55rem 1.35rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--cream-300);
    background: var(--cream-50);
    color: var(--ink-500);
    font-size: .88rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .3s var(--ease);
}

.pill:hover {
    border-color: var(--lavender-300);
    color: var(--plum-700);
    transform: translateY(-2px);
}

.pill.is-active {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
    box-shadow: 0 6px 16px rgba(91, 44, 107, .22);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.6rem;
}

.product-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.product-card {
    position: relative;
    background: var(--cream-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--cream-300);
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: var(--lavender-200);
}

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream-200);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

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

.product-badges {
    position: absolute;
    top: .8rem;
    left: .8rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .32rem .75rem;
    border-radius: var(--radius-pill);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    background: var(--plum-700);
    color: #fff;
    box-shadow: var(--shadow-xs);
}

.badge-sale { background: var(--danger); }
.badge-new { background: var(--lavender-400); }
.badge-gift { background: var(--plum-600); }
.badge-out { background: var(--ink-400); }
.badge-low { background: var(--warning); }

.wishlist-button {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(253, 251, 248, .94);
    color: var(--plum-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease-back), background .3s var(--ease), color .3s var(--ease);
}

.wishlist-button svg { width: 17px; height: 17px; }

.wishlist-button:hover { transform: scale(1.12); background: #fff; }

.wishlist-button.is-active {
    background: var(--plum-700);
    color: #fff;
}

.wishlist-button.is-active svg { fill: currentColor; }

.product-quickadd {
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .8rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.product-card:hover .product-quickadd,
.product-card:focus-within .product-quickadd {
    opacity: 1;
    transform: translateY(0);
}

.product-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}

.product-category {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-400);
    font-weight: 700;
}

.product-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
    line-height: 1.35;
}

.product-title a { color: inherit; }
.product-title a:hover { color: var(--plum-700); }

.product-excerpt {
    font-size: .86rem;
    color: var(--ink-500);
    margin: 0;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    margin-top: auto;
    padding-top: .5rem;
}

.price-current {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--plum-700);
}

.price-old {
    font-size: .9rem;
    color: var(--ink-400);
    text-decoration: line-through;
}

.price-save {
    font-size: .76rem;
    font-weight: 700;
    color: var(--danger);
}

.gift-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(105deg, var(--lilac-100), var(--lavender-200));
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.6rem 2.2rem;
}

.gift-banner-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gift-banner-media img { width: 100%; height: 100%; object-fit: cover; }

.gift-banner h3 {
    color: var(--plum-800);
    margin-bottom: .2rem;
}

.gift-banner p {
    color: var(--plum-700);
    margin: 0;
    opacity: .85;
}

.gift-banner-deco {
    position: absolute;
    right: 190px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(91, 44, 107, .13);
    pointer-events: none;
}

.gift-banner-deco svg { width: 110px; height: 110px; }

.newsletter {
    background: var(--plum-800);
    color: var(--cream-100);
    border-radius: var(--radius-lg);
    padding: 3rem 2.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before,
.newsletter::after {
    content: '♡';
    position: absolute;
    color: rgba(255, 255, 255, .07);
    font-size: 9rem;
    line-height: 1;
}

.newsletter::before { top: -1.5rem; left: 2rem; }
.newsletter::after { bottom: -3rem; right: 2.5rem; }

.newsletter h2 { color: #fff; position: relative; }
.newsletter p { color: var(--lavender-200); max-width: 520px; margin: 0 auto 1.7rem; position: relative; }

.newsletter-form {
    display: flex;
    gap: .6rem;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form .form-input {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.newsletter-form .form-input::placeholder { color: rgba(255, 255, 255, .6); }

.newsletter-form .form-input:focus {
    background: rgba(255, 255, 255, .2);
    border-color: var(--lavender-300);
    box-shadow: 0 0 0 4px rgba(196, 160, 214, .18);
}

.newsletter-form .btn-primary {
    background: var(--cream-100);
    color: var(--plum-800);
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover { background: #fff; color: var(--plum-900); }

.newsletter-consent {
    font-size: .76rem;
    color: var(--lavender-300);
    margin: 1rem 0 0;
    position: relative;
}

.newsletter-consent a { color: var(--lavender-200); text-decoration: underline; }

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

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

.form-label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: .45rem;
}

.form-label .required { color: var(--danger); }

.form-hint {
    display: block;
    font-size: .78rem;
    color: var(--ink-400);
    margin-top: .35rem;
    line-height: 1.45;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: .78rem 1rem;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    background: var(--cream-50);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink-900);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.form-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--lavender-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(169, 123, 192, .13);
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
    border-color: var(--danger);
    background: var(--danger-soft);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E3781' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.6rem;
}

.form-error {
    display: block;
    font-size: .8rem;
    color: var(--danger);
    margin-top: .4rem;
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .89rem;
    color: var(--ink-700);
    cursor: pointer;
    line-height: 1.5;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    accent-color: var(--plum-700);
    cursor: pointer;
    flex-shrink: 0;
}

.form-check a { text-decoration: underline; }

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.2rem;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-md);
    background: var(--cream-50);
    cursor: pointer;
    transition: all .3s var(--ease);
}

.radio-card:hover { border-color: var(--lavender-300); background: var(--lilac-50); }

.radio-card.is-selected {
    border-color: var(--plum-600);
    background: var(--lilac-50);
    box-shadow: 0 0 0 3px rgba(110, 55, 129, .1);
}

.radio-card input { margin-top: 3px; }

.radio-card-body { flex: 1; }
.radio-card-body strong { display: block; color: var(--ink-900); font-weight: 600; }
.radio-card-body small { color: var(--ink-500); font-size: .83rem; }
.radio-card-price { font-weight: 700; color: var(--plum-700); white-space: nowrap; }

.quantity-input {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--cream-50);
}

.quantity-input button {
    width: 38px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--plum-700);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .25s var(--ease);
}

.quantity-input button:hover:not(:disabled) { background: var(--lilac-100); }
.quantity-input button:disabled { opacity: .35; cursor: not-allowed; }

.quantity-input input {
    width: 44px;
    height: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink-900);
    -moz-appearance: textfield;
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    list-style: none;
    padding: 1.4rem 0 0;
    margin: 0;
    font-size: .82rem;
    color: var(--ink-400);
}

.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: '›'; color: var(--sand-400); }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--plum-700); }
.breadcrumb [aria-current] { color: var(--plum-700); font-weight: 600; }

.page-header {
    text-align: center;
    padding: 2.6rem 0 1.4rem;
}

.page-header p { color: var(--ink-500); max-width: 620px; margin: 0 auto; }

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.6rem;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 1.6rem;
}

.sidebar-block {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    padding: 1.3rem;
}

.sidebar-block h3 {
    font-family: var(--font-body);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-400);
    font-weight: 700;
    margin-bottom: .9rem;
}

.sidebar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .7rem;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-size: .92rem;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.sidebar-list a:hover { background: var(--lilac-50); color: var(--plum-700); transform: translateX(3px); }
.sidebar-list a.is-active { background: var(--lilac-100); color: var(--plum-700); font-weight: 600; }
.sidebar-list span { font-size: .78rem; color: var(--ink-400); }

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.4rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--cream-300);
}

.shop-count { font-size: .9rem; color: var(--ink-500); }
.shop-count strong { color: var(--plum-700); }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

.pagination li { margin: 0; }

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .7rem;
    border-radius: var(--radius-sm);
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    color: var(--ink-700);
    font-size: .9rem;
    font-weight: 600;
    transition: all .25s var(--ease);
}

.pagination a:hover {
    border-color: var(--lavender-300);
    color: var(--plum-700);
    transform: translateY(-2px);
}

.pagination .is-current {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
}

.pagination .is-disabled { opacity: .4; cursor: not-allowed; }

.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--cream-50);
    border: 1px dashed var(--sand-400);
    border-radius: var(--radius-lg);
}

.empty-state > svg {
    width: 54px;
    height: 54px;
    color: var(--lavender-300);
    margin: 0 auto 1.2rem;
    stroke-width: 1.3;
}

.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--ink-500); max-width: 420px; margin: 0 auto 1.5rem; }

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.2rem;
    padding: 2rem 0 1rem;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-200);
    aspect-ratio: 1 / 1;
    border: 1px solid var(--cream-300);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .35s var(--ease);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: .7rem;
    margin-top: .9rem;
}

.gallery-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: var(--cream-200);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { transform: translateY(-3px); }
.gallery-thumb.is-active { border-color: var(--plum-600); }

.product-info h1 { margin-bottom: .6rem; }

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.rating { display: inline-flex; align-items: center; gap: .3rem; color: var(--warning); }
.rating svg { width: 16px; height: 16px; fill: currentColor; }
.rating span { color: var(--ink-400); font-size: .85rem; margin-left: .35rem; }

.price-block {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    padding: 1.1rem 0;
    margin-bottom: 1.2rem;
    border-top: 1px solid var(--cream-300);
    border-bottom: 1px solid var(--cream-300);
}

.price-block .price-current { font-size: 2rem; font-family: var(--font-display); }
.price-block .price-old { font-size: 1.1rem; }

.stock-line {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .89rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.stock-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.stock-in .stock-dot { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.stock-in { color: var(--success); }
.stock-low .stock-dot { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.stock-low { color: var(--warning); }
.stock-out .stock-dot { background: var(--ink-400); }
.stock-out { color: var(--ink-400); }

.add-to-cart-row {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}

.add-to-cart-row .btn { flex: 1; min-width: 190px; }

.product-assurances {
    display: grid;
    gap: .7rem;
    padding: 1.2rem 1.3rem;
    background: var(--lilac-50);
    border-radius: var(--radius-md);
    margin-bottom: 1.6rem;
}

.assurance {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .87rem;
    color: var(--ink-700);
}

.assurance svg { width: 18px; height: 18px; color: var(--plum-600); flex-shrink: 0; }

.accordion { border-top: 1px solid var(--cream-300); }

.accordion-item { border-bottom: 1px solid var(--cream-300); }

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    background: none;
    border: 0;
    font-family: var(--font-body);
    font-size: .96rem;
    font-weight: 600;
    color: var(--ink-900);
    cursor: pointer;
    text-align: left;
    transition: color .25s var(--ease);
}

.accordion-trigger:hover { color: var(--plum-700); }

.accordion-trigger svg {
    width: 17px;
    height: 17px;
    color: var(--plum-600);
    transition: transform .35s var(--ease);
    flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.accordion-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s var(--ease);
}

.accordion-panel-inner {
    padding: 0 0 1.2rem;
    color: var(--ink-500);
    font-size: .92rem;
    line-height: 1.7;
}

.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .55rem;
    border-bottom: 1px dashed var(--cream-300);
    margin: 0;
    font-size: .9rem;
}

.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list dt, .spec-list strong { color: var(--ink-400); font-weight: 600; }
.spec-list span { color: var(--ink-900); text-align: right; }

.review-list { display: grid; gap: 1.2rem; }

.review-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .6rem;
    flex-wrap: wrap;
}

.review-head strong { color: var(--ink-900); }
.review-head time { font-size: .8rem; color: var(--ink-400); }

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.4rem;
    align-items: start;
}

.cart-items {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1.2rem;
    padding: 1.3rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--cream-300);
    transition: background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}

.cart-item:last-child { border-bottom: 0; }
.cart-item:hover { background: var(--cream-100); }

.cart-item.is-removing {
    opacity: 0;
    transform: translateX(-24px);
}

.cart-item-media {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cream-200);
}

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

.cart-item-title {
    font-weight: 600;
    color: var(--ink-900);
    font-size: 1rem;
    margin: 0 0 .25rem;
}

.cart-item-meta { font-size: .84rem; color: var(--ink-400); margin: 0 0 .7rem; }

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-item-total {
    text-align: right;
    font-weight: 700;
    color: var(--plum-700);
    font-size: 1.05rem;
    white-space: nowrap;
}

.link-remove {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: .83rem;
    color: var(--ink-400);
    cursor: pointer;
    text-decoration: underline;
    transition: color .25s var(--ease);
}

.link-remove:hover { color: var(--danger); }

.summary-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.summary-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--ink-900);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    font-size: .93rem;
    color: var(--ink-500);
}

.summary-line strong { color: var(--ink-900); font-weight: 600; }
.summary-line.is-discount { color: var(--success); }
.summary-line.is-discount strong { color: var(--success); }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: .6rem;
    border-top: 2px solid var(--cream-300);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink-900);
}

.summary-total span:last-child {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--plum-700);
    font-weight: 700;
}

.free-shipping-bar {
    margin: 1rem 0 1.3rem;
    padding: .9rem 1rem;
    background: var(--lilac-50);
    border-radius: var(--radius-md);
    font-size: .84rem;
    color: var(--plum-700);
}

.progress-track {
    height: 6px;
    border-radius: 3px;
    background: var(--lavender-200);
    overflow: hidden;
    margin-top: .6rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--plum-600), var(--lavender-400));
    border-radius: 3px;
    transition: width .6s var(--ease);
}

.coupon-form { display: flex; gap: .5rem; margin: 1.2rem 0; }
.coupon-form .form-input { padding: .65rem .9rem; font-size: .88rem; text-transform: uppercase; }

.coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .7rem 1rem;
    background: var(--success-soft);
    border-radius: var(--radius-sm);
    font-size: .87rem;
    color: var(--success);
    font-weight: 600;
    margin: 1.2rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2.6rem;
    align-items: start;
}

.checkout-section {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    margin-bottom: 1.6rem;
}

.checkout-section-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.4rem;
}

.step-number {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--plum-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-section-head h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
}

.mini-summary-item {
    display: flex;
    gap: .9rem;
    align-items: center;
    padding: .65rem 0;
    border-bottom: 1px solid var(--cream-300);
}

.mini-summary-item:last-of-type { border-bottom: 0; }

.mini-summary-item img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--cream-200);
}

.mini-summary-item .name { font-size: .88rem; font-weight: 600; color: var(--ink-900); }
.mini-summary-item .qty { font-size: .8rem; color: var(--ink-400); }
.mini-summary-item .amount { margin-left: auto; font-weight: 600; color: var(--plum-700); font-size: .92rem; }

.confirmation-hero {
    text-align: center;
    padding: 3.5rem 1.5rem 2rem;
}

.confirmation-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.6rem;
    animation: pop-in .6s var(--ease-back) both;
}

.confirmation-icon svg { width: 38px; height: 38px; stroke-width: 2.2; }

@keyframes pop-in {
    from { transform: scale(.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.order-reference {
    display: inline-block;
    padding: .55rem 1.4rem;
    background: var(--lilac-100);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--plum-700);
    margin-bottom: 1rem;
}

.info-panel {
    background: var(--lilac-50);
    border: 1px solid var(--lavender-200);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem;
    margin: 1.6rem 0;
}

.info-panel h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .8rem;
    color: var(--plum-700);
}

.info-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.info-panel li { font-size: .9rem; color: var(--ink-700); margin: 0; }

.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2.4rem 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--cream-300);
    z-index: 0;
}

.status-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    margin: 0;
}

.status-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream-50);
    border: 2px solid var(--cream-300);
    color: var(--ink-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .7rem;
    transition: all .4s var(--ease-back);
}

.status-step-dot svg { width: 17px; height: 17px; }

.status-step-label {
    font-size: .79rem;
    color: var(--ink-400);
    font-weight: 600;
    line-height: 1.35;
    display: block;
    padding: 0 .25rem;
}

.status-step.is-done .status-step-dot {
    background: var(--success-soft);
    border-color: var(--success);
    color: var(--success);
}

.status-step.is-current .status-step-dot {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
    transform: scale(1.14);
    box-shadow: 0 0 0 6px rgba(110, 55, 129, .14);
}

.status-step.is-done .status-step-label,
.status-step.is-current .status-step-label { color: var(--plum-700); }

.status-cancelled {
    text-align: center;
    padding: 1.6rem;
    background: var(--danger-soft);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-weight: 600;
    margin: 2rem 0;
}

.history-list { list-style: none; padding: 0; margin: 0; }

.history-item {
    position: relative;
    padding: 0 0 1.3rem 1.8rem;
    border-left: 2px solid var(--cream-300);
    margin: 0;
}

.history-item:last-child { border-left-color: transparent; padding-bottom: 0; }

.history-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lavender-300);
}

.history-item:first-child::before { background: var(--plum-700); box-shadow: 0 0 0 4px var(--lilac-100); }
.history-item strong { display: block; color: var(--ink-900); font-size: .93rem; }
.history-item time { font-size: .79rem; color: var(--ink-400); }
.history-item p { font-size: .87rem; color: var(--ink-500); margin: .3rem 0 0; }

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.4rem;
    align-items: start;
}

.account-nav {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }

.account-nav a,
.account-nav button {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .7rem .9rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--ink-700);
    cursor: pointer;
    text-align: left;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.account-nav svg { width: 17px; height: 17px; flex-shrink: 0; }

.account-nav a:hover,
.account-nav button:hover { background: var(--lilac-50); color: var(--plum-700); transform: translateX(3px); }

.account-nav .is-active {
    background: var(--lilac-100);
    color: var(--plum-700);
    font-weight: 600;
}

.panel {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    margin-bottom: 1.6rem;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.panel-head h2 {
    font-family: var(--font-body);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.data-table th {
    text-align: left;
    padding: .8rem 1rem;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-400);
    font-weight: 700;
    border-bottom: 1px solid var(--cream-300);
    white-space: nowrap;
}

.data-table td {
    padding: .95rem 1rem;
    border-bottom: 1px solid var(--cream-300);
    color: var(--ink-700);
    vertical-align: middle;
}

.data-table tbody tr { transition: background .25s var(--ease); }
.data-table tbody tr:hover { background: var(--cream-100); }
.data-table tbody tr:last-child td { border-bottom: 0; }

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    border-radius: var(--radius-pill);
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.chip-amber { background: var(--warning-soft); color: var(--warning); }
.chip-blue { background: var(--info-soft); color: var(--info); }
.chip-purple { background: var(--lilac-100); color: var(--plum-600); }
.chip-teal { background: #DFF1EF; color: #3D7F78; }
.chip-indigo { background: #E5E6F6; color: #5A5FA8; }
.chip-green { background: var(--success-soft); color: var(--success); }
.chip-red { background: var(--danger-soft); color: var(--danger); }
.chip-grey { background: var(--cream-200); color: var(--ink-400); }

.prose { font-size: .98rem; line-height: 1.85; color: var(--ink-700); }
.prose h2 { font-size: 1.35rem; margin: 2.4rem 0 .9rem; color: var(--plum-700); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.8rem 0 .7rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .55rem; }
.prose a { text-decoration: underline; }
.prose strong { color: var(--ink-900); }

.prose .page-meta {
    display: inline-block;
    font-size: .82rem;
    color: var(--ink-400);
    padding: .4rem 1rem;
    background: var(--cream-200);
    border-radius: var(--radius-pill);
    margin-bottom: 1.8rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    font-size: .88rem;
}

.prose th {
    background: var(--lilac-50);
    color: var(--plum-700);
    text-align: left;
    padding: .75rem .9rem;
    font-weight: 700;
    border: 1px solid var(--cream-300);
}

.prose td {
    padding: .75rem .9rem;
    border: 1px solid var(--cream-300);
    vertical-align: top;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--lilac-100);
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.value-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.value-card svg {
    width: 30px;
    height: 30px;
    color: var(--plum-600);
    margin: 0 auto .9rem;
    stroke-width: 1.5;
}

.value-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.value-card p { font-size: .88rem; color: var(--ink-500); margin: 0; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.6rem;
    align-items: start;
}

.contact-info { display: grid; gap: 1rem; }

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.contact-info-item:hover { transform: translateY(-3px); border-color: var(--lavender-200); }

.contact-info-item svg { width: 21px; height: 21px; color: var(--plum-600); flex-shrink: 0; margin-top: 3px; }
.contact-info-item strong { display: block; color: var(--ink-900); font-size: .92rem; margin-bottom: .2rem; }
.contact-info-item span, .contact-info-item a { font-size: .87rem; color: var(--ink-500); }

.auth-card {
    max-width: 480px;
    margin: 3rem auto;
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: var(--shadow-sm);
}

.auth-card h1 { font-size: 1.8rem; text-align: center; margin-bottom: .5rem; }
.auth-card > p { text-align: center; color: var(--ink-500); margin-bottom: 1.8rem; font-size: .93rem; }

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cream-300);
    font-size: .9rem;
    color: var(--ink-500);
}

.site-footer {
    background: var(--plum-900);
    color: var(--lavender-200);
    padding: 3.4rem 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.4rem;
    padding-bottom: 2.6rem;
}

.footer-brand img {
    width: 74px;
    height: 74px;
    padding: 6px;
    margin-bottom: .9rem;
    border-radius: 50%;
    background: var(--cream-100);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.footer-wordmark {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.45rem;
    color: #fff;
    display: block;
    margin-bottom: .5rem;
}

.footer-brand p { font-size: .88rem; color: var(--lavender-300); line-height: 1.65; max-width: 280px; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col li { margin: 0; }

.footer-col a {
    color: var(--lavender-300);
    font-size: .88rem;
    transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender-200);
    transition: all .3s var(--ease-back);
}

.footer-social a:hover { background: var(--lavender-400); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .81rem;
    color: var(--lavender-300);
}

.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: var(--lavender-300); }
.footer-bottom a:hover { color: #fff; }

.footer-payments { display: flex; gap: .5rem; align-items: center; opacity: .7; }
.footer-payments svg { height: 22px; width: auto; }

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    pointer-events: none;
    max-width: min(370px, calc(100vw - 40px));
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .95rem 1.15rem;
    border-radius: var(--radius-md);
    background: var(--cream-50);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--plum-600);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    font-size: .89rem;
    color: var(--ink-700);
}

.toast.is-visible { opacity: 1; transform: translateX(0); }
.toast.is-leaving { opacity: 0; transform: translateX(28px); }
.toast svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.toast-success { border-left-color: var(--success); }
.toast-success svg { color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-error svg { color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast-warning svg { color: var(--warning); }
.toast-info svg { color: var(--plum-600); }

.toast-close {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--ink-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 1.1rem;
}

.toast-close:hover { color: var(--ink-900); }

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 400;
    pointer-events: none;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59, 26, 71, .42);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(410px, 92vw);
    background: var(--cream-50);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
}

.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--cream-300);
}

.cart-drawer-head h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ink-900); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.drawer-line {
    display: flex;
    gap: .9rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--cream-300);
    align-items: center;
}

.drawer-line:last-child { border-bottom: 0; }

.drawer-line img {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--cream-200);
}

.drawer-line-info { flex: 1; min-width: 0; }
.drawer-line-info strong { display: block; font-size: .9rem; color: var(--ink-900); font-weight: 600; }
.drawer-line-info span { font-size: .82rem; color: var(--ink-400); }
.drawer-line-amount { font-weight: 700; color: var(--plum-700); font-size: .92rem; white-space: nowrap; }

.cart-drawer-foot {
    padding: 1.3rem 1.5rem;
    border-top: 1px solid var(--cream-300);
    background: var(--cream-100);
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 450;
    max-width: 560px;
    margin: 0 auto;
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.7rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(140%);
    transition: transform .5s var(--ease);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.cookie-banner h3 svg { width: 19px; height: 19px; color: var(--plum-600); }
.cookie-banner p { font-size: .87rem; color: var(--ink-500); margin-bottom: 1.2rem; line-height: 1.6; }
.cookie-banner p a { text-decoration: underline; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { flex: 1; min-width: 130px; }

.cookie-details {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--cream-300);
    display: none;
}

.cookie-details.is-open { display: block; animation: fade-in-up .35s var(--ease); }

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px dashed var(--cream-300);
}

.cookie-option:last-of-type { border-bottom: 0; }
.cookie-option strong { display: block; font-size: .88rem; color: var(--ink-900); }
.cookie-option small { font-size: .79rem; color: var(--ink-400); line-height: 1.5; }

.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }

.switch-slider {
    position: absolute;
    inset: 0;
    background: var(--sand-400);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background .3s var(--ease);
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .3s var(--ease-back);
}

.switch input:checked + .switch-slider { background: var(--plum-600); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }
.switch input:disabled + .switch-slider { opacity: .55; cursor: not-allowed; }

.alert {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: .89rem;
    margin-bottom: 1.2rem;
    line-height: 1.55;
}

.alert svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-warning { background: var(--warning-soft); color: var(--warning); }
.alert-info { background: var(--info-soft); color: var(--info); }

.error-page {
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 8.5rem);
    color: var(--lavender-200);
    line-height: 1;
    margin-bottom: .5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: .09s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .27s; }
.reveal-delay-4 { transition-delay: .36s; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fade-in-up .5s var(--ease) both; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--ink-400); }
.text-small { font-size: .85rem; }
.text-plum { color: var(--plum-700); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.flex-center { display: flex; align-items: center; gap: .6rem; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.hidden { display: none !important; }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gift-banner-deco { display: none; }
}

@media (max-width: 992px) {
    :root { --header-height: 66px; }

    .main-nav { display: none; }
    .burger { display: inline-flex; }

    .header-inner { gap: .5rem; }
    .brand img { height: 42px; }

    .hero {
        margin: 14px 16px 0;
        min-height: auto;
        display: block;
    }

    .hero-media {
        position: relative;
        left: 0;
        height: 230px;
    }

    .hero-media::before {
        background: linear-gradient(0deg, var(--cream-100) 0%, rgba(250, 246, 241, .25) 45%, transparent 75%);
    }

    .hero-content {
        padding: 1.6rem 1.6rem 2.4rem;
        max-width: none;
        text-align: center;
    }

    .hero p { margin-left: auto; margin-right: auto; }
    .eyebrow { justify-content: center; }
    .eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--lavender-300); }

    .features { grid-template-columns: 1fr 1fr; }
    .feature:nth-child(odd) + .feature::before { display: block; }
    .feature:nth-child(3)::before,
    .feature:nth-child(3) { border-top: 1px solid var(--cream-300); }
    .feature:nth-child(4) { border-top: 1px solid var(--cream-300); }

    .shop-layout,
    .cart-layout,
    .checkout-layout,
    .account-layout,
    .contact-layout,
    .about-grid,
    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .shop-sidebar,
    .summary-card,
    .account-nav { position: static; }

    .shop-sidebar { display: none; }
    .shop-sidebar.is-open { display: grid; }

    .gift-banner { grid-template-columns: 1fr; text-align: center; padding: 1.6rem; }
    .gift-banner-media { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 720px) {
    body { font-size: 15.5px; }

    .container { padding: 0 16px; }
    .section { padding: 3rem 0; }
    .announcement { font-size: .75rem; padding: .5rem 16px; }

    .product-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1rem; }
    .product-body { padding: .8rem .85rem 1rem; }
    .product-title { font-size: .92rem; }
    .product-excerpt { display: none; }
    .product-quickadd { opacity: 1; transform: none; position: static; margin-top: .7rem; }

    .section-head { margin-bottom: 1.8rem; }
    .section-head h2 { gap: .7rem; }

    .cart-item {
        grid-template-columns: 74px 1fr;
        gap: .9rem;
        padding: 1rem;
    }

    .cart-item-media { width: 74px; height: 74px; }
    .cart-item-total { grid-column: 2; text-align: left; }

    .checkout-section, .panel { padding: 1.3rem; }

    .status-timeline { flex-wrap: wrap; gap: 1.2rem; }
    .status-timeline::before { display: none; }
    .status-step { flex: 0 0 calc(33.333% - .8rem); }

    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
    .footer-brand img { margin-left: auto; margin-right: auto; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 1.2rem; }
    .cookie-actions .btn { min-width: 100%; }

    .toast-stack { left: 12px; right: 12px; bottom: 12px; max-width: none; }

    .newsletter { padding: 2.2rem 1.4rem; }
    .newsletter-form { flex-direction: column; }

    .auth-card { padding: 1.6rem; margin: 1.5rem auto; }

    .data-table { font-size: .84rem; }
    .data-table th, .data-table td { padding: .7rem .6rem; }

    .add-to-cart-row .btn { min-width: 100%; }

    .price-block .price-current { font-size: 1.6rem; }
}

@media (max-width: 420px) {
    .features { grid-template-columns: 1fr; }
    .feature + .feature::before { display: none; }
    .feature + .feature { border-top: 1px solid var(--cream-300); }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

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

    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .cookie-banner, .toast-stack,
    .announcement, .cart-drawer, .mobile-nav, .btn, .breadcrumb { display: none !important; }

    body { background: #fff; color: #000; font-size: 12pt; }
    .shell { box-shadow: none; }
}

@media (max-width: 560px) {
    .brand-text { display: none; }
    .brand img { width: 46px; height: 46px; }
}
