:root {
    --font-display: "Fraunces", serif;
    --font-body: "Manrope", sans-serif;
    --ink: #2e1f1a;
    --ink-muted: #5d433a;
    --cream: #fff4e6;
    --cream-deep: #f7e2d0;
    --saffron: #f3a43a;
    --terracotta: #d86b59;
    --leaf: #2f5d50;
    --gold: #f6c56a;
    --white: #ffffff;
    --card: #fffdf9;
    --border: rgba(46, 31, 26, 0.12);
    --shadow-sm: 0 6px 18px rgba(46, 31, 26, 0.12);
    --shadow-md: 0 18px 42px rgba(46, 31, 26, 0.16);
    --shadow-lg: 0 30px 80px rgba(46, 31, 26, 0.2);
    --transition: 200ms ease;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(130deg, #fff7ee 0%, #ffe7d1 45%, #f8efe7 100%);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100%;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    background: radial-gradient(circle at top left, rgba(243, 164, 58, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(216, 107, 89, 0.12), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(47, 93, 80, 0.12), transparent 60%);
    z-index: -2;
}

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

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

ul {
    list-style: none;
}

main {
    padding-top: 30px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--leaf);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    z-index: 9999;
}

.skip-link:focus {
    left: 16px;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section {
    padding: 20px 0;
}

.section-tight {
    padding: 60px 0;
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
    color: var(--ink-muted);
    max-width: 620px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--leaf);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--saffron);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    border-color: var(--border);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--ink);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(46, 31, 26, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.brand-tag {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.nav-links {
    display: none;
    gap: 24px;
    font-weight: 600;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--leaf);
    transition: width var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    min-width: 64px;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu-btn {
    display: grid;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 19, 16, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1500;
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100%;
    background: var(--card);
    z-index: 2000;
    padding: 24px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 2px 6px;
}

.mobile-nav-header .icon-btn {
    background: var(--saffron);
    border-color: transparent;
    color: var(--ink);
}

.mobile-nav a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 6px 2px;
    border-radius: 12px;
}

.mobile-nav a.is-active {
    background: rgba(47, 93, 80, 0.12);
    color: var(--leaf);
    padding-left: 10px;
}

.mobile-nav .btn {
    margin-top: auto;
    align-self: stretch;
}

.hero {
    padding: 56px 0 32px;
}

.hero-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-copy p {
    color: var(--ink-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-meta {
    display: grid;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-visual {
    display: grid;
    gap: 20px;
    position: relative;
}

.hero-card {
    background: var(--card);
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 14px;
}

.hero-card img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background: rgba(47, 93, 80, 0.12);
    color: var(--leaf);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-image {
    min-height: 220px;
    border-radius: 28px;
    background: linear-gradient(120deg, rgba(46, 31, 26, 0.35), rgba(46, 31, 26, 0)),
        url("assets/images/home-banner.png");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.stat-grid,
.feature-grid {
    display: grid;
    gap: 20px;
}

.story-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.story-copy {
    background: var(--card);
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 14px;
}

.story-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

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

.stat-card,
.feature-card,
.info-card {
    background: var(--card);
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 10px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
}

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

.product-card {
    background: var(--card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-info {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.product-info p {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.size-option.is-active {
    background: var(--leaf);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.size-option:focus-visible {
    outline: 2px solid var(--leaf);
    outline-offset: 2px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-weight: 700;
    font-size: 1.15rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    font-weight: 600;
    cursor: pointer;
}

.chip.is-active {
    background: var(--leaf);
    color: var(--white);
    border-color: transparent;
}

.search-input {
    flex: 1;
    min-width: 220px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font-body);
}

.empty-state {
    display: none;
    text-align: center;
    padding: 30px;
    color: var(--ink-muted);
}

.contact-grid {
    display: grid;
    gap: 24px;
}

.contact-card {
    background: var(--card);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-list {
    display: grid;
    gap: 12px;
    color: var(--ink-muted);
}

.map-embed {
    margin-top: 12px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field input,
.form-field textarea {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font-body);
}

.footer {
    background: #1d120e;
    color: #f7efe7;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    gap: 28px;
    margin-bottom: 22px;
}

.footer-brand {
    display: grid;
    gap: 12px;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.footer-brand h3 {
    font-size: 1.25rem;
}

.footer-links h4 {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.footer-links ul {
    display: grid;
    gap: 8px;
    color: rgba(247, 239, 231, 0.78);
}

.footer-links a {
    color: inherit;
}

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

.footer-meta {
    display: grid;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 239, 231, 0.1);
    padding-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--leaf);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 2000;
    pointer-events: none;
}

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

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 19, 16, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1200;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 92%);
    height: 100%;
    background: var(--card);
    z-index: 1201;
    box-shadow: var(--shadow-lg);
    padding: 22px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    transition: right var(--transition);
}

.cart-drawer.active {
    right: 0;
}

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

.cart-items {
    display: grid;
    gap: 14px;
    overflow-y: auto;
    padding-right: 4px;
}

.cart-item {
    display: grid;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    background: var(--white);
}

.cart-item h4 {
    font-size: 1rem;
}

.cart-item-head {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: center;
}

.cart-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #f2ebe3;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

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

.qty-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    min-width: 42px;
    text-align: center;
}

.cart-summary {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    display: grid;
    gap: 10px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.cart-fields {
    display: grid;
    gap: 10px;
}

.cart-fields .form-field span {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

@media (max-width: 600px) {
    .cart-drawer {
        padding: 16px;
        gap: 12px;
    }

    .cart-item {
        border-radius: 14px;
    }

    .cart-item-head {
        grid-template-columns: 48px 1fr;
        gap: 8px;
    }

    .cart-thumb {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .cart-item-actions {
        gap: 6px;
    }

    .cart-item .btn {
        padding: 8px 14px;
    }

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

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 400ms ease, transform 400ms ease;
}

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

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .stat-grid,
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .story-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .nav-container {
        gap: 10px;
    }

    .brand {
        gap: 10px;
    }

    .brand img {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tag {
        font-size: 0.78rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .cart-indicator {
        min-width: 56px;
        padding: 6px 10px;
        font-size: 0.95rem;
    }

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

    main {
        padding-top: 40px;
    }

    .nav-actions .btn-ghost,
    .nav-actions .btn-primary {
        display: none;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-copy h1 {
        font-size: clamp(2.1rem, 7vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        gap: 8px;
    }

    .mobile-nav {
        width: 100%;
        padding: calc(18px + env(safe-area-inset-top)) 20px 24px;
        gap: 12px;
    }

    .mobile-nav a {
        font-size: 1.05rem;
        padding: 8px 4px;
    }

    .mobile-nav .btn {
        width: 100%;
    }

    .footer {
        padding: 48px 0 24px;
    }

    .footer-grid {
        gap: 20px;
    }
}

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