/* ============================================================
   Three Stigmas London — storefront + editorial chrome
   Styles the hello-elementor default templates (single post,
   archive, 404) and the WooCommerce Blocks cart / checkout /
   order-received pages to match the brand system. Loaded after
   components.css so it can lean on the design tokens.
   ============================================================ */

/* ---- Shared page chrome (hello-elementor single/archive/404) ---- */
.page-header,
.page-content {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-header {
  padding-top: 5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.page-header .entry-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.page-content {
  padding-bottom: 6rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ---- Journal single-post editorial typography ---- */
.single-post .page-header {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
  position: relative;
}

.single-post .page-content > p:first-of-type {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 2rem;
}

.single-post .page-content h2,
.single-post .page-content h3,
.single-post .page-content h4,
.single-post .page-content .wp-block-heading {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}

.single-post .page-content h2,
.single-post .page-content h2.wp-block-heading { font-size: 1.7rem; }
.single-post .page-content h3,
.single-post .page-content h3.wp-block-heading { font-size: 1.4rem; }
.single-post .page-content h4,
.single-post .page-content h4.wp-block-heading { font-size: 1.18rem; }

.single-post .page-content p { margin: 0 0 1.25rem; }

.single-post .page-content a {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-post .page-content figure,
.single-post .page-content .wp-block-image {
  margin: 2.5rem 0;
}

.single-post .page-content img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.single-post .page-content ul,
.single-post .page-content ol {
  margin: 0 0 1.5rem 1.25rem;
  padding-left: 1rem;
}
.single-post .page-content li { margin-bottom: 0.5rem; }

.single-post .page-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
}

/* Category eyebrow rendered at the top of the post body (via the_content) */
.single-post .page-content .ts-post-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: -1rem 0 2rem;
}

/* Back-to-journal link injected after content */
.ts-post-foot {
  max-width: var(--container-narrow);
  margin: 0 auto 6rem;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.ts-post-foot a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.ts-post-foot a:hover { color: var(--gold-text); }

/* ---- Archive (category) listing ---- */
.archive .page-content .post,
.blog .page-content .post {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.archive .entry-title a,
.blog .entry-title a {
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
}
.archive .entry-title a:hover,
.blog .entry-title a:hover { color: var(--gold-text); }

/* ============================================================
   WooCommerce Blocks — Cart
   ============================================================ */
.woocommerce-cart .page-content,
.woocommerce-checkout .page-content {
  max-width: var(--container);
  font-size: 1rem;
}
.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
  max-width: var(--container);
  text-align: left;
  padding-top: 4.5rem;
  padding-bottom: 0.5rem;
}

/* Cross-block typography + controls */
.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  font-family: var(--font-body);
  color: var(--ink);
}

/* Two-column cart layout polish */
.wc-block-cart .wc-block-cart__main {
  padding-right: 2.5rem;
}

/* Line items */
.wc-block-cart-items {
  border-top: 1px solid var(--rule);
}
.wc-block-cart-items__row {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.wc-block-cart-item__image img {
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.wc-block-cart-item__product-name,
.wc-block-components-product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.wc-block-components-product-metadata,
.wc-block-cart-item__product-metadata {
  color: var(--ink-mute);
  font-size: 0.85rem;
}

/* Totals / order summary card.
   Only the OUTER container is the card. The inner totals wrappers must stay
   transparent so the card reads as one panel with rows, not stacked mini-boxes
   (WC Blocks otherwise gives each wrapper its own background/border). */
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-checkout__sidebar .wc-block-components-sidebar,
.wp-block-woocommerce-cart-order-summary-block {
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 0; /* vertical only; horizontal inset carried by inner rows */
}
/* Inner wrappers: no card chrome, just consistent horizontal inset.
   WC Blocks puts a top border on every wrapper; we strip those and add our own
   single hairline on the coupon panel + footer so separators don't double up. */
.wc-block-components-totals-wrapper {
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1.5rem;
}
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  font-size: 0.98rem;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
/* Coupon accordion / panel: inset header + body to match the rows. */
.wc-block-components-panel,
.wc-block-components-totals-coupon {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.wc-block-components-panel__button,
.wc-block-components-totals-coupon__form {
  padding-left: 0;
  padding-right: 0;
}
/* Collapse empty WC summary blocks (discount/fee/shipping rows with no value)
   that otherwise render a stray hairline band between Subtotal and Total. */
.wp-block-woocommerce-checkout-order-summary-discount-block:empty,
.wp-block-woocommerce-checkout-order-summary-fee-block:empty,
.wp-block-woocommerce-checkout-order-summary-shipping-block:empty,
.wp-block-woocommerce-cart-order-summary-discount-block:empty,
.wp-block-woocommerce-cart-order-summary-fee-block:empty,
.wp-block-woocommerce-cart-order-summary-shipping-block:empty {
  display: none !important;
}
/* Separator above the coupon row (re-added since wrapper borders are stripped). */
.wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper {
  border-top: 1px solid var(--rule) !important;
}
/* Footer (Total / Estimated total) wrapper: full-width hairline + the value's
   breathing room comes from the wrapper padding, no extra stacking. */
.wc-block-components-totals-wrapper:last-child {
  border-top: 1px solid var(--rule) !important;
}
.wc-block-components-totals-footer-item {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  margin-top: 0;
  border-top: 0;
}
/* Hairline between adjacent totals rows so subtotal/shipping read as distinct
   lines with air, not a cramped stack (mobile especially). */
.wc-block-components-totals-wrapper + .wc-block-components-totals-wrapper {
  border-top: 1px solid var(--rule) !important;
}
.wc-block-components-totals-footer-item {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
/* Card heading ("Cart totals" / "Order summary"): inset + space from first row. */
.wc-block-cart__sidebar .wp-block-heading,
.wp-block-woocommerce-cart-order-summary-block > .wp-block-heading,
.wc-block-checkout__sidebar .wp-block-heading {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

/* Quantity stepper */
.wc-block-components-quantity-selector {
  border: 1px solid var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.wc-block-components-quantity-selector__button {
  color: var(--ink);
}

/* Inputs across cart + checkout */
.wc-block-components-text-input input,
.wc-block-components-text-input input[type='text'],
.wc-block-components-text-input input[type='email'],
.wc-block-components-text-input input[type='tel'],
.wc-block-components-select select,
.wc-block-components-address-form input,
.wc-block-components-combobox input {
  border: 1px solid var(--rule) !important;
  border-radius: 10px !important;
  background: #fff;
  font-family: var(--font-body);
  color: var(--ink);
}
.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 141, 88, 0.15) !important;
}
.wc-block-components-text-input label,
.wc-block-components-checkout-step__title {
  color: var(--ink-soft);
}

/* Primary buttons (proceed to checkout, place order) */
.wc-block-cart__submit-button,
.wc-block-components-button.contained,
.wp-block-woocommerce-checkout-actions-block .wc-block-components-button,
.wc-block-proceed-to-checkout .wc-block-cart__submit-button {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 1rem 2rem !important;
  transition: background 0.25s var(--ease);
}
.wc-block-cart__submit-button:hover,
.wc-block-components-button.contained:hover {
  background: var(--gold-deep) !important;
}

/* Links inside the blocks (coupon toggle, edit, etc.) */
.wc-block-components-button.text,
.wc-block-cart__sidebar a,
.wc-block-checkout a {
  color: var(--gold-text);
}

/* Checkout section headings */
.wc-block-checkout__form .wc-block-components-checkout-step__heading-content,
.wc-block-components-checkout-step__title {
  font-family: var(--font-display);
}
.wc-block-checkout__form .wc-block-components-title,
.wc-block-components-checkout-step__title {
  font-size: 1.25rem;
  color: var(--ink);
}

/* Express payment area spacing */
.wc-block-components-express-payment {
  margin: 1rem 0 1.5rem;
}

/* Empty cart block */
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
  font-family: var(--font-display);
  color: var(--ink);
}

/* ============================================================
   WooCommerce — Order received / Thank you
   ============================================================ */
.woocommerce-order {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
}
.woocommerce-order .woocommerce-notice--success,
.woocommerce-thankyou-order-received {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.woocommerce-order ul.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.5rem;
}
.woocommerce-order ul.woocommerce-order-overview li {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.woocommerce-order ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.woocommerce-order h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 2rem 0 1rem;
}
.woocommerce-order table.woocommerce-table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-order table.woocommerce-table th,
.woocommerce-order table.woocommerce-table td {
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
  text-align: left;
}

/* ============================================================
   404 (child 404.php emits .ts-404)
   ============================================================ */
.ts-404 {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 7rem 1.5rem 8rem;
  text-align: center;
}
.ts-404__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.25rem;
}
.ts-404__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.ts-404__lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.ts-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.ts-404__actions .btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.ts-404__actions .btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.ts-404__actions .btn--primary:hover { background: var(--gold-deep); }
.ts-404__actions .btn--ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.ts-404__actions .btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.ts-404__links {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
}
.ts-404__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
}
.ts-404__links a:hover { color: var(--gold-text); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-block {
  padding: 1rem 0 7rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-grid__intro .lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.contact-grid__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}
.contact-detail h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 0.6rem;
}
.contact-detail p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.contact-detail a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-detail a:hover { color: var(--gold-text); }

@media (max-width: 860px) {
  .wc-block-cart .wc-block-cart__main { padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid__details { gap: 1.75rem; }
}
/* On phones the 2-up detail columns squeeze the postal/company text into an
   unreadably narrow column; stack them so each block gets the full width. */
@media (max-width: 480px) {
  .contact-grid__details { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   Elementor Pro Forms — map to the Three Stigmas .corp-form look
   Applied to the gift / wholesale / reserve / contact enquiry forms so the
   native Pro form (real email delivery) matches the original bespoke design:
   cream-2 panel, two-column grid, uppercase labels, cream inputs with gold
   focus, and a gold pill submit button.
   ============================================================ */
.elementor-widget-form .elementor-form {
  background: var(--cream-2);
  padding: 3rem;
  border-radius: 14px;
  /* Box the form so it doesn't sprawl the full container width — a centred
     ~700px card reads far more elegantly than edge-to-edge fields. The Pro
     two-up column widths (100/50) still apply inside this narrower measure. */
  max-width: 700px;
  margin-inline: auto;
}
/* Two-column grid mirrors .corp-form (Pro uses its own 100/50 col widths, so we
   keep its flex grid but tighten the gaps and typography). */
.elementor-widget-form .elementor-form-fields-wrapper {
  gap: 1.25rem 0;
}
.elementor-widget-form .elementor-field-group {
  margin-bottom: 0.25rem;
}
/* Labels: uppercase, letter-spaced, soft ink — matches .corp-form label. */
.elementor-widget-form .elementor-field-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.elementor-widget-form .elementor-mark-required .elementor-field-label::after,
.elementor-widget-form .elementor-field-required .elementor-field-label::after {
  color: var(--gold-text);
}
/* Inputs / selects / textareas. */
.elementor-widget-form input[type="text"],
.elementor-widget-form input[type="email"],
.elementor-widget-form input[type="tel"],
.elementor-widget-form input[type="url"],
.elementor-widget-form textarea,
.elementor-widget-form select,
.elementor-widget-form .elementor-field-textual {
  border: 1px solid var(--rule) !important;
  background: var(--cream) !important;
  border-radius: 8px !important;
  padding: 0.85rem 1rem !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}
.elementor-widget-form input:focus,
.elementor-widget-form textarea:focus,
.elementor-widget-form select:focus,
.elementor-widget-form .elementor-field-textual:focus {
  outline: 2px solid var(--gold) !important;
  outline-offset: -1px;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 141, 88, 0.12) !important;
}
.elementor-widget-form ::placeholder { color: var(--ink-mute); opacity: 1; }

/* Submit button -> gold pill (matches .btn--gold). */
.elementor-widget-form .elementor-button[type="submit"],
.elementor-widget-form button[type="submit"] {
  background: var(--gold-text) !important;
  color: var(--cream) !important;
  border: 1px solid var(--gold-text) !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 1rem 2rem !important;
  margin-top: 0.75rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.elementor-widget-form .elementor-button[type="submit"]:hover,
.elementor-widget-form button[type="submit"]:hover {
  background: var(--gold-deep) !important;
  border-color: var(--gold-deep) !important;
}
/* Success / error messages. */
.elementor-widget-form .elementor-message {
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.elementor-widget-form .elementor-message.elementor-message-success {
  color: var(--gold-deep);
}
@media (max-width: 720px) {
  .elementor-widget-form .elementor-form { padding: 2rem 1.5rem; }
}

/* ---------------------------------------------------------------------------
   PDP purchase-assurance line (sits directly under Add to Bag). Distinct from
   the full-width .trust-strip at the page foot: this is a compact, in-context
   reassurance at the point of decision.
   --------------------------------------------------------------------------- */
.pdp__assure {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pdp__assure__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.pdp__assure__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--gold-text);
}
.pdp__assure__item span { line-height: 1.4; }

/* ---------------------------------------------------------------------------
   Journal -> product CTA appended to editorial posts. Reuses .section-head /
   .product-grid / .product-card; this only adds the separation + width framing
   so the grid breaks out of the narrow article measure into a clean band.
   --------------------------------------------------------------------------- */
.ts-shop-cta {
  margin: 3.5rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.ts-shop-cta .section-head { margin-bottom: 1.75rem; }
.ts-shop-cta .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.ts-shop-cta .product-card { text-decoration: none; }

/* ===========================================================================
   CLASSIC WOOCOMMERCE SURFACES
   The cart-totals panel, My Account dashboard, account-details / address forms,
   downloads table, order tables and Woo notices render via the *classic*
   (shortcode) templates, not the Blocks ones styled above. Stock Woo paints
   these with blue links (#0073aa/#2271b1), grey button fills and a green-edged
   success notice. Re-skin them with the brand tokens so they match the rest of
   the storefront. Scoped under .woocommerce so we don't bleed into the theme.
   =========================================================================== */

/* ---- Page measure + heading for account / cart pages ---- */
.woocommerce-account .page-content,
.woocommerce-cart .page-content {
  max-width: var(--container);
}
.woocommerce-account .page-header .entry-title,
.woocommerce-cart .page-header .entry-title {
  font-family: var(--font-display);
  color: var(--ink);
}

/* ---- Buttons: every classic Woo button → brand pill ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce .woocommerce-message a.button,
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content button.button {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 1.9rem;
  line-height: 1;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content button.button:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
}

/* ---- Links: kill the stock WP-admin blue ----
   Exclude theme .btn pills (and the .button class) so this Woo link recolor
   never overrides a brand button's own text color — e.g. the gold CTA in the
   shop "Restaurants, Retailers, Resellers" band, where forcing --gold-text
   onto a --gold-text background made the label invisible. */
.woocommerce a:not(.button):not(.btn),
.woocommerce-MyAccount-content a:not(.button):not(.btn),
.woocommerce-message a:not(.button):not(.btn) {
  color: var(--gold-text);
  text-decoration-color: rgba(130, 96, 47, 0.4);
}
.woocommerce a:not(.button):not(.btn):hover {
  color: var(--gold-deep);
}

/* ---- Woo notices (message / info / error) ---- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  background: var(--cream-2);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
  color: var(--gold);
}
.woocommerce .woocommerce-error {
  border-top-color: var(--crimson);
}
.woocommerce .woocommerce-error::before {
  color: var(--crimson);
}

/* ---- My Account: dashboard navigation ---- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--cream-2);
  color: var(--ink);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--ink);
  color: var(--cream);
}

/* ---- My Account: content typography ---- */
.woocommerce-MyAccount-content {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.woocommerce-MyAccount-content strong {
  color: var(--ink);
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
}

/* ---- Forms: account details, edit address, login/register ----
   LAYOUT RESET. components.css makes every .form-row a 2-col grid
   (label | input side-by-side) for the bespoke brochure forms. WooCommerce
   reuses .form-row for stacked label-above-input rows and manages its own
   first/last columns via floats, so the inherited grid splits each label away
   from its field. Force these Woo form rows back to block flow and let Woo's
   own row widths/floats do the columns. */
.woocommerce form .form-row,
.woocommerce-account form .form-row {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin: 0 0 1.25rem;
}
/* Label sits directly above its own input */
.woocommerce form .form-row label,
.woocommerce-account form .form-row label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 0.4rem;
}
/* Fields fill the row */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-account form .form-row input.input-text {
  width: 100%;
  box-sizing: border-box;
}
/* Restore WooCommerce's intended two-up columns for name rows etc. */
.woocommerce form .form-row-first,
.woocommerce-account form .form-row-first {
  float: left;
  width: 48%;
  clear: both;
}
.woocommerce form .form-row-last,
.woocommerce-account form .form-row-last {
  float: right;
  width: 48%;
  clear: none;
}
.woocommerce form .form-row-wide,
.woocommerce-account form .form-row-wide {
  float: none;
  width: 100%;
  clear: both;
}
/* clearfix the floated pair so following rows don't ride up */
.woocommerce form .form-row::after,
.woocommerce-account form::after { content: ""; display: table; clear: both; }

/* Box the account content + forms so wide rows aren't edge-to-edge */
.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 0 0 240px; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 1 1 380px; min-width: 0; }
.woocommerce-EditAccountForm,
.woocommerce-address-fields,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon {
  max-width: 560px;
}
.woocommerce-EditAccountForm fieldset { max-width: 560px; }

/* ---- Forms: account details, edit address, login/register ---- */
.woocommerce form .form-row label,
.woocommerce-account form label {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-account input.input-text,
.woocommerce .select2-container .select2-selection,
.woocommerce form .form-row select {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-account input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 141, 88, 0.15);
  outline: none;
}
/* Required asterisk — was blue, make it crimson */
.woocommerce form .form-row .required,
.woocommerce form .required,
.woocommerce-account .required {
  color: var(--crimson);
  border: 0;
}
.woocommerce form .form-row .optional {
  color: var(--ink-mute);
}

/* Password-change fieldset (account details) */
.woocommerce fieldset {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.25rem 1.5rem 1.5rem;
  margin-top: 1.5rem;
}
.woocommerce fieldset legend {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  padding: 0 0.5rem;
}
/* show/hide password toggle eye */
.woocommerce .show-password-input::after,
.woocommerce .hide-password-input::after {
  color: var(--ink-mute);
}

/* ---- Cart-totals panel (classic cart sidebar) ---- */
.woocommerce .cart_totals,
.woocommerce-cart .cart_totals {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--cream);
  padding: 1.5rem 1.75rem;
}
.woocommerce .cart_totals h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.woocommerce .cart_totals table.shop_table,
.woocommerce table.shop_table {
  border: 0;
  border-radius: 0;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  color: var(--ink-soft);
}
.woocommerce table.shop_table .order-total .amount,
.woocommerce .cart_totals .order-total td {
  color: var(--ink);
}

/* ---- Classic cart line-item table ---- */
.woocommerce table.cart .product-thumbnail img {
  border-radius: 8px;
}
.woocommerce a.remove {
  color: var(--crimson) !important;
  border-radius: 999px;
}
.woocommerce a.remove:hover {
  background: var(--crimson) !important;
  color: #fff !important;
}
.woocommerce .quantity input.qty {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---- Downloads / orders tables: drop the blue underline rule ---- */
.woocommerce-MyAccount-content table.shop_table thead th,
.woocommerce-orders-table thead th {
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
}
.woocommerce-MyAccount-content .woocommerce-Message,
.woocommerce-MyAccount-content .no-downloads {
  background: var(--cream-2);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
}

/* ---- My Account: Addresses (edit-address index) ----
   Woo's default .woocommerce-Address-title is a flex header that pushes the
   "Add/Edit address" link to the right of the column. Aida asked for the labels
   left-aligned. Stack the heading and the link, left-align both, and lay the
   billing/shipping columns out as a clean left-aligned two-up grid. */
.woocommerce-account .woocommerce-Addresses.col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  width: 100%;
  float: none;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  width: 100%;
  float: none;
  margin: 0;
}
.woocommerce-account .woocommerce-Address-title.title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.woocommerce-account .woocommerce-Address-title.title h2,
.woocommerce-account .woocommerce-Address-title.title h3 {
  margin: 0;
  text-align: left;
}
/* The Add/Edit link: left-aligned, no right-float, styled as a quiet gold link */
.woocommerce-account .woocommerce-Address-title.title .edit {
  float: none;
  display: inline-block;
  margin: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.woocommerce-account .woocommerce-Address-title.title .edit:hover {
  color: var(--gold-deep);
}
.woocommerce-account .woocommerce-Address address {
  text-align: left;
  font-style: normal;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .woocommerce-account .woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* contact-detail native widget shim: keep native heading/text-editor widgets
   matching the original .contact-detail styling (Elementor heading defaults
   to Roboto + link-blue, which would otherwise override the storefront rule). */
.contact-detail .elementor-heading-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 0.6rem;
}
.contact-detail .elementor-widget-text-editor,
.contact-detail .elementor-widget-text-editor p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.contact-detail .elementor-widget-text-editor a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-detail .elementor-widget-text-editor a:hover { color: var(--gold-text); }
.contact-grid__intro .elementor-widget-text-editor .lead { margin-bottom: 2rem; }
