:root {
    --paper: #fffdf9;
    --cream: #f7efe6;
    --cream-2: #f3e8dc;
    --card: #fffaf4;
    --ink: #3e2a2e;
    --muted: #756663;
    --rose: #c86f67;
    --rose-dark: #a85755;
    --plum: #5b3040;
    --sage: #6f775c;
    --gold: #a98c65;
    --line: #eadccf;
    --line-strong: #dcc5b8;
    --shadow: 0 16px 42px rgba(86, 55, 48, .10);
    --shadow-soft: 0 7px 20px rgba(86, 55, 48, .08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 22%, rgba(202, 132, 118, .07), transparent 27%),
        linear-gradient(180deg, #fffdfa 0%, #fbf7f1 48%, #f7eee5 100%);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.site-header {
    min-height: 108px;
    padding: 16px clamp(22px, 4vw, 68px);
    display: grid;
    grid-template-columns: minmax(310px, auto) 1fr auto;
    align-items: center;
    gap: 34px;
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 253, 249, .94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(222, 203, 189, .8);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-yarn { font-size: 50px; filter: sepia(.2) saturate(.8); }
.brand-copy { display: block; }
.brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(27px, 2.35vw, 40px);
    font-weight: 700;
    line-height: .95;
    color: var(--plum);
    letter-spacing: -.04em;
}
.brand-tagline {
    display: block;
    margin-top: 10px;
    padding-left: 4px;
    color: #6f5a55;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.3vw, 34px); }
.main-nav a { position: relative; padding: 14px 0; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 7px; height: 2px; background: var(--rose); transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--rose-dark); }
.main-nav a.active::after, .main-nav a:hover::after { left: 0; right: 0; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-button, .mobile-nav-button {
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 25px;
    color: var(--ink);
}
.icon-button:hover { background: #f6ede5; }
.bag-button { position: relative; }
.bag-count { position: absolute; right: -1px; top: 1px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 20px; display: grid; place-items: center; background: var(--rose); color: white; font-size: 10px; font-weight: 800; }
.mobile-nav-button { display: none; }

.page-shell {
    width: min(1510px, calc(100% - 34px));
    margin: 0 auto;
    padding: 16px 0 68px;
    display: grid;
    grid-template-columns: 284px minmax(0, 1fr);
    gap: 26px;
}
.category-sidebar {
    position: sticky;
    top: 124px;
    align-self: start;
    min-height: calc(100vh - 142px);
    max-height: calc(100vh - 142px);
    padding: 17px 14px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d9b9ae transparent;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(249, 242, 234, .96), rgba(247, 237, 227, .94));
    box-shadow: var(--shadow-soft);
}
.category-heading { padding: 2px 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.flourish { color: var(--gold); font-size: 20px; }
.category-list { display: grid; gap: 6px; }
.category-card {
    width: 100%;
    min-height: 64px;
    display: grid;
    grid-template-columns: 50px 1fr 16px;
    gap: 9px;
    align-items: center;
    padding: 7px 9px;
    border: 1px solid #eadbd0;
    border-radius: 12px;
    background: rgba(255, 251, 246, .9);
    color: var(--ink);
    text-align: left;
    box-shadow: 0 3px 9px rgba(80, 49, 41, .045);
    transition: .2s ease;
}
.category-card:hover, .category-card.active { transform: translateX(4px); border-color: #d8afa6; background: #fffdf9; box-shadow: 0 7px 18px rgba(104, 66, 55, .08); }
.category-image { width: 47px; height: 47px; overflow: hidden; border-radius: 10px; background: #eee1d5; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-copy strong { display: block; margin-bottom: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.category-copy small { color: var(--muted); font-size: 10px; line-height: 1.25; }
.category-arrow { font-size: 22px; color: #71625f; }
.sidebar-custom-card { margin-top: 15px; padding: 20px 17px; text-align: center; color: white; border-radius: 17px; background: linear-gradient(145deg, #6d3b4b, #4e2937); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.line-heart { font: 300 43px Georgia, serif; }
.sidebar-custom-card h2 { margin: 5px 0 8px; font: 500 25px Georgia, serif; }
.sidebar-custom-card p { margin: 0 auto 17px; max-width: 220px; color: #f6e8e8; font-size: 12px; line-height: 1.55; }
.outline-light-button { display: inline-block; padding: 10px 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.outline-light-button:hover { background: white; color: var(--plum); }
.botanical-decoration { position: absolute; left: 4px; bottom: 0; color: rgba(170, 92, 82, .74); font: 28px/1.4 Georgia, serif; transform: rotate(-8deg); pointer-events: none; }

.main-content { min-width: 0; }
.hero-card {
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    grid-template-rows: 1fr 74px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #f7eae1;
    box-shadow: var(--shadow-soft);
}
.hero-copy { position: relative; z-index: 2; padding: 48px 26px 28px 50px; background: linear-gradient(90deg, rgba(250, 239, 229, .98), rgba(248, 233, 221, .90)); }
.hero-pill { display: inline-block; padding: 8px 16px; border-radius: 22px; background: var(--rose); color: white; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.hero-copy h1 { margin: 16px 0 15px; color: #4c2834; font: 700 clamp(44px, 4.6vw, 68px)/.89 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.hero-copy h1 span { color: var(--rose); font-weight: 400; }
.hero-copy p { max-width: 470px; margin: 0 0 24px; color: #625553; font-size: 15px; line-height: 1.55; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 24px; border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: .04em; border: 1px solid var(--rose); }
.primary-button { color: white; background: var(--rose); }
.primary-button:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); }
.secondary-button { color: var(--rose-dark); background: rgba(255,255,255,.55); }
.secondary-button:hover { background: white; }
.hero-image-wrap { min-height: 345px; background: #ddc6b8; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-benefits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(255, 250, 245, .93); }
.benefit { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit > span { color: var(--rose-dark); font-size: 24px; }
.benefit p { margin: 0; color: #5c4b48; font-size: 11px; line-height: 1.35; }

.featured-section { padding: 28px 4px 24px; }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 13px; }
.section-kicker { color: #4b3238; font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.section-kicker i { margin-left: 6px; color: var(--gold); font-size: 18px; font-style: normal; }
.section-kicker.light { color: #f9e7e4; }
.section-topline h2 { margin: 4px 0 0; font: 500 clamp(27px, 2.8vw, 38px) Georgia, serif; color: #52333b; }
.text-button { padding: 10px 0; border: 0; background: transparent; color: var(--rose-dark); font-size: 11px; font-weight: 800; }
.text-button:hover { transform: translateX(3px); }
.active-filter-row { min-height: 28px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.clear-filter { border: 0; background: none; color: var(--rose-dark); text-decoration: underline; font-size: 11px; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 251, 247, .96); box-shadow: 0 6px 17px rgba(89, 55, 48, .07); transition: transform .2s ease, box-shadow .2s ease, opacity .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.filter-hidden { display: none; }
.product-image-wrap { position: relative; height: 230px; overflow: hidden; background: #e9dbd0; }
.product-image-wrap > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image-wrap > img { transform: scale(1.018); }
.favorite-button { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(200, 111, 103, .2); border-radius: 50%; background: rgba(255,255,255,.93); color: var(--rose-dark); font: 20px Georgia, serif; }
.favorite-button.active { color: white; background: var(--rose); }
.quick-view-button { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 14px); opacity: 0; width: calc(100% - 30px); padding: 10px; border: 0; border-radius: 9px; background: rgba(78, 41, 55, .93); color: white; font-size: 11px; font-weight: 700; transition: .2s; }
.product-card:hover .quick-view-button { transform: translate(-50%, 0); opacity: 1; }
.product-body { padding: 10px 12px 13px; }
.color-dots { display: flex; gap: 6px; margin: 0 0 7px; }
.dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(74, 45, 41, .05); }
.berry { background: #823746; } .dusty { background: #b86d69; } .sand { background: #d8bfad; }
.sage { background: #67705a; } .moss { background: #879079; } .oat { background: #e3d5c5; }
.cream { background: #eadcc9; } .camel { background: #ad7b54; } .cocoa { background: #55433d; }
.product-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product-title-row h3 { margin: 0; font: 600 16px/1.15 Georgia, serif; color: #4c2e36; }
.product-title-row > span { color: var(--rose-dark); font: 600 15px Georgia, serif; white-space: nowrap; }
.product-body p { min-height: 32px; margin: 7px 0 9px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.add-to-bag, .custom-request-button { width: 100%; min-height: 36px; border: 1px solid #d9b9b0; border-radius: 9px; background: #fffdf9; color: var(--rose-dark); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.add-to-bag:hover, .custom-request-button:hover { color: white; background: var(--rose); border-color: var(--rose); }
.extra-product { display: none; }
.products-grid.show-all .extra-product { display: block; }
.empty-state { padding: 46px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255,255,255,.45); }
.empty-state div { color: var(--rose); font: 42px Georgia, serif; }
.empty-state h3 { margin: 6px 0; font: 600 25px Georgia, serif; }
.empty-state p { margin: 0; color: var(--muted); font-size: 12px; }

.values-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(251, 244, 236, .92); }
.value-item { min-height: 116px; padding: 20px 24px; display: flex; align-items: center; justify-content: center; gap: 17px; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item > span { color: var(--sage); font-size: 37px; }
.value-item p { margin: 0; }
.value-item strong { display: block; margin-bottom: 5px; font: 600 18px Georgia, serif; }
.value-item small { display: block; max-width: 230px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.custom-order-section { margin-top: 26px; display: grid; grid-template-columns: 40% 60%; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #bd6d66, #8f4e58); color: white; box-shadow: var(--shadow-soft); }
.custom-order-image { min-height: 500px; background: #a45f5d; }
.custom-order-image img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.custom-order-copy { padding: 42px 46px; }
.custom-order-copy h2 { margin: 7px 0 10px; font: 600 clamp(34px, 4vw, 47px) Georgia, serif; }
.custom-order-copy > p { margin: 0; max-width: 660px; color: #f8e8e6; font-size: 13px; line-height: 1.55; }
.custom-form { margin-top: 20px; display: grid; gap: 11px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.custom-form label > span { display: block; margin: 0 0 6px; color: #fff6f4; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.custom-form input, .custom-form select, .custom-form textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; outline: none; color: white; background: rgba(255,255,255,.12); }
.custom-form input::placeholder, .custom-form textarea::placeholder { color: rgba(255,255,255,.72); }
.custom-form select option { color: #35282a; }
.custom-form textarea { min-height: 108px; resize: vertical; }
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus { border-color: white; background: rgba(255,255,255,.16); }
.custom-form button { min-height: 43px; border: 1px solid white; border-radius: 9px; background: white; color: var(--plum); font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.custom-form button:hover { background: #fff4f0; transform: translateY(-1px); }
.form-status { min-height: 18px; margin-top: 12px !important; font-size: 11px !important; }

.journal-section { margin-top: 26px; padding: 38px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,251,246,.82); }
.journal-copy h2 { margin: 8px 0 12px; font: 600 38px/1.08 Georgia, serif; color: #503139; }
.journal-copy p { max-width: 670px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.journal-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.journal-mini-grid div { display: grid; align-content: center; gap: 5px; min-height: 130px; padding: 18px; border-right: 1px solid var(--line); background: #f8efe6; text-align: center; }
.journal-mini-grid div:last-child { border-right: 0; }
.journal-mini-grid strong { color: var(--rose-dark); font: 600 25px Georgia, serif; }
.journal-mini-grid span { color: var(--muted); font-size: 10px; }

.site-footer { padding: 40px clamp(22px, 5vw, 76px) 26px; display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 25px; align-items: center; color: #f8eae6; background: #402a32; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > span { font-size: 37px; }
.footer-brand strong { display: block; font: italic 600 29px Georgia, serif; }
.footer-brand small { display: block; margin-top: 5px; color: #d5beb9; font-size: 8px; letter-spacing: .14em; }
.footer-links, .footer-social { display: flex; flex-wrap: wrap; gap: 17px; color: #e5ceca; font-size: 11px; }
.footer-links a:hover, .footer-social a:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #bfa8a4; font-size: 10px; }

.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; background: rgba(48, 31, 37, .52); backdrop-filter: blur(8px); }
.search-dialog, .quick-view-dialog { position: relative; width: min(760px, 100%); border: 1px solid var(--line); border-radius: 20px; background: #fffaf5; box-shadow: 0 30px 90px rgba(45,27,31,.28); }
.search-dialog { padding: 38px; }
.search-dialog h2 { margin: 8px 0 20px; font: 600 37px Georgia, serif; }
.search-dialog > input { width: 100%; padding: 15px 17px; border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: white; }
.search-dialog > input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(200,111,103,.1); }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f5eae2; color: var(--plum); font-size: 26px; line-height: 1; }
.search-results { margin-top: 17px; display: grid; gap: 8px; }
.search-result-item { width: 100%; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; }
.search-result-item img { width: 60px; height: 54px; border-radius: 8px; object-fit: cover; }
.search-result-item strong { display: block; font: 600 16px Georgia, serif; }
.search-result-item small { color: var(--muted); font-size: 10px; }
.search-result-item > span { color: var(--rose-dark); font: 600 14px Georgia, serif; }

.cart-drawer { position: fixed; top: 0; right: 0; z-index: 110; width: min(420px, 92vw); height: 100vh; padding: 26px 22px; display: flex; flex-direction: column; background: #fffaf5; box-shadow: -22px 0 70px rgba(50,30,35,.23); transform: translateX(105%); transition: .28s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 105; background: rgba(42,27,31,.34); backdrop-filter: blur(3px); }
.cart-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 3px 0 0; font: 600 30px Georgia, serif; }
.cart-header button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f4e9e1; font-size: 25px; }
.cart-items { flex: 1; overflow: auto; padding: 14px 0; display: grid; align-content: start; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 11px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; }
.cart-item strong { display: block; margin: 5px 0 4px; font: 600 15px Georgia, serif; }
.cart-item small { color: var(--rose-dark); }
.cart-item button { border: 0; background: transparent; color: #9c6b67; font-size: 18px; align-self: start; }
.cart-empty { flex: 1; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--muted); text-align: center; }
.cart-empty span { color: var(--rose); font: 45px Georgia, serif; }
.cart-empty strong { color: var(--ink); font: 600 21px Georgia, serif; }
.cart-empty p { margin: 0; font-size: 11px; }
.cart-summary { padding-top: 16px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-summary button { width: 100%; min-height: 42px; border: 0; border-radius: 9px; background: var(--plum); color: white; font-size: 11px; font-weight: 900; }
.cart-summary small { display: block; margin-top: 8px; color: var(--muted); text-align: center; font-size: 9px; }
.quick-view-dialog { width: min(850px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.quick-view-image { min-height: 480px; background: #e9dbd0; }
.quick-view-image img { width: 100%; height: 100%; object-fit: cover; }
.quick-view-copy { padding: 55px 40px 35px; }
.quick-view-copy h2 { margin: 10px 0 8px; font: 600 38px/1.04 Georgia, serif; }
.quick-price { color: var(--rose-dark); font: 600 21px Georgia, serif; }
.quick-view-copy p { margin: 18px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.quick-view-copy .primary-button { border: 0; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 130; max-width: 340px; padding: 13px 18px; border-radius: 10px; background: #432b34; color: white; box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: .22s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1240px) {
    .site-header { grid-template-columns: 280px 1fr auto; gap: 18px; padding-inline: 28px; }
    .brand-name { font-size: 31px; }
    .main-nav { gap: 16px; }
    .main-nav a { font-size: 14px; }
    .page-shell { grid-template-columns: 250px minmax(0,1fr); }
    .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-image-wrap { height: 290px; }
}

@media (max-width: 930px) {
    .site-header { min-height: 82px; grid-template-columns: 1fr auto auto; padding: 10px 18px; }
    .brand-yarn { font-size: 39px; }
    .brand-name { font-size: 28px; }
    .brand-tagline { display: none; }
    .mobile-nav-button { display: grid; place-items: center; order: 2; }
    .header-actions { order: 3; }
    .account-button { display: none; }
    .main-nav { position: absolute; top: 82px; left: 12px; right: 12px; display: none; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fffaf5; box-shadow: var(--shadow); }
    .main-nav.open { display: grid; grid-template-columns: 1fr 1fr; }
    .main-nav a { padding: 12px; border-radius: 9px; }
    .main-nav a::after { display: none; }
    .main-nav a:hover, .main-nav a.active { background: #f5e8df; }
    .page-shell { width: min(100% - 24px, 900px); display: block; padding-top: 12px; }
    .category-sidebar { position: static; min-height: 0; margin-bottom: 15px; padding: 13px; }
    .category-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
    .category-card { flex: 0 0 200px; min-height: 63px; grid-template-columns: 46px 1fr 12px; }
    .category-image { width: 44px; height: 44px; }
    .sidebar-custom-card, .botanical-decoration { display: none; }
    .hero-card { grid-template-columns: 1fr; grid-template-rows: auto 330px auto; }
    .hero-copy { grid-row: 1; padding: 34px; }
    .hero-image-wrap { grid-row: 2; min-height: 0; }
    .hero-benefits { grid-row: 3; }
    .custom-order-section { grid-template-columns: 1fr; }
    .custom-order-image { min-height: 320px; }
    .journal-section { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr 1fr; }
    .footer-social { justify-content: flex-end; }
}

@media (max-width: 620px) {
    .site-header { grid-template-columns: 1fr auto auto; }
    .brand-yarn { font-size: 32px; }
    .brand-name { font-size: 23px; }
    .icon-button, .mobile-nav-button { width: 36px; height: 36px; }
    .header-actions .icon-button:first-child { display: none; }
    .main-nav.open { grid-template-columns: 1fr; }
    .page-shell { width: calc(100% - 16px); }
    .category-heading { padding-left: 4px; }
    .hero-copy { padding: 29px 23px; }
    .hero-copy h1 { font-size: 45px; }
    .hero-copy p { font-size: 13px; }
    .hero-image-wrap { min-height: 275px; }
    .hero-benefits { grid-template-columns: 1fr; }
    .benefit { min-height: 62px; border-right: 0; border-bottom: 1px solid var(--line); }
    .benefit:last-child { border-bottom: 0; }
    .section-topline { align-items: start; flex-direction: column; gap: 8px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-image-wrap { height: 330px; }
    .quick-view-button { opacity: 1; transform: translate(-50%,0); }
    .values-strip { grid-template-columns: 1fr; }
    .value-item { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
    .value-item:last-child { border-bottom: 0; }
    .custom-order-copy { padding: 31px 20px; }
    .two-fields { grid-template-columns: 1fr; }
    .journal-section { padding: 28px 20px; }
    .journal-mini-grid { grid-template-columns: 1fr; }
    .journal-mini-grid div { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
    .journal-mini-grid div:last-child { border-bottom: 0; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-social { justify-content: flex-start; }
    .quick-view-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow: auto; }
    .quick-view-image { min-height: 310px; }
    .quick-view-copy { padding: 30px 24px; }
    .search-dialog { padding: 34px 20px 24px; }
}


/* Natural in-page navigation below the sticky header */
.section-anchor,
#featured,
#custom-order,
#about,
#journal,
#contact {
    scroll-margin-top: 124px;
}

.section-anchor {
    display: block;
    width: 0;
    height: 0;
}

/* Compact category rail */
.category-sidebar::-webkit-scrollbar { width: 6px; }
.category-sidebar::-webkit-scrollbar-thumb {
    background: #d9b9ae;
    border-radius: 20px;
}
.category-sidebar::-webkit-scrollbar-track { background: transparent; }

@media (min-width: 931px) and (max-height: 820px) {
    .category-sidebar {
        top: 112px;
        max-height: calc(100vh - 126px);
    }
    .category-card {
        min-height: 58px;
        grid-template-columns: 44px 1fr 14px;
        padding: 6px 8px;
    }
    .category-image { width: 41px; height: 41px; }
    .category-copy strong { font-size: 14px; }
    .category-copy small { font-size: 9px; }
    .sidebar-custom-card { padding: 16px 14px; }
    .sidebar-custom-card p { margin-bottom: 12px; }
}


/* ==========================================================
   SHOWCASE-ONLY VERSION
   No pricing, cart, checkout, accounts or ordering controls.
   ========================================================== */

.product-card {
    cursor: default;
}

.product-title-row {
    align-items: flex-start;
}

.product-title-row h3 {
    width: 100%;
}

.product-body {
    padding-bottom: 17px;
}

.quick-view-button {
    opacity: 0;
    transform: translateY(4px);
}

.product-card:hover .quick-view-button,
.product-card:focus-within .quick-view-button {
    opacity: 1;
    transform: translateY(0);
}

.gallery-focus {
    outline: 3px solid rgba(197, 111, 103, .34);
    outline-offset: 4px;
    animation: galleryFocus 1.6s ease;
}

@keyframes galleryFocus {
    0%, 100% { box-shadow: var(--shadow); }
    50% { box-shadow: 0 0 0 9px rgba(197,111,103,.14), var(--shadow); }
}

.studio-story-section {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
    min-height: 430px;
    overflow: hidden;
    border-radius: 24px;
    color: #fffaf7;
    background:
        radial-gradient(circle at 84% 12%, rgba(255,255,255,.12), transparent 30%),
        linear-gradient(135deg, #864d59, #5b3442);
    box-shadow: var(--shadow);
}

.studio-story-image {
    min-height: 430px;
    overflow: hidden;
}

.studio-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.82) sepia(.06);
}

.studio-story-copy {
    padding: clamp(32px, 5vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-story-copy h2 {
    margin: 10px 0 15px;
    max-width: 650px;
    font: 700 clamp(38px, 4vw, 58px)/.98 "Cormorant Garamond", serif;
}

.studio-story-copy > p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,250,247,.82);
    line-height: 1.75;
}

.story-points {
    margin: 28px 0 26px;
    display: grid;
    gap: 12px;
}

.story-points div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.story-points strong {
    font: 700 22px "Cormorant Garamond", serif;
    color: #f1c7bf;
}

.story-points span {
    font-size: 13px;
    color: rgba(255,250,247,.9);
}

.story-contact-link {
    align-self: flex-start;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,.65);
    color: white;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.quick-view-copy {
    justify-content: center;
}

.quick-view-copy p {
    margin-top: 16px;
}

.search-result-button > span:last-child {
    color: var(--rose-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

@media (max-width: 820px) {
    .studio-story-section {
        grid-template-columns: 1fr;
    }

    .studio-story-image {
        min-height: 300px;
        max-height: 380px;
    }

    .studio-story-copy {
        padding: 30px 22px 34px;
    }
}

@media (hover: none) {
    .quick-view-button {
        opacity: 1;
        transform: none;
    }
}
