/*
Theme Name: Naturally Beautiful
Theme URI: https://naturallypc.com/
Author: Naturally Beautiful Soaps & Skincare
Description: Custom WooCommerce storefront for Naturally Beautiful Soaps & Skincare — organic, handmade-in-the-USA soaps, foaming sugar scrubs, hair bars and pet memorials. Built around the moon-and-leaf logo: deep forest green, champagne gold and cream.
Version: 1.1.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: naturally-beautiful
WC requires at least: 7.0
License: GPLv2 or later
*/

/* ---------- Tokens ---------- */
:root {
  --nb-forest: #12221a;
  --nb-forest-2: #1b3226;
  --nb-forest-3: #26402f;
  --nb-gold: #d8c18a;
  --nb-gold-soft: #efe2bd;
  --nb-gold-deep: #7d5f17;
  --nb-cream: #f8f4ec;
  --nb-sand: #efe7d8;
  --nb-blush: #f1dcda;
  --nb-moon: #e4eef0;
  --nb-ink: #1d2a22;
  --nb-muted: #56625a;
  --nb-line: #ddd3c0;
  --nb-white: #fff;
  --nb-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --nb-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --nb-radius: 14px;
  --nb-wrap: 1240px;
  --nb-shadow: 0 18px 40px -24px rgba(18, 34, 26, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nb-cream);
  color: var(--nb-ink);
  font-family: var(--nb-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nb-forest-3); text-underline-offset: 3px; }
a:hover { color: var(--nb-gold-deep); }
h1, h2, h3, h4 { font-family: var(--nb-serif); font-weight: 600; line-height: 1.12; color: var(--nb-forest); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--nb-gold-deep); outline-offset: 3px; }
.screen-reader-text, .nb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: var(--nb-gold); color: var(--nb-forest); padding: .6em 1em; top: 8px; left: 8px; }

.nb-wrap { width: 100%; max-width: var(--nb-wrap); margin: 0 auto; padding: 0 24px; }
.nb-section { padding: clamp(64px, 9vw, 120px) 0; }
.nb-eyebrow {
  display: inline-block; font-family: var(--nb-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--nb-gold-deep); margin-bottom: 14px;
}
.nb-dark .nb-eyebrow { color: var(--nb-gold); }
.nb-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.nb-head p { color: var(--nb-muted); font-size: 1.05rem; }
.nb-dark { background: var(--nb-forest); color: #e9e4d8; }
.nb-dark h2, .nb-dark h3 { color: var(--nb-gold-soft); }
.nb-dark p { color: #d5d9d2; }

/* ---------- Buttons ---------- */
.nb-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--nb-sans); font-size: .86rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 1em 2em; border-radius: 999px; border: 1.5px solid var(--nb-forest);
  background: var(--nb-forest); color: var(--nb-gold-soft); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2;
}
.nb-btn:hover, .woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--nb-forest-3); color: #fff; border-color: var(--nb-forest-3); transform: translateY(-1px);
}
.nb-btn--gold { background: var(--nb-gold); border-color: var(--nb-gold); color: var(--nb-forest); }
.nb-btn--gold:hover { background: var(--nb-gold-soft); border-color: var(--nb-gold-soft); color: var(--nb-forest); }
.nb-btn--ghost { background: transparent; color: var(--nb-forest); }
.nb-btn--ghost-light { background: transparent; color: var(--nb-gold-soft); border-color: rgba(239,226,189,.7); }
.nb-btn--ghost-light:hover { background: rgba(239,226,189,.12); color: #fff; border-color: #fff; }
.nb-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.nb-link { font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--nb-forest); border-bottom: 1.5px solid var(--nb-gold); padding-bottom: 2px; }

/* ---------- Announcement + header ---------- */
.nb-announce { background: var(--nb-forest); color: var(--nb-gold-soft); text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; }
.nb-announce a { color: inherit; }
.nb-header { position: sticky; top: 0; z-index: 50; background: rgba(248,244,236,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--nb-line); }
.admin-bar .nb-header { top: 32px; }
.nb-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; padding-top: 14px; }
.nb-header__left { display: contents; }
.nb-header__inner > .nb-brand, .nb-header__inner > .custom-logo-link { grid-column: 2; grid-row: 1; }
.nb-tools { grid-column: 3; grid-row: 1; }
.nb-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; padding: 10px 0 8px; }
.nb-nav ul { justify-content: center; }
.nb-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; }
.nb-brand img, .nb-brand .custom-logo { max-height: 64px; width: auto; }
.nb-brand__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--nb-forest); padding: 3px; }
.nb-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.nb-brand__name { font-family: var(--nb-sans); font-weight: 600; letter-spacing: .14em; font-size: 1.02rem; color: var(--nb-forest); }
.nb-brand__tag { font-size: .66rem; letter-spacing: .3em; color: var(--nb-gold-deep); margin-top: 4px; }
.nb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; }
.nb-nav a { text-decoration: none; color: var(--nb-ink); font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nb-nav a:hover, .nb-nav .current-menu-item > a { border-color: var(--nb-gold); color: var(--nb-forest); }
.nb-nav .sub-menu { display: none; }
.nb-tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nb-icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--nb-forest); background: none; border: 0; cursor: pointer; text-decoration: none; }
.nb-icon-btn:hover { background: var(--nb-sand); color: var(--nb-forest); }
.nb-icon-btn svg { width: 21px; height: 21px; }
.nb-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--nb-gold); color: var(--nb-forest); font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.nb-menu-toggle { display: none; }
.nb-search { display: none; border-top: 1px solid var(--nb-line); padding: 14px 0; }
.nb-search.is-open { display: block; }
.nb-search form { display: flex; gap: 10px; }
.nb-search input[type=search] { flex: 1; padding: .85em 1.2em; border: 1px solid var(--nb-line); border-radius: 999px; font: inherit; background: #fff; }

/* ---------- Hero ---------- */
.nb-hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center;
  background-color: var(--nb-forest); background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.nb-hero__art { position: absolute; right: -6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); opacity: .9; pointer-events: none; }
.nb-hero--photo .nb-hero__art { display: none; }
.nb-hero__inner { position: relative; z-index: 2; padding: 110px 24px; }
.nb-hero h1 { color: #fff; max-width: 11ch; margin-bottom: 22px; font-weight: 500; }
.nb-hero h1 em { font-style: italic; color: var(--nb-gold); }
.nb-hero__line { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e8e3d6; max-width: 34ch; margin-bottom: 34px; }
.nb-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--nb-gold-soft); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .85; }
.nb-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--nb-gold), transparent); }

/* ---------- Promise strip ---------- */
.nb-promise { background: var(--nb-sand); border-bottom: 1px solid var(--nb-line); }
.nb-promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.nb-promise__item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 22px; border-left: 1px solid var(--nb-line); }
.nb-promise__item:first-child { border-left: 0; }
.nb-promise__item svg { flex: none; width: 34px; height: 34px; color: var(--nb-gold-deep); }
.nb-promise__item strong { display: block; font-family: var(--nb-serif); font-size: 1.28rem; color: var(--nb-forest); line-height: 1.2; margin-bottom: 3px; }
.nb-promise__item span { font-size: .88rem; color: var(--nb-muted); line-height: 1.5; }

/* ---------- Intro ---------- */
.nb-intro { padding: clamp(60px, 8vw, 104px) 0 20px; }
.nb-intro__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.nb-intro h2 { margin: 0; }
.nb-intro p { font-size: 1.08rem; color: #3a463e; }
.nb-intro p:first-child::first-letter { font-family: var(--nb-serif); float: left; font-size: 4.2rem; line-height: .82; padding: 6px 10px 0 0; color: var(--nb-gold-deep); }

/* ---------- Collection tiles ---------- */
.nb-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nb-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--nb-radius); overflow: hidden; background: #fff; text-decoration: none; color: inherit; box-shadow: var(--nb-shadow); transition: transform .25s; }
.nb-tile:hover { transform: translateY(-4px); color: inherit; }
.nb-tile__img { aspect-ratio: 4 / 3.4; background-size: cover; background-position: center; background-color: var(--nb-forest-2); position: relative; }
.nb-tile__img--empty { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--nb-forest-3), var(--nb-forest) 70%); }
.nb-tile__img--empty img { width: 42%; opacity: .85; }
.nb-tile__label { background: var(--nb-gold); color: var(--nb-forest); font-family: var(--nb-sans); font-weight: 600; font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; padding: 13px 20px; display: flex; justify-content: space-between; align-items: center; }
.nb-tile__label::after { content: "→"; letter-spacing: 0; font-size: 1.05rem; transition: transform .2s; }
.nb-tile:hover .nb-tile__label::after { transform: translateX(4px); }
.nb-tile__body { padding: 18px 20px 22px; }
.nb-tile__body p { margin: 0; color: var(--nb-muted); font-size: .94rem; line-height: 1.55; }

/* ---------- Product grid (WooCommerce + preview) ---------- */
.woocommerce ul.products, .nb-products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0 !important; padding: 0 !important; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .nb-product {
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 18px !important;
  background: #fff; border-radius: var(--nb-radius); overflow: hidden; box-shadow: var(--nb-shadow);
  display: flex; flex-direction: column; text-align: left; position: relative;
}
.woocommerce ul.products li.product a img, .nb-product__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 14px !important; background: var(--nb-sand); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .nb-product h3 {
  font-family: var(--nb-serif); font-size: 1.32rem !important; font-weight: 600; color: var(--nb-forest); padding: 0 18px !important; margin: 0 0 4px; line-height: 1.2;
}
.nb-product__cat { padding: 0 18px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nb-gold-deep); margin-bottom: 4px; }
.woocommerce ul.products li.product .price, .nb-product .price { padding: 0 18px; color: var(--nb-ink) !important; font-weight: 500; font-size: 1rem !important; margin-bottom: 14px !important; display: block; }
.woocommerce ul.products li.product .price del { opacity: .55; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--nb-gold-deep); }
.woocommerce ul.products li.product .button, .nb-product .nb-btn { margin: auto 18px 0 !important; padding: .85em 1.2em; font-size: .76rem; }
.woocommerce ul.products li.product .star-rating { margin: 0 18px 8px; color: var(--nb-gold-deep); }
.woocommerce span.onsale, .nb-badge {
  position: absolute; top: 14px; left: 14px; right: auto; margin: 0; min-height: 0; min-width: 0; line-height: 1;
  background: var(--nb-forest); color: var(--nb-gold-soft); border-radius: 999px; padding: 7px 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; z-index: 2;
}
.woocommerce a.added_to_cart { padding: 8px 18px 0; font-size: .82rem; }
.nb-center { text-align: center; margin-top: 44px; }

/* ---------- Split feature ---------- */
.nb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.nb-split--rev .nb-split__media { order: 2; }
.nb-split__media { border-radius: 22px; min-height: 520px; background-size: cover; background-position: center; background-color: var(--nb-forest-2); position: relative; overflow: hidden; box-shadow: var(--nb-shadow); }
.nb-split__media--empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--nb-forest-3), var(--nb-forest) 72%); }
.nb-split__media--empty img { width: 46%; }
.nb-split__body p { color: var(--nb-muted); font-size: 1.04rem; }
.nb-dark .nb-split__body p { color: #d5d9d2; }
.nb-checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.nb-checks li { padding-left: 34px; position: relative; line-height: 1.55; }
.nb-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--nb-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%2312221a' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/14px no-repeat; }
.nb-checks strong { color: var(--nb-forest); }
.nb-dark .nb-checks strong { color: var(--nb-gold-soft); }

/* ---------- Ingredient cards ---------- */
.nb-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nb-cards--2 { grid-template-columns: repeat(2, 1fr); margin: 24px 0 36px; }
.nb-card { background: #fff; border-radius: var(--nb-radius); overflow: hidden; box-shadow: var(--nb-shadow); display: flex; flex-direction: column; }
.nb-card__head { background: var(--nb-gold); color: var(--nb-forest); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; padding: 13px 20px; }
.nb-card__body { padding: 20px 20px 24px; }
.nb-card__body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.nb-card__body p { margin: 0; font-size: .95rem; color: var(--nb-muted); line-height: 1.6; }

/* ---------- Scent chips ---------- */
.nb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nb-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--nb-line); background: #fff; color: var(--nb-forest); text-decoration: none; font-weight: 500; font-size: .92rem; transition: all .2s; }
.nb-chip:hover { border-color: var(--nb-forest); background: var(--nb-forest); color: var(--nb-gold-soft); }
.nb-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Wholesale band ---------- */
.nb-band { position: relative; overflow: hidden; border-radius: 26px; background: var(--nb-forest-2); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.nb-band h2 { color: var(--nb-gold-soft); margin-bottom: 12px; }
.nb-band p { color: #d5d9d2; margin: 0; }
.nb-band__art { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .14; pointer-events: none; }
.nb-band .nb-btns { justify-content: flex-end; position: relative; }

/* ---------- FAQ ---------- */
.nb-faq { max-width: 80%; margin: 0 auto; }
.nb-faq details { border-bottom: 1px solid var(--nb-line); }
.nb-faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--nb-serif); font-size: 1.42rem; font-weight: 600; color: var(--nb-forest); line-height: 1.3; }
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--nb-sans); font-weight: 300; font-size: 1.8rem; color: var(--nb-gold-deep); transition: transform .2s; }
.nb-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nb-faq__a { padding: 0 0 26px; color: #3a463e; }
.nb-faq__a h4 { font-family: var(--nb-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-gold-deep); margin: 18px 0 6px; }
.nb-faq__a ul { padding-left: 1.2em; margin: 0 0 1em; }
.nb-faq__a li { margin-bottom: .4em; }
.nb-faq__src { font-size: .86rem; color: var(--nb-muted); border-left: 3px solid var(--nb-gold); padding-left: 12px; }

/* ---------- Newsletter ---------- */
.nb-news { text-align: center; }
.nb-news form { display: flex; max-width: 520px; margin: 26px auto 0; gap: 10px; }
.nb-news input[type=email] { flex: 1; padding: 1em 1.4em; border-radius: 999px; border: 1px solid rgba(239,226,189,.4); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.nb-news input::placeholder { color: #b9c0b8; }

/* ---------- Footer ---------- */
.nb-footer { background: #0c1812; color: #c4cbc3; padding: 76px 0 0; font-size: .94rem; }
.nb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.nb-footer h4 { font-family: var(--nb-sans); color: var(--nb-gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.nb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nb-footer a { color: #dfe3dc; text-decoration: none; }
.nb-footer a:hover { color: var(--nb-gold); }
.nb-footer__brand img { width: 92px; margin-bottom: 16px; }
.nb-footer__brand img.nb-footer__logo { width: 200px; height: auto; border-radius: 12px; }
.nb-brand__mark { object-fit: cover; }
.nb-footer__brand p { max-width: 34ch; }
.nb-footer__base { margin-top: 56px; border-top: 1px solid rgba(216,193,138,.2); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8f998f; }
.nb-social { display: flex; gap: 10px; margin-top: 18px; }
.nb-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(216,193,138,.35); }
.nb-social svg { width: 17px; height: 17px; }

/* ---------- Inner pages ---------- */
.nb-pagehead { background: var(--nb-forest); color: #fff; padding: 76px 0 64px; text-align: center; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.nb-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; font-weight: 500; }
.nb-pagehead p { color: #e2ddd0; max-width: 60ch; margin: 14px auto 0; }
.nb-pagehead .woocommerce-breadcrumb, .nb-crumbs { color: var(--nb-gold-soft) !important; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px !important; }
.nb-pagehead .woocommerce-breadcrumb a { color: var(--nb-gold-soft) !important; }
.nb-content { padding: clamp(48px, 7vw, 90px) 0; }
.nb-prose { max-width: 820px; margin: 0 auto; }
.nb-prose h2 { margin-top: 1.4em; }
.nb-page .nb-faq { max-width: 80%; }

/* Cat chips on shop */
.nb-catbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 36px; }
.nb-catbar a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--nb-line); background: #fff; text-decoration: none; color: var(--nb-forest); font-size: .84rem; font-weight: 500; }
.nb-catbar a.is-active, .nb-catbar a:hover { background: var(--nb-forest); color: var(--nb-gold-soft); border-color: var(--nb-forest); }
.woocommerce .woocommerce-result-count { color: var(--nb-muted); font-size: .88rem; }
.woocommerce .woocommerce-ordering select { padding: .6em 1em; border-radius: 999px; border: 1px solid var(--nb-line); background: #fff; font: inherit; font-size: .88rem; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--nb-forest); color: var(--nb-gold-soft); }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--nb-radius); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--nb-gold-deep); font-size: 1.5rem; font-weight: 500; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 26px 0; }
.woocommerce div.product form.cart .variations { width: 100%; }
.woocommerce .quantity .qty { height: 100%; min-height: 50px; width: 80px; border-radius: 999px; border: 1px solid var(--nb-line); text-align: center; font: inherit; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--nb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 20px 0 0; padding: 0; }
.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 a { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding: 14px 0; color: var(--nb-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--nb-forest); box-shadow: inset 0 -2px 0 var(--nb-gold); }
.nb-assure { list-style: none; padding: 18px 20px; margin: 22px 0 0; display: grid; gap: 10px; background: var(--nb-sand); border-radius: var(--nb-radius); font-size: .9rem; }
.nb-assure li { display: flex; gap: 10px; align-items: center; }
.nb-assure svg { width: 20px; height: 20px; color: var(--nb-gold-deep); flex: none; }

/* Memorial personalization */
.nb-personalize { width: 100%; background: var(--nb-sand); border: 1px solid var(--nb-line); border-radius: var(--nb-radius); padding: 20px; margin-bottom: 6px; }
.nb-personalize legend { font-family: var(--nb-serif); font-size: 1.3rem; font-weight: 600; color: var(--nb-forest); padding: 0 6px; }
.nb-personalize label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; margin: 12px 0 5px; }
.nb-personalize input, .nb-personalize textarea { width: 100%; padding: .8em 1em; border: 1px solid var(--nb-line); border-radius: 10px; font: inherit; background: #fff; }
.nb-personalize small { color: var(--nb-muted); }

/* Forms */
.nb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nb-form .nb-full { grid-column: 1 / -1; }
.nb-form label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.nb-form input, .nb-form textarea, .nb-form select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  width: 100%; padding: .85em 1.1em; border: 1px solid var(--nb-line); border-radius: 10px; font: inherit; background: #fff; color: var(--nb-ink);
}
.nb-form .nb-hp { position: absolute; left: -9999px; }
.nb-notice { padding: 16px 20px; border-radius: 12px; background: #e3eee4; color: var(--nb-forest); margin-bottom: 24px; border-left: 4px solid var(--nb-forest-3); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--nb-forest-3) !important; background: #fff !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--nb-forest-3) !important; }

/* Posts */
.nb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nb-post { background: #fff; border-radius: var(--nb-radius); overflow: hidden; box-shadow: var(--nb-shadow); }
.nb-post__img { aspect-ratio: 16/10; background: var(--nb-forest-2) center/cover; }
.nb-post__body { padding: 20px 22px 26px; }
.nb-post__body h2 { font-size: 1.5rem; }
.nb-post__body h2 a { color: var(--nb-forest); text-decoration: none; }
.nb-meta { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-gold-deep); }

/* Cookie notice plugin: keep it floating instead of adding a strip under the footer */
body > .cookieadmin_law_container { position: fixed !important; left: 16px; bottom: 16px; z-index: 9999; max-width: calc(100vw - 32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .woocommerce ul.products, .nb-products { grid-template-columns: repeat(3, 1fr); }
  .nb-cards { grid-template-columns: repeat(2, 1fr); }
  .nb-promise__grid { grid-template-columns: repeat(2, 1fr); }
  .nb-promise__item:nth-child(3) { border-left: 0; }
  .nb-promise__item:nth-child(n+3) { border-top: 1px solid var(--nb-line); }
  .nb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nb-header__inner { grid-template-columns: 1fr auto auto; min-height: 72px; padding-top: 0; }
  .nb-header__left { display: block; grid-column: 3; grid-row: 1; }
  .nb-header__inner > .nb-brand, .nb-header__inner > .custom-logo-link { grid-column: 1; justify-self: start; }
  .nb-tools { grid-column: 2; }
  .nb-nav { padding: 90px 30px 30px; }
  .nb-brand img, .nb-brand .custom-logo { max-height: 50px; }
  .nb-menu-toggle { display: inline-grid; }
  .nb-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--nb-cream); }
  .nb-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--nb-forest); padding: 90px 30px 30px; transform: translateX(100%); transition: transform .3s; z-index: 60; overflow-y: auto; }
  .nb-nav.is-open { transform: none; box-shadow: -20px 0 50px rgba(0,0,0,.3); }
  .nb-nav ul { flex-direction: column; gap: 4px; }
  .nb-nav a { color: var(--nb-gold-soft); display: block; padding: 12px 0; font-size: .95rem; border-bottom: 1px solid rgba(216,193,138,.18); }
  .nb-nav a:hover, .nb-nav .current-menu-item > a { color: #fff; border-color: rgba(216,193,138,.18); }
  .nb-nav .sub-menu { display: block; padding-left: 14px; }
  .nb-nav__close { position: absolute; top: 20px; right: 20px; color: var(--nb-gold-soft); }
  .nb-header__left { order: 3; }
  .nb-tools { order: 2; }
  .nb-intro__grid, .nb-split, .nb-band, .woocommerce div.product { grid-template-columns: 1fr; }
  .nb-split--rev .nb-split__media { order: 0; }
  .nb-split__media { min-height: 360px; }
  .nb-band .nb-btns { justify-content: flex-start; }
  .nb-collections, .nb-posts { grid-template-columns: repeat(2, 1fr); }
  .nb-faq, .nb-page .nb-faq { max-width: 100%; }
  .nb-hero__art { width: 80vw; right: -30vw; opacity: .35; }
  .nb-hero { min-height: 0; }
  .nb-hero .nb-hero__inner { padding: 80px 16px 120px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .nb-wrap { padding: 0 16px; }
  .woocommerce ul.products, .nb-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title, .nb-product h3 { font-size: 1.1rem !important; padding: 0 12px !important; }
  .woocommerce ul.products li.product .price, .nb-product .price, .nb-product__cat { padding: 0 12px; }
  .woocommerce ul.products li.product .button, .nb-product .nb-btn { margin: auto 12px 0 !important; font-size: .68rem; padding: .8em .6em; letter-spacing: .08em; }
  .nb-collections, .nb-posts, .nb-cards, .nb-form { grid-template-columns: 1fr; }
  .nb-promise__grid { grid-template-columns: 1fr; }
  .nb-promise__item { border-left: 0 !important; border-top: 1px solid var(--nb-line); padding: 20px 4px; }
  .nb-promise__item:first-child { border-top: 0; }
  .nb-footer__grid { grid-template-columns: 1fr; }
  .nb-news form { flex-direction: column; }
  .nb-brand__tag { display: none; }
  .nb-brand__name { font-size: .86rem; }
  .nb-brand__mark { width: 42px; height: 42px; }
  .nb-hero h1 { max-width: none; }
  .nb-faq summary { font-size: 1.22rem; }
  .admin-bar .nb-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
