/* ===== Design pass: pages, prose, components (loads after theme.css) ===== */
:root { --cg-line: #e4d8bf; --cg-radius: 10px; --cg-shadow: 0 10px 30px -18px rgba(29,43,39,.45); }
body.cg { line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.cg a:focus-visible, body.cg button:focus-visible, .cg-btn:focus-visible, .cg-faq summary:focus-visible { outline: 2px solid var(--cg-brass); outline-offset: 3px; }
.cg-btn { border-radius: 999px; padding: 13px 28px; letter-spacing: .2px; transition: background .2s, transform .2s, box-shadow .2s; }
.cg-btn:hover { transform: translateY(-1px); box-shadow: var(--cg-shadow); }
.cg-btn--small { padding: 9px 18px; }
.cg-logo { letter-spacing: 3px; }

/* Page title band */
.cg-pagehead { background: linear-gradient(180deg, var(--cg-sand) 0%, var(--cg-bg) 100%); border-bottom: 1px solid var(--cg-line); padding: 56px 0 44px; text-align: center; }
.cg-pagehead .cg-eyebrow { margin-bottom: 10px; }
.cg-pagehead h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0; }
.cg-pagehead h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--cg-brass); margin: 20px auto 0; }

/* Readable column */
.cg-page { padding-block: 44px 72px; }
.cg-page--prose .cg-prose { max-width: 780px; margin-inline: auto; }
.cg-prose { font-size: 17px; color: #2c3a35; }
.cg-prose p, .cg-prose li { line-height: 1.8; }
.cg-prose .cg-lead { font-family: var(--cg-serif); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.5; color: var(--cg-ink); margin: 0 0 28px; }
.cg-prose h2 { font-size: 26px; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--cg-line); text-align: start; }
.cg-prose h2::after { display: none; }
.cg-prose .cg-lead + h2, .cg-prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 36px; }
.cg-prose h3 { font-size: 20px; margin: 28px 0 8px; }
.cg-prose a { color: var(--cg-brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cg-prose a:hover { color: var(--cg-ink); }
.cg-prose ul, .cg-prose ol { padding-inline-start: 22px; }
.cg-prose li { margin-bottom: 6px; }
.cg-prose li::marker { color: var(--cg-brass); }
.cg-prose em { color: var(--cg-muted); }

/* Tick list */
.cg-prose ul.cg-checks { list-style: none; padding: 0; }
.cg-prose ul.cg-checks li { position: relative; padding-inline-start: 34px; margin-bottom: 12px; }
.cg-prose ul.cg-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 20px; height: 20px; border-radius: 50%; background: var(--cg-sand) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22%3E%3Cpath d=%22M5.5 10.5l3 3 6-6.5%22 fill=%22none%22 stroke=%22%239a7b3f%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Cards, key facts, summary, CTA */
.cg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 22px 0 8px; }
.cg-card-lite { background: #fff; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); padding: 22px; transition: transform .2s, box-shadow .2s; }
.cg-card-lite:hover { transform: translateY(-3px); box-shadow: var(--cg-shadow); }
.cg-prose .cg-card-lite h3 { margin: 0 0 6px; font-size: 19px; }
.cg-card-lite p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cg-muted); }
.cg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0 8px; }
.cg-facts > div { background: var(--cg-ink); color: #e9dcc0; border-radius: var(--cg-radius); padding: 20px 18px; text-align: center; }
.cg-facts strong { display: block; font-family: var(--cg-serif); font-size: 26px; font-weight: 500; color: #fff; line-height: 1.2; }
.cg-facts span { font-size: 13px; }
.cg-summary { background: var(--cg-sand); border-inline-start: 4px solid var(--cg-brass); border-radius: 0 var(--cg-radius) var(--cg-radius) 0; padding: 18px 22px; margin: 0 0 30px; }
[dir="rtl"] .cg-summary { border-radius: var(--cg-radius) 0 0 var(--cg-radius); }
.cg-summary strong { display: block; font-family: var(--cg-serif); font-size: 19px; margin-bottom: 4px; }
.cg-summary p { margin: 0; font-size: 16px; }
p.cg-summary { font-size: 16px; }
.cg-cta { background: var(--cg-ink); color: #e9dcc0; border-radius: 14px; padding: 40px 28px; margin-top: 56px; text-align: center; }
.cg-prose .cg-cta h2 { color: #fff; border: 0; padding: 0; margin: 0 0 8px; text-align: center; }
.cg-cta p { margin: 0 0 20px; }
.cg-cta .cg-btn { background: var(--cg-brass); }
.cg-cta .cg-btn:hover { background: #b8964f; }
.cg-prose .cg-cta a.cg-btn { color: #fff; text-decoration: none; }

/* FAQ accordion */
.cg-faq { border: 1px solid var(--cg-line); border-radius: var(--cg-radius); background: #fff; margin-bottom: 10px; }
.cg-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; }
[dir="rtl"] .cg-faq summary { padding: 16px 20px 16px 52px; }
.cg-faq summary::-webkit-details-marker { display: none; }
.cg-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--cg-brass); }
.cg-faq[open] summary::after { content: "\2013"; }
.cg-faq[open] { box-shadow: var(--cg-shadow); }
.cg-faq p { margin: 0; padding: 0 20px 18px; color: var(--cg-muted); }

/* Contact cards */
.cg-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 12px; }
.cg-prose a.cg-contact-card { display: block; background: #fff; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); padding: 24px; text-decoration: none; color: var(--cg-ink); transition: transform .2s, box-shadow .2s; }
.cg-contact-card:hover { transform: translateY(-3px); box-shadow: var(--cg-shadow); }
.cg-contact-card strong { display: block; font-family: var(--cg-serif); font-size: 22px; font-weight: 500; }
.cg-contact-card span { display: block; margin: 4px 0 14px; color: var(--cg-muted); }
.cg-contact-card em { font-style: normal; color: var(--cg-brass); font-weight: 600; font-size: 14px; }

/* Homepage additions */
.cg-hero { border-bottom: 1px solid var(--cg-line); }
.cg-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.cg-trust { background: #fff; }
.cg-wrap h2 { text-align: center; }
.cg-wrap h2::after { content: ""; display: block; width: 44px; height: 2px; background: var(--cg-brass); margin: 14px auto 0; }
.cg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.cg-step { background: #fff; border: 1px solid var(--cg-line); border-radius: 14px; padding: 28px 24px; }
.cg-step b { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cg-ink); color: #fff; font-family: var(--cg-serif); font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.cg-step h3 { font-size: 21px; margin: 0 0 6px; }
.cg-step p { margin: 0; color: var(--cg-muted); font-size: 15px; }
.cg-story { background: var(--cg-sand); border-radius: 14px; padding: 48px 28px; text-align: center; margin-block: 56px 8px; }
.cg-story h2 { margin: 0 0 12px; }
.cg-story p { max-width: 620px; margin: 0 auto 22px; color: var(--cg-muted); font-size: 17px; line-height: 1.75; }

/* Shop, product, cart, checkout, account */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--cg-sans); font-size: 15px; font-weight: 500; }
.woocommerce ul.products li.product img { border-radius: var(--cg-radius); background: var(--cg-sand); }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.4vw, 40px); }
.woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--cg-ink); font-weight: 600; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.single_add_to_cart_button { border-radius: 999px !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--cg-brass); background: var(--cg-sand); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cg-brass); }
.cg-page--wide .cg-prose { max-width: none; font-size: 16px; }
.cg-page--wide .cg-prose h2 { text-align: start; }
.cg-page--wide input[type="text"], .cg-page--wide input[type="email"], .cg-page--wide input[type="tel"], .cg-page--wide input[type="password"], .cg-page--wide select, .cg-page--wide textarea { border-radius: 8px; }

@media (max-width: 900px) {
  .cg-steps { grid-template-columns: 1fr; }
  .cg-pagehead { padding: 40px 0 32px; }
  .cg-prose { font-size: 16px; }
  .cg-prose h2 { font-size: 23px; }
}

/* Specificity fixes: prose headings stay left-aligned, no brass underline */
.cg-page .cg-prose h2 { text-align: start; }
.cg-page .cg-prose h2::after { display: none; }
.cg-page .cg-prose .cg-cta h2 { text-align: center; }

/* Scrolling offer bar */
.cg-announce { padding: 0; overflow: hidden; text-align: start; }
.cg-ticker { display: flex; width: max-content; animation: cg-marquee 32s linear infinite; }
.cg-announce:hover .cg-ticker, .cg-announce:focus-within .cg-ticker { animation-play-state: paused; }
.cg-ticker__group { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.cg-ticker__group li { white-space: nowrap; padding: 8px 36px; position: relative; }
.cg-ticker__group li::after { content: ""; position: absolute; inset-inline-end: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: #9a7b3f; }
.cg-ticker strong { color: #fff; }
.cg-code { font: inherit; font-weight: 700; letter-spacing: .6px; color: var(--cg-ink); background: #e9dcc0; border: 0; border-radius: 3px; padding: 2px 8px; cursor: pointer; }
.cg-code:hover { background: #fff; }
.cg-code.is-copied { background: #9a7b3f; color: #fff; }
.cg-ticker__fine { opacity: .75; font-size: 12px; margin-inline-start: 4px; }
@keyframes cg-marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .cg-ticker { animation-name: cg-marquee-rtl; }
@keyframes cg-marquee-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .cg-ticker { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .cg-ticker__group[aria-hidden] { display: none; }
}

/* Header: logo, big search and tools on the first row, categories on the second (desktop) */
.cg-search { position: relative; display: flex; align-items: center; min-width: 0; }
.cg-search input[type="search"] { width: 100%; height: 44px; border: 1px solid var(--cg-line); border-radius: 999px; padding: 0 52px 0 20px; background: #fff; font: inherit; font-size: 14px; color: var(--cg-ink); -webkit-appearance: none; appearance: none; }
.cg-search input[type="search"]:focus { outline: 2px solid var(--cg-brass); outline-offset: 1px; border-color: var(--cg-brass); }
[dir="rtl"] .cg-search input[type="search"] { padding: 0 20px 0 52px; }
.cg-search button { position: absolute; inset-inline-end: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cg-ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.cg-search button:hover { background: var(--cg-brass); }
@media (min-width: 901px) {
  .cg-header__row { display: grid; grid-template-columns: auto minmax(260px, 520px) auto; justify-content: space-between; align-items: center; column-gap: 32px; min-height: 0; padding-block: 14px 0; }
  .cg-burger { display: none; }
  .cg-nav { grid-column: 1 / -1; grid-row: 2; flex: none; justify-content: center; gap: 30px; margin-top: 12px; padding: 12px 0 14px; border-top: 1px solid var(--cg-line); }
  .cg-nav a { font-weight: 500; letter-spacing: .2px; }
  .cg-nav__track, .cg-nav__lang { display: none; }
  .cg-logo { font-size: 26px; }
}
.cg-header { box-shadow: 0 1px 0 rgba(29,43,39,.04); }

/* Product photo viewer (opened from the gallery): top bar with a clear Close button, counter and arrows */
.cg-lightbox { flex-direction: column; padding: 64px 16px 24px !important; cursor: default !important; }
.cg-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; flex: 0 1 auto; min-height: 0; }
.cg-lightbox__bar { position: absolute; top: 0; inset-inline: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 16px; background: rgba(0,0,0,.55); color: #fff; z-index: 2; }
[dir="rtl"] .cg-lightbox__bar { padding: 0 16px 0 12px; }
.cg-lightbox__count { font-size: 14px; letter-spacing: .5px; opacity: .9; }
.cg-lightbox__close { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #1d2b27; font: 600 15px/1 "Roboto", system-ui, sans-serif; cursor: pointer; }
.cg-lightbox__close i { font-style: normal; font-size: 15px; }
.cg-lightbox__close:hover { background: #e9dcc0; }
.cg-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #1d2b27; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.cg-lightbox__nav--prev { inset-inline-start: 12px; }
.cg-lightbox__nav--next { inset-inline-end: 12px; }
[dir="rtl"] .cg-lightbox__nav { transform: translateY(-50%) scaleX(-1); }
.cg-lightbox.is-single .cg-lightbox__nav { display: none; }
body.cg-lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .cg-lightbox__nav { width: 38px; height: 38px; font-size: 24px; } }

/* Grouped header menu with drop-downs */
.cg-nav__group { position: relative; }
.cg-nav__top { display: inline-flex; align-items: center; gap: 6px; }
.cg-nav__top i { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
@media (min-width: 901px) {
  .cg-nav { gap: 40px; }
  .cg-nav__drop { display: none; position: absolute; top: calc(100% + 10px); inset-inline-start: -18px; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--cg-line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(29,43,39,.45); z-index: 70; }
  .cg-nav__drop::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
  .cg-nav__group:hover .cg-nav__drop, .cg-nav__group:focus-within .cg-nav__drop { display: block; }
  .cg-nav__drop a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
  .cg-nav__drop a:hover { background: var(--cg-sand); color: var(--cg-ink); }
}
@media (max-width: 900px) {
  .cg-nav__top i { display: none; }
  .cg-nav__group { border-top: 1px solid var(--cg-line); }
  .cg-nav__group .cg-nav__top { padding: 12px 0 6px; font-weight: 700; border-top: 0; }
  .cg-nav__drop a { padding: 8px 0 8px 14px; border-top: 0 !important; color: var(--cg-muted); }
  [dir="rtl"] .cg-nav__drop a { padding: 8px 14px 8px 0; }
}

/* Copy confirmation toast and selectable coupon code */
.cg-code { user-select: all; -webkit-user-select: all; -webkit-tap-highlight-color: transparent; }
.cg-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: #1d2b27; color: #fff; font: 500 15px/1.3 "Roboto", system-ui, sans-serif; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); opacity: 0; transition: opacity .25s, transform .25s; z-index: 100000; text-align: center; pointer-events: none; }
.cg-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.cg-toast.is-warn { background: #8a5a12; }

/* Country switcher (header tools row; also inside the phone menu) */
.cg-country { position: relative; display: inline-block; }
.cg-country summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; border: 1px solid var(--cg-sand-2); border-radius: 4px; padding: 2px 9px; line-height: 1.5; color: var(--cg-ink); user-select: none; }
.cg-country summary::-webkit-details-marker { display: none; }
.cg-country summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-inline-start: 1px; }
.cg-country[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.cg-country summary:hover { border-color: var(--cg-brass); }
.cg-country summary:focus-visible { outline: 2px solid #9a7b3f; outline-offset: 2px; }
.cg-country svg { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.cg-country__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; color: var(--cg-ink); border: 1px solid var(--cg-sand-2); border-radius: 10px; box-shadow: 0 12px 30px rgba(29,43,39,.2); padding: 6px; z-index: 70; text-align: start; }
.cg-country__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; color: var(--cg-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.cg-tools a.cg-country__opt:hover, a.cg-country__opt:hover, a.cg-country__opt:focus-visible { background: var(--cg-sand); color: var(--cg-ink); }
.cg-country__opt.is-current { font-weight: 700; }
.cg-country__opt.is-current::after { content: "✓"; margin-inline-start: auto; color: #9a7b3f; }
.cg-nav__lang .cg-country { margin-inline-end: 10px; }
.cg-nav__lang .cg-country__menu { position: static; box-shadow: none; margin-top: 8px; min-width: 0; }
@media (max-width: 900px) { .cg-tools .cg-country { display: none; } }

/* Data tables inside legal pages (e.g. the California privacy notice) */
.cg-table-wrap { overflow-x: auto; margin: 18px 0 24px; -webkit-overflow-scrolling: touch; }
.cg-prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cg-prose th, .cg-prose td { text-align: start; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--cg-line); line-height: 1.55; }
.cg-prose thead th { background: var(--cg-sand); color: var(--cg-ink); font-weight: 700; border-bottom: 2px solid var(--cg-brass); }
.cg-prose tbody td:first-child { font-weight: 600; color: var(--cg-ink); }
