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

:root {
    --ink: #171717;
    --cream: #f7f3ee;
    --paper: #fff;
    --line: #e5dfd7;
    --accent: #8b5e3c;
    --soft: #efe7df;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

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

/* =========================
   HEADER
========================= */

.header {
    height: 76px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 6%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 20;
}

.logo {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 16px;
    white-space: nowrap;
}

.logo span {
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

nav {
    display: flex;
    gap: 27px;
    font-size: 14px;
    margin: auto;
}

nav a:hover {
    color: var(--accent);
}

.cart-btn,
.menu-btn {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
}

.cart-btn {
    font-weight: 700;
}

.cart-btn span {
    display: inline-grid;
    place-items: center;
    background: var(--ink);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    margin-left: 5px;
}

.menu-btn {
    display: none;
    font-size: 25px;
}

/* =========================
   HERO
========================= */

.hero {
    background: var(--cream);
    min-height: 650px;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero h1 {
    font: 700 clamp(55px, 7vw, 92px) / 0.95 "Playfair Display", serif;
    letter-spacing: -3px;
}

.hero h1 em {
    font-weight: 600;
    color: var(--accent);
}

.hero-text {
    max-width: 520px;
    margin: 28px 0;
    color: #5c5752;
    font-size: 16px;
}

.hero-actions,
.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: var(--ink);
    color: #fff;
}

.btn.primary:hover {
    background: var(--accent);
}

.btn.light {
    background: #fff;
}

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

.btn.outline:hover {
    background: var(--ink);
    color: #fff;
}

/* =========================
   STOREFRONT IMAGE
========================= */

.hero-card {
    height: 500px;
    width: 100%;
    background: #e8ded4;
    padding: 14px;
    overflow: hidden;
}

.hero-placeholder {
    height: 100%;
    width: 100%;
    border: 1px dashed #9e8f82;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #75685d;
    font-weight: 700;
    letter-spacing: 2px;
    overflow: hidden;
}

.hero-placeholder img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-placeholder small {
    font-size: 10px;
    letter-spacing: 0;
    margin-top: 8px;
    font-weight: 500;
}

/* =========================
   TRUST SECTION
========================= */

.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
}

.trust div {
    padding: 25px 7%;
    border-right: 1px solid var(--line);
    display: flex;
    gap: 14px;
    align-items: center;
}

.trust div:last-child {
    border: 0;
}

.trust strong {
    font-family: "Playfair Display";
    font-size: 22px;
}

.trust span {
    font-size: 12px;
    color: #666;
}

/* =========================
   SHOP SECTION
========================= */

.section {
    padding: 95px 7%;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.section h2,
.about h2,
.contact h2 {
    font: 700 clamp(38px, 5vw, 58px) / 1 "Playfair Display", serif;
}

.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.filter {
    background: none;
    border: 1px solid var(--line);
    padding: 9px 15px;
    cursor: pointer;
    font: 500 12px "DM Sans";
}

.filter.active,
.filter:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* =========================
   PRODUCTS
========================= */

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    min-width: 0;
}

.product-image {
    height: 390px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.placeholder-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #806f61;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700;
}

.product-info {
    padding: 14px 2px;
}

.product-info h3 {
    font-size: 15px;
}

.product-info p {
    color: #777;
    font-size: 12px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.price {
    font-weight: 700;
}

.add {
    border: 1px solid var(--ink);
    background: #fff;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.add:hover {
    background: var(--ink);
    color: #fff;
}

/* =========================
   GALLERY
========================= */

.gallery-section {
    padding: 95px 7%;
    background: var(--cream);
}

.muted {
    color: #777;
    font-size: 13px;
    max-width: 330px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 14px;
}

.gallery-item {
    background: #e8ded4;
    position: relative;
    overflow: hidden;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

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

.gallery-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: #fff;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 100px 12%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: #171717;
    color: #fff;
}

.about .eyebrow {
    color: #d2a77f;
}

.about p:not(.eyebrow) {
    color: #c5c0bc;
    margin-bottom: 20px;
    font-size: 15px;
}

/* =========================
   CONTACT
========================= */

.contact {
    padding: 95px 7%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    background: var(--cream);
}

.contact-copy > p:not(.eyebrow) {
    max-width: 500px;
    color: #666;
    margin: 20px 0 30px;
}

.contact-card {
    background: #fff;
    padding: 28px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.contact-row:last-child {
    border: 0;
}

.contact-row span {
    color: #777;
}

.contact-row strong {
    text-align: right;
    max-width: 65%;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 45px 7%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-top: 1px solid var(--line);
}

footer p {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}

/* =========================
   CART
========================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 50;
    display: none;
}

.cart-overlay.open {
    display: block;
}

.cart {
    background: #fff;
    width: min(430px, 100%);
    height: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.cart-top {
    padding: 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
}

.cart-top h3 {
    font: 700 25px "Playfair Display";
}

.cart-top button {
    border: 0;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

.cart-items {
    padding: 20px;
    overflow: auto;
    flex: 1;
}

.empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.cart-thumb {
    width: 70px;
    height: 80px;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: 8px;
    color: #777;
    text-align: center;
    overflow: hidden;
}

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

.cart-item h4 {
    font-size: 13px;
}

.cart-item p {
    font-size: 11px;
    color: #777;
}

.remove {
    border: 0;
    background: none;
    text-decoration: underline;
    font-size: 10px;
    cursor: pointer;
}

.cart-bottom {
    padding: 20px;
    border-top: 1px solid var(--line);
}

.total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.full {
    width: 100%;
}

.cart-bottom small {
    display: block;
    text-align: center;
    color: #888;
    margin-top: 10px;
    font-size: 10px;
}

/* =========================
   TOAST
========================= */

.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #171717;
    color: #fff;
    padding: 12px 18px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
    z-index: 70;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    nav {
        gap: 14px;
    }

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

    .hero-card {
        height: 390px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .trust {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust div:nth-child(2) {
        border-right: 0;
    }

    .trust div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .header {
        padding: 0 5%;
        height: 68px;
    }

    .menu-btn {
        display: block;
        margin-left: auto;
    }

    nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: #fff;
        padding: 18px 5%;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

    nav.open {
        display: flex;
    }

    .cart-btn {
        font-size: 12px;
    }

    .hero {
        padding: 55px 6%;
        min-height: auto;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-card {
        height: 330px;
        padding: 10px;
    }

    .hero-placeholder {
        width: 100%;
        height: 100%;
    }

    .hero-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .section,
    .gallery-section,
    .contact {
        padding: 70px 6%;
    }

    .section-head {
        display: block;
    }

    .filters {
        margin-top: 22px;
    }

    .products {
        gap: 14px;
    }

    .product-image {
        height: 270px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .about {
        padding: 70px 8%;
    }

    .contact-card {
        padding: 20px;
    }

    .trust div {
        padding: 20px 6%;
        font-size: 11px;
    }

    .trust strong {
        font-size: 18px;
    }

    footer {
        padding: 35px 6%;
        display: block;
    }

    footer > p {
        margin-top: 25px;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }
}

