/* Perfect Home — custom PHP home, header, footer
   Ivory, blush, sky — photography first. Woodmart is not loaded here. */

:root {
    --ivory: #FBF7F2;
    --ivory-dk: #F1E9E0;
    --blush: #E8C5B8;
    --blush-dk: #D4A798;
    --sky: #A8C4D4;
    --sky-dk: #7FA3B8;
    --ink: #2B2420;
    --ink-soft: #6B6158;
    --line: #E7DED4;
    --white: #fff;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
    --wrap: 1180px;
    --pad: 22px;
    --ease: cubic-bezier(.4, .12, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: .25s var(--ease);
    cursor: pointer;
}
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ivory); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #1a1613; color: var(--ivory); }
.text-link {
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
}
.eyebrow {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: .6rem;
}
.notice {
    background: var(--ivory-dk);
    padding: 12px 18px;
    margin: 16px auto;
    font-size: .92rem;
}

/* Topbar + header */
.topbar {
    background: linear-gradient(90deg, var(--ivory-dk) 0%, #F5EDE6 50%, var(--ivory-dk) 100%);
    color: var(--ink);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(231, 222, 212, .65);
    overflow: hidden;
}
.topbar__marquee {
    position: relative;
    min-height: 38px;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.topbar__marquee:focus { outline: none; }
.topbar__marquee:focus-visible {
    outline: 2px solid var(--sky-dk);
    outline-offset: -2px;
}
.topbar__track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 3rem;
    padding: 10px 0;
    animation: topbar-marquee 38s linear infinite;
    will-change: transform;
}
.topbar__item { white-space: nowrap; font-weight: 500; }
.topbar__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blush-dk);
    flex-shrink: 0;
    opacity: .85;
}
.topbar__marquee:hover .topbar__track,
.topbar__marquee:focus .topbar__track,
.topbar__marquee:focus-within .topbar__track {
    animation-play-state: paused;
}
@keyframes topbar-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .topbar__track { animation: none; justify-content: center; width: 100%; }
    .topbar__item[aria-hidden="true"], .topbar__sep { display: none; }
    .topbar__marquee { mask-image: none; -webkit-mask-image: none; }
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 78px;
    gap: 16px;
}
.brand img { height: 52px; width: auto; object-fit: contain; }
.brand--footer {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.1;
    color: #efe8e0;
}

.nav { justify-self: center; min-width: 0; width: 100%; }
.nav__list {
    display: flex;
    gap: 1.35rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}
.nav__item { position: relative; flex: 0 0 auto; }
.nav__link {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 0;
    display: inline-block;
    white-space: nowrap;
}
.nav__link:hover { color: var(--sky-dk); }
.nav__sub {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: .4rem 0;
    opacity: 0; visibility: hidden;
    transition: .2s var(--ease);
    box-shadow: 0 12px 28px rgba(43,36,32,.08);
    z-index: 20;
}
.nav__item--dropdown:hover .nav__sub,
.nav__item--dropdown:focus-within .nav__sub {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__sub-link {
    display: block;
    padding: .55rem 1rem;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav__sub-link:hover { background: var(--ivory); }
.nav__sub2 {
    padding: 0 0 .25rem 0;
    background: var(--ivory);
}
.nav__sub2 .nav__sub-link {
    padding-left: 1.6rem;
    font-size: .66rem;
    letter-spacing: .08em;
}

/* Desktop: logo + tools on top, full-width menu row below */
@media (min-width: 981px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        min-height: 0;
        gap: 0 18px;
        padding-top: 10px;
        padding-bottom: 0;
    }
    .brand {
        grid-row: 1;
        grid-column: 1;
        padding-bottom: 10px;
    }
    .header-tools {
        grid-row: 1;
        grid-column: 3;
        padding-bottom: 10px;
    }
    .nav {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-self: stretch;
        border-top: 1px solid var(--line);
        margin: 0 calc(-1 * var(--pad));
        padding: 0 var(--pad);
        min-width: 0;
    }
    .nav__list {
        justify-content: center;
        gap: .35rem 2rem;
        min-height: 44px;
        flex-wrap: wrap;
    }
    .nav__link {
        font-size: .72rem;
        letter-spacing: .1em;
        padding: 12px 0;
    }
    .nav-toggle { display: none !important; }
}

.header-tools { display: flex; align-items: center; gap: 2px; justify-self: end; }
.icon-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--ink); cursor: pointer; position: relative;
}
/* Keep outline icons intact against Woodmart / global button+SVG rules */
.site-header .icon-btn,
.site-header button.icon-btn,
.site-header a.icon-btn,
.site-header .nav-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #2b2420 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.site-header .icon-btn::before,
.site-header .icon-btn::after,
.site-header .nav-toggle::before,
.site-header .nav-toggle::after {
    content: none !important;
    display: none !important;
}
.site-header .icon-btn svg,
.site-header .nav-toggle svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    fill: none !important;
    stroke: #2b2420 !important;
    stroke-width: 1.7 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
}
.site-header .icon-btn svg *,
.site-header .nav-toggle svg * {
    fill: none !important;
    stroke: #2b2420 !important;
    stroke-width: 1.7 !important;
    vector-effect: non-scaling-stroke;
}
.cart-count {
    position: absolute; top: 4px; right: 2px;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 99px;
    background: var(--ink); color: var(--ivory);
    font-size: 10px; line-height: 16px; text-align: center;
    display: none;
}
.cart-count.is-on { display: block; }

.search-panel {
    border-top: 1px solid var(--line);
    background: var(--ivory);
    padding: 14px 0;
}
.search-panel__form { display: flex; gap: 10px; }
.search-panel input[type="search"],
.ph-mobile-nav__search input,
.newsletter-form input {
    flex: 1;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 12px 14px;
    color: var(--ink);
}
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    color: var(--ink);
}

.ph-mobile-nav {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 12px var(--pad) 22px;
}
.ph-mobile-nav a { display: block; padding: .55rem 0; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.ph-mobile-nav ul ul { padding-left: 14px; }
.ph-mobile-nav ul ul a { text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.ph-mobile-nav__search { margin-bottom: 10px; }
.ph-mobile-nav__search input { width: 100%; }

@media (max-width: 980px) {
    .nav { display: none; }
    .site-header .site-header__inner.wrap {
        position: relative;
        padding-left: 10px !important;
        padding-right: 10px !important;
        min-height: 64px;
    }
    .nav-toggle {
        display: inline-flex !important;
        justify-self: start;
        position: relative;
        z-index: 5;
        grid-column: 1;
        pointer-events: auto !important;
    }
    .site-header__inner {
        grid-template-columns: 40px 1fr auto;
        gap: 4px;
        align-items: center;
    }
    .site-header .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        grid-column: 1 / -1;
        justify-self: center;
        z-index: 1;
        pointer-events: none;
    }
    .site-header .brand img { height: 42px; pointer-events: auto; }
    .brand--footer {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        pointer-events: auto;
        z-index: auto;
    }
    .header-tools {
        justify-self: end;
        grid-column: 3;
        position: relative;
        z-index: 2;
        gap: 0;
        margin: 0;
    }
    .header-tools .icon-btn {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }
    /* Search lives in the mobile menu drawer on small screens */
    .site-header .header-tools .search-open {
        display: none !important;
    }
}

/* Hero */
.hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
}
.hero--video {
    min-height: 0;
    background: var(--ivory);
}
.hero__media-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
.hero__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: min(90vh, 980px);
    background: #1a1512;
}
.hero__poster,
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}
.hero__video {
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
}
.hero__video.is-on {
    opacity: 1;
}
.hero--slider {
    min-height: 0;
    background: var(--ivory);
}
.hero-slider {
    position: relative;
    width: 100%;
}
.hero-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: min(86vh, 920px);
    background: #1a1512;
}
@media (min-width: 992px) {
    .hero-slider__track {
        aspect-ratio: 16 / 9;
        max-height: min(86vh, 760px);
    }
}
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(43,36,32,.16);
}
.hero-slider__arrow::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 auto;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}
.hero-slider__arrow--prev { left: 12px; }
.hero-slider__arrow--prev::before { transform: rotate(135deg); margin-left: 16px; }
.hero-slider__arrow--next { right: 12px; }
.hero-slider__arrow--next::before { transform: rotate(-45deg); margin-left: 13px; }
.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s var(--ease);
    pointer-events: none;
}
.hero-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.hero-slider__link {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-slider__link picture,
.hero-slider__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--pad);
}
.hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease);
}
.hero-slider__dot.is-active {
    background: var(--white);
    transform: scale(1.15);
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(43,36,32,.15) 0%, rgba(43,36,32,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 48px var(--pad) 72px; max-width: 720px; margin-right: auto; }
.hero__eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; opacity: .9; }
.hero h1 { color: var(--white); text-shadow: 0 8px 30px rgba(0,0,0,.25); }
.hero__lead { max-width: 34rem; font-size: 1.05rem; opacity: .95; margin-bottom: 1.4rem; }

/* Sections */
.section { padding: 72px 0; }
.section__head { margin-bottom: 28px; }
.section__head--row {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}

.about { background: var(--white); }
.about__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.about__copy { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }

.pillars { padding-top: 0; background: var(--white); }
.pillars__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.pillars article {
    background: var(--ivory);
    padding: 22px 20px 26px;
    border-top: 2px solid var(--blush);
}
.pillars p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.prints {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(232, 197, 184, .28), transparent 55%),
        radial-gradient(90% 70% at 100% 20%, rgba(168, 196, 212, .22), transparent 50%),
        var(--ivory);
    overflow: hidden;
}
.prints__head { max-width: 34rem; }
.prints__lead {
    margin: .55rem 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
}
.print-rail {
    margin-top: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--blush-dk) transparent;
}
.print-rail:focus { outline: none; }
.print-rail:focus-visible {
    outline: 2px solid var(--sky-dk);
    outline-offset: -2px;
}
.print-rail::-webkit-scrollbar { height: 6px; }
.print-rail::-webkit-scrollbar-thumb {
    background: var(--blush-dk);
    border-radius: 999px;
}
.print-rail__track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 18px;
}
.print-tile {
    position: relative;
    flex: 0 0 min(72vw, 340px);
    aspect-ratio: 4 / 5;
    height: auto;
    scroll-snap-align: start;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}
.print-tile--lead {
    flex-basis: min(72vw, 340px);
}
.print-tile__media {
    position: absolute;
    inset: 0;
    background: var(--ivory-dk);
}
.print-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 1s var(--ease);
}
.print-tile__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 38%, rgba(43, 36, 32, .72) 100%),
        linear-gradient(90deg, rgba(43, 36, 32, .18), transparent 45%);
    z-index: 1;
    transition: opacity .45s var(--ease);
}
.print-tile__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(6px);
    transition: transform .5s var(--ease);
}
.print-tile strong {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.05;
}
.print-tile em {
    font-style: normal;
    font-size: .92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .82);
    max-width: 18em;
}
.print-tile__cta {
    margin-top: 10px;
    align-self: flex-start;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .85);
    padding-bottom: 2px;
    opacity: .9;
}
.print-tile:hover .print-tile__media img,
.print-tile:focus-visible .print-tile__media img {
    transform: scale(1.08);
}
.print-tile:hover .print-tile__meta,
.print-tile:focus-visible .print-tile__meta {
    transform: translateY(0);
}
.print-tile:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}
@media (prefers-reduced-motion: reduce) {
    .print-tile__media img,
    .print-tile__meta,
    .print-tile__shade { transition: none; }
}

.cat-scroll {
    margin: 0 calc(-1 * var(--pad));
    padding: 0 var(--pad);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.cat-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 4 / 5;
    color: var(--white);
    border-radius: 2px;
    scroll-snap-align: start;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-card span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 12px;
    background: linear-gradient(transparent, rgba(43,36,32,.72));
    font-family: var(--serif);
    font-size: 1.2rem;
}

.products { background: var(--white); }
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px;
}
.product-card h3 { font-size: 1.05rem; margin: .15rem 0 .2rem; }
.product-card__media { position: relative; background: var(--ivory); margin-bottom: 10px; overflow: hidden; }
.product-card__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover img { transform: scale(1.04); }
.product-card__meta { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.product-card__price { font-weight: 500; }
.badge {
    position: absolute; top: 10px; left: 10px; z-index: 1;
    background: var(--white); color: var(--ink);
    font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 8px;
}

.fabrics {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: var(--ivory-dk);
    align-items: stretch;
}
@media (max-width: 900px) {
    .fabrics {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .fabrics__visual {
        order: 1;
        width: 100%;
        min-height: 0;
        aspect-ratio: 5 / 4;
    }
    .fabrics__copy {
        order: 2;
        width: 100%;
        max-width: none;
        padding: 32px var(--pad) 48px;
    }
}
.fabrics__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #e8ddd3;
}
.fabrics__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.fabrics__print {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: min(38%, 220px);
    aspect-ratio: 1;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(43, 36, 32, .22);
    border: 6px solid var(--white);
}
.fabrics__copy {
    padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 36rem;
}
.fabrics__copy p { color: var(--ink-soft); }
.fabrics__copy .btn { align-self: flex-start; margin-top: .4rem; }

/* Footer */
.site-footer { background: var(--ink); color: #efe8e0; padding-top: 56px; }
.site-footer a { color: #efe8e0; }
.site-footer a:hover { color: var(--blush); }
.site-footer__grid {
    display: grid; grid-template-columns: 1.3fr .9fr .8fr 1.1fr; gap: 32px;
    padding-bottom: 40px;
}
.site-footer__h {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--blush);
}
.site-footer__tagline { font-family: var(--serif); font-size: 1.25rem; }
.site-footer__story, .site-footer__note { color: rgba(239,232,224,.72); font-size: .92rem; }
.site-footer__address { font-style: normal; margin-bottom: .6rem; }
.site-footer__links li { margin-bottom: .4rem; }
.newsletter-form { display: flex; gap: 0; margin: 12px 0 16px; }
.newsletter-form input { border: 0; min-width: 0; }
.newsletter-form button {
    background: var(--blush); color: var(--ink); border: 0; padding: 0 16px;
    letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; cursor: pointer;
}
.socials { display: flex; gap: 10px; }
.socials a {
    width: 34px; height: 34px; border: 1px solid rgba(239,232,224,.25);
    display: inline-flex; align-items: center; justify-content: center;
}
.site-footer__bottom { border-top: 1px solid rgba(239,232,224,.12); }
.site-footer__bottom-inner {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 16px 0; font-size: .8rem; color: rgba(239,232,224,.65);
}

.wa-float {
    position: fixed; left: 18px; bottom: 18px; z-index: 60;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(37,211,102,.35);
}

@media (max-width: 980px) {
    .about__grid, .pillars__grid, .product-grid, .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .print-tile {
        flex-basis: min(78vw, 300px);
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .print-tile--lead {
        flex-basis: min(78vw, 300px);
    }
    .cat-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }
    .cat-scroll::-webkit-scrollbar { display: none; }
    .cat-grid {
        display: flex;
        gap: 14px;
        width: max-content;
        min-width: 100%;
        padding-right: var(--pad);
    }
    .cat-card {
        flex: 0 0 min(76vw, 260px);
        min-height: 0;
        aspect-ratio: 4 / 5;
    }
    .section { padding: 52px 0; }
    .hero { min-height: 0; }
}
@media (max-width: 640px) {
    .pillars__grid, .site-footer__grid, .about__grid { grid-template-columns: 1fr; }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
    }
    .product-card h3 { font-size: .92rem; }
    .product-card__meta { font-size: .62rem; }
    .site-footer__bottom-inner { flex-direction: column; }
    .prints__lead { font-size: .98rem; }
    .print-rail__track { gap: 10px; padding-bottom: 12px; }
    .print-tile {
        flex-basis: 78vw;
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .print-tile--lead { flex-basis: 78vw; }
    .print-tile__meta { padding: 18px 16px 20px; }
    .print-tile strong { font-size: 1.55rem; }
    .print-tile em { font-size: .84rem; }
    .fabrics__print { width: min(36%, 140px); right: 14px; bottom: 14px; border-width: 4px; }
    .hero { min-height: 0; }
    .hero__inner { padding: 28px var(--pad) 40px; }
    .hero h1 { font-size: 2rem; }
}

/* Perfect Home chrome on WooCommerce / WoodMart pages */
body.ph-chrome {
    overflow-x: hidden;
}
body.ph-chrome .whb-header,
body.ph-chrome .whb-main-header,
body.ph-chrome .whb-top-bar,
body.ph-chrome header.whb-header,
body.ph-chrome .wd-header-nav,
body.ph-chrome .wd-header-search,
body.ph-chrome .wd-header-mobile-nav,
body.ph-chrome .wd-nav-mob,
body.ph-chrome .mobile-nav.wd-side-hidden,
body.ph-chrome .mobile-nav.wd-opened,
body.ph-chrome .wd-close-side,
body.ph-chrome .wd-nav-mobile,
body.ph-chrome .wd-header-cats,
body.ph-chrome .wd-sticky-nav,
body.ph-chrome .wd-toolbar,
body.ph-chrome .wd-footer,
body.ph-chrome footer.footer-container,
body.ph-chrome .wd-prefooter,
body.ph-chrome .ht-ctc-chat,
body.ph-chrome .ht-ctc {
    display: none !important;
}
body.ph-chrome .mobile-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body.ph-chrome ul.products .wd-product-cats,
body.ph-chrome .wd-product .wd-product-cats,
body.ph-chrome .woodmart-product-cats,
body.ph-chrome .wd-product-brands,
body.ph-chrome .product-brand,
body.ph-chrome .wd-product-brand {
    display: none !important;
}
body.ph-chrome .site-header { position: relative; z-index: 1000; overflow: visible; }
@media (min-width: 981px) {
    body.ph-chrome .site-header .nav-toggle { display: none !important; }
}
@media (max-width: 980px) {
    body.ph-chrome .site-header .nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body.ph-chrome .site-header .header-tools .search-open {
        display: none !important;
    }
}
body.ph-chrome .wa-float { z-index: 10001; }
/* FunnelKit drawer above chrome; keep floating cart hidden (atelier uses header icon) */
body.ph-chrome #fkcart-modal,
body.ph-chrome .fkcart-modal {
    z-index: 10050 !important;
}
body.ph-chrome #fkcart-floating-toggler,
body.ph-chrome .fkcart-floating-toggler {
    display: none !important;
}
body.ph-chrome .fkcart-custom-menu-link {
    display: none !important;
}
.brand img { object-fit: contain; height: auto; max-height: 72px; width: auto; }

/* Shop / category: match PH wrap, drop WoodMart filter sidebar */
body.ph-chrome .website-wrapper,
body.ph-chrome .main-page-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}
body.ph-chrome:not(.single-product).wrapper-full-width .main-page-wrapper,
body.ph-chrome:not(.single-product) .main-page-wrapper {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
body.ph-chrome:not(.single-product) .container {
    max-width: 1180px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
}
body.ph-chrome .row.content-layout-wrapper,
body.ph-chrome .content-layout-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
body.ph-chrome .sidebar-container,
body.ph-chrome aside.sidebar-container,
body.ph-chrome .wd-sidebar,
body.ph-chrome .shop-sidebar,
body.ph-chrome .wd-col-sidebar,
body.ph-chrome .filters-area,
body.ph-chrome .wd-filters-area,
body.ph-chrome .wd-fillters-area,
body.ph-chrome .wd-off-canvas-sidebar,
body.ph-chrome .wd-shop-filters,
body.ph-chrome .wd-filter-toggle,
body.ph-chrome .open-filters,
body.ph-chrome .wd-sidebar-opener,
body.ph-chrome .woodmart-show-sidebar-btn,
body.ph-chrome .wd-show-sidebar-btn,
body.ph-chrome .wd-close-side,
body.ph-chrome .close-side-widget,
body.ph-chrome .wd-side-hidden,
body.ph-chrome .shop-loop-head .wd-filter-btns {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
/* Full-width content columns on shop/archives only — keep Woodmart product layout */
body.ph-chrome:not(.single-product) .content-area,
body.ph-chrome:not(.single-product) .site-content,
body.ph-chrome:not(.single-product) .wd-content-area,
body.ph-chrome:not(.single-product) .main-page-wrapper .col-lg-9,
body.ph-chrome:not(.single-product) .main-page-wrapper .col-md-9,
body.ph-chrome:not(.single-product) .content-layout-wrapper > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Single product: Woodmart default columns + light padding */
body.ph-chrome.single-product .main-page-wrapper {
    max-width: 100%;
    margin: 0;
}
body.ph-chrome.single-product .main-page-wrapper > .container,
body.ph-chrome.single-product .main-page-wrapper > .container-fluid {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}
body.ph-chrome.single-product .product-image-summary-inner > [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
@media (max-width: 767px) {
    body.ph-chrome.single-product .main-page-wrapper > .container,
    body.ph-chrome.single-product .main-page-wrapper > .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.ph-chrome.single-product .product-image-summary-inner > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
body.ph-chrome .shop-loop-head,
body.ph-chrome .wd-shop-tools,
body.ph-chrome .woocommerce-result-count,
body.ph-chrome .woocommerce-ordering {
    max-width: 100%;
    flex-wrap: wrap;
}
body.ph-chrome ul.products,
body.ph-chrome .wd-products {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Same picture frame everywhere: 4:5, cropped to fill */
body.ph-chrome ul.products .product-image-link,
body.ph-chrome .wd-product .product-image-link,
body.ph-chrome .related .product-image-link,
body.ph-chrome .upsells .product-image-link,
body.ph-chrome .wd-carousel-container .product-image-link {
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    display: block !important;
    background: #f6f1ea;
}
body.ph-chrome ul.products .product-image-link img,
body.ph-chrome ul.products .product-element-top img,
body.ph-chrome .wd-product .product-image-link img,
body.ph-chrome .related img.attachment-woocommerce_thumbnail,
body.ph-chrome .upsells img.attachment-woocommerce_thumbnail,
body.ph-chrome .wd-carousel-container .product-image-link img,
body.ph-chrome ul.products img.attachment-woocommerce_thumbnail,
body.ph-chrome ul.products .hover-img,
body.ph-chrome .wd-product .hover-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
body.ph-chrome.single-product .woocommerce-product-gallery__image,
body.ph-chrome.single-product .product-image-wrap,
body.ph-chrome.single-product .wd-carousel-item {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f6f1ea;
}
body.ph-chrome.single-product .woocommerce-product-gallery__image img,
body.ph-chrome.single-product .product-image-wrap img,
body.ph-chrome.single-product .wd-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
body.ph-chrome.single-product .thumbnails img,
body.ph-chrome.single-product .woocommerce-product-gallery__image--thumbnail img {
    aspect-ratio: 4 / 5;
    object-fit: cover !important;
    width: 100%;
    height: auto;
}
.product-card__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}


