/*
Theme Name: Hotbox Office
Theme URI: https://github.com/ofakyle11/scotia
Author: Hotbox Office
Author URI: https://github.com/ofakyle11/scotia
Description: A WooCommerce theme for Hotbox Office — cannabis & mushroom store. Black chassis, champagne type, greenhouse-green accents, pill buttons, and the greenhouse logo mark. Ships dark by default with a white/light scheme switchable under Appearance > Customize > Store Details. Full WooCommerce support: product grids with category chips, single product pages, cart, checkout, and account pages.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotbox-office
Tags: e-commerce, dark, one-column, custom-logo, custom-menu, featured-images, footer-widgets, translation-ready
WC requires at least: 7.0
WC tested up to: 9.5
*/

/* ==========================================================================
   Design tokens — Hotbox Office brand: black, champagne, greenhouse green.
   The brand commits to one dark look — no light theme.
   ========================================================================== */
:root {
  --hb-bg: #0C0D0A;
  --hb-surface: #14160F;
  --hb-surface-2: #181A12;
  --hb-ink: #EDE6D3;
  --hb-muted: #9BA08C;
  --hb-line: #262A1D;
  --hb-accent: #8CB35A;
  --hb-accent-hover: #9DC46B;
  --hb-accent-ink: #0C0D0A;
  --hb-accent-soft: #1D2413;
  --hb-gold: #D8C39A;
  --hb-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(0, 0, 0, 0.45);
  --hb-radius: 14px;
  --hb-display: "Futura", "Avenir Next", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --hb-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hb-bg);
  color: var(--hb-ink);
  font-family: var(--hb-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; transition: color 0.15s ease; }
a:hover { color: var(--hb-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hb-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--hb-ink);
}
h1, h2 { text-transform: uppercase; letter-spacing: 0.05em; }
h1 { font-size: clamp(30px, 4.5vw, 46px); }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1.2em; }

::selection { background: var(--hb-accent); color: var(--hb-accent-ink); }

.hb-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hb-accent); display: block; margin-bottom: 6px;
}
.price { font-variant-numeric: tabular-nums; }

/* Screen-reader text */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto; clip-path: none; height: auto; width: auto;
  background: var(--hb-accent); color: var(--hb-accent-ink); display: block;
  font-size: 0.9rem; font-weight: 700; padding: 12px 20px;
  left: 8px; top: 8px; z-index: 100000; border-radius: 999px;
}

:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 2px; }

.hb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Buttons — pill shaped, greenhouse green
   ========================================================================== */
.hb-btn,
button, input[type="submit"], input[type="button"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hb-accent);
  color: var(--hb-accent-ink) !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  padding: 11px 24px;
  font-family: var(--hb-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hb-btn:hover, button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--hb-accent-hover);
  color: var(--hb-accent-ink) !important;
}
.hb-btn--ghost {
  background: var(--hb-surface);
  border-color: var(--hb-line);
  color: var(--hb-ink) !important;
}
.hb-btn--ghost:hover { border-color: var(--hb-accent); background: var(--hb-surface); color: var(--hb-ink) !important; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  background: var(--hb-bg);
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  color: var(--hb-ink);
  padding: 10px 12px;
  font-family: var(--hb-body);
  font-size: 14.5px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--hb-accent);
  outline-offset: 0;
  border-color: var(--hb-accent);
}

/* ==========================================================================
   Announcement bar — champagne gradient
   ========================================================================== */
.hb-announce {
  background: linear-gradient(90deg, #D2BE92, #EDE2C2 50%, #D2BE92);
  color: #171408;
  font-size: 13px; text-align: center; padding: 8px 16px;
  letter-spacing: 0.02em; font-weight: 500;
}
.hb-announce strong { color: #3F6B1E; font-weight: 700; }

/* ==========================================================================
   Header
   ========================================================================== */
.hb-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 13, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hb-line);
}
.hb-header__inner {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}

.hb-logo { display: flex; align-items: center; gap: 11px; font-family: var(--hb-display); text-decoration: none; }
.hb-logo svg { width: 30px; height: 36px; flex-shrink: 0; }
.hb-logo__img img { max-height: 44px; width: auto; }
.hb-logo__word { display: flex; flex-direction: column; line-height: 1; }
.hb-logo__word b { font-size: 17px; font-weight: 800; letter-spacing: 0.18em; color: var(--hb-ink); text-transform: uppercase; }
.hb-logo__word small { font-size: 9px; font-weight: 600; letter-spacing: 0.48em; color: var(--hb-accent); margin-top: 4px; text-transform: uppercase; }

.hb-nav { display: flex; margin-left: auto; }
.hb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.hb-nav li { position: relative; }
.hb-nav a {
  text-decoration: none; color: var(--hb-muted); font-size: 14.5px;
  transition: color 0.15s; padding: 8px 0; display: block;
}
.hb-nav a:hover, .hb-nav .current-menu-item > a, .hb-nav .current_page_item > a { color: var(--hb-ink); }
/* Dropdowns */
.hb-nav ul ul {
  position: absolute; top: 100%; left: -14px; min-width: 200px;
  background: var(--hb-surface); border: 1px solid var(--hb-line);
  border-radius: 12px; padding: 8px 14px; display: none; flex-direction: column; gap: 0;
  box-shadow: var(--hb-shadow); z-index: 50;
}
.hb-nav li:hover > ul, .hb-nav li:focus-within > ul { display: flex; }

.hb-cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--hb-accent); color: var(--hb-accent-ink) !important;
  border: 0; border-radius: 999px; padding: 9px 18px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background 0.15s;
}
.hb-cart-btn:hover { background: var(--hb-accent-hover); }
.hb-cart-count {
  background: var(--hb-accent-ink); color: var(--hb-accent);
  border-radius: 999px; min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; padding: 0 5px;
}

.hb-menu-toggle {
  display: none; background: var(--hb-surface); border: 1px solid var(--hb-line);
  color: var(--hb-ink) !important; padding: 8px 14px;
}
.hb-menu-toggle:hover { background: var(--hb-surface); border-color: var(--hb-accent); }

/* ==========================================================================
   Hero (front page)
   ========================================================================== */
.hb-hero { padding: 64px 0 56px; }
.hb-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hb-hero h1 { margin: 14px 0 18px; }
.hb-hero .hb-lede { font-size: 18px; color: var(--hb-muted); max-width: 52ch; margin: 0 0 28px; }
.hb-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hb-hero__panel {
  background: radial-gradient(120% 90% at 50% 0%, #161C0D 0%, #0A0B07 62%);
  border: 1px solid var(--hb-line);
  border-radius: calc(var(--hb-radius) + 8px);
  padding: 36px; box-shadow: var(--hb-shadow);
  position: relative; overflow: hidden;
}
.hb-hero__panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(140, 179, 90, 0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: 0.5;
}
.hb-hero__panel svg { width: 100%; height: auto; position: relative; z-index: 1; }
.hb-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hb-stat b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.hb-stat span { font-size: 13px; color: var(--hb-muted); }

/* ==========================================================================
   Sections
   ========================================================================== */
.hb-section { padding: 56px 0; }
.hb-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.hb-section__head h2 { margin: 0; }
.hb-section__head p { color: var(--hb-muted); margin: 6px 0 0; max-width: 60ch; }
.hb-more { color: var(--hb-accent); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Category chips */
.hb-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.hb-chip {
  border: 1px solid var(--hb-line); background: var(--hb-surface); color: var(--hb-muted);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all 0.15s;
}
.hb-chip:hover { border-color: var(--hb-accent); color: var(--hb-ink); }
.hb-chip.active, .hb-chip.current-cat {
  background: var(--hb-accent); border-color: var(--hb-accent); color: var(--hb-accent-ink);
}

/* ==========================================================================
   Product cards
   ========================================================================== */
.hb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }

.hb-card {
  background: var(--hb-surface); border: 1px solid var(--hb-line); border-radius: var(--hb-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hb-card:hover { transform: translateY(-3px); box-shadow: var(--hb-shadow); }
.hb-card__art {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: var(--hb-accent-soft);
}
.hb-card__art svg { width: 44%; height: auto; }
.hb-card__art img { width: 100%; height: 100%; object-fit: cover; }
.hb-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--hb-gold); color: #171204; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px;
  z-index: 2;
}
.hb-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hb-card__cat { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-muted); font-weight: 600; }
.hb-card__name { font-size: 16px; font-weight: 700; font-family: var(--hb-display); margin: 0; }
.hb-card__name a { text-decoration: none; color: var(--hb-ink); }
.hb-card__name a:hover { color: var(--hb-accent); }
.hb-card__desc { font-size: 13.5px; color: var(--hb-muted); flex: 1; margin: 0; }
.hb-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.hb-card__price { font-size: 17px; font-weight: 700; }
.hb-add-btn {
  background: var(--hb-accent-soft); color: var(--hb-accent) !important; border: 0; border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: 13.5px; transition: all 0.15s; text-decoration: none;
}
.hb-add-btn:hover { background: var(--hb-accent); color: var(--hb-accent-ink) !important; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.hb-trust { background: var(--hb-surface-2); border-block: 1px solid var(--hb-line); }
.hb-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.hb-trust__item h3 { font-size: 17px; margin-bottom: 6px; }
.hb-trust__item p { font-size: 14px; color: var(--hb-muted); margin: 0; }
.hb-glyph {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--hb-accent-soft); color: var(--hb-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 20px;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.hb-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.hb-review {
  background: var(--hb-surface); border: 1px solid var(--hb-line); border-radius: var(--hb-radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.hb-stars { color: var(--hb-gold); letter-spacing: 2px; font-size: 15px; }
.hb-review p { margin: 0; font-size: 14.5px; }
.hb-review .hb-who { font-size: 13px; color: var(--hb-muted); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.hb-faq { max-width: 760px; }
.hb-faq details {
  background: var(--hb-surface); border: 1px solid var(--hb-line); border-radius: var(--hb-radius);
  padding: 0 22px; margin-bottom: 12px;
}
.hb-faq summary {
  cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; font-size: 20px; color: var(--hb-accent); flex-shrink: 0; }
.hb-faq details[open] summary::after { content: "–"; }
.hb-faq details p { margin: 0 0 18px; color: var(--hb-muted); font-size: 15px; max-width: 65ch; }

/* ==========================================================================
   Visit cards
   ========================================================================== */
.hb-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.hb-visit__card {
  background: var(--hb-surface); border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius); padding: 26px;
}
.hb-visit__card h3 { margin-bottom: 10px; }
.hb-visit__card p { color: var(--hb-muted); font-size: 14.5px; margin: 0 0 4px; }
.hb-hours { width: 100%; font-size: 14px; border-collapse: collapse; margin-top: 8px; }
.hb-hours td { padding: 5px 0; border-bottom: 1px dashed var(--hb-line); color: var(--hb-muted); }
.hb-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--hb-ink); }

/* ==========================================================================
   Content / posts / pages
   ========================================================================== */
.hb-main { padding: 44px 0 64px; min-height: 55vh; }
.hb-page-title { margin-bottom: 30px; }
.hb-page-title h1 { margin: 0; }
.hb-page-title .hb-sub { color: var(--hb-muted); font-size: 0.9rem; margin-top: 6px; }

.hb-entry { max-width: 760px; }
.hb-entry--full { max-width: none; }
article.hb-post { margin-bottom: 44px; }
.hb-post__meta { font-size: 12px; color: var(--hb-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-weight: 600; }
.hb-post__content a { color: var(--hb-accent); }
.hb-post blockquote {
  border-left: 3px solid var(--hb-accent); margin: 1.4em 0; padding: 6px 22px;
  background: var(--hb-surface); border-radius: 0 10px 10px 0; color: var(--hb-muted);
}
.hb-post code, .hb-post pre { background: var(--hb-surface-2); border-radius: 6px; padding: 2px 7px; font-size: 0.9em; }
.hb-post pre { padding: 18px; overflow-x: auto; }
.hb-post table { border-collapse: collapse; width: 100%; margin: 1.4em 0; }
.hb-post th, .hb-post td { border: 1px solid var(--hb-line); padding: 10px 14px; text-align: left; }
.hb-post th { background: var(--hb-surface-2); font-family: var(--hb-display); font-size: 0.85rem; }

.hb-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.hb-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--hb-line); color: var(--hb-muted); font-weight: 600; text-decoration: none;
}
.hb-pagination .page-numbers.current { background: var(--hb-accent); border-color: var(--hb-accent); color: var(--hb-accent-ink); }
.hb-pagination .page-numbers:hover { border-color: var(--hb-accent); color: var(--hb-ink); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce-page .hb-main, .hb-main--woo { padding-top: 36px; }

/* Shop grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px; margin: 0 0 30px !important; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important;
  background: var(--hb-surface); border: 1px solid var(--hb-line); border-radius: var(--hb-radius);
  overflow: hidden; padding: 0 !important;
  display: flex; flex-direction: column; text-align: left !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--hb-shadow); }
.woocommerce ul.products li.product a img {
  margin: 0 !important; border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.woocommerce ul.products li.product .hb-product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--hb-display); font-weight: 700;
  font-size: 16px !important; padding: 0 !important; color: var(--hb-ink);
}
.woocommerce ul.products li.product .price {
  color: var(--hb-ink) !important; font-size: 17px !important; font-weight: 700;
  margin: 4px 0 0 !important; display: block;
}
.woocommerce ul.products li.product .price del { color: var(--hb-muted) !important; font-size: 0.85em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--hb-accent); }
.woocommerce ul.products li.product .button {
  margin-top: 12px !important;
  background: var(--hb-accent-soft); color: var(--hb-accent) !important;
  padding: 8px 16px; font-size: 13.5px; align-self: flex-start;
}
.woocommerce ul.products li.product .button:hover { background: var(--hb-accent); color: var(--hb-accent-ink) !important; }

.woocommerce span.onsale {
  background: var(--hb-gold) !important; color: #171204 !important; border-radius: 999px !important;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px !important;
  line-height: 1 !important; min-width: 0 !important; min-height: 0 !important;
  padding: 5px 11px !important; top: 12px !important; left: 12px !important; margin: 0 !important;
}

.woocommerce .woocommerce-result-count { color: var(--hb-muted); font-size: 0.85rem; }
.woocommerce .woocommerce-ordering select { padding: 9px 14px; border-radius: 999px; }

/* Single product */
.woocommerce div.product { color: var(--hb-ink); }
.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--hb-ink) !important; font-size: 1.5rem; font-weight: 700;
}
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--hb-accent); text-decoration: none; }
.woocommerce div.product div.images img { border-radius: var(--hb-radius); border: 1px solid var(--hb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin-bottom: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 1px solid var(--hb-line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--hb-surface) !important; border: 1px solid var(--hb-line) !important;
  border-radius: 999px !important; margin: 0 6px 8px 0 !important; padding: 0 4px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--hb-muted) !important; font-weight: 600; font-size: 13.5px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--hb-accent) !important; border-color: var(--hb-accent) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hb-accent-ink) !important; }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 22px; }
.woocommerce .quantity .qty {
  background: var(--hb-bg); border: 1px solid var(--hb-line); border-radius: 10px;
  color: var(--hb-ink); height: 44px;
}
.woocommerce div.product form.cart { margin: 1.4em 0; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--hb-surface) !important; border-top-color: var(--hb-accent) !important;
  color: var(--hb-ink) !important; border-radius: 0 0 12px 12px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--hb-accent) !important; }
.woocommerce-error { border-top-color: #B4483C !important; }
.woocommerce-error::before { color: #B4483C !important; }

/* Cart & checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--hb-line) !important; border-radius: var(--hb-radius);
  background: var(--hb-surface);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--hb-line) !important; }
.woocommerce table.shop_table th { font-family: var(--hb-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce-cart table.cart img { border-radius: 10px; }
.woocommerce .cart_totals h2, .woocommerce #order_review_heading { font-size: 1.15rem; }
.woocommerce-checkout #payment {
  background: var(--hb-surface) !important; border: 1px solid var(--hb-line); border-radius: var(--hb-radius);
}
.woocommerce-checkout #payment div.payment_box { background: var(--hb-accent-soft) !important; color: var(--hb-muted) !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--hb-accent-soft) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--hb-line) !important; }
.woocommerce form .form-row label { color: var(--hb-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.select2-container--default .select2-selection--single {
  background: var(--hb-bg) !important; border: 1px solid var(--hb-line) !important;
  border-radius: 10px !important; height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--hb-ink) !important; line-height: 40px !important; }
.select2-dropdown { background: var(--hb-surface) !important; border-color: var(--hb-line) !important; color: var(--hb-ink); }

/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 10px 18px; border-radius: 999px; color: var(--hb-muted);
  font-weight: 600; text-decoration: none; margin-bottom: 4px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--hb-accent-soft); color: var(--hb-accent); }

/* Ratings */
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--hb-gold); }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: var(--hb-muted) !important; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; margin-bottom: 26px !important;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--hb-muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--hb-accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.hb-footer { border-top: 1px solid var(--hb-line); padding: 44px 0 34px; background: var(--hb-surface-2); margin-top: 40px; }
.hb-footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.hb-footer__links { display: flex; gap: 26px; font-size: 14px; flex-wrap: wrap; }
.hb-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; }
.hb-footer__links a { color: var(--hb-muted); text-decoration: none; }
.hb-footer__links a:hover { color: var(--hb-ink); }
.hb-footer__widgets {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--hb-line);
}
.hb-footer__widgets .widget-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.hb-footer__widgets ul { list-style: none; margin: 0; padding: 0; }
.hb-footer__widgets li { margin-bottom: 8px; }
.hb-footer__widgets a, .hb-footer__widgets p { color: var(--hb-muted); font-size: 14px; text-decoration: none; }
.hb-footer__widgets a:hover { color: var(--hb-accent); }
.hb-disclaimer { font-size: 12.5px; color: var(--hb-muted); max-width: 88ch; margin: 26px 0 0; line-height: 1.7; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .hb-hero__grid { grid-template-columns: 1fr; }
  .hb-visit__grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   Light scheme — body.hb-light (Customizer: Store Details > Color Scheme)
   Warm white chassis, dark greenhouse green, same champagne announcement bar.
   The hero wordmark panel intentionally stays dark as a brand chip.
   ========================================================================== */
body.hb-light {
  --hb-bg: #F7F6F0;
  --hb-surface: #FFFFFF;
  --hb-surface-2: #EFEEE3;
  --hb-ink: #1C2114;
  --hb-muted: #6B7160;
  --hb-line: #E1E0D2;
  --hb-accent: #5F8F3B;
  --hb-accent-hover: #4E7A2F;
  --hb-accent-ink: #FFFFFF;
  --hb-accent-soft: #EAF0DD;
  --hb-gold: #D8C39A;
  --hb-shadow: 0 1px 2px rgba(28, 33, 20, 0.06), 0 10px 28px rgba(28, 33, 20, 0.10);
  /* Champagne logo details (smoke, mushroom panes) flip to ink on white. */
  --hb-mark-detail: #1C2114;
}
body.hb-light .hb-header { background: rgba(247, 246, 240, 0.88); }
body.hb-light .hb-hero__panel::after {
  background-image: radial-gradient(rgba(140, 179, 90, 0.22) 1.5px, transparent 1.5px);
}
/* Inside the dark brand panel the logo details stay champagne. */
.hb-hero__panel { --hb-mark-detail: #EDE6D3; }
body.hb-light .select2-dropdown { background: #FFFFFF !important; }

@media (max-width: 760px) {
  .hb-menu-toggle { display: inline-flex; margin-left: auto; }
  .hb-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    background: var(--hb-surface); border-bottom: 1px solid var(--hb-line); padding: 12px 24px 20px;
  }
  .hb-nav.is-open { display: block; }
  .hb-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hb-nav ul ul { position: static; display: flex; border: 0; background: transparent; box-shadow: none; padding: 0 0 0 16px; }
}
