/* Legacy layout helpers — theme.css provides colors & fonts */
* {
    box-sizing: border-box
}

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

.site-header {
    display: none
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .12em
}

.logo span {
    color: var(--accent)
}

.site-header nav {
    display: flex;
    gap: 32px;
    font-size: 14px
}

.site-header nav a:hover {
    color: var(--accent)
}

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

.icon-btn,
.login-btn {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 30px;
    padding: 10px 15px;
    cursor: pointer
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.icon-btn b {
    font-size: 11px
}

.icon-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0
}

.cart-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cart-icon--filled {
    display: none;
    fill: currentColor;
    stroke: none
}

.cart-btn.has-items .cart-icon--empty {
    display: none
}

.cart-btn.has-items .cart-icon--filled {
    display: block
}

.icon-btn.wishlist-btn.has-items {
    color: #e53935;
    border-color: #e5393540
}

.icon-btn.wishlist-btn.has-items b {
    color: #e53935
}

.icon-btn.cart-btn.has-items {
    color: var(--ink);
    background: var(--ink);
    border-color: var(--ink)
}

.icon-btn.cart-btn.has-items .cart-icon--filled {
    fill: #fff
}

.icon-btn.cart-btn.has-items b {
    color: #fff
}

.login-btn {
    padding: 10px 22px;
    background: var(--ink);
    color: white
}

.hero {
    min-height: 650px;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--accent);
    margin: 0 0 16px
}

.hero h1 {
    font: 700 clamp(48px, 6vw, 84px)/.98 "Playfair Display", serif;
    margin: 0 0 25px
}

.hero h1 em {
    color: var(--accent)
}

.hero-text {
    max-width: 550px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 35px
}

.primary-btn {
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 15px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer
}

/* .primary-btn span {
    margin-left: 25px
} */

.secondary-link {
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px
}

.hero-visual {
    height: 470px;
    position: relative
}

.visual-card {
    position: absolute;
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: white;
    box-shadow: 0 20px 50px #0002;
    background: linear-gradient(145deg, #8c8277, #393633)
}

.visual-card span {
    font-size: 11px;
    letter-spacing: .2em
}

.visual-card strong {
    font: 600 28px "Playfair Display", serif;
    margin-top: 8px
}

.card-a {
    width: 55%;
    height: 72%;
    left: 0;
    top: 0
}

.card-b {
    width: 53%;
    height: 70%;
    right: 0;
    top: 12%;
    background: linear-gradient(145deg, #a36b54, #3c2822)
}

.card-c {
    width: 48%;
    height: 48%;
    left: 24%;
    bottom: 0;
    background: linear-gradient(145deg, #72786c, #272c25)
}

.shop-section,
.products-section {
    padding: 90px 20px
}

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

.section-heading h2,
.about-section h2 {
    font: 700 46px/1.05 "Playfair Display", serif;
    margin: 0
}

.section-heading>p {
    color: var(--muted);
    max-width: 400px;
    line-height: 1.6
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.category-card {
    min-height: 250px;
    border: 1px solid var(--line);
    background: white;
    padding: 30px;
    cursor: pointer;
    transition: .25s;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: var(--radius-md);
    overflow: hidden
}

.category-card:hover,
.category-card.active {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px #0000000d
}

.category-number {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: auto
}

.category-card h3 {
    font: 600 32px "Playfair Display", serif;
    margin: 0 0 8px
}

.category-card p {
    color: var(--muted);
    margin: 0;
    font-size: 14px
}

.products-section {
    background: white
}

.text-btn {
    border: 0;
    background: none;
    font-weight: 700;
    cursor: pointer
}

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

.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    border-radius: var(--radius-md)
}

.product-image {
    height: 260px;
    background: linear-gradient(145deg, #ddd7cd, #9e968b);
    display: flex;
    align-items: center;
    justify-content: center;
    font: italic 32px "Playfair Display", serif;
    color: #fff;
    position: relative;
    overflow: hidden
}

.product-image > a {
    display: block;
    width: 100%;
    height: 100%
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md) var(--radius-md) 0 0
}

.product-info {
    padding: 18px
}

.product-info small {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 10px
}

.product-info h3 {
    font-size: 16px;
    margin: 8px 0
}

.price {
    font-weight: 700
}

.variant {
    font-size: 12px;
    color: var(--muted);
    margin-top: 7px
}

/* add-btn styles live in theme.css */

.feature-strip {
    padding: 65px 8vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.feature-strip span {
    color: var(--accent);
    font-size: 12px
}

.feature-strip h3 {
    margin: 15px 0 8px
}

.feature-strip p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6
}

.about-section {
    padding: 100px 8vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

.about-section>p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 600px
}

footer:not(.landing-footer) {
    display: none
}

footer .logo {
    display: block;
    margin-bottom: 12px
}

footer p,
footer a {
    color: #aaa;
    font-size: 13px
}

footer h4 {
    margin-top: 0
}

footer a {
    display: block;
    margin: 10px 0
}

@media(max-width:900px) {
    .site-header nav {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px
    }

    .hero-visual {
        height: 380px
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 25px
    }

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

@media(max-width:560px) {
    .site-header {
        padding: 0 5vw
    }

    .header-actions .icon-btn:first-child {
        display: none
    }

    .hero,
    .shop-section,
    .products-section,
    .feature-strip,
    .about-section {
        padding-left: 5vw;
        padding-right: 5vw
    }

    .hero h1 {
        font-size: 48px
    }

    .category-grid,
    .product-grid,
    .feature-strip {
        grid-template-columns: 1fr
    }

    .section-heading {
        align-items: start;
        flex-direction: column
    }

    .hero-visual {
        height: 330px
    }
}