/* ═══════════════════════════════════════════════════════════
   AURORA — Curated Lifestyle Store
   Design: Warm editorial, minimal, airy whitespace
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --bg: #faf9f6;
    --bg-warm: #f5f1eb;
    --bg-card: #ffffff;
    --bg-overlay: rgba(250,249,246,0.92);

    --text-primary: #2c2c2c;
    --text-secondary: #6b6560;
    --text-muted: #9a9490;
    --text-faint: #c5bfb8;

    --accent: #a8b5a0;
    --accent-dark: #8a9a80;
    --accent-light: #d4ddd0;
    --gold: #b8a88a;
    --gold-light: #d4c9b0;

    --border: #e8e4de;
    --border-light: #f0ece6;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1280px;
    --container-narrow: 960px;
    --radius: 4px;
    --radius-lg: 8px;

    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

/* — Page Load Animation — */
.page-transition {
    animation: pageIn 0.8s var(--ease-out-expo) both;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── HEADER ─── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}
header.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
nav.main-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}
nav.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.35s var(--ease-out-expo);
}
nav.main-nav a:hover { color: var(--text-primary); }
nav.main-nav a:hover::after { width: 100%; }
nav.main-nav a.active { color: var(--text-primary); }
nav.main-nav a.active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.header-actions button {
    background: none;
    border: none;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}
.header-actions button:hover { color: var(--text-primary); }

.bag-btn { position: relative; }
.bag-count {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    color: var(--bg);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease-out-expo);
}
.bag-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}
.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.mobile-nav-overlay.is-open { pointer-events: all; }

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s;
}
.mobile-nav-overlay.is-open .mobile-nav-backdrop { opacity: 1; }

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: var(--bg);
    transition: right 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
.mobile-nav-overlay.is-open .mobile-nav-panel { right: 0; }

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-secondary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}
.mobile-nav-links a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    padding: 0.75rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: color var(--transition-fast);
}
.mobile-nav-links a:hover { color: var(--accent-dark); }

/* ─── HERO ─── */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    padding-left: max(4rem, calc((100vw - var(--container)) / 2 + 2rem));
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    animation: heroTextIn 1s 0.2s var(--ease-out-expo) both;
}

.hero-tagline {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: heroTextIn 1s 0.4s var(--ease-out-expo) both;
}

.hero-cta {
    animation: heroTextIn 1s 0.55s var(--ease-out-expo) both;
}

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

.hero-image {
    position: relative;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroImgIn 1.2s 0.1s var(--ease-out-expo) both;
}
@keyframes heroImgIn {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-dark {
    background: var(--text-primary);
    color: var(--bg);
    padding: 1rem 2.5rem;
}
.btn-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-dark);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
}
.btn-dark:hover::before { transform: translateX(0); }
.btn-dark span { position: relative; z-index: 1; }

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 2rem;
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.72rem;
}

.btn-add-to-bag {
    background: var(--text-primary);
    color: var(--bg);
    padding: 1rem 2.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.btn-add-to-bag .btn-text,
.btn-add-to-bag .btn-check {
    transition: all 0.4s var(--ease-out-expo);
}
.btn-add-to-bag .btn-check {
    position: absolute;
    transform: translateY(40px);
    opacity: 0;
}
.btn-add-to-bag.added .btn-text {
    transform: translateY(-40px);
    opacity: 0;
}
.btn-add-to-bag.added .btn-check {
    transform: translateY(0);
    opacity: 1;
}
.btn-add-to-bag.added {
    background: var(--accent-dark);
}

/* ─── SECTION HEADERS ─── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 0.75rem;
}
.section-divider {
    width: 40px;
    height: 1px;
    background: var(--text-faint);
    margin: 1rem auto 0;
}

/* ─── PRODUCT CARDS ─── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-warm);
    margin-bottom: 1rem;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}
.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(transparent 60%, rgba(44,44,44,0.15));
    opacity: 0;
    transition: opacity 0.4s;
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-overlay .btn-outline {
    background: var(--bg);
    border-color: var(--bg);
    color: var(--text-primary);
    transform: translateY(12px);
    transition: all 0.5s var(--ease-out-expo);
    font-size: 0.7rem;
    padding: 0.6rem 1.5rem;
}
.product-card:hover .product-card-overlay .btn-outline {
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--text-primary);
    color: var(--bg);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
}

.product-card-info { padding: 0 0.25rem; }
.product-card-name {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.product-card-price {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Quick-add animation */
.product-card-image .quick-add-feedback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.product-card-image .quick-add-feedback.show {
    opacity: 1;
}
.product-card-image .quick-add-feedback svg {
    width: 32px;
    height: 32px;
    color: var(--accent-dark);
    animation: checkPop 0.5s var(--ease-out-expo);
}
@keyframes checkPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ─── CATEGORY CARDS ─── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}
.category-card:hover img { transform: scale(1.05); }

.category-card-label {
    position: relative;
    z-index: 2;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: var(--bg);
    padding: 0.6rem 1.5rem;
    transition: all var(--transition);
}
.category-card:hover .category-card-label {
    background: var(--text-primary);
    color: var(--bg);
}

/* ─── BRAND STORY SECTION ─── */
.brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}
.brand-story-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.brand-story-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.brand-story-image {
    overflow: hidden;
}
.brand-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ─── NEWSLETTER ─── */
.newsletter {
    background: var(--bg-warm);
    padding: 5rem 0;
    text-align: center;
}
.newsletter h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border);
    border-right: none;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast);
}
.newsletter-form input:focus { border-color: var(--text-muted); }
.newsletter-form input::placeholder { color: var(--text-faint); }
.newsletter-form button {
    padding: 0.85rem 1.5rem;
    background: var(--text-primary);
    color: var(--bg);
    border: 1px solid var(--text-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition);
}
.newsletter-form button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ─── SHOP PAGE — Filters ─── */
.shop-hero {
    padding: 4rem 0 2rem 0;
    text-align: center;
}
.shop-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 400;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.55rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--transition);
}
.filter-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
}

/* Shop grid with animate */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-bottom: 5rem;
}
.shop-grid .product-card {
    animation: fadeUp 0.6s var(--ease-out-expo) both;
}

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

/* ─── PRODUCT DETAIL ─── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0 5rem;
}

.product-gallery {
    position: relative;
}
.product-gallery-main {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-warm);
    margin-bottom: 0.75rem;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}
.product-gallery-main:hover img {
    transform: scale(1.04);
}

.product-info {
    padding-top: 2rem;
}
.product-info .product-category-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.product-info h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
}
.product-info .product-price {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
}
.product-info .product-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.product-sizes {
    margin-bottom: 2rem;
}
.product-sizes-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.product-sizes-options {
    display: flex;
    gap: 0.5rem;
}
.size-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}
.size-btn:hover {
    border-color: var(--text-primary);
}
.size-btn.selected {
    background: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
}

.product-details-list {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}
.product-details-list h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.product-details-list ul {
    list-style: none;
}
.product-details-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
}
.product-details-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--text-faint);
    font-weight: 700;
}

/* Related products */
.related-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span { margin: 0 0.35rem; }

/* ─── ABOUT PAGE ─── */
.about-hero {
    text-align: center;
    padding: 5rem 0 4rem;
}
.about-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}
.about-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.about-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 5rem;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 4rem 0;
}
.about-value h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}
.about-value p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.5);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}
.footer-col a {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition-fast);
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    font-size: 0.75rem;
}

/* Archo Banner */
.archo-banner {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.1);
    /* Break out of container to span full viewport */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 1rem 0;
    margin-top: 1.5rem;
}
.archo-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: var(--max-width, 1280px);
    margin: 0 auto;
    padding: 0 var(--container-pad, 2rem);
}
.archo-banner-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(168,181,160,0.12);
    border: 1px solid rgba(168,181,160,0.3);
    padding: 0.3rem 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.archo-banner p {
    font-size: 0.78rem;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}
.archo-banner a {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.archo-banner-cta {
    color: var(--accent) !important;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none !important;
    margin-left: auto;
}

/* ─── CART PANEL ─── */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    pointer-events: none;
}
.cart-overlay.is-open { pointer-events: all; }

.cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.4s;
}
.cart-overlay.is-open .cart-backdrop { opacity: 1; }

.cart-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--bg);
    transition: right 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}
.cart-overlay.is-open .cart-panel { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}
.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
}
.cart-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    align-items: start;
    animation: fadeUp 0.4s var(--ease-out-expo);
}
.cart-item-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-warm);
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-name {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.cart-item-price {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cart-item-qty button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: transparent;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.cart-item-qty button:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.cart-item-qty span {
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 16px;
    text-align: center;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-faint);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    padding: 0;
    margin-top: auto;
}
.cart-item-remove:hover { color: var(--text-primary); }

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.cart-empty p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.cart-total .total-amount {
    font-weight: 600;
}
.cart-tax {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.cart-checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: var(--bg);
    border: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background var(--transition);
}
.cart-checkout-btn:hover { background: var(--accent-dark); }

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--text-primary);
    color: var(--bg);
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 600;
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
    white-space: nowrap;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s var(--ease-out-expo);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── SECTIONS ─── */
.section { padding: 5rem 0; }
.section-warm { background: var(--bg-warm); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .products-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .product-detail { gap: 2.5rem; }
}

@media (max-width: 768px) {
    nav.main-nav { display: none; }
    .mobile-toggle { display: flex; }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content {
        padding: 4rem 2rem;
        text-align: center;
        align-items: center;
    }
    .hero-image { aspect-ratio: 4/3; }

    .products-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 0 0.5rem 0;
        scrollbar-width: none;
        scroll-behavior: smooth;
        touch-action: pan-x;
        mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
    }
    .categories-grid::-webkit-scrollbar { display: none; }
    .category-card {
        flex: 0 0 72%;
        aspect-ratio: 3/4;
        border-radius: 12px;
    }
    .brand-story { grid-template-columns: 1fr; gap: 2rem; }
    .about-values { grid-template-columns: 1fr; gap: 2rem; }

    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .product-info { padding-top: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .cart-panel { max-width: 100%; }
}

@media (max-width: 480px) {
    .header-inner { height: 56px; }
    .logo { font-size: 1.2rem; }
    .products-grid, .shop-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-right: 1px solid var(--border); }
}
