/*
Theme Name: Astra Child - Sonani Trendz
Theme URI: https://sonanitrendz.com
Description: Child theme for Sonani Trendz — Women's ethnic wear brand. Pastels, jewel tones, mobile-first.
Author: Sonani Trendz
Author URI: https://sonanitrendz.com
Template: astra
Version: 1.0.0
Tags: e-commerce, woocommerce, fashion, ethnic-wear
*/

/* ============================================================
   SONANI TRENDZ — BRAND DESIGN SYSTEM
   ============================================================ */

/* ---------- CSS Variables (Brand Colours & Fonts) ---------- */
:root {
  /* Pastels */
  --st-blush:       #F2C4CE;
  --st-sage:        #B2C9AD;
  --st-lavender:    #C9B8D8;

  /* Jewel tones */
  --st-magenta:     #A0264B;
  --st-teal:        #2E7D7D;
  --st-terracotta:  #C4622D;

  /* Neutrals */
  --st-cream:       #FDF6F0;
  --st-warm-white:  #FEFAF7;
  --st-dark:        #2C1810;
  --st-mid:         #6B4C3B;
  --st-border:      rgba(160, 38, 75, 0.12);

  /* Typography */
  --st-font-heading: 'Cormorant Garamond', Georgia, serif;
  --st-font-body:    'Poppins', 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--st-font-body);
  background-color: var(--st-warm-white);
  color: var(--st-dark);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--st-font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--st-dark);
}

a {
  color: var(--st-magenta);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--st-teal);
}

/* ---------- Homepage — remove title, flush hero ---------- */
/* Hide entry-header (page title) on front page */
.home .entry-header,
.home .entry-title,
.front-page .entry-header,
.page-template-default.home header.entry-header {
  display: none !important;
}

/* Remove all top padding/margin between nav and hero on homepage */
.home .site-content,
.home #content,
.home .ast-container,
.home .entry-content > .wp-block-cover:first-child,
.home article.page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Prevent horizontal scrollbar from full-bleed 100vw elements (scrollbar width offset) */
html { overflow-x: hidden; }

/* Hero cover block sits immediately under header */
.home .wp-block-cover.alignfull.st-hero {
  margin-top: 0 !important;
}

/* ── Hero image — full-bleed, responsive aspect-ratio, proper crop ──
   Technique: negative margins (calc(-50vw + 50%)) break out of any
   centered content container without position tricks that fight flex.
   aspect-ratio drives height at each breakpoint; object-fit: cover
   fills the box cleanly without distortion.
*/
figure.wp-block-image.st-hero {
  /* Cancel st-hero base styles (designed for div/cover, not img) */
  min-height: unset !important;
  display: block !important;
  position: static !important;
  padding: 0 !important;
  line-height: 0;

  /* Full-bleed: pulls figure to viewport edges regardless of container */
  width: 100vw !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;

  /* Cinematic ratio on desktop; overflow clips the crop */
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

figure.wp-block-image.st-hero img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important; /* keep faces/text at top */
  display: block;
  vertical-align: bottom;
}

/* 768–1024px: standard widescreen */
@media (max-width: 1024px) {
  figure.wp-block-image.st-hero {
    aspect-ratio: 16 / 9;
  }
}

/* ≤768px: natural height — no forced crop, container adjusts to image */
@media (max-width: 768px) {
  figure.wp-block-image.st-hero {
    aspect-ratio: auto;
  }
  figure.wp-block-image.st-hero img {
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ---------- Header ---------- */
.ast-site-header-wrap,
#masthead {
  border-bottom: 2px solid var(--st-blush);
  background: var(--st-warm-white) !important;
}

.ast-builder-header-element .site-title a,
.site-title {
  font-family: var(--st-font-heading);
  font-size: 1.8rem;
  color: var(--st-magenta) !important;
  letter-spacing: 0.05em;
}

/* Sticky header shadow — Astra handles sticky natively */
.ast-main-header-wrap.ast-sticky-active {
  box-shadow: 0 2px 16px rgba(160, 38, 75, 0.12) !important;
}

/* Nav links */
.main-navigation a,
.ast-main-header-bar-wrap .main-header-bar-navigation a {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-dark) !important;
}
.main-navigation a:not(.st-account-btn):not(.st-cart-btn):hover {
  color: var(--st-magenta) !important;
}

/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */

/* Screen-reader only — visually hidden but readable by AT */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link — visible only on keyboard focus */
.st-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 99999;
  padding: 12px 20px;
  background: #534AB7;
  color: #fff !important;
  font-family: var(--st-font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.15s ease;
}
.st-skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   BUTTON CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --st-btn-focus-ring:   #534AB7;
  --st-btn-radius:       4px;
  --st-btn-transition:   background-color 0.2s ease, color 0.2s ease,
                         border-color 0.2s ease, box-shadow 0.2s ease,
                         transform 0.2s ease;
  --st-btn-active-scale: scale(0.97);
  --st-btn-hover-scale:  scale(1.02);
}

/* ============================================================
   PRIMARY BUTTONS
   Add to Cart, Place Order, Shop Now, hero CTAs
   ============================================================ */
.ast-btn,
.button,
.wp-block-button__link,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--st-magenta) !important;
  color: #fff !important;
  border: 2px solid transparent !important;
  border-radius: var(--st-btn-radius) !important;
  font-family: var(--st-font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: var(--st-btn-transition) !important;
  position: relative;
  overflow: hidden;
}

/* HOVER */
.ast-btn:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #place_order:hover {
  background-color: #7A1B38 !important;
  color: #fff !important;
  transform: var(--st-btn-hover-scale) !important;
  text-decoration: none !important;
}

/* FOCUS — WCAG 2.1 AA visible focus ring */
.ast-btn:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible,
input[type="submit"]:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible,
.woocommerce #respond input#submit:focus-visible,
.woocommerce .button.alt:focus-visible,
.woocommerce a.button.alt:focus-visible,
.woocommerce #place_order:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(83, 74, 183, 0.25) !important;
}

/* ACTIVE — snappy press feel */
.ast-btn:active,
.button:active,
.wp-block-button__link:active,
input[type="submit"]:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce #respond input#submit:active,
.woocommerce .button.alt:active,
.woocommerce a.button.alt:active,
.woocommerce #place_order:active {
  transform: var(--st-btn-active-scale) !important;
  transition-duration: 0ms !important;
  background-color: #5C1229 !important;
}

/* DISABLED */
.ast-btn:disabled,
.button:disabled,
.button.disabled,
input[type="submit"]:disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce #place_order:disabled,
[aria-disabled="true"].button {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

/* LOADING — CSS-only spinner */
.button.is-loading,
.woocommerce button.button.is-loading,
.add_to_cart_button.is-loading {
  pointer-events: none !important;
  color: transparent !important;
}
.button.is-loading::after,
.woocommerce button.button.is-loading::after,
.add_to_cart_button.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: st-spin 0.7s linear infinite;
}
@keyframes st-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SECONDARY / OUTLINE BUTTONS
   View Details, Continue Shopping, Apply Coupon
   ============================================================ */
.button.st-btn-secondary,
.woocommerce a.button.st-btn-secondary,
.woocommerce button.button.st-btn-secondary,
.woocommerce .button.wc-backward,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: transparent !important;
  color: var(--st-magenta) !important;
  border: 2px solid var(--st-magenta) !important;
}
.button.st-btn-secondary:hover,
.woocommerce a.button.st-btn-secondary:hover,
.woocommerce button.button.st-btn-secondary:hover,
.woocommerce .button.wc-backward:hover {
  background-color: var(--st-magenta) !important;
  color: #fff !important;
  transform: var(--st-btn-hover-scale) !important;
}
.button.st-btn-secondary:focus-visible,
.woocommerce a.button.st-btn-secondary:focus-visible,
.woocommerce button.button.st-btn-secondary:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
}
.button.st-btn-secondary:active,
.woocommerce a.button.st-btn-secondary:active {
  transform: var(--st-btn-active-scale) !important;
  transition-duration: 0ms !important;
}

/* Checkout proceed button — full-width outline style */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  text-align: center !important;
  font-size: 13px !important;
  padding: 16px 28px !important;
}

/* Apply coupon button */
.woocommerce .cart .coupon .button {
  background-color: transparent !important;
  color: var(--st-magenta) !important;
  border: 2px solid var(--st-magenta) !important;
}
.woocommerce .cart .coupon .button:hover {
  background-color: var(--st-magenta) !important;
  color: #fff !important;
}
.woocommerce .cart .coupon .button:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
}

/* ============================================================
   GHOST / TEXT BUTTONS
   Remove item, Edit address, Category filters
   ============================================================ */
.woocommerce a.remove,
.woocommerce table.cart a.remove,
.woocommerce .button.st-btn-ghost,
a.st-btn-ghost {
  background: transparent !important;
  color: var(--st-mid) !important;
  border: none !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  border-radius: 3px !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  cursor: pointer !important;
  transform: none !important;
}
.woocommerce a.remove:hover,
.woocommerce table.cart a.remove:hover,
.woocommerce .button.st-btn-ghost:hover {
  color: var(--st-magenta) !important;
  background: rgba(160,38,75,0.06) !important;
  transform: none !important;
}
.woocommerce a.remove:focus-visible,
.woocommerce table.cart a.remove:focus-visible,
.woocommerce .button.st-btn-ghost:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 2px !important;
  border-radius: 3px !important;
}
.woocommerce a.remove:active,
.woocommerce .button.st-btn-ghost:active {
  transform: none !important;
  color: #5C1229 !important;
}

/* Category filter tags */
.st-filter-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #E0D0D0;
  border-radius: 50px;
  background: #fff;
  color: var(--st-mid);
  font-family: var(--st-font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--st-btn-transition);
  text-decoration: none;
}
.st-filter-tag:hover {
  border-color: var(--st-magenta);
  color: var(--st-magenta);
  background: rgba(160,38,75,0.04);
  text-decoration: none;
}
.st-filter-tag:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}
.st-filter-tag[aria-pressed="true"],
.st-filter-tag.active {
  background: var(--st-magenta);
  color: #fff;
  border-color: var(--st-magenta);
}

/* ============================================================
   ICON BUTTONS
   Cart, Search, Wishlist, WhatsApp float
   (st-account-btn intentionally excluded — it has its own block below)
   ============================================================ */
.st-icon-btn,
.st-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--st-btn-transition);
  position: relative;
  text-decoration: none;
}

/* Focus ring on pure icon buttons */
.st-icon-btn:focus-visible,
.st-cart-btn:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
  border-radius: 50% !important;
}

/* Active scale on pure icon buttons */
.st-icon-btn:active,
.st-cart-btn:active {
  transform: scale(0.92) !important;
  transition-duration: 0ms !important;
}

/* WhatsApp float — preserve its own hover from existing rules */
.st-wa-float:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
}

/* Wishlist button */
[data-st-wishlist] {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  line-height: 1;
  transition: var(--st-btn-transition);
  color: #ccc;
}
[data-st-wishlist]:hover {
  color: var(--st-magenta);
  transform: scale(1.1);
}
[data-st-wishlist]:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}
[data-st-wishlist][aria-pressed="true"] {
  color: var(--st-magenta);
}
[data-st-wishlist]:active {
  transform: scale(0.9);
  transition-duration: 0ms;
}

/* ============================================================
   GLOBAL FOCUS — catch-all safety net
   Never let a focused element be invisible
   ============================================================ */
*:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}

/* Remove Astra's default outline:none overrides */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  /* Let :focus-visible handle it — do NOT set outline:none here */
}

/* ---------- WooCommerce — Product Grid ---------- */
.woocommerce ul.products li.product {
  border: 1px solid var(--st-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  background: #fff;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 6px 24px rgba(160, 38, 75, 0.14);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--st-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 0 12px;
  color: var(--st-dark);
}

.woocommerce ul.products li.product .price {
  padding: 0 12px 12px;
  font-family: var(--st-font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Prices ---------- */
.woocommerce .price,
.woocommerce-Price-amount,
.woocommerce-Price-amount.amount {
  color: var(--st-magenta) !important;
  font-weight: 600;
}

.woocommerce del .woocommerce-Price-amount {
  color: var(--st-mid) !important;
  font-weight: 400;
  opacity: 0.6;
}

/* ---------- Sale Badge ---------- */
.woocommerce span.onsale {
  background-color: var(--st-terracotta) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  min-height: auto !important;
  min-width: auto !important;
  padding: 4px 10px !important;
  line-height: 1.5 !important;
}

/* ---------- Single Product Page ---------- */
.woocommerce div.product .product_title {
  font-family: var(--st-font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  color: var(--st-magenta) !important;
  font-weight: 600;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-mid);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--st-magenta);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--st-magenta) !important;
}

/* Variation dropdowns */
.woocommerce div.product form.cart .variations select {
  border: 1px solid var(--st-border);
  border-radius: 2px;
  padding: 8px 12px;
  font-family: var(--st-font-body);
  font-size: 14px;
}

/* Add to cart qty + button row */
.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---------- Cart & Checkout ---------- */
.woocommerce-cart table.cart th,
.woocommerce-checkout .form-row label {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-mid);
}

.woocommerce .cart_totals h2,
.woocommerce .checkout h3 {
  font-family: var(--st-font-heading);
  font-size: 1.4rem;
  color: var(--st-dark);
}

/* Checkout input fields */
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  border: 1px solid #ddd;
  border-radius: 2px !important;
  padding: 10px 14px;
  font-family: var(--st-font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus {
  border-color: var(--st-magenta) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(160, 38, 75, 0.08);
}

/* ---------- GSTIN field styling ---------- */
#st_gstin_field {
  background: var(--st-cream);
  border: 1px dashed var(--st-blush);
  border-radius: 4px;
  padding: 16px;
  margin: 12px 0;
}

#st_gstin_field label {
  font-weight: 500 !important;
  color: var(--st-mid) !important;
}

/* ---------- Order Status Labels ---------- */
mark.shipped {
  background: var(--st-teal);
  color: #fff;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 12px;
}

/* ---------- Size Chart ---------- */
.st-size-chart {
  overflow-x: auto;
  margin: 20px 0;
}

.st-size-chart table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--st-font-body);
  font-size: 14px;
}

.st-size-chart thead th {
  background: var(--st-magenta);
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.st-size-chart tbody td {
  padding: 10px 16px;
  border: 1px solid #eee;
  text-align: center;
  color: var(--st-dark);
}

.st-size-chart tbody tr:nth-child(even) {
  background: var(--st-cream);
}

.st-size-chart tbody tr:hover {
  background: rgba(242, 196, 206, 0.2);
}

.st-size-note {
  font-size: 13px;
  color: var(--st-mid);
  margin-top: 10px;
  font-style: italic;
}

/* ---------- Homepage Hero ---------- */
.st-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center top;
  color: #fff;
}

.st-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.38);
}

.st-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 40px 20px;
}

.st-hero-content h1 {
  font-family: var(--st-font-heading);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.st-hero-content p {
  font-family: var(--st-font-body);
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.st-hero-btn {
  display: inline-block;
  background: var(--st-magenta);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 2px;
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 6px;
  transition: background 0.2s ease;
}

.st-hero-btn:hover {
  background: var(--st-teal) !important;
  color: #fff !important;
}

.st-hero-btn.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
}

.st-hero-btn.outline:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff;
}

/* ---------- Category Grid ---------- */
.st-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.st-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.st-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.st-category-card:hover img {
  transform: scale(1.04);
}

.st-category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44, 24, 16, 0.75));
  color: #fff;
  font-family: var(--st-font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 40px 16px 16px;
  text-align: center;
}

/* ---------- Brand Story Section ---------- */
.st-brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.st-brand-story img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--st-blush);
}

.st-brand-story-text h2 {
  font-family: var(--st-font-heading);
  font-size: 2.2rem;
  color: var(--st-dark);
  margin-bottom: 16px;
}

.st-brand-story-text p {
  font-family: var(--st-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--st-mid);
  margin-bottom: 16px;
}

/* ---------- Section Headings ---------- */
.st-section-heading {
  text-align: center;
  padding: 48px 20px 8px;
}

.st-section-heading h2 {
  font-family: var(--st-font-heading);
  font-size: 2rem;
  color: var(--st-dark);
  margin-bottom: 8px;
}

.st-section-heading p {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.st-section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--st-magenta);
  margin: 12px auto 0;
}

/* ---------- Header Actions — Cart + Account ---------- */
.st-header-actions {
  display: flex !important;
  align-items: center;
  gap: 6px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cart button */
.st-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none !important;
  color: var(--st-dark) !important;
  font-size: 18px;
  transition: color 0.2s;
}
.st-cart-btn:hover {
  color: var(--st-magenta) !important;
}

/* Cart item count badge */
.st-cart-count {
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--st-magenta);
  color: #fff;
  font-family: var(--st-font-body);
  font-size: 10px;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Account button — shared base */
.st-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  padding: 7px 14px;
  border-radius: var(--st-btn-radius);
  font-family: var(--st-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--st-btn-transition);
}

/* Focus ring — shared */
.st-account-btn:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
}

/* Guest — Login button (outline/secondary style) */
.st-account-guest {
  border: 2px solid var(--st-magenta);
  color: var(--st-magenta) !important;
  background: transparent;
}

/*
 * Specificity fix: .main-navigation a:hover has (0,2,1).
 * Using a.st-account-guest:hover gives (0,2,1) — cascade wins
 * because child theme CSS loads after Astra's nav rule.
 * Using .main-navigation a.st-account-guest:hover gives (0,3,1)
 * which definitively beats any nav link rule.
 */
.main-navigation a.st-account-guest:hover,
a.st-account-guest:hover {
  background: var(--st-magenta) !important;
  color: #fff !important;
  transform: var(--st-btn-hover-scale);
  text-decoration: none !important;
}

.main-navigation a.st-account-guest:active,
a.st-account-guest:active {
  transform: var(--st-btn-active-scale) !important;
  transition-duration: 0ms !important;
  background: #7A1B38 !important;
  border-color: #7A1B38 !important;
  color: #fff !important;
}

/* Icon inside login — hide from AT, it's decorative */
.st-login-icon {
  font-size: 15px;
  aria-hidden: true; /* set in PHP; CSS reminder only */
}

/* Logged in — Initials avatar (icon button style) */
.st-account-loggedin {
  background: var(--st-magenta);
  color: #fff !important;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 50% !important;
  justify-content: center;
  border: 2px solid transparent;
}
.st-account-loggedin:hover {
  background: #7A1B38 !important;
  transform: var(--st-btn-hover-scale);
}
.st-account-loggedin:active {
  transform: var(--st-btn-active-scale) !important;
  transition-duration: 0ms !important;
  background: #5C1229 !important;
}
.st-account-loggedin:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring) !important;
  outline-offset: 3px !important;
  border-radius: 50% !important;
}

.st-initials {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Mobile actions — JS moves this into #ast-mobile-header right column before hamburger */
.st-mobile-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}
/* Hide nav-injected version on mobile (inside collapsed hamburger, not visible anyway) */
@media (max-width: 921px) {
  .main-navigation .st-header-actions {
    display: none;
  }
}

/* Mobile — keep icons visible */
@media (max-width: 768px) {
  .st-header-actions {
    gap: 4px;
  }
  .st-login-text {
    display: none; /* show icon only on mobile */
  }
  .st-account-guest {
    padding: 6px 8px;
  }
}

/* ---------- Footer ---------- */
.ast-footer-wrap,
.footer-widget-area,
#colophon {
  background: var(--st-dark) !important;
  color: rgba(255,255,255,0.75) !important;
}

.footer-widget-area a,
#colophon a {
  color: var(--st-blush) !important;
}

.footer-widget-area a:hover,
#colophon a:hover {
  color: #fff !important;
}

/* Footer social icons */
.ast-social-link a {
  color: var(--st-blush) !important;
}

/* ---------- Mobile — CRITICAL (85% of traffic) ---------- */
@media (max-width: 768px) {
  /* 2-column product grid on mobile */
  .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 12px !important;
  }

  .woocommerce ul.products li.product {
    margin: 0 !important;
    width: 100% !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 0.88rem;
    padding: 0 8px 10px;
  }

  /* Category grid: 2 col on mobile */
  .st-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 24px 12px;
  }

  /* Brand story: stack on mobile */
  .st-brand-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Hero */
  .st-hero {
    min-height: 60vh;
  }

  .st-hero-content h1 {
    font-size: 1.8rem;
  }

  /* Product page */
  .woocommerce div.product .product_title {
    font-size: 1.4rem;
  }

  .woocommerce div.product p.price {
    font-size: 1.2rem;
  }
}

/* Category / shop product grid — 1 column on mobile */
@media (max-width: 600px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .st-hero-btn {
    display: block;
    margin: 6px 0;
    text-align: center;
  }
}

/* ============================================================
   CUSTOM FOOTER
   ============================================================ */

/* Fix Astra's ast-container (site-content wrapper) — column on desktop so
   content + hidden sidebar stack vertically, not side-by-side */
@media (min-width: 769px) {
  #content.site-content > .ast-container {
    flex-direction: column;
  }
}

.st-footer {
  font-family: var(--st-font-body);
  background: #1E0E08;
  color: #C8B8B0;
  width: 100%;
  box-sizing: border-box;
}

/* Every section in footer is full-width */
.st-footer-newsletter,
.st-footer-main,
.st-footer-bottom {
  width: 100%;
  box-sizing: border-box;
}

/* Content stays within container width, centered */
.st-footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* --- Newsletter bar --- */
.st-footer-newsletter {
  background: var(--st-magenta);
  padding: 40px 0;
}

.st-nl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.st-nl-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0 0 4px;
}

.st-nl-heading {
  font-family: var(--st-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.st-nl-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.st-nl-input {
  font-family: var(--st-font-body);
  font-size: 13px;
  padding: 11px 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-right: none;
  border-radius: var(--st-btn-radius) 0 0 var(--st-btn-radius);
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 100%;
  flex: 1;
  outline: none; /* focus-visible uses box-shadow ring instead — see :focus-visible below */
  transition: border-color 0.2s ease, background 0.2s ease;
}

.st-nl-input::placeholder {
  color: rgba(255,255,255,0.55);
}

/* Keyboard focus on email input — clear visible ring */
.st-nl-input:focus-visible {
  outline: none !important;
  border-color: #fff !important;
  background: rgba(255,255,255,0.22) !important;
  box-shadow: 0 0 0 3px rgba(83,74,183,0.6) !important;
}

/* Fallback for browsers that don't support :focus-visible */
.st-nl-input:focus {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.2);
}

/* ── Subscribe Button — full standard states ── */
.st-nl-btn {
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 2px solid #fff;
  border-radius: 0 var(--st-btn-radius) var(--st-btn-radius) 0;
  background: #fff;
  color: var(--st-magenta);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--st-btn-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* HOVER — no transform: button is fused with input, scale would separate them */
.st-nl-btn:hover {
  background: #7A1B38;
  color: #fff;
  border-color: #7A1B38;
}

/* FOCUS — visible ring on magenta background */
.st-nl-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(83,74,183,0.5);
}

/* ACTIVE — snappy press */
.st-nl-btn:active {
  transform: var(--st-btn-active-scale);
  transition-duration: 0ms;
  background: #7A1B38;
  color: #fff;
  border-color: #7A1B38;
}

/* DISABLED */
.st-nl-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* LOADING state */
.st-nl-btn.is-loading {
  pointer-events: none;
  color: transparent;
  position: relative;
}
.st-nl-btn.is-loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(160,38,75,0.3);
  border-top-color: var(--st-magenta);
  border-radius: 50%;
  animation: st-spin 0.7s linear infinite;
}

/* --- Main columns --- */
.st-footer-main {
  padding: 64px 0 48px;
}

.st-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  grid-template-areas: "brand shop help contact";
  gap: 48px 40px;
  align-items: start;
  text-align: left;
}

.st-footer-brand    { grid-area: brand; }
.st-footer-col:nth-child(2) { grid-area: shop; }
.st-footer-col:nth-child(3) { grid-area: help; }
.st-footer-col:nth-child(4) { grid-area: contact; }

/* Brand column */
.st-footer-logo {
  font-family: var(--st-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.st-footer-tagline {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-blush);
  margin: 0 0 14px;
}

.st-footer-about {
  font-size: 13px;
  line-height: 1.8;
  color: #9E8A80;
  margin: 0 0 20px;
}

.st-footer-socials {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.st-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: #C8B8B0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.st-social-link:hover {
  background: var(--st-magenta);
  color: #fff;
  border-color: var(--st-magenta);
  text-decoration: none;
}

/* Link columns */
.st-footer-heading {
  font-family: var(--st-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}

.st-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-footer-links li {
  margin-bottom: 10px;
}

.st-footer-links a {
  font-size: 13.5px;
  color: #9E8A80;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  display: inline-block; /* ensures ::after width matches text width */
}

.st-footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  transform: none;
  width: 0;
  height: 1px;
  background: var(--st-blush);
  transition: width 0.25s ease;
}

.st-footer-links a:hover {
  color: var(--st-blush);
  text-decoration: none;
}

.st-footer-links a:hover::after {
  width: 100%;
}

/* Contact column */
.st-footer-contact {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.st-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #9E8A80;
}

.st-footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--st-blush);
  line-height: 1;
}

.st-footer-wa-link {
  color: #9E8A80;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}

.st-footer-wa-link:hover {
  color: var(--st-blush);
  text-decoration: none;
}

.st-footer-wa-link small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 1px;
}

.st-footer-contact-item a:not(.st-footer-wa-link) {
  color: #9E8A80;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.st-footer-contact-item a:not(.st-footer-wa-link):hover {
  color: var(--st-blush);
}

.st-footer-heading--policies {
  margin-top: 4px;
}

.st-pay-label {
  color: #6B5A54;
  margin-right: 4px;
}

/* --- Bottom bar --- */
.st-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.st-footer-bottom-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .st-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

.st-footer-copy {
  font-size: 12px;
  color: #6B5A54;
  margin: 0;
}

.st-footer-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6B5A54;
}

.st-pay-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  color: #9E8A80;
  letter-spacing: 0.03em;
}

/* --- Footer responsive --- */

/* Tablet: brand full-width top row, 3 link cols + contact stacked */
@media (max-width: 960px) {
  .st-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "brand   brand   brand"
      "shop    help    contact";
    gap: 40px 32px;
  }
}

/* Mobile: brand full-width, 2-col link grid */
@media (max-width: 600px) {
  .st-footer-container {
    padding: 0 20px;
  }
  .st-footer-main {
    padding: 48px 0 36px;
  }
  .st-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "brand   brand"
      "shop    help"
      "contact contact";
    gap: 32px 20px;
  }
  .st-footer-newsletter {
    padding: 32px 0;
  }
  .st-nl-form {
    max-width: 100%;
  }
  .st-footer-pay {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Shared section typography */
.st-section-eyebrow {
  font-family: var(--st-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-magenta);
  margin: 0 0 12px;
}

.st-section-heading {
  font-family: var(--st-font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--st-dark);
  margin: 0 0 24px;
}

.st-section-body {
  font-family: var(--st-font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--st-mid);
  margin: 0 0 16px;
}

/* Story section — image + text side by side */
.st-about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.st-about-story-reverse {
  direction: rtl;
}

.st-about-story-reverse > * {
  direction: ltr;
}

.st-about-img-placeholder {
  width: 100%;
  aspect-ratio: 6 / 7;
  background: linear-gradient(135deg, #F2C4CE 0%, #EDE0D8 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--st-mid);
}

.st-about-img-placeholder span {
  font-family: var(--st-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--st-magenta);
}

.st-about-img-placeholder small {
  font-family: var(--st-font-body);
  font-size: 12px;
  color: var(--st-mid);
}

/* Values grid */
.st-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.st-value-card {
  background: var(--st-cream);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid rgba(160,38,75,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.st-value-card:hover {
  box-shadow: 0 6px 24px rgba(160,38,75,0.10);
  transform: translateY(-3px);
}

.st-value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.st-value-card h3 {
  font-family: var(--st-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--st-dark);
  margin: 0 0 10px;
}

.st-value-card p {
  font-family: var(--st-font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--st-mid);
  margin: 0;
}

/* Stats row */
.st-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.st-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}

.st-stat-num {
  font-family: var(--st-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.st-stat-label {
  font-family: var(--st-font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Reviews grid */
.st-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.st-review-card {
  background: var(--st-cream);
  border-radius: 8px;
  padding: 28px 24px;
  border: 1px solid rgba(160,38,75,0.08);
}

.st-review-stars {
  color: #F5A623;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.st-review-text {
  font-family: var(--st-font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--st-mid);
  margin: 0 0 16px;
  font-style: italic;
}

.st-review-author {
  font-family: var(--st-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--st-magenta);
  margin: 0;
}

/* About page responsive */
@media (max-width: 900px) {
  .st-about-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .st-about-story-reverse {
    direction: ltr;
  }
  .st-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .st-values-grid {
    grid-template-columns: 1fr;
  }
  .st-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Topic selector grid */
.st-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.st-topic-btn {
  font-family: var(--st-font-body);
  font-size: 13px;
  padding: 8px 16px;
  border: 1.5px solid #E8E8E8;
  border-radius: 50px;
  background: #fff;
  color: var(--st-mid);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.st-topic-btn:hover {
  border-color: var(--st-blush);
  color: var(--st-magenta);
  background: #FFF8FA;
}

.st-topic-btn.active {
  border-color: var(--st-magenta);
  background: var(--st-magenta);
  color: #fff;
}

/* Contact cards */
.st-contact-card {
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.st-contact-card:hover {
  box-shadow: 0 6px 24px rgba(160, 38, 75, 0.10);
  transform: translateY(-2px);
}

.st-contact-wa {
  border-color: var(--st-blush) !important;
  background: linear-gradient(135deg, #FFF8FA 0%, #fff 100%) !important;
}

/* Contact CTAs */
.st-contact-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.st-contact-cta:hover {
  opacity: 0.88;
  transform: translateX(2px);
  text-decoration: none;
}

.st-cta-wa {
  background: #25D366;
  color: #fff !important;
}

.st-cta-email {
  background: var(--st-magenta);
  color: #fff !important;
}

.st-cta-insta {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff !important;
}

/* FAQ accordion */
.st-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.st-faq-item {
  border-bottom: 1px solid #EDE0D8;
  padding: 0;
}

.st-faq-item:first-child {
  border-top: 1px solid #EDE0D8;
}

.st-faq-item summary {
  font-family: var(--st-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--st-dark);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.st-faq-item summary::-webkit-details-marker { display: none; }

.st-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--st-magenta);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.st-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.st-faq-item p {
  font-family: var(--st-font-body);
  font-size: 14px;
  color: var(--st-mid);
  line-height: 1.75;
  padding: 0 0 16px;
  margin: 0;
}

.st-faq-item a {
  color: var(--st-magenta);
  text-decoration: underline;
}

/* ============================================================
   GLOBAL WHATSAPP FLOATING BUTTON
   ============================================================ */

.st-wa-float {
  position: fixed;
  bottom: 90px; /* above Astra scroll-to-top (30px bottom + ~48px height + 12px gap) */
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 160px;
  overflow: hidden;
}

.st-wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: #fff !important;
}

.st-wa-float svg {
  flex-shrink: 0;
}

.st-wa-float-label {
  white-space: nowrap;
}

/* Scroll-to-top — keep Astra default position, lift z-index below WhatsApp */
#ast-scroll-top {
  z-index: 999 !important;
  bottom: 28px !important;
  right: 28px !important;
}

@media (max-width: 600px) {
  .st-wa-float {
    bottom: 84px; /* above scroll-to-top on mobile */
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    max-width: 52px;
  }
  .st-wa-float-label {
    display: none;
  }
  #ast-scroll-top {
    bottom: 20px !important;
    right: 16px !important;
  }
}


/* ============================================================
   PRODUCT CARD — content-product.php override
   ============================================================ */

.st-product-card {
  position: relative;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.07);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.st-product-card:hover {
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.13);
  transform: translateY(-3px);
}

/* ── Product image ── */
.st-card-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--st-cream);
}

.st-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.st-product-card:hover .st-card-img {
  transform: scale(1.04);
}

/* ── Badges ── */
.st-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.st-badge {
  display: inline-block;
  font-family: var(--st-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  line-height: 1.4;
}

.st-badge--sale {
  background: var(--st-magenta);
  color: #fff;
}

.st-badge--new {
  background: var(--st-teal);
  color: #fff;
}

/* ── Wishlist button ── */
.st-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.st-wishlist-btn:hover {
  background: #fff;
  color: var(--st-magenta);
  transform: scale(1.1);
}

.st-wishlist-btn[aria-pressed="true"] {
  color: var(--st-magenta);
}

.st-wishlist-btn[aria-pressed="true"] svg {
  fill: var(--st-magenta);
  stroke: var(--st-magenta);
}

.st-wishlist-btn:focus-visible {
  outline: 2px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}

/* ── Card body ── */
.st-card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.st-card-cat {
  font-family: var(--st-font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-teal);
}

.st-card-title {
  font-family: var(--st-font-heading);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.st-card-title a {
  color: var(--st-dark);
  text-decoration: none;
}

.st-card-title a:hover {
  color: var(--st-magenta);
}


/* ── Price ── */
.st-card-price {
  margin-top: auto;
  padding-top: 4px;
}

.st-card-price .price {
  font-family: var(--st-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--st-dark);
}

.st-card-price .price del {
  color: #aaa;
  font-weight: 400;
  font-size: 13px;
  margin-right: 4px;
}

.st-card-price .price ins {
  text-decoration: none;
  color: var(--st-magenta);
}

/* ── Add to cart on card ── */
.st-product-card .st-atc-btn,
.st-product-card .add_to_cart_button {
  width: 100%;
  margin-top: 10px;
  padding: 9px 16px;
  font-size: 13px;
}


/* ============================================================
   PRODUCT SLIDER
   ============================================================ */

.st-slider-wrap {
  position: relative;
  padding: 0 48px;        /* room for prev/next buttons */
  outline: none;
}

/* Track — horizontal scroll container */
.st-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;           /* Firefox */
  padding-bottom: 4px;             /* prevent box-shadow clip */
}

.st-slider-track::-webkit-scrollbar { display: none; }

/* Each slide — 4 visible desktop, 2 tablet, 1 mobile */
.st-slide {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
  min-width: 0;
}

@media (max-width: 960px) {
  .st-slide { flex: 0 0 calc(50% - 8px); }
  .st-slider-wrap { padding: 0 40px; }
}

@media (max-width: 600px) {
  .st-slide { flex: 0 0 100%; }
  .st-slider-wrap { padding: 0 32px; }
}

/* Prev / Next buttons */
.st-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(44, 24, 16, 0.15);
  background: #fff;
  color: var(--st-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.1);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  padding: 0;
}

.st-slider-btn:hover {
  background: var(--st-magenta);
  color: #fff;
  border-color: var(--st-magenta);
  box-shadow: 0 4px 16px rgba(160, 38, 75, 0.3);
}

.st-slider-btn:focus-visible {
  outline: 2px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}

.st-slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.st-slider-prev { left: 0; }
.st-slider-next { right: 0; }

/* Dots */
.st-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.st-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(44, 24, 16, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.st-slider-dot.is-active {
  background: var(--st-magenta);
  transform: scale(1.3);
}

.st-slider-dot:focus-visible {
  outline: 2px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}


/* ============================================================
   CATEGORY GRID — Masonry-style
   Layout: 3 cols, first tile spans 2 rows, last spans all cols
   ============================================================ */

.st-cat-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 260px 260px 160px;
  gap: 10px;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 20px;
}

/* Tile base */
.st-cat-tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  background-color: var(--cat-bg, #e0d5c5);
  background-image: var(--cat-img, none);
  background-size: cover;
  background-position: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.st-cat-tile:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.2);
  z-index: 1;
}

.st-cat-tile:focus-visible {
  outline: 3px solid var(--st-btn-focus-ring);
  outline-offset: 2px;
}

/* Featured tile — first item, spans 2 rows */
.st-cat-tile--featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Last tile — Lingerie, spans all 3 columns on row 3 */
.st-cat-grid .st-cat-tile:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* Dark gradient overlay */
.st-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(44, 24, 16, 0.05) 0%,
    rgba(44, 24, 16, 0.42) 100%
  );
  transition: background 0.28s ease;
}

.st-cat-tile:hover .st-cat-overlay {
  background: linear-gradient(
    160deg,
    rgba(44, 24, 16, 0.1) 0%,
    rgba(44, 24, 16, 0.58) 100%
  );
}

/* Text content — always at bottom */
.st-cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Featured tile — content centred vertically */
.st-cat-tile--featured .st-cat-content {
  top: 0;
  justify-content: flex-end;
  padding: 28px;
}

.st-cat-name {
  font-family: var(--st-font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.st-cat-tile--featured .st-cat-name {
  font-size: 2rem;
}

/* Last tile (landscape) — bigger text */
.st-cat-grid .st-cat-tile:nth-child(6) .st-cat-name {
  font-size: 1.6rem;
}

.st-cat-count {
  font-family: var(--st-font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.st-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--st-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.st-cat-tile:hover .st-cat-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ── Tablet ── */
@media (max-width: 960px) {
  .st-cat-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 220px 220px 220px 140px;
  }

  .st-cat-tile--featured {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  /* Items 2-5 fill col 2 rows 1-4 */
  .st-cat-grid .st-cat-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
  .st-cat-grid .st-cat-tile:nth-child(3) { grid-column: 2; grid-row: 2; }
  .st-cat-grid .st-cat-tile:nth-child(4) { grid-column: 1; grid-row: 3; }
  .st-cat-grid .st-cat-tile:nth-child(5) { grid-column: 2; grid-row: 3; }

  .st-cat-grid .st-cat-tile:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .st-cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px 120px;
  }

  .st-cat-tile--featured {
    grid-column: 1 / -1;   /* full width on mobile */
    grid-row: 1;
  }

  .st-cat-grid .st-cat-tile:nth-child(2) { grid-column: 1; grid-row: 2; }
  .st-cat-grid .st-cat-tile:nth-child(3) { grid-column: 2; grid-row: 2; }
  .st-cat-grid .st-cat-tile:nth-child(4) { grid-column: 1; grid-row: 3; }
  .st-cat-grid .st-cat-tile:nth-child(5) { grid-column: 2; grid-row: 3; }

  .st-cat-grid .st-cat-tile:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .st-cat-name { font-size: 1.2rem; }
  .st-cat-tile--featured .st-cat-name { font-size: 1.5rem; }
}


/* ── Logo size + hide site title text ── */
.custom-logo {
  width: 200px;
  max-width: 200px;
  height: auto;
}

@media (max-width: 960px) {
  .custom-logo { width: 160px; max-width: 160px; }
}

@media (max-width: 600px) {
  .custom-logo { width: 140px; max-width: 140px; }
}

.ast-site-title-wrap {
  display: none !important;
}


/* ============================================================
   CHECKOUT PAGE — 2-COLUMN LAYOUT
   Left  (form) | Right (order summary)
   Palette: magenta #993556 · focus-purple #534AB7 · error #C0392B · success #1A7F4B
   ============================================================ */

/* ── Page wrapper — full width ── */
.woocommerce-checkout .entry-content,
.woocommerce-page.woocommerce-checkout .entry-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 60px;
  box-sizing: border-box;
}

/* ── 2-column grid ── */
.st-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* Left: form sections */
.st-checkout-left { min-width: 0; }

/* Right: sticky order summary */
.st-checkout-right {
  position: sticky;
  top: 24px;
}

/* ── Responsive: stack on tablet/mobile ── */
@media (max-width: 900px) {
  .st-checkout-layout {
    grid-template-columns: 1fr;
  }
  .st-checkout-right {
    position: static;
    order: 2; /* order summary below the form on mobile */
  }
}
@media (max-width: 600px) {
  .woocommerce-checkout .entry-content,
  .woocommerce-page.woocommerce-checkout .entry-content {
    padding: 12px 12px 48px;
  }
}

/* ---------- Checkout section cards ---------- */
.st-co-section {
  background: #ffffff;
  border: 1.5px solid #F0E6EA;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.st-co-section.is-active-section {
  border-color: #993556;
  box-shadow: 0 0 0 3px rgba(153, 53, 86, .08);
}

@media (max-width: 600px) {
  .st-co-section { padding: 20px 16px; }
}

/* ---------- Section headings ---------- */
.st-co-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2C1810;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.st-co-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #993556;
  color: #ffffff;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.st-co-optional {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: #888;
}

/* ---------- Form fields — shared ---------- */
.woocommerce-checkout .form-row {
  margin: 0 0 16px;
}
.woocommerce-checkout label {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: #4A3040;
  display: block;
  margin-bottom: 5px;
}
.woocommerce-checkout .required {
  color: #993556;
}
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: #2C1810;
  background: #FDFAF9;
  border: 1.5px solid #F0E6EA;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease;
  outline: none;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #534AB7;
  box-shadow: 0 0 0 3px rgba(83, 74, 183, .15);
}

/* Side-by-side on desktop */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: calc(50% - 8px);
  display: inline-block;
  vertical-align: top;
}
.woocommerce-checkout .form-row-first { margin-right: 8px; }
.woocommerce-checkout .form-row-last  { margin-left:  8px; }
.woocommerce-checkout .form-row-wide  { display: block; width: 100%; }

@media (max-width: 600px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---------- Field states ---------- */
.woocommerce-checkout input.st-field--error,
.woocommerce-checkout select.st-field--error {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, .12) !important;
}
.woocommerce-checkout input.st-field--success,
.woocommerce-checkout select.st-field--success {
  border-color: #1A7F4B !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231A7F4B' d='M7 14.4L2.6 10l1.4-1.4L7 11.6l9-9 1.4 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 36px;
}
.st-field-error {
  display: block;
  color: #C0392B;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  margin-top: 4px;
  font-weight: 500;
}
.st-field-error::before {
  content: '⚠ ';
  font-size: .75rem;
}
.st-field-success-msg {
  display: block;
  color: #1A7F4B;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  margin-top: 4px;
  font-weight: 500;
}
.st-field-hint {
  display: block;
  color: #888;
  font-family: 'Poppins', sans-serif;
  font-size: .76rem;
  margin-top: 3px;
}

/* ---------- Auth Tabs Section ---------- */
.st-checkout-auth {
  background: #fff;
  border: 1.5px solid #F0E6EA;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.st-checkout-auth--loggedin {
  padding: 14px 24px;
  background: #F9F2F4;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: #2C1810;
}
.st-auth-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #1A7F4B;
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  flex-shrink: 0;
}
.st-auth-not-you {
  color: #993556;
  font-size: .82rem;
  text-decoration: underline;
}

/* Tab row */
.st-auth-tabs {
  display: flex;
  border-bottom: 2px solid #F0E6EA;
}
.st-auth-tab {
  flex: 1;
  padding: 14px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: #6B4755;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
  outline: none;
}
.st-auth-tab:hover {
  color: #993556;
  background: #FDF0F3;
}
.st-auth-tab:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: -2px;
}
.st-auth-tab.is-active {
  color: #993556;
  border-bottom-color: #993556;
  font-weight: 600;
  background: #FDF0F3;
}

/* Tab panels */
.st-auth-panel {
  padding: 24px 28px;
}
.st-auth-panel[hidden] { display: none; }
.st-auth-note {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #6B4755;
  margin: 0;
  line-height: 1.6;
}

/* Login / Register forms inside auth tabs */
.st-login-form .form-row,
.st-register-form .form-row {
  margin-bottom: 14px;
  position: relative;
}
.st-auth-forgot {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  color: #993556;
  text-decoration: underline;
  display: block;
  margin-top: 5px;
}
.st-auth-forgot:hover { color: #6B2040; }

@media (max-width: 600px) {
  .st-auth-tab   { font-size: .78rem; padding: 12px 6px; }
  .st-auth-panel { padding: 18px 16px; }
}

/* ---------- Billing-same-as-delivery checkbox ---------- */
.st-billing-same-wrap {
  margin-bottom: 0;
}
.st-billing-same-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #4A3040;
  font-weight: 500;
  line-height: 1.5;
}
.st-billing-same-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #993556;
  margin-top: 2px;
  cursor: pointer;
}
.st-billing-same-label input[type="checkbox"]:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: 2px;
}

/* Collapsible billing fields */
.st-billing-fields {
  margin-top: 20px;
  animation: st-slide-down .22s ease;
}
@keyframes st-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- GST field styling ---------- */
.st-gstin-field label span.optional {
  font-weight: 400;
  color: #888;
  font-size: .78rem;
}
#st_gstin_field {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #F0E6EA;
}

/* ---------- Order notes textarea ---------- */
.woocommerce-checkout #order_comments {
  min-height: 90px;
  resize: vertical;
}

/* ---------- Character counter ---------- */
.st-char-counter {
  font-family: 'Poppins', sans-serif;
  font-size: .76rem;
  color: #888;
  text-align: right;
  margin-top: 4px;
  transition: color .18s ease;
}
.st-char-counter--low    { color: #CC7A00; }
.st-char-counter--danger { color: #C0392B; font-weight: 600; }

/* ---------- Coupon toggle — right column ---------- */
.st-checkout-right .woocommerce-form-coupon-toggle {
  margin-bottom: 12px;
}
.st-checkout-right .woocommerce-info {
  background: #FDF6F0;
  border: 1.5px solid #F0E6EA;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  color: #4A3040;
  margin: 0 0 12px;
  list-style: none;
  /* remove WC's default left border / icon */
  border-top: 1.5px solid #F0E6EA !important;
}
.st-checkout-right .woocommerce-info::before { display: none; }
.st-checkout-right .woocommerce-info .showcoupon {
  color: #993556;
  font-weight: 600;
  text-decoration: none;
}
.st-checkout-right .woocommerce-info .showcoupon:hover {
  text-decoration: underline;
}
/* Coupon input form */
.st-checkout-right .woocommerce-form-coupon {
  background: #fff;
  border: 1.5px solid #F0E6EA;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.st-checkout-right .woocommerce-form-coupon p { margin: 0; flex: 1; min-width: 120px; }
.st-checkout-right .woocommerce-form-coupon label {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: #4A3040;
  display: block;
  margin-bottom: 4px;
}
.st-checkout-right .woocommerce-form-coupon input[type="text"] {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  border: 1.5px solid #F0E6EA;
  border-radius: 6px;
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}
.st-checkout-right .woocommerce-form-coupon input[type="text"]:focus {
  border-color: #534AB7;
  box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}
.st-checkout-right .woocommerce-form-coupon .button {
  background: #993556;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease;
}
.st-checkout-right .woocommerce-form-coupon .button:hover { background: #7A2840; }

/* ---------- Order summary card (right column) ---------- */
/* Overrides Astra's form #order_review rule */
.woocommerce-page.woocommerce-checkout form #order_review {
  background: #fff;
  border: 1.5px solid #F0E6EA !important;
  border-radius: 12px;
  padding: 24px 24px 20px !important;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
}
/* Order table inside summary */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #F0E6EA;
  text-align: left;
  color: #2C1810;
}
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
  font-weight: 600;
  font-size: .95rem;
  border-bottom: none;
  padding-top: 12px;
}

/* Place order button */
.woocommerce-checkout #place_order {
  background: #993556;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  width: 100%;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s ease, transform .1s ease;
}
.woocommerce-checkout #place_order:hover  { background: #7A2840; }
.woocommerce-checkout #place_order:active { transform: scale(.98); }
.woocommerce-checkout #place_order:focus-visible {
  outline: 3px solid #534AB7;
  outline-offset: 3px;
}

/* ---------- Auth section buttons ---------- */
.st-login-form .st-btn--primary,
.st-register-form .st-btn--primary {
  background: #993556;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  cursor: pointer;
  transition: background .2s ease;
  letter-spacing: .03em;
}
.st-login-form .st-btn--primary:hover,
.st-register-form .st-btn--primary:hover { background: #7A2840; }
.st-login-form .st-btn--primary:focus-visible,
.st-register-form .st-btn--primary:focus-visible {
  outline: 3px solid #534AB7;
  outline-offset: 3px;
}

/* ---------- Read-only email (logged-in user) ---------- */
.woocommerce-checkout input.st-field--readonly {
  background: #F5EFF2;
  color: #6B4755;
  cursor: default;
}
.st-email-edit-btn {
  font-family: 'Poppins', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  color: #993556;
  background: transparent;
  border: 1px solid #993556;
  border-radius: 5px;
  padding: 3px 10px;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
}
.st-email-edit-btn:hover { background: #FDF0F3; }
.st-email-edit-btn:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: 2px;
}

/* ---------- Additional-fields wrapper (moved out of WC's col-2) ---------- */
#st-co-additional .woocommerce-additional-fields__field-wrapper {
  margin-top: 0;
}
#st-co-additional .form-row:first-child { margin-top: 0; }

/* ---------- WC notices on checkout ---------- */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 768px) {
  .woocommerce-checkout #order_review { padding: 20px 16px; }
  .woocommerce-checkout #place_order  { font-size: .92rem; }
}


/* ============================================================
   CART PAGE — 2-COLUMN LAYOUT
   Left (cart items + coupon) | Right (totals, sticky)
   ============================================================ */

/* ── Page wrapper — match checkout width ── */
.woocommerce-cart .entry-content,
.woocommerce-page.woocommerce-cart .entry-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 60px;
  box-sizing: border-box;
}

/* ── Flex layout wrapper — 70 / 30 ── */
.st-cart-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}

/* Left column: cart form — 70% */
.st-cart-left {
  flex: 0 0 70%;
  min-width: 0;
}

/* Right column: coupon + totals — 30%, sticky */
.st-cart-right {
  flex: 0 0 calc(30% - 28px);
  position: sticky;
  top: 24px;
}

/* Notices above the layout (rendered by WC before our template) */
.woocommerce-cart .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

/* Right: cart-collaterals fills its container */
.woocommerce-cart .cart-collaterals {
  width: 100% !important;
  float: none !important;
}

/* Override WooCommerce default float:right + width:48% on cart_totals */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .st-cart-layout {
    flex-direction: column;
  }
  .st-cart-left,
  .st-cart-right {
    flex: 1 1 100%;
    width: 100%;
    position: static;
  }
}
@media (max-width: 600px) {
  .woocommerce-cart .entry-content,
  .woocommerce-page.woocommerce-cart .entry-content {
    padding: 12px 12px 48px;
  }
}

/* ══════════════════════════════════════════════════════════
   CART — DIV-BASED ITEM LIST
   ══════════════════════════════════════════════════════════ */

/* Items container */
.st-cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1.5px solid #F0E6EA;
  border-radius: 12px;
  overflow: hidden;
}

/* Single item row */
.st-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #F0E6EA;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #2C1810;
  position: relative;
  transition: background .15s ease;
}
.st-cart-item:last-child { border-bottom: none; }
.st-cart-item:hover { background: #FFFAF9; }

/* ── Image ── */
.st-ci-image {
  flex: 0 0 88px;
}
.st-ci-image img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.st-ci-image a { display: block; }

/* ── Info ── */
.st-ci-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.st-ci-name {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.st-ci-name a {
  color: #2C1810;
  text-decoration: none;
}
.st-ci-name a:hover { color: #993556; }

.st-ci-meta {
  font-size: .78rem;
  color: #7A5C65;
}
.st-ci-meta dl,
.st-ci-meta dt,
.st-ci-meta dd { margin: 0; display: inline; }
.st-ci-meta dt::after { content: ': '; }
.st-ci-meta dd { margin-right: 8px; }

/* Bottom row: qty + prices */
.st-ci-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Qty + update button */
.st-ci-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.st-ci-qty-wrap .qty {
  width: 64px;
  padding: 6px 10px;
  border: 1.5px solid #F0E6EA;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  text-align: center;
  color: #2C1810;
}
.st-ci-qty-wrap .qty:focus {
  border-color: #534AB7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}

/* Update icon button */
.st-update-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #2E7D7D;
  border-radius: 50%;
  background: transparent;
  color: #2E7D7D;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .15s ease;
  padding: 0;
  flex-shrink: 0;
}
.st-update-btn:hover {
  background: #2E7D7D;
  color: #fff;
}
.st-update-btn:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: 2px;
}
.st-update-btn--active {
  transform: scale(1.15);
  background: #2E7D7D;
  color: #fff;
}

/* Prices */
.st-ci-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.st-ci-unit-price {
  font-size: .82rem;
  color: #7A5C65;
}
.st-ci-subtotal {
  font-size: .95rem;
  font-weight: 700;
  color: #993556;
}

/* ── Delete action ── */
.st-ci-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

/* Hidden WC remove link (WC AJAX listens on this) */
.st-remove-link {
  display: none !important;
}

/* Trash icon button */
.st-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid #E8D5DB;
  border-radius: 50%;
  background: transparent;
  color: #B0737F;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  padding: 0;
}
.st-delete-btn:hover {
  background: #FFF0F3;
  border-color: #C0392B;
  color: #C0392B;
}
.st-delete-btn:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: 2px;
}

/* ── Cart footer (update submit) ── */
.st-cart-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 20px;
  background: #FDF6F0;
  border: 1.5px solid #F0E6EA;
  border-top: none;
  border-radius: 0 0 12px 12px;
}
.st-update-cart-submit {
  background: transparent !important;
  color: #993556 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  border: 1.5px solid #993556 !important;
  border-radius: 6px !important;
  padding: 8px 18px !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.st-update-cart-submit:hover {
  background: #993556 !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   DELETE CONFIRMATION MODAL
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   CHECKOUT GATE MODAL (cart page — guests)
   ══════════════════════════════════════════════════════════ */

.st-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-gate-modal[hidden] { display: none; }

.st-gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, .48);
  backdrop-filter: blur(3px);
}

/* Box */
.st-gate-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(44,24,16,.2);
  font-family: 'Poppins', sans-serif;
  animation: st-gate-in .25s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes st-gate-in {
  from { opacity: 0; transform: scale(.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button */
.st-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #B0737F;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
  padding: 0;
}
.st-gate-close:hover { background: #FFF0F3; color: #993556; }
.st-gate-close:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Title & sub */
.st-gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2C1810;
  margin: 0 0 6px;
  line-height: 1.2;
}
.st-gate-sub {
  font-size: .82rem;
  color: #7A5C65;
  margin: 0 0 24px;
}

/* Option cards */
.st-gate-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.st-gate-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: #FFFAF9;
  border: 1.5px solid #F0E6EA;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  font-family: 'Poppins', sans-serif;
}
.st-gate-option:hover {
  border-color: #993556;
  background: #FFF5F7;
  box-shadow: 0 2px 12px rgba(153,53,86,.1);
}
.st-gate-option:focus-visible {
  outline: 2px solid #534AB7;
  outline-offset: 2px;
}

.st-gate-opt-icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 10px;
  background: #F2C4CE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #993556;
}
.st-gate-opt-label {
  flex: 1;
  font-size: .92rem;
  font-weight: 600;
  color: #2C1810;
  display: block;
  line-height: 1.2;
}
.st-gate-opt-hint {
  display: block;
  font-size: .75rem;
  color: #7A5C65;
  margin-top: 2px;
}
.st-gate-opt-arrow {
  flex: 0 0 auto;
  color: #B0737F;
}

/* Back button */
.st-gate-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #7A5C65;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  transition: color .15s ease;
}
.st-gate-back:hover { color: #993556; }
.st-gate-back:focus-visible { outline: 2px solid #534AB7; }

/* Form fields */
.st-gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.st-gate-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.st-gate-field label {
  font-size: .8rem;
  font-weight: 600;
  color: #4A3040;
}
.st-gate-field input {
  padding: 10px 14px;
  border: 1.5px solid #F0E6EA;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #2C1810;
  background: #FDFAF9;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
  box-sizing: border-box;
}
.st-gate-field input:focus {
  border-color: #534AB7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}

/* Password wrapper */
.st-gate-pw-wrap {
  position: relative;
}
.st-gate-pw-wrap input { padding-right: 44px; }
.st-gate-pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #B0737F;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.st-gate-pw-toggle:hover { color: #993556; }

/* Forgot link */
.st-gate-forgot {
  text-align: right;
  margin-top: -6px;
}
.st-gate-forgot a {
  font-size: .76rem;
  color: #7A5C65;
  text-decoration: underline;
}
.st-gate-forgot a:hover { color: #993556; }

/* Password auto-generate note */
.st-gate-pw-note {
  font-size: .78rem;
  color: #7A5C65;
  background: #FDF6F0;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0;
}

/* Submit button */
.st-gate-submit {
  width: 100%;
  background: #993556 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 13px 20px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .18s ease !important;
  margin-top: 4px;
}
.st-gate-submit:hover { background: #7A2840 !important; }
.st-gate-submit:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Mobile */
@media (max-width: 480px) {
  .st-gate-box { padding: 28px 18px 24px; border-radius: 14px; }
  .st-gate-title { font-size: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════
   HEADER AUTH MODAL (Login / Register)
   ══════════════════════════════════════════════════════════ */

/* Reuse body overflow lock from delete modal */
.st-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-auth-modal[hidden] { display: none; }

.st-auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,.48);
  backdrop-filter: blur(3px);
}

/* Box */
.st-auth-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(44,24,16,.2);
  font-family: 'Poppins', sans-serif;
  animation: st-gate-in .25s cubic-bezier(.34,1.56,.64,1) both;
}

/* Close button */
.st-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #B0737F;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
  padding: 0;
}
.st-auth-close:hover { background: #FFF0F3; color: #993556; }
.st-auth-close:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Brand name */
.st-auth-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #993556;
  margin-bottom: 14px;
}

/* Title & sub */
.st-auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #2C1810;
  margin: 0 0 4px;
  line-height: 1.15;
}
.st-auth-sub {
  font-size: .8rem;
  color: #7A5C65;
  margin: 0 0 22px;
}

/* Form */
.st-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Two-column row (first + last name) */
.st-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Field */
.st-auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.st-auth-field label {
  font-size: .78rem;
  font-weight: 600;
  color: #4A3040;
}
.st-auth-field label span { color: #993556; }
.st-auth-field input {
  padding: 10px 14px;
  border: 1.5px solid #F0E6EA;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #2C1810;
  background: #FDFAF9;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
  box-sizing: border-box;
}
.st-auth-field input:focus {
  border-color: #534AB7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}
.st-auth-field input[aria-invalid="true"] {
  border-color: #C0392B;
}
.st-auth-field-hint {
  font-size: .72rem;
  color: #7A5C65;
}

/* Password wrapper */
.st-auth-pw-wrap {
  position: relative;
}
.st-auth-pw-wrap input { padding-right: 44px; width: 100%; box-sizing: border-box; }
.st-auth-pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #B0737F;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.st-auth-pw-toggle:hover { color: #993556; }

/* Password match error */
.st-auth-pw-match-err {
  font-size: .76rem;
  color: #C0392B;
  display: block;
}
.st-auth-pw-match-err[hidden] { display: none; }

/* Forgot link */
.st-auth-forgot {
  text-align: right;
  margin-top: -6px;
}
.st-auth-forgot a {
  font-size: .76rem;
  color: #7A5C65;
  text-decoration: underline;
}
.st-auth-forgot a:hover { color: #993556; }

/* Auto-pw note */
.st-auth-autopw-note {
  font-size: .78rem;
  color: #7A5C65;
  background: #FDF6F0;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0;
}

/* Submit */
.st-auth-submit {
  width: 100%;
  background: #993556;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
  margin-top: 4px;
}
.st-auth-submit:hover { background: #7A2840; }
.st-auth-submit:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Switch row */
.st-auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: .82rem;
  color: #7A5C65;
  border-top: 1px solid #F0E6EA;
  padding-top: 16px;
}
.st-auth-switch-btn {
  background: none;
  border: none;
  color: #993556;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.st-auth-switch-btn:hover { color: #7A2840; }

/* Back button */
.st-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #7A5C65;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
  transition: color .15s ease;
}
.st-auth-back:hover { color: #993556; }
.st-auth-back:focus-visible { outline: 2px solid #534AB7; }

/* Mobile */
@media (max-width: 480px) {
  .st-auth-box { padding: 28px 18px 24px; border-radius: 14px; max-width: 100%; }
  .st-auth-row { grid-template-columns: 1fr; gap: 14px; }
  .st-auth-title { font-size: 1.35rem; }
}

/* ══════════════════════════════════════════════════════════
   WOOCOMMERCE NOTICES — TOAST POPUP SYSTEM
   ══════════════════════════════════════════════════════════ */

/* Container — fixed top-right */
#st-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

/* Individual toast */
.st-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 18px;
  box-shadow: 0 8px 32px rgba(44,24,16,.14), 0 2px 8px rgba(44,24,16,.08);
  border-left: 4px solid transparent;
  font-family: 'Poppins', sans-serif;
  font-size: .84rem;
  color: #2C1810;
  pointer-events: all;
  position: relative;
  overflow: hidden;
  animation: st-toast-in .28s cubic-bezier(.34,1.56,.64,1) both;
}
.st-toast--out {
  animation: st-toast-out .3s ease forwards;
}

@keyframes st-toast-in {
  from { opacity: 0; transform: translateX(60px) scale(.96); }
  to   { opacity: 1; transform: translateX(0)    scale(1); }
}
@keyframes st-toast-out {
  from { opacity: 1; transform: translateX(0); max-height: 120px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(60px); max-height: 0;   margin-bottom: -10px; padding: 0; }
}

/* Type colours */
.st-toast--success { border-left-color: #2E7D7D; }
.st-toast--error   { border-left-color: #C0392B; }
.st-toast--info    { border-left-color: #534AB7; }

/* Icon */
.st-toast__icon {
  flex: 0 0 auto;
  margin-top: 1px;
}
.st-toast--success .st-toast__icon { color: #2E7D7D; }
.st-toast--error   .st-toast__icon { color: #C0392B; }
.st-toast--info    .st-toast__icon { color: #534AB7; }

/* Message */
.st-toast__msg {
  flex: 1 1 auto;
  line-height: 1.45;
  font-size: .84rem;
  padding-right: 4px;
}

/* Close button */
.st-toast__close {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: #B0737F;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease;
  margin-top: -1px;
}
.st-toast__close:hover { color: #2C1810; }
.st-toast__close:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Progress bar */
.st-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #F0E6EA;
}
.st-toast__bar {
  height: 100%;
  width: 100%;
  transition: width linear;
  border-radius: 0 2px 2px 0;
}
.st-toast--success .st-toast__bar { background: #2E7D7D; }
.st-toast--error   .st-toast__bar { background: #C0392B; }
.st-toast--info    .st-toast__bar { background: #534AB7; }

/* Mobile: full width at bottom */
@media (max-width: 480px) {
  #st-toast-container {
    top: auto;
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  @keyframes st-toast-in {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes st-toast-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(20px); }
  }
}

/* Prevent body scroll when modal open */
body.st-modal-open { overflow: hidden; }

.st-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-delete-modal[hidden] { display: none; }

/* Overlay */
.st-delete-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, .45);
  backdrop-filter: blur(2px);
}

/* Box */
.st-delete-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 380px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(44,24,16,.18);
  font-family: 'Poppins', sans-serif;
  animation: st-modal-in .22s ease;
}
@keyframes st-modal-in {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close X */
.st-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #B0737F;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
  padding: 0;
}
.st-modal-close:hover { background: #FFF0F3; color: #C0392B; }
.st-modal-close:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Trash icon in modal */
.st-modal-icon {
  width: 64px;
  height: 64px;
  background: #FFF0F3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #C0392B;
}

/* Title */
.st-delete-modal__box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #2C1810;
  margin: 0 0 8px;
}

/* Message */
.st-modal-msg {
  font-size: .88rem;
  color: #6B4755;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Action buttons */
.st-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.st-modal-cancel {
  flex: 1;
  background: transparent !important;
  color: #6B4755 !important;
  border: 1.5px solid #D9C4C8 !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.st-modal-cancel:hover {
  border-color: #993556 !important;
  color: #993556 !important;
}
.st-modal-confirm {
  flex: 1;
  background: #C0392B !important;
  color: #fff !important;
  border: 1.5px solid #C0392B !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .18s ease;
}
.st-modal-confirm:hover { background: #922b21 !important; border-color: #922b21 !important; }
.st-modal-cancel:focus-visible,
.st-modal-confirm:focus-visible { outline: 2px solid #534AB7; outline-offset: 2px; }

/* Mobile */
@media (max-width: 600px) {
  .st-cart-item { padding: 14px 14px; gap: 12px; }
  .st-ci-image { flex: 0 0 72px; }
  .st-ci-image img { width: 72px; height: 90px; }
  .st-ci-prices { flex-direction: column; align-items: flex-end; gap: 2px; }
  .st-delete-modal__box { padding: 28px 20px 22px; }
  .st-modal-actions { flex-direction: column; }
}

/* ── Coupon in right column (injected via hook) ── */
.st-cart-coupon-wrap {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #F0E6EA;
}
.st-cart-coupon-wrap .st-cart-coupon-label {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #6B4755;
  margin: 0 0 8px;
}
.st-cart-coupon-row {
  display: flex;
  gap: 8px;
}
.st-cart-coupon-row input[type="text"] {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  border: 1.5px solid #F0E6EA;
  border-radius: 6px;
  padding: 8px 12px;
  outline: none;
  min-width: 0;
}
.st-cart-coupon-row input[type="text"]:focus {
  border-color: #534AB7;
  box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}
.st-cart-coupon-row .button {
  background: #993556;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease;
}
.st-cart-coupon-row .button:hover { background: #7A2840; }

/* ── Cart totals card (right column) ── */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cross-sells {
  border-radius: 10px;
  border-color: #F0E6EA;
}

.woocommerce-cart .cart_totals {
  background: #fff;
  border: 1.5px solid #F0E6EA;
  border-radius: 10px;
  padding: 24px;
  box-sizing: border-box;
}
.woocommerce-cart .cart_totals h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2C1810;
  margin: 0 0 16px;
}
.woocommerce-cart .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 9px 0;
  border-bottom: 1px solid #F0E6EA;
  color: #2C1810;
  text-align: left;
  vertical-align: top;
}
.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td {
  font-weight: 700;
  font-size: 1rem;
  border-bottom: none;
  padding-top: 14px;
  color: #993556;
}
/* Proceed to checkout */
.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 16px;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  background: #993556;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .2s ease;
  box-sizing: border-box;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: #7A2840; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible {
  outline: 3px solid #534AB7;
  outline-offset: 3px;
}

/* ============================================================
   MY ACCOUNT PAGE — Day 7
   ============================================================ */

/* Astra layout override */
.woocommerce-account .site-content .ast-container { max-width: 1200px; padding: 0 24px; }
.woocommerce-account #primary { padding: 40px 0 60px; }

/* Two-column wrapper */
.st-myaccount-wrap { display: flex; align-items: flex-start; gap: 0; }

/* ── SIDEBAR ── */
.st-account-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #F0E6EA;
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 100px;
  margin-right: 28px;
}

.st-account-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, #A0264B 0%, #7B1D39 100%);
}

.st-account-avatar .st-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.st-account-user-name {
  font-family: var(--st-font-body);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
}

.st-account-user-email {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  word-break: break-all;
}

.st-account-nav-list { list-style: none; margin: 0; padding: 8px 0; }
.st-account-nav-list li { margin: 0; }

.st-account-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 20px;
  font-family: var(--st-font-body);
  font-size: 13.5px;
  color: #5A3A3A;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.st-account-nav-link:hover {
  background: #FDF6F0;
  color: var(--st-magenta);
  text-decoration: none;
}

.woocommerce-MyAccount-navigation li.is-active .st-account-nav-link {
  background: #FDF6F0;
  color: var(--st-magenta);
  border-left-color: var(--st-magenta);
  font-weight: 600;
}

.woocommerce-MyAccount-navigation li.is-active .st-nav-icon { color: var(--st-magenta); }

.st-nav-icon { color: #9E8A80; flex-shrink: 0; display: flex; align-items: center; transition: color 0.15s; }
.st-nav-label { flex: 1; }
.st-nav-chevron { color: #C4A8A8; opacity: 0; transition: opacity 0.15s; }
.st-account-nav-link:hover .st-nav-chevron { opacity: 1; }

.st-nav-logout { border-top: 1px solid #F0E6EA; margin-top: 6px; padding-top: 6px; }
.st-nav-link-logout { color: #C0392B; }
.st-nav-link-logout .st-nav-icon { color: #C0392B; }
.st-nav-link-logout:hover { background: #fdecea; color: #922b21; }

.st-account-sidebar-help { border-top: 1px solid #F0E6EA; padding: 14px 20px; }
.st-account-help-link { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #25D366; text-decoration: none; font-weight: 500; }
.st-account-help-link:hover { opacity: 0.8; text-decoration: none; }

/* ── MAIN CONTENT ── */
.st-myaccount-main { flex: 1; min-width: 0; }

.st-myaccount-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F0E6EA;
}

.st-myaccount-header-icon { color: var(--st-magenta); display: flex; }

.st-myaccount-title {
  font-family: var(--st-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--st-dark);
  margin: 0;
}

.st-myaccount-content {
  background: #fff;
  border: 1px solid #F0E6EA;
  border-radius: 14px;
  padding: 28px 32px;
}

/* ── DASHBOARD ── */
.st-dashboard-greeting { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.st-dashboard-name { font-family: var(--st-font-heading); font-size: 1.4rem; font-weight: 700; color: var(--st-dark); margin: 0 0 4px; }
.st-dashboard-sub { font-size: 13.5px; color: #8E7070; margin: 0; }

.st-dashboard-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--st-magenta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.st-dashboard-shop-btn:hover { background: #8B1E40; text-decoration: none; color: #fff; }

.st-dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }

.st-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--st-cream);
  border: 1px solid #F0E6EA;
  border-radius: 12px;
}

.st-stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.st-stat-icon--orders   { background: #FDECEA; color: #C0392B; }
.st-stat-icon--delivered { background: #E8F8F0; color: #1a7a3c; }
.st-stat-icon--active   { background: #FEF9E7; color: #B7770D; }

.st-stat-body { display: flex; flex-direction: column; }
.st-stat-value { font-family: var(--st-font-heading); font-size: 1.5rem; font-weight: 700; color: var(--st-dark); line-height: 1; margin-bottom: 3px; }
.st-stat-label { font-size: 12px; color: #9E8A80; font-weight: 500; }

.st-dashboard-section-h { font-family: var(--st-font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #9E8A80; margin: 0 0 14px; }
.st-dashboard-quick { margin-bottom: 32px; }
.st-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.st-quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid #F0E6EA;
  border-radius: 12px;
  text-decoration: none;
  color: #5A3A3A;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}
.st-quick-card:hover { border-color: var(--st-magenta); background: #FDF6F0; box-shadow: 0 4px 12px rgba(160,38,75,0.08); text-decoration: none; color: var(--st-magenta); }
.st-quick-icon { color: var(--st-magenta); display: flex; }
.st-quick-label { font-size: 12.5px; font-weight: 600; color: inherit; }
.st-quick-arrow { font-size: 12px; color: #C4A8A8; }

.st-dashboard-recent { margin-top: 8px; }
.st-dashboard-recent-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.st-dashboard-see-all { font-size: 13px; color: var(--st-magenta); text-decoration: none; font-weight: 500; }
.st-dashboard-see-all:hover { text-decoration: underline; }

.st-recent-orders { display: flex; flex-direction: column; gap: 10px; }

.st-recent-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid #F0E6EA;
  border-radius: 10px;
  background: var(--st-cream);
  flex-wrap: wrap;
  gap: 10px;
}

.st-ro-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st-ro-num { font-weight: 700; font-size: 14px; color: var(--st-magenta); text-decoration: none; }
.st-ro-num:hover { text-decoration: underline; }
.st-ro-date, .st-ro-items { font-size: 12.5px; color: #9E8A80; }
.st-ro-right { display: flex; align-items: center; gap: 12px; }
.st-ro-total { font-weight: 700; font-size: 14px; color: var(--st-dark); }
.st-ro-view { font-size: 12px; color: var(--st-magenta); text-decoration: none; font-weight: 600; padding: 4px 12px; border: 1px solid var(--st-magenta); border-radius: 6px; transition: background 0.15s, color 0.15s; }
.st-ro-view:hover { background: var(--st-magenta); color: #fff; text-decoration: none; }

.st-dashboard-empty,
.st-account-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}
.st-dashboard-empty h3, .st-account-empty-state h3 { font-family: var(--st-font-heading); font-size: 1.3rem; color: var(--st-dark); margin: 0; }
.st-dashboard-empty p, .st-account-empty-state p { font-size: 14px; color: #9E8A80; margin: 0; }
.st-empty-shop-btn, .st-aes-btn { display: inline-block; background: var(--st-magenta); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 24px; border-radius: 8px; text-decoration: none; margin-top: 6px; transition: background 0.2s; }
.st-empty-shop-btn:hover, .st-aes-btn:hover { background: #8B1E40; text-decoration: none; color: #fff; }

/* ── ORDER STATUS BADGES ── */
.st-order-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; white-space: nowrap; }
.st-order-badge--processing  { background: #FEF9E7; color: #B7770D; border: 1px solid #F7DC6F; }
.st-order-badge--completed   { background: #E8F8F0; color: #1a7a3c; border: 1px solid #A9DFBF; }
.st-order-badge--cancelled   { background: #FDECEA; color: #C0392B; border: 1px solid #F1948A; }
.st-order-badge--refunded    { background: #EBF5FB; color: #1A5276; border: 1px solid #85C1E9; }
.st-order-badge--on-hold     { background: #F4ECF7; color: #7D3C98; border: 1px solid #C39BD3; }
.st-order-badge--wc-shipped,
.st-order-badge--shipped     { background: #E8F8F5; color: #1A8F76; border: 1px solid #76D7C4; }
.st-order-badge--pending     { background: #F2F3F4; color: #566573; border: 1px solid #BFC9CA; }
.st-order-badge--failed      { background: #FDECEA; color: #C0392B; border: 1px solid #F1948A; }

/* ── ORDERS LIST ── */
.st-orders-list { display: flex; flex-direction: column; gap: 14px; }

.st-order-card {
  border: 1px solid #F0E6EA;
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.st-order-card:hover { box-shadow: 0 4px 16px rgba(160,38,75,0.07); }

.st-oc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.st-oc-num-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-oc-num { font-weight: 700; font-size: 15px; color: var(--st-magenta); text-decoration: none; }
.st-oc-num:hover { text-decoration: underline; }
.st-oc-date { font-size: 12.5px; color: #9E8A80; }

.st-oc-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0E6EA;
  flex-wrap: wrap;
  gap: 10px;
}

.st-oc-items-thumb { display: flex; align-items: center; gap: 6px; }
.st-oc-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; border: 1px solid #F0E6EA; flex-shrink: 0; }
.st-oc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-oc-thumb-more { width: 44px; height: 44px; border-radius: 8px; background: #F0E6EA; color: #9E8A80; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.st-oc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.st-oc-item-count { font-size: 12px; color: #9E8A80; }
.st-oc-total { font-size: 16px; font-weight: 700; color: var(--st-dark); }
.st-oc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.st-oc-action-btn { font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 7px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.st-oc-action--view { background: var(--st-magenta); color: #fff; }
.st-oc-action--view:hover { background: #8B1E40; color: #fff; text-decoration: none; }
.st-oc-action--pay { background: #1a7a3c; color: #fff; }
.st-oc-action--pay:hover { background: #145c2d; color: #fff; text-decoration: none; }
.st-oc-action--cancel { background: #FDECEA; color: #C0392B; border: 1px solid #F1948A; }
.st-oc-action--cancel:hover { background: #C0392B; color: #fff; text-decoration: none; }

.st-orders-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.st-page-btn { font-size: 13px; font-weight: 600; color: var(--st-magenta); text-decoration: none; padding: 8px 18px; border: 1px solid var(--st-magenta); border-radius: 8px; transition: background 0.15s, color 0.15s; }
.st-page-btn:hover { background: var(--st-magenta); color: #fff; text-decoration: none; }
.st-page-info { font-size: 13px; color: #9E8A80; }

/* ── ADDRESSES ── */
.st-address-intro { font-size: 13.5px; color: #9E8A80; margin: 0 0 20px; }
.st-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.st-address-card { border: 1px solid #F0E6EA; border-radius: 12px; overflow: hidden; }

.st-address-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--st-cream);
  border-bottom: 1px solid #F0E6EA;
}

.st-address-card-title { display: flex; align-items: center; gap: 9px; }
.st-address-card-title h3 { font-family: var(--st-font-body); font-size: 13px; font-weight: 700; color: var(--st-dark); margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.st-address-card-icon { color: var(--st-magenta); display: flex; }

.st-address-edit-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--st-magenta); text-decoration: none; padding: 5px 12px; border: 1px solid var(--st-magenta); border-radius: 6px; transition: background 0.15s, color 0.15s; }
.st-address-edit-btn:hover { background: var(--st-magenta); color: #fff; text-decoration: none; }

.st-address-card-body { padding: 18px; }
.st-address-text { font-style: normal; font-size: 14px; line-height: 1.8; color: #5A3A3A; }

.st-address-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; text-align: center; color: #C4A8A8; }
.st-address-empty p { font-size: 13px; color: #9E8A80; margin: 0; }
.st-address-add-link { font-size: 13px; font-weight: 600; color: var(--st-magenta); text-decoration: none; }
.st-address-add-link:hover { text-decoration: underline; }

/* ── ACCOUNT DETAILS FORM ── */
.woocommerce-EditAccountForm { max-width: 560px; }
.woocommerce-EditAccountForm .woocommerce-form-row { margin-bottom: 18px; }

.woocommerce-EditAccountForm label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9E8A80;
  margin-bottom: 6px;
}

.woocommerce-EditAccountForm .input-text {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #F0E6EA;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--st-font-body);
  color: var(--st-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.woocommerce-EditAccountForm .input-text:focus {
  outline: none;
  border-color: var(--st-magenta);
  box-shadow: 0 0 0 3px rgba(160,38,75,0.08);
}

.woocommerce-EditAccountForm fieldset { border: 1px solid #F0E6EA; border-radius: 10px; padding: 20px; margin: 24px 0 20px; }
.woocommerce-EditAccountForm fieldset legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #9E8A80; padding: 0 8px; }

.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.woocommerce-EditAccountForm .form-row-first { margin-right: 16px; }

.woocommerce-EditAccountForm .button { background: var(--st-magenta); color: #fff; font-family: var(--st-font-body); font-size: 14px; font-weight: 600; padding: 12px 28px; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; margin-top: 6px; }
.woocommerce-EditAccountForm .button:hover { background: #8B1E40; }

/* ── ADDRESS EDIT FORM ── */
.woocommerce-address-fields__field-wrapper .form-row { margin-bottom: 16px; }

.woocommerce-address-fields__field-wrapper label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9E8A80;
  margin-bottom: 6px;
}

.woocommerce-address-fields__field-wrapper .input-text,
.woocommerce-address-fields__field-wrapper select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #F0E6EA;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--st-font-body);
  color: var(--st-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.woocommerce-address-fields__field-wrapper .input-text:focus,
.woocommerce-address-fields__field-wrapper select:focus { outline: none; border-color: var(--st-magenta); box-shadow: 0 0 0 3px rgba(160,38,75,0.08); }

.woocommerce-address-fields .button { background: var(--st-magenta); color: #fff; font-family: var(--st-font-body); font-size: 14px; font-weight: 600; padding: 12px 28px; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; }
.woocommerce-address-fields .button:hover { background: #8B1E40; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .st-myaccount-wrap { flex-direction: column; }
  .st-account-sidebar { width: 100%; position: static; margin-right: 0; margin-bottom: 20px; }
  .st-account-nav-list { display: flex; padding: 6px 8px; gap: 4px; overflow-x: auto; }
  .st-account-nav-list li { flex-shrink: 0; }
  .st-account-nav-link { border-left: none; border-bottom: 2px solid transparent; border-radius: 8px; padding: 9px 14px; white-space: nowrap; font-size: 13px; }
  .woocommerce-MyAccount-navigation li.is-active .st-account-nav-link { border-left: none; border-bottom-color: var(--st-magenta); background: #FDF6F0; }
  .st-nav-chevron { display: none; }
  .st-account-sidebar-help { display: none; }
  .st-dashboard-stats { grid-template-columns: 1fr 1fr; }
  .st-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .st-address-grid { grid-template-columns: 1fr; }
  .st-myaccount-content { padding: 20px 18px; }
}

@media (max-width: 480px) {
  .st-dashboard-stats { grid-template-columns: 1fr; }
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last { display: block; width: 100%; margin-right: 0; }
  .st-oc-mid { flex-direction: column; align-items: flex-start; }
  .st-oc-meta { align-items: flex-start; }
}

/* ============================================================
   MY ACCOUNT — SPA PANEL SWITCHING
   ============================================================ */

/* Panel fade-in animation */
@keyframes stPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.st-panel { display: none; }
.st-panel.is-active {
  display: block;
  animation: stPanelIn 0.22s ease;
}

/* ── BUTTON-BASED SIDEBAR NAV ── */
.st-account-nav { padding: 8px 0; }

.st-account-nav-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  font-family: var(--st-font-body);
  font-size: 13.5px;
  color: #5A3A3A;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.st-account-nav-btn:hover {
  background: #FDF6F0;
  color: var(--st-magenta);
}

.st-account-nav-btn.is-active {
  background: #FDF6F0;
  color: var(--st-magenta);
  border-left-color: var(--st-magenta);
  font-weight: 600;
}

.st-account-nav-btn .st-nav-icon { color: #9E8A80; flex-shrink: 0; display: flex; align-items: center; transition: color 0.15s; }
.st-account-nav-btn.is-active .st-nav-icon,
.st-account-nav-btn:hover .st-nav-icon { color: var(--st-magenta); }

.st-account-nav-btn .st-nav-label { flex: 1; }

.st-account-nav-btn .st-nav-arrow {
  color: #C4A8A8;
  opacity: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  transition: opacity 0.15s;
}
.st-account-nav-btn:hover .st-nav-arrow,
.st-account-nav-btn.is-active .st-nav-arrow { opacity: 1; color: var(--st-magenta); }

/* ── AVATAR INITIALS ── */
.st-account-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--st-font-body);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

/* ── LOGOUT BUTTON ── */
.st-account-sidebar-footer {
  border-top: 1px solid #F0E6EA;
  padding: 12px 16px;
}

.st-account-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--st-font-body);
  font-size: 13px;
  font-weight: 500;
  color: #C0392B;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.st-account-logout-btn:hover { background: #FDECEA; text-decoration: none; color: #922b21; }

/* ── SUB-ENDPOINT CONTENT WRAP ── */
.st-myaccount-content-wrap {
  background: #fff;
  border: 1px solid #F0E6EA;
  border-radius: 14px;
  padding: 28px 32px;
}

/* ── DASHBOARD PANEL — inner padding ── */
#st-panel-dashboard .st-dashboard { background: #fff; border: 1px solid #F0E6EA; border-radius: 14px; padding: 28px 32px; }
#st-panel-orders, #st-panel-addresses, #st-panel-account {
  background: #fff;
  border: 1px solid #F0E6EA;
  border-radius: 14px;
  padding: 28px 32px;
}

/* ── RESPONSIVE — button nav collapses to horizontal tabs ── */
@media (max-width: 900px) {
  .st-account-nav {
    display: flex;
    flex-direction: row;
    padding: 6px 8px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .st-account-nav-btn {
    flex-direction: column;
    gap: 5px;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
    padding: 9px 14px;
    white-space: nowrap;
    font-size: 12px;
    flex-shrink: 0;
    width: auto;
    text-align: center;
    align-items: center;
  }
  .st-account-nav-btn.is-active {
    border-left: none;
    border-bottom-color: var(--st-magenta);
    background: #FDF6F0;
  }
  .st-account-nav-btn .st-nav-arrow { display: none; }
  .st-account-sidebar-footer { display: none; }
  .st-myaccount-content-wrap,
  #st-panel-orders, #st-panel-addresses, #st-panel-account { padding: 20px 18px; }
  #st-panel-dashboard .st-dashboard { padding: 20px 18px; }
}

@media (max-width: 480px) {
  .st-account-nav-btn .st-nav-icon { display: none; }
}

