/* ==========================================================================
   Plug N Prep — main stylesheet
   ========================================================================== */
:root {
  /* Brand palette taken from the Plug N Prep logo & original site */
  --ink: #262e29;
  --ink-2: #48534c;
  --muted: #747d77;
  --line: #e6dfcf;
  --bg: #fffdf8;
  --tint: #f6efdd;
  --cream: #faf3e0;
  --sand: #f0ebe3;
  --sage-bg: #e6ece7;
  --card: #ffffff;
  --brand: #4d5d53;
  --brand-dark: #262e29;
  --brand-soft: #dfe7e1;
  --accent: #c26a3d;
  --accent-dark: #a5552c;
  --accent-soft: #f6e3d6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 33, 29, .05), 0 8px 24px -12px rgba(23, 33, 29, .14);
  --shadow-lg: 0 2px 4px rgba(23, 33, 29, .05), 0 24px 48px -20px rgba(23, 33, 29, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --container: 1240px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { flex-shrink: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, a.button, input.button, .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn-primary, .woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(38, 46, 41, .6); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(194, 106, 61, .7); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brand-dark); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--tint); color: var(--brand-dark); transform: translateY(-1px); }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.eyebrow-light { color: #f3d9c7; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--accent); vertical-align: middle; margin: -2px 10px 0 0; border-radius: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Announcement + header -------------------------------------------------- */
.announce { background: var(--brand-dark); color: #f3ecd9; font-size: .82rem; }
.announce strong { color: #f0b48f; }
.announce-inner { text-align: center; padding-top: 9px; padding-bottom: 9px; }
.announce p { margin: 0; letter-spacing: .01em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .95); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .3); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { flex-shrink: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark-mark { display: inline-flex; width: 46px; height: 46px; transition: transform .5s var(--ease); }
.wordmark:hover .wordmark-mark { transform: rotate(-12deg); }
.wordmark-mark img { width: 100%; height: 100%; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-text strong { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); white-space: nowrap; }
.wordmark-text strong em { font-style: normal; color: var(--accent); }
.wordmark-text small { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }
.site-footer .wordmark-mark img { filter: invert(1) brightness(1.6); }
.site-footer .wordmark-text strong { color: #fff; }
.site-footer .wordmark-text small { color: #a9b3ac; }
.custom-logo { max-height: 48px; width: auto; }

.header-search { flex: 1; max-width: 520px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.header-search .icon { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.header-search input[type=search] { width: 100%; height: 46px; padding: 0 18px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.header-search input[type=search]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--tint); color: var(--ink); }
.nav-toggle, .search-toggle { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count.is-empty { display: none; }
.cart-link.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }

.main-nav { background: var(--brand); }
.main-nav .menu > li > a { color: #eef1ec !important; }
.main-nav .menu > li > a:hover, .main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-parent > a { color: #fff !important; background: rgba(255, 255, 255, .08); }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 13px 10px; color: var(--ink-2); font-size: .88rem; font-weight: 500; white-space: nowrap; position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: #f0b48f; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav .menu > li > a:hover, .main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-parent > a { color: var(--ink); }
.main-nav .menu > li > a:hover::after, .main-nav .menu > .current-menu-item > a::after, .main-nav .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-right: 24px !important; }
.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease); z-index: 10; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-size: .9rem; }
.main-nav .sub-menu a:hover { background: var(--tint); color: var(--ink); }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 100; background: rgba(23, 33, 29, .35); opacity: 0; transition: opacity .25s var(--ease); }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); padding: 18px 20px 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease); }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-menu, .mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-menu .sub-menu a { padding-left: 18px; font-weight: 400; color: var(--ink-2); }

/* Sections ---------------------------------------------------------------- */
.section { padding-top: 88px; padding-bottom: 88px; position: relative; }
.section-sm { padding-top: 48px; padding-bottom: 80px; }
.section-tint { background: var(--tint); }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage-bg); }
.section-white { background: #fff; }
.section-dark { background: var(--brand-dark); color: #d9dfda; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 520px; }
/* soft dotted texture for colored sections */
.section-cream::before, .section-sage::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(77, 93, 83, .14) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.section > .container, .page-hero > .container { position: relative; }

/* Hero */
.hero { position: relative; padding: 70px 0 96px; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #f7efda 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; clip-path: ellipse(70% 100% at 50% 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { margin-bottom: 18px; color: var(--brand-dark); }
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-copy > p { font-size: 1.1rem; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; color: var(--ink-2); font-size: .86rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; }
.hero-points .icon { color: var(--accent); }
.hero-visual { position: relative; height: 520px; }
.hero-blob { position: absolute; inset: 40px 10px 20px 40px; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: linear-gradient(140deg, var(--brand) 0%, #7d8f82 55%, #e8c9a9 100%); opacity: .9; animation: blob 14s ease-in-out infinite alternate; }
.hero-ring { position: absolute; width: 140px; height: 140px; right: 4%; bottom: 30px; border: 2px dashed rgba(194, 106, 61, .5); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob { to { border-radius: 55% 45% 40% 60% / 40% 58% 42% 60%; transform: rotate(6deg); } }
.hero-card { position: absolute; background: #fff; border-radius: 20px; padding: 12px; box-shadow: var(--shadow-lg); color: var(--ink); transition: transform .4s var(--ease); width: 230px; }
.hero-card:hover { color: var(--ink); transform: translateY(-6px) !important; }
.hero-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: #f7f4ec; }
.hero-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 4px 2px; font-size: .82rem; }
.hero-card-meta span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-card-meta strong { color: var(--accent); white-space: nowrap; }
.hero-card-meta del { display: none; }
.hero-card-1 { left: 4%; top: 30px; width: 260px; animation: float 7s ease-in-out infinite; }
.hero-card-2 { right: 2%; top: 110px; animation: float 8s ease-in-out -2s infinite; }
.hero-card-3 { left: 30%; bottom: 0; width: 210px; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-media { aspect-ratio: 16/10 !important; }
.cat-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-media { aspect-ratio: 4/3; display: block; overflow: hidden; background: var(--sand); }
.cat-card:nth-child(4n+2) .cat-media { background: var(--sage-bg); }
.cat-card:nth-child(4n+3) .cat-media { background: var(--accent-soft); }
.cat-card:nth-child(4n+4) .cat-media { background: var(--cream); }
.cat-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-info { padding: 14px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-info > span { display: flex; flex-direction: column; gap: 2px; }
.cat-info strong { font-size: .98rem; font-weight: 600; line-height: 1.3; }
.cat-info small { color: var(--muted); font-size: .8rem; }
.cat-info .icon { color: var(--brand); opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.cat-card:hover .cat-info .icon { opacity: 1; transform: none; }

/* Promo */
.promo { position: relative; display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); color: #e8ede9; border-radius: 28px; padding: 48px; overflow: hidden; }
.promo::before { content: ""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 106, 61, .45), transparent 70%); }
.promo > * { position: relative; }
.promo h2 { color: #fff; }
.promo p { color: #d3dbd5; margin-bottom: 26px; }
.promo-products ul.products { margin: 0 !important; }
.promo-products ul.products li.product { background: #fff; border-color: transparent; }

/* Lifestyle banner */
.lifestyle { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; display: flex; align-items: center; color: #fff; }
.lifestyle-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s var(--ease); }
.lifestyle:hover .lifestyle-bg { transform: scale(1.07); }
.lifestyle::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(38, 46, 41, .9) 0%, rgba(38, 46, 41, .6) 45%, rgba(38, 46, 41, .05) 80%); }
.lifestyle-copy { position: relative; z-index: 2; max-width: 520px; padding: 56px; }
.lifestyle-copy h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.lifestyle-copy p { color: #e3e8e4; font-size: 1.05rem; margin-bottom: 26px; }
.lifestyle-copy .hero-ctas { margin: 0; }

/* About / values */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -18px; bottom: -22px; background: var(--accent); color: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 220px; }
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: .84rem; opacity: .9; }
.about-copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 22px; }
.values { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.values li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.values .icon { color: #fff; background: var(--brand); padding: 8px; width: 38px; height: 38px; border-radius: 12px; }
.values strong { display: block; margin-bottom: 2px; }
.values span { color: var(--muted); font-size: .92rem; }

/* Service strip + footer */
.service-strip { background: var(--brand); color: #e6ebe7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.service { display: flex; align-items: center; gap: 14px; }
.service .icon { color: #f0b48f; background: rgba(255, 255, 255, .08); padding: 10px; width: 46px; height: 46px; border-radius: 50%; }
.service strong { display: block; font-size: .95rem; color: #fff; }
.service span { color: #c9d2cb; font-size: .85rem; }

.site-footer { background: var(--brand-dark); color: #b3bcb5; font-size: .93rem; }
.site-footer a { color: #dfe5e1; }
.site-footer a:hover { color: #f0b48f; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0 18px; max-width: 360px; }
.site-footer h3 { font-family: var(--font); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--accent); }
.footer-contact .icon { color: #f0b48f; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: 18px; }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges li { padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e6ebe8; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }

/* Page hero + prose */
.page-hero { position: relative; background: linear-gradient(180deg, var(--cream), #f6eedb); padding: 56px 0 48px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 93, 83, .16), transparent 70%); }
.page-hero h1 { margin: 0; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); color: var(--brand-dark); }
.page-hero .lead, .page-hero .lead p { color: var(--ink-2); font-size: 1.08rem; max-width: 680px; margin: 12px 0 0; }
.page-hero-sm { padding: 36px 0 30px; }
.page-hero-narrow .container { max-width: 828px; }
.page-hero-shop { padding: 36px 0 34px; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

.prose { max-width: 780px; margin: 0 auto; font-size: 1.03rem; color: var(--ink-2); }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--tint); color: var(--ink); }
.prose .wp-block-details, .prose details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.prose.small { font-size: .92rem; margin-top: 20px; }
.wc-page { max-width: 1100px; margin: 0 auto; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-body { padding: 20px; }
.post-meta { color: var(--muted); font-size: .82rem; }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h2 { font-size: 1.4rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-ordering select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .woocommerce form .form-row input.input-text:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; }
.notice-ok { background: var(--brand-soft); color: var(--brand-dark); }
.notice-err { background: #fdecec; color: #9b1c1c; }

/* WooCommerce: product grid --------------------------------------------- */
.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products li.product, ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 16px;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
ul.products li.product a.woocommerce-LoopProduct-link { color: var(--ink); display: flex; flex-direction: column; flex: 1; }
.card-media { border-radius: 12px; overflow: hidden; background: #f6f4ef; aspect-ratio: 1; margin-bottom: 14px; }
.card-media img { width: 100% !important; height: 100% !important; object-fit: contain; margin: 0 !important; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
ul.products li.product:hover .card-media img { transform: scale(1.05); }
.card-cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
  font-family: var(--font); font-size: .93rem !important; font-weight: 500; line-height: 1.4; color: var(--ink); padding: 4px 4px 0 !important; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em;
}
.woocommerce ul.products li.product .price, ul.products li.product .price { color: var(--ink) !important; font-weight: 700; font-size: 1.02rem !important; padding: 0 4px; margin: auto 0 12px !important; display: block; }
ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; color: var(--accent); }
.woocommerce span.onsale, span.onsale { position: absolute; top: 20px; left: 20px; z-index: 2; min-width: 0; min-height: 0; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; margin: 0 !important; }
.star-rating { color: #d4972b; }

/* Shop toolbar + chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
@media (max-width: 640px) { .cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .cat-chips::-webkit-scrollbar { display: none; } }
.chip { flex-shrink: 0; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .86rem; font-weight: 500; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; margin: 0; }
.woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce-ordering select { width: auto; padding-right: 36px; }
.woocommerce nav.woocommerce-pagination { margin-top: 44px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; line-height: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single product */
.pdp-wrap { padding-top: 28px; padding-bottom: 80px; }
.woocommerce div.product { display: block; position: relative; }
.pdp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; position: relative; margin-bottom: 16px; }
.pdp-top > * { min-width: 0; }
.woocommerce-product-gallery .flex-viewport { border-radius: 20px; overflow: hidden; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { position: relative; top: auto; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.woocommerce div.product div.images img { object-fit: contain; aspect-ratio: 1; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 10px; border: 1px solid var(--line); background: #fff; opacity: .65; transition: opacity .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--brand); }
.woocommerce div.product .product_title { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.95rem); margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 1.6rem; font-weight: 700; margin-bottom: 18px; }
.woocommerce div.product p.price ins { color: var(--accent); text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--ink-2); padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.woocommerce-product-details__short-description ul { padding-left: 1.2em; margin: 0; }
.woocommerce-product-details__short-description li { margin-bottom: 6px; }
.pdp-trust { list-style: none; margin: 0 0 24px; padding: 18px; display: grid; gap: 12px; border-radius: var(--radius); background: var(--tint); }
.pdp-trust li { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.pdp-trust .icon { color: var(--brand); }
.pdp-trust strong { color: var(--ink); }
.product_meta { font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--line); display: flex; gap: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 600; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; color: var(--ink-2); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.4rem; }
.related.products > h2, .upsells.products > h2 { margin: 48px 0 24px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius-sm); border-top: 0; background: #fff; box-shadow: var(--shadow); padding: 16px 20px 16px 52px !important; }
.woocommerce-message { border-left: 4px solid var(--brand); }
.woocommerce-message::before { color: var(--brand); }
.woocommerce-message .button { float: right; padding: 8px 14px; background: var(--brand); color: #fff; }

/* Cart / checkout blocks */
.wc-block-components-button:not(.is-link) { background: var(--brand); color: #fff; }
.wc-block-components-button:not(.is-link):hover { background: var(--brand-dark); }
.wc-block-cart, .wc-block-checkout { font-size: .97rem; }
.wp-block-woocommerce-cart .wc-block-components-sidebar, .wp-block-woocommerce-checkout .wc-block-components-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink-2); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--tint); color: var(--ink); font-weight: 600; }

/* Reveal animation */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }
ul.products li.product.will-reveal.is-in:hover { transform: translateY(-4px); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle, .search-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .header-inner { gap: 8px; height: 64px; }
  .brand { flex: 1; display: flex; justify-content: center; }
  .header-actions { margin-left: 0; }
  .header-search { display: none; position: absolute; left: 16px; right: 16px; top: 100%; max-width: none; padding: 10px 0 14px; }
  .search-open .header-search { display: flex; }
  .search-open .header-search .icon { top: 24px; }
  .site-header { position: sticky; }
  .hero { padding: 36px 0 56px; }
  .hero-grid, .about-grid, .promo, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-visual { height: 380px; }
  .hero-card { width: 170px; } .hero-card-1 { width: 190px; } .hero-card-3 { width: 160px; left: 26%; }
  .pdp-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .woocommerce div.product div.images { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .promo { padding: 32px 24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .woocommerce ul.products, ul.products, ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  ul.products li.product { padding: 8px 8px 12px; }
  .wordmark-text { font-size: 1.2rem; white-space: nowrap; }
  .wordmark { gap: 8px; }
  .wordmark-mark svg { width: 26px; height: 26px; }
  .announce { font-size: .74rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .promo-products ul.products li.product:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Components: add to cart, quantity, live search, toast
   ========================================================================== */

/* Add to cart — product cards */
.woocommerce ul.products li.product .button, ul.products li.product .button {
  display: flex !important; align-items: center; justify-content: center; gap: 8px; text-align: center;
  position: relative; overflow: hidden; margin: 0 !important; width: 100%; min-height: 44px; padding: 11px 16px;
  border-radius: 12px; font-size: .88rem; font-weight: 600; letter-spacing: .01em;
  background: var(--brand-dark); color: #fff; border: 1px solid var(--brand-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 6px 14px -10px rgba(38, 46, 41, .9);
}
ul.products li.product .button::before { display: block;
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3Cpath d='M12 12v4M10 14h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3Cpath d='M12 12v4M10 14h4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
ul.products li.product .button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s var(--ease); }
ul.products li.product .button:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(194, 106, 61, .8); }
ul.products li.product .button:hover::before { transform: rotate(-10deg) scale(1.1); }
ul.products li.product .button:hover::after { transform: translateX(100%); }
ul.products li.product .button:active { transform: translateY(0) scale(.98); }
/* loading */
.woocommerce ul.products li.product .button.loading { opacity: 1; color: transparent !important; pointer-events: none; }
.woocommerce ul.products li.product .button.loading::before { display: none; }
.woocommerce ul.products li.product .button.loading::after {
  content: ""; font-family: inherit; position: absolute; inset: auto; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; background: none; transform: none; animation: pnp-spin .7s linear infinite;
}
@keyframes pnp-spin { to { transform: rotate(360deg); } }
/* added */
.woocommerce ul.products li.product .button.added { background: var(--brand); border-color: var(--brand); }
.woocommerce ul.products li.product .button.added::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  animation: pnp-pop .4s var(--ease);
}
.woocommerce ul.products li.product .button.added::after { content: ""; }
@keyframes pnp-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } }
ul.products li.product .added_to_cart { display: none !important; }
ul.products li.product .added_to_cart:hover { color: var(--accent-dark); text-decoration: underline; }
/* non-purchasable (read more / select options) */
ul.products li.product .button:not(.add_to_cart_button) { background: #fff; color: var(--brand-dark); border-color: var(--line); box-shadow: none; }
ul.products li.product .button:not(.add_to_cart_button)::before { display: none; }
ul.products li.product .button:not(.add_to_cart_button):hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }

/* Add to cart — single product */
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 22px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button, .woocommerce div.product form.cart .button {
  display: inline-flex !important; align-items: center; justify-content: center;
  flex: 1; min-width: 200px; height: 56px; border-radius: 14px; font-size: 1.02rem; font-weight: 600; gap: 10px;
  background: var(--accent); color: #fff; border: 0; box-shadow: 0 12px 24px -14px rgba(194, 106, 61, .9);
}
.woocommerce div.product form.cart .single_add_to_cart_button::before { display: block;
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(194, 106, 61, 1); }

/* Quantity stepper */
.woocommerce .quantity { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 56px; }
.woocommerce .quantity .qty { width: 52px; height: 100%; border: 0; border-radius: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.woocommerce .quantity .qty::-webkit-inner-spin-button, .woocommerce .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity .qty:focus { outline: none; }
.qty-btn { width: 44px; height: 100%; border: 0; background: transparent; font-size: 1.25rem; color: var(--ink); cursor: pointer; transition: background .2s; }
.qty-btn:hover { background: var(--tint); }
.woocommerce .quantity:not(.has-steppers) .qty { width: 80px; }
.woocommerce-cart-form .quantity { height: 44px; }

/* Live search */
.header-search input[type=search] { padding-right: 52px; }
.search-submit { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--brand-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.search-submit:hover { background: var(--accent); }
.search-submit .icon { position: static; color: #fff; }
.header-search.is-open input[type=search] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.pnp-search-dropdown {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; max-height: min(70vh, 560px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px;
  animation: sr-in .18s var(--ease);
}
@keyframes sr-in { from { opacity: 0; transform: translateY(-6px); } }
.sr-group + .sr-group { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 6px; }
.sr-label { display: block; padding: 8px 10px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sr-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sr-cat { padding: 6px 12px; border-radius: 999px; background: var(--sage-bg); color: var(--brand-dark); font-size: .84rem; font-weight: 500; }
.sr-cat small { color: var(--muted); margin-left: 2px; }
.sr-cat:hover, .sr-cat.is-active { background: var(--brand); color: #fff; }
.sr-cat:hover small, .sr-cat.is-active small { color: #dfe7e1; }
.sr-prod { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--ink); }
.sr-prod:hover, .sr-prod.is-active { background: var(--cream); color: var(--ink); }
.sr-img { width: 52px; height: 52px; border-radius: 10px; background: var(--sand); overflow: hidden; }
.sr-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sr-meta { min-width: 0; display: flex; flex-direction: column; }
.sr-meta small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sr-meta strong { font-weight: 500; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-meta mark, .sr-cat mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-price { font-weight: 700; font-size: .92rem; color: var(--brand-dark); white-space: nowrap; }
.sr-all { display: block; margin-top: 6px; padding: 12px; border-radius: 12px; text-align: center; font-weight: 600; font-size: .88rem; background: var(--brand-dark); color: #fff; }
.sr-all:hover, .sr-all.is-active { background: var(--accent); color: #fff; }
.sr-empty, .sr-loading { padding: 22px 14px; text-align: center; color: var(--muted); font-size: .92rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: pnp-spin .7s linear infinite; }

/* Toast */
.pnp-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; align-items: center; gap: 14px; max-width: 400px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 16px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.pnp-toast.is-in { transform: none; opacity: 1; }
.pnp-toast-img img { width: 50px; height: 50px; object-fit: contain; border-radius: 10px; background: var(--sand); }
.pnp-toast-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; font-size: .85rem; }
.pnp-toast-txt strong { color: var(--brand-dark); }
.pnp-toast-txt span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnp-toast .btn { padding: 9px 14px; font-size: .82rem; white-space: nowrap; }

/* Shop chips + product cards polish */
.chip.is-active { background: var(--brand-dark); border-color: var(--brand-dark); }
.chip:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--sage-bg); }
ul.products li.product .card-media { background: var(--sand); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: #fff; }
.pdp-trust { background: var(--sage-bg); }
.pdp-trust .icon { color: var(--accent); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand-dark); }

@media (max-width: 900px) {
  .pnp-search-dropdown { position: fixed; left: 12px; right: 12px; top: auto; margin-top: 8px; }
  .lifestyle-copy { padding: 36px 26px; }
  .lifestyle::before { background: linear-gradient(180deg, rgba(38, 46, 41, .55), rgba(38, 46, 41, .9)); }
  .about-badge { right: 12px; bottom: -18px; }
  .hero::after { height: 36px; }
}
@media (max-width: 640px) {
  .pnp-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  ul.products li.product .button { font-size: .8rem; padding: 10px 8px; gap: 6px; }
  ul.products li.product .button::before { width: 16px; height: 16px; }
  .wordmark-mark { width: 38px; height: 38px; }
  .wordmark-text strong { font-size: 1.12rem; }
  .wordmark-text small { display: none; }
  .hero-points li { padding: 5px 10px; font-size: .8rem; }
  .woocommerce div.product form.cart .single_add_to_cart_button { min-width: 0; }
}

/* Stacking: keep sticky header above product gallery controls */
.site-header { z-index: 100; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { z-index: 5; top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 640px) {
  .header-inner { gap: 2px; }
  .brand { min-width: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .header-actions { gap: 0; }
  .wordmark { gap: 7px; }
  .wordmark-mark { width: 32px; height: 32px; }
  .wordmark-text strong { font-size: 1rem; letter-spacing: .04em; }
}
@media (max-width: 380px) { .header-actions a[aria-label="My account"] { display: none; } }
.woocommerce nav.woocommerce-pagination ul { flex-wrap: wrap; justify-content: center; max-width: 100%; }
@media (max-width: 640px) { .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 36px; height: 36px; line-height: 36px; padding: 0 6px; } }
html, body { overflow-x: clip; }

/* Search results / empty state */
.search .page-hero h1 { color: var(--brand-dark); }
.no-results { max-width: 620px; margin: 10px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; }
.no-results-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage-bg); color: var(--brand); margin-bottom: 18px; }
.no-results h2 { font-size: 1.6rem; }
.no-results p { color: var(--muted); margin-bottom: 22px; }
.no-results-chips { justify-content: center; flex-wrap: wrap !important; overflow: visible !important; margin-bottom: 26px; }

/* ==========================================================================
   Responsive polish (v1.2)
   ========================================================================== */
/* Product card: category on one line so buttons line up across a row */
.card-cat { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
ul.products li.product .button { white-space: nowrap; }

/* Collapsible short description on product pages */
.pnp-collapsible { position: relative; max-height: 11.5em; overflow: hidden; transition: max-height .4s var(--ease); }
.pnp-collapsible::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5em; background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--bg)); pointer-events: none; transition: opacity .3s; }
.pnp-collapsible.is-open { max-height: 200em; }
.pnp-collapsible.is-open::after { opacity: 0; }
.pnp-readmore { display: inline-flex; align-items: center; gap: 6px; margin: -8px 0 20px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: .9rem; cursor: pointer; }
.pnp-readmore:hover { color: var(--accent-dark); text-decoration: underline; }
.woocommerce-product-details__short-description.pnp-collapsible { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; }

/* Cart / checkout blocks: hide product descriptions under item names */
.wc-block-components-product-metadata__description,
.wc-block-cart-item__product .wc-block-components-product-metadata { display: none !important; }

/* Category grid: 4 columns from tablet up (16 categories = 4 x 4) */
@media (min-width: 700px) and (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .cat-info strong { font-size: .9rem; } }

@media (max-width: 900px) {
  /* Hero visual: keep the floating cards together on tablets */
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  /* Product page: cap the single-column gallery */
  .woocommerce div.product div.images { max-width: 560px; width: 100% !important; margin: 0 auto !important; }
  /* Mobile search bar: solid strip under the header, dropdown anchored below it */
  .header-search { background: var(--bg); left: 0 !important; right: 0 !important; padding: 10px 16px 14px !important; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px -16px rgba(0, 0, 0, .35); }
  .search-open .header-search .icon:not(.search-submit .icon) { top: 24px; left: 32px; }
  .search-submit { right: 21px; top: 15px; transform: none; }
  .pnp-search-dropdown { position: absolute; left: 16px; right: 16px; top: calc(100% - 6px); margin-top: 0; max-height: 65vh; }
}
@media (max-width: 640px) {
  ul.products li.product .button { font-size: .78rem; padding: 10px 6px; gap: 5px; min-height: 40px; }
  .card-cat { font-size: .66rem; letter-spacing: .06em; }
  .promo { padding: 28px 18px; border-radius: 22px; }
  .promo-products ul.products { gap: 10px; }
  .lifestyle { min-height: 360px; border-radius: 22px; }
  .footer-grid { padding-top: 48px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 36px 0 30px; }
}
