/* Naughty Headboards — shop styles */

:root {
  --paper: #f6f3ee;
  --ink: #1b1a19;
  --muted: #5d5a56;
  --line: #ddd6cc;
  --red: #d0122d;
  --red-dark: #a80e24;
  --blue: #1d4ed8;
  --blue-dark: #1740b0;
  --black: #111;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.1; }

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: .02em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--paper); }
.btn--outline-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); }
.btn--block { width: 100%; }
button.btn { appearance: none; -webkit-appearance: none; }

/* Type helpers */
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: rgba(255,255,255,.75); }

.section { padding: 80px 0; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__title { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 600; margin-bottom: 14px; }
.section__intro { color: var(--muted); margin: 0; }

/* 1. Announcement */
.announce { background: var(--red); color: var(--white); text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.announce p { margin: 0; padding: 8px 16px; }

/* 2. Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); }
.header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--wrap); margin: 0 auto; padding: 8px 24px;
}
.header__logo img { height: 52px; width: auto; background: none; }
.header .header__logo img { height: 52px; width: auto; max-width: none; }
.header__nav { display: flex; gap: 24px; margin-left: auto; }
.header__nav a, .header__basket {
  font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.85);
}
.header__nav a:hover { color: var(--white); }
.header__basket {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); color: var(--white);
}
.header__basket svg { display: block; }
.header__basket { position: relative; }
.header__count {
  position: absolute; top: -8px; right: -8px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: #fff; color: #0a4a30; box-shadow: 0 0 0 2px #0a4a30;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.header__basket:hover .header__count { background: #0a4a30; color: #fff; box-shadow: 0 0 0 2px #fff; }
.header__basket:hover { background: var(--white); color: var(--black); }

/* 3. Hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; background: var(--black); color: var(--white); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.85) 0%, rgba(17,17,17,.55) 50%, rgba(17,17,17,.15) 100%); }
.hero__content { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero__title { max-width: 640px; font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); font-weight: 600; margin-bottom: 20px; }
.hero__title em { font-style: italic; color: #ffd7dc; }
.hero__lead { max-width: 520px; font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* 4. Shop grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__media { display: block; padding: 0; border: 0; background: #e9e4dc; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card__media:hover img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__name { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.card__spec { color: var(--muted); font-size: 15px; flex: 1; }

/* 5. Spotlight */
.spotlight { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spotlight__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.spotlight__media { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.spotlight__media img { width: 100%; }
.spotlight__content p { color: var(--muted); margin-bottom: 24px; }

/* 6. Included */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); }
.feature__name { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* 7. Sizes and colours */
.sizes { background: var(--black); color: var(--white); }
.sizes__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.sizes p { color: rgba(255,255,255,.8); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 15px; }
.swatches { display: flex; flex-wrap: wrap; gap: 24px; }
.swatches li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.sw {
  display: inline-block; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18);
  background-image: url("/assets/swatch-texture.jpg"); background-size: cover; background-blend-mode: multiply;
}
.sw--red { background-color: #a3162a; }
.sw--white { background-color: #fdfdfb; }
.sw--gray { background-color: #a6abaf; }
.sw--ivory { background-color: #f0e6cc; }
.sw--black { background-image: url("/assets/swatch-black.jpg"); background-color: #1d2122; background-blend-mode: normal; }

/* 8. How to order */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--red); color: var(--white); font-weight: 600;
}
.step__name { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* 9. FAQ */
.faq { padding-top: 0; }
.faq__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  position: relative; padding: 20px 40px 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 0 20px; color: var(--muted); }

/* 10. Closing band */
.band { background: var(--blue); color: var(--white); padding: 56px 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band__title { font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); font-weight: 600; margin-bottom: 8px; }
.band p { margin: 0; color: rgba(255,255,255,.88); }

/* 11. Footer */
.footer { background: var(--black); color: rgba(255,255,255,.75); padding-top: 48px; font-size: 15px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 12px; background: none; }
.footer .footer__brand img { height: 52px; width: auto; max-width: none; }
.footer__brand p { max-width: 320px; }
.footer__info { text-align: right; }
.footer__info p { margin: 0 0 6px; }
.footer__info a { color: var(--white); }
.footer__adult { color: var(--white); font-weight: 600; }
.footer__base { margin-top: 32px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer__base p { margin: 0; }

/* Lightbox */
.lightbox { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox__img { max-width: 100%; max-height: 88vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: -44px; right: 0;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--white); color: var(--black); font-size: 26px; line-height: 1; cursor: pointer;
}

/* Tablet */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .header__nav { gap: 16px; }
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__inner { flex-wrap: nowrap; align-items: center; gap: 12px; padding: 8px 16px; }
  .header__logo {
    flex: 0 1 auto;
    width: auto;
    display: block;
    height: auto;
    overflow: visible;
  }
  .header .header__logo img {
    width: auto;
    max-width: min(210px, 58vw);
    height: 58px;
    margin: 0;
  }
  .header__basket { margin-left: auto; }
}

/* Mobile */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .header__inner { padding: 4px 12px 8px; }
  .hero { min-height: 520px; }
  .hero__shade { background: rgba(17,17,17,.68); }
  .hero__content { padding-top: 56px; padding-bottom: 56px; }
  .hero__buttons { flex-direction: column; }
  .btn { width: 100%; }
  .grid, .features, .steps, .spotlight__inner, .sizes__inner, .faq__inner { grid-template-columns: 1fr; }
  .spotlight__inner, .sizes__inner, .faq__inner { gap: 32px; }
  .band__inner { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; }
  .footer__info { text-align: left; }
  .footer__brand img { height: 42px; }
}

/* ---------- WooCommerce pages (theme templates) ---------- */

body.woocommerce,
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout,
body.single-product {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.woocommerce h1, body.woocommerce h2, body.woocommerce h3,
body.woocommerce-cart h1, body.woocommerce-cart h2, body.woocommerce-cart h3,
body.woocommerce-checkout h1, body.woocommerce-checkout h2, body.woocommerce-checkout h3,
body.single-product h1, body.single-product h2, body.single-product h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

body.woocommerce .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.single-product .woocommerce,
body.single-product div.product {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.woocommerce-breadcrumb { display: none; }

.woocommerce a:not(.button) { color: var(--red); }
.woocommerce a:not(.button):hover { color: var(--red-dark); }

.woocommerce button,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.woocommerce a.checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  display: inline-block;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.woocommerce button:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--red-dark);
  color: var(--white);
}

.woocommerce button:disabled,
.woocommerce .button.disabled,
.woocommerce button.button:disabled[disabled] {
  background: var(--red);
  opacity: .5;
}

.woocommerce #place_order { width: 100%; }

.woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: var(--radius);
  background: var(--white);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}
.woocommerce table.shop_table th { font-weight: 600; }
.woocommerce table.shop_table img { width: 72px; height: auto; border-radius: 4px; }

.woocommerce .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce form.checkout_coupon,
.woocommerce form.login {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--ink); }

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce select,
.woocommerce textarea,
.woocommerce .input-text {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.woocommerce .quantity .qty { width: 80px; }
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.woocommerce-checkout #payment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.woocommerce-checkout #payment div.payment_box { background: var(--white); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--white);
  border-top: 3px solid var(--blue);
  color: var(--ink);
}
.woocommerce-error { border-top-color: var(--red); }

.single-product div.product .product_title { font-size: clamp(32px, 4vw, 46px); }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--radius); }
.single-product div.product form.cart { margin-top: 20px; }
.nh-fields { display: grid; gap: 12px; margin: 18px 0; max-width: 420px; }
.nh-fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.nh-fields select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; }
.nh-add { max-width: 420px; margin-top: 4px; }
.single-product div.product table.variations td,
.single-product div.product table.variations th { padding: 8px 0; border: 0; background: none; }

/* Front page: white background, green text */
body.front {
  --paper: #fff;
  --ink: #0f6b45;
  --muted: #1a7a52;
  --line: #d5eadf;
  background: #fff;
  color: #0f6b45;
}
body.front .announce { background: #0f6b45; color: #fff; border-bottom: 0; }
body.front .header { background: #0a4a30; color: #fff; border-bottom: 0; }
body.front .header__nav a,
body.front .header__basket { color: #fff; border-color: rgba(255,255,255,.55); }
body.front .header__nav a:hover { color: #fff; }
body.front .header__basket:hover { background: #fff; color: #0a4a30; }
body.front .eyebrow { color: #0f6b45; }
body.front .card,
body.front .feature,
body.front .step { background: #fff; border-color: #d5eadf; color: #0f6b45; }
body.front .feature { border-top-color: #0f6b45; }
body.front .spotlight { background: #fff; border-color: #d5eadf; }
body.front .card__spec,
body.front .feature p,
body.front .step p,
body.front .spotlight__content p,
body.front .section__intro,
body.front .faq__item p,
body.front .hero__lead,
body.front .sizes p { color: #1a7a52; }
body.front .sizes { background: #fff; color: #0f6b45; }
body.front .tags li { border-color: #0f6b45; color: #0f6b45; }
body.front .band { background: #fff; color: #0f6b45; }
body.front .band p { color: #1a7a52; }
body.front .footer { background: #fff; color: #1a7a52; border-top: 1px solid #d5eadf; }
body.front .footer a,
body.front .footer__adult { color: #0f6b45; }
body.front .btn--red,
body.front .btn--blue,
body.front .btn--light { background: #0f6b45; color: #fff; }
body.front .btn--red:hover,
body.front .btn--blue:hover,
body.front .btn--light:hover { background: #0a4a30; color: #fff; }
body.front .btn--outline-light { border-color: #0f6b45; color: #0f6b45; background: transparent; }
body.front .btn--outline-light:hover { background: #0f6b45; color: #fff; }
body.front .hero { color: #fff; }
body.front .hero .eyebrow { color: rgba(255,255,255,.88); }
body.front .hero__lead { color: rgba(255,255,255,.92); }
body.front .hero__shade { background: linear-gradient(90deg, rgba(15,107,69,.48) 0%, rgba(15,107,69,.22) 52%, rgba(15,107,69,.06) 100%); }
body.front .hero__title em { color: #fff; }
body.front .hero .btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
body.front .hero .btn--outline-light:hover { background: #fff; color: #0a4a30; }
body.front .faq__item summary::after { color: #0f6b45; }
body.front .step__num { background: #0f6b45; color: #fff; }
body.front { --red: #0f6b45; --red-dark: #0a4a30; --blue: #0f6b45; --blue-dark: #0a4a30; }
body.front .header__nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

/* Shop cards with prices */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
a.card__media { cursor: pointer; }
.card__name a { color: inherit; text-decoration: none; }
.card__name a:hover { text-decoration: underline; }
.card__price { margin: 0 0 14px; font-size: 18px; font-weight: 600; }

/* Size table */
.size-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 16px; }
.size-table th, .size-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.size-table thead th { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.size-table tbody th { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.size-table td span { display: block; font-size: 14px; color: var(--muted); }
.size-table td:last-child { font-weight: 600; white-space: nowrap; }

/* Inner page heading */
.page-hero { background: #0f6b45; color: #fff; padding: 64px 0 56px; }
body.front .page-hero .eyebrow { color: rgba(255,255,255,.85); }
.page-hero__title { max-width: 760px; font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); font-weight: 600; margin-bottom: 14px; color: #fff; }
.page-hero__lead { max-width: 620px; margin: 0; font-size: 18px; color: rgba(255,255,255,.92); }

/* About */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__content p { color: var(--muted); }
.split__content .btn { margin-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact__card, .contact__facts { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact__number { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.1; }
.contact__number a { text-decoration: none; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { border-color: currentColor; background: transparent; }
body.front .btn--outline { color: #0f6b45; }
body.front .btn--outline:hover { background: #0f6b45; color: #fff; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

/* Product page: size and colour picker */
.nh-picker { max-width: 460px; margin: 24px 0 8px; }
.nh-group { margin: 0 0 22px; padding: 0; border: 0; }
.nh-group__label { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nh-group__label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.nh-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nh-size { position: relative; display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.nh-size input, .nh-colour input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nh-size__name { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.nh-size__dims { font-size: 13px; color: var(--muted); line-height: 1.4; }
.nh-size__price { margin-top: 4px; font-weight: 600; }
.nh-size:has(input:checked) { border-color: #0f6b45; box-shadow: inset 0 0 0 1px #0f6b45; }
.nh-size:has(input:focus-visible), .nh-colour:has(input:focus-visible) { outline: 3px solid #0f6b45; outline-offset: 2px; }
.nh-colours { display: flex; flex-wrap: wrap; gap: 14px; }
.nh-colour { display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.nh-colour .sw { width: 44px; height: 44px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent; }
.nh-colour:has(input:checked) .sw { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0f6b45; }
.nh-total { display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.nh-total span { font-weight: 600; }
.nh-total strong { font-family: var(--serif); font-size: 34px; font-weight: 600; }
.nh-delivery { margin: 0 0 16px; text-align: right; color: var(--muted); font-size: 14px; }
.nh-specs { max-width: 460px; margin: 24px 0 0; border-top: 1px solid var(--line); }
.nh-specs li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.nh-specs span { font-weight: 600; color: var(--ink); }
.nh-from { font-size: .7em; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* WooCommerce screens in the green look */
body.nh-shop .site-main { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 72px; }
body.nh-shop .page-hero .page-hero__title { color: #fff; }
body.nh-shop ul.products li.product .button,
body.nh-shop ul.products li.product .button:visited { background: #0f6b45; color: #fff; }
body.nh-shop ul.products li.product .button:hover { background: #0a4a30; color: #fff; }
.nh-picker .nh-add { max-width: none; }
.page-hero--slim { padding: 36px 0 32px; }
.page-hero--slim .page-hero__title { margin: 0; font-size: clamp(32px, 4vw, 44px); }
body.nh-shop .woocommerce-message { border-top-color: #0f6b45; background: #f1f8f4; color: #0f6b45; }
body.nh-shop .woocommerce-message::before { color: #0f6b45; }
body.nh-shop .woocommerce-message .button { background: #0f6b45; color: #fff; }
body.nh-shop .woocommerce-message .button:hover { background: #0a4a30; color: #fff; }
body.nh-shop .wc-block-components-button:not(.is-link),
body.nh-shop .wc-block-cart__submit-button,
body.nh-shop .wc-block-components-checkout-place-order-button {
  background: #0f6b45; color: #fff; border: 0; border-radius: var(--radius); font-family: var(--sans); font-weight: 600;
}
body.nh-shop .wc-block-components-button:not(.is-link):hover { background: #0a4a30; color: #fff; }
body.nh-shop .wp-block-woocommerce-cart,
body.nh-shop .wp-block-woocommerce-checkout { max-width: 1100px; margin: 0 auto; }
body.nh-shop.woocommerce-cart .site-main,
body.nh-shop.woocommerce-checkout .site-main { padding: 32px 24px 72px; }
body.nh-shop.single-product .site-main { padding: 40px 4px 72px; }
body.nh-shop .woocommerce-products-header { display: none; }
body.nh-shop div.product .product_title { margin-bottom: 10px; }
body.nh-shop div.product p.price { color: #0f6b45; font-size: 22px; font-weight: 600; }
body.nh-shop div.product .woocommerce-product-details__short-description { color: var(--muted); }
body.nh-shop .woocommerce div.product .woocommerce-tabs ul.tabs li { background: #fff; border-color: var(--line); }
body.nh-shop .woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #fff; }
body.nh-shop .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #0f6b45; }
body.nh-shop .woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 30px; margin-bottom: 12px; }
body.nh-shop .woocommerce div.product .woocommerce-tabs .panel .size-table { max-width: 560px; margin-bottom: 16px; }
body.nh-shop section.related { clear: both; padding-top: 32px; }
body.nh-shop section.related > h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 24px; }
body.nh-shop.woocommerce ul.products,
body.nh-shop .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
body.nh-shop ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
body.nh-shop ul.products::before,
body.nh-shop ul.products::after { display: none !important; }
body.nh-shop ul.products li.product {
  display: flex; flex-direction: column; float: none !important; width: auto !important; margin: 0 !important;
  padding: 0 0 20px !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
body.nh-shop ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: #0f6b45; text-decoration: none; }
body.nh-shop ul.products li.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 16px !important; }
body.nh-shop ul.products li.product .woocommerce-loop-product__title { padding: 0 20px !important; font-family: var(--serif); font-size: 26px !important; font-weight: 600; color: #0f6b45; }
body.nh-shop ul.products li.product .price { display: block; padding: 0 20px; margin: 4px 0 16px !important; color: #0f6b45 !important; font-size: 18px !important; font-weight: 600; }
body.nh-shop ul.products li.product .button { margin: auto 20px 0 !important; }

/* Mobile nav row */
@media (max-width: 860px) {
  .header__inner { flex-wrap: wrap; row-gap: 0; }
  .header__nav {
    display: flex; order: 3; flex: 0 0 100%; justify-content: space-between; gap: 12px;
    margin: 0; padding: 6px 2px 4px; border-top: 1px solid rgba(255,255,255,.18);
    overflow-x: auto; white-space: nowrap;
  }
  .header__nav a { font-size: 14px; }
}

@media (max-width: 1000px) {
  .grid--4, body.nh-shop ul.products, body.nh-shop ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .split, .contact { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .grid--4, body.nh-shop ul.products, body.nh-shop ul.products.columns-3 { grid-template-columns: 1fr !important; }
  .page-hero { padding: 44px 0 40px; }
  .contact__card, .contact__facts { padding: 22px; }
  .contact__buttons { flex-direction: column; }
  .size-table tbody th { font-size: 20px; }
  .nh-specs li { grid-template-columns: 110px 1fr; }
}

@media (max-width: 700px) {
  body.front .hero__shade { background: rgba(15,107,69,.34); }
  .woocommerce button,
  .woocommerce .button,
  .woocommerce a.button,
  .woocommerce .single_add_to_cart_button,
  .woocommerce #place_order { width: 100%; }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td { padding: 12px; }
  .woocommerce .cart_totals,
  .woocommerce-checkout #order_review { padding: 16px; }
}
