/*
Theme Name: SOARSE Lab
Theme URI: https://soarselab.com
Author: SOARSE Peptide Sciences
Description: Custom WooCommerce theme for SOARSE Lab — dark navy peptide research storefront.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: soarse
*/

/* ── TOKENS ── */
:root {
  --navy:      #0b1119;
  --navy-mid:  #111820;
  --navy-lt:   #182030;
  --off-white: #f2f0ed;
  --card-bg:   #f5f3f0;
  --gold:      #c4922a;
  --font:      'Cantarell', sans-serif;
  --serif:     'Cormorant Garamond', serif;
  --border:    rgba(255,255,255,0.07);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--navy); color: #fff; font-family: var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
input, select, textarea, button { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
/* Kill WordPress body margin injected when admin bar is active */
html { margin-top: 0 !important; }
/* Prevent WP/theme adding space between page sections */
section, div { max-margin: 0; }
.nav + * { margin-top: 0; }
.admin-bar .nav { top: 32px; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 200; background: var(--navy); border-bottom: 1px solid var(--border); height: 58px; display: flex; align-items: center; }
.nav__inner { max-width: 1440px; margin: 0 auto; padding: 0 28px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.nav__brand img { height: 52px; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.nav__brand-text { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: 700; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-decoration: none; transition: color .15s; }
.nav__links a:hover, .nav__links a.current-menu-item, .nav__links a.current_page_item { color: #fff; }
.nav__mobile-account { display: none; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__login { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-decoration: none; transition: color .15s; }
.nav__login:hover { color: #fff; }
.btn-cart { font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); padding: 7px 18px; text-decoration: none; background: transparent; transition: border-color .15s; display: flex; align-items: center; gap: 6px; }
.btn-cart:hover { border-color: #fff; color: #fff; }
.cart-count { background: var(--gold); color: #fff; font-size: 9px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0 2px; line-height: 1; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; min-height: 720px; display: flex; align-items: center; justify-content: center; background: var(--navy-mid); }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0px, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px), radial-gradient(ellipse at 50% 0%, rgba(40,55,75,0.7) 0%, transparent 70%), radial-gradient(ellipse at 20% 80%, rgba(20,30,45,0.5) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(20,30,45,0.5) 0%, transparent 50%); z-index: 0; }
.hero__inner { max-width: 1440px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; min-height: 720px; }
.hero__center { text-align: center; flex-shrink: 0; padding: 0 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__title { font-family: var(--serif); font-size: 110px; font-weight: 300; letter-spacing: 0.16em; color: #fff; line-height: 1; margin-bottom: 12px; text-shadow: 0 2px 32px rgba(0,0,0,0.5); }
.hero__sub { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 400; }

/* ── PAGE HEADER (shop/contact/cart/login) ── */
.page-header { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 52px 28px 40px; max-width: 1440px; margin: 0 auto; }
.page-header__title { font-family: var(--serif); font-size: 52px; font-weight: 300; letter-spacing: 0.1em; color: #fff; margin-bottom: 8px; }
.page-header__sub { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── LIGHT SECTION WRAPPER ── */
.light-section { background: var(--off-white); }

/* ── PRODUCT GRID (shop + homepage) ── */
.products-section, .products { background: var(--off-white); }
.products__grid,
.woo-products-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(26,30,38,0.1); border-left: 1px solid rgba(26,30,38,0.1); }
.pcard { background: var(--card-bg); border-right: 1px solid rgba(26,30,38,0.1); border-bottom: 1px solid rgba(26,30,38,0.1); cursor: pointer; transition: background .2s; }
.pcard:hover { background: #eeece8; }
.pcard > a, .pcard a.pcard__img-link { text-decoration: none; display: block; }
.pcard__img { aspect-ratio: 1/1.05; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid rgba(26,30,38,0.1); background: #ece9e4; }
.pcard__img img { width: 80%; height: 80%; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 20px 20px 22px; }
.pcard__name { font-size: 14px; font-weight: 700; color: #1a1e26; letter-spacing: 0.01em; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__desc { font-size: 11px; color: #8a8a8a; margin-bottom: 12px; }
.pcard__price { font-size: 14px; font-weight: 700; color: #1a1e26; margin-bottom: 12px; }
.pcard__atc { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 1px solid #1a1e26; color: #1a1e26; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px; cursor: pointer; transition: background .2s, color .2s; }
.pcard__atc:hover { background: #1a1e26; color: #fff; }
.pcard__atc svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── PURCHASE OPTIONS (product page + cards) ── */
.purchase-opts { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.purchase-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(26,30,38,0.14); cursor: pointer; transition: border-color .15s, background .15s; }
.purchase-opt input[type="radio"] { display: none; }
.purchase-opt__dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(26,30,38,0.28); flex-shrink: 0; transition: border-color .15s, background .15s; }
.purchase-opt:has(input:checked) { border-color: rgba(26,30,38,0.5); background: rgba(26,30,38,0.04); }
.purchase-opt:has(input:checked) .purchase-opt__dot { border-color: #1a1e26; background: #1a1e26; box-shadow: inset 0 0 0 2px #f5f3f0; }
.purchase-opt__label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1a1e26; flex: 1; }
.purchase-opt__price { font-size: 11px; font-weight: 700; color: #1a1e26; }
.purchase-opt__save { font-size: 8px; font-weight: 700; color: #fff; background: rgba(26,30,38,0.55); padding: 2px 5px; }
.purchase-opt--wait .purchase-opt__save { background: var(--gold); }

/* ── FILTER BAR (shop) ── */
.filter-bar { max-width: 1440px; margin: 0 auto; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(26,30,38,0.1); }
.filter-bar__count { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,30,38,0.4); }
.filter-bar__sort { display: flex; align-items: center; gap: 8px; }
.filter-bar__sort label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,30,38,0.4); }
.filter-bar__sort select { background: transparent; border: 1px solid rgba(26,30,38,0.15); color: rgba(26,30,38,0.7); font-size: 10px; letter-spacing: 0.08em; padding: 5px 10px; outline: none; cursor: pointer; }

/* ── SINGLE PRODUCT PAGE ── */
.product-page { padding: 28px 0 72px; }
.product-page__inner { max-width: 1440px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.product-img-wrap { background: #ece9e4; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img-wrap img { width: 65%; height: 65%; object-fit: contain; transition: transform .4s; }
.product-img-wrap:hover img { transform: scale(1.03); }
.product-info { background: transparent; padding: 0; display: flex; flex-direction: column; }
.breadcrumb { padding: 18px 28px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); max-width: 1440px; margin: 0 auto; width: 100%; }
.breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.6); }
.breadcrumb span { margin: 0 6px; }
.product-title { font-family: var(--serif); font-size: 38px; font-weight: 300; letter-spacing: 0.04em; color: #fff; line-height: 1.2; margin-bottom: 10px; }
.product-price-display { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 28px; }
.product-opts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.product-opts { gap: 6px; margin-bottom: 20px; }
.product-opts .purchase-opt { border: 1px solid rgba(255,255,255,0.14); padding: 9px 12px; gap: 10px; }
.product-opts .purchase-opt input[type="radio"] { display: none; }
.product-opts .purchase-opt__dot { width: 13px; height: 13px; border: 1.5px solid rgba(255,255,255,0.3); }
.product-opts .purchase-opt__label { font-size: 9px; letter-spacing: 0.07em; color: rgba(255,255,255,0.7); }
.product-opts .purchase-opt__price { font-size: 11px; color: #fff; }
.product-opts .purchase-opt__save { background: rgba(255,255,255,0.2); color: #fff; }
.product-opts .purchase-opt--wait .purchase-opt__save { background: var(--gold); }
.product-opts .purchase-opt:has(input:checked) { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05); }
.product-opts .purchase-opt:has(input:checked) .purchase-opt__dot { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 2.5px var(--navy); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qty-label { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.qty-ctrl { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.2); }
.qty-btn { width: 32px; height: 32px; background: transparent; border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.qty-btn:hover { background: rgba(255,255,255,0.08); }
.qty-num { width: 36px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; border-left: 1px solid rgba(255,255,255,0.15); border-right: 1px solid rgba(255,255,255,0.15); height: 32px; display: flex; align-items: center; justify-content: center; }
.product-atc-btn { width: 100%; height: 52px; background: #fff; border: none; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; margin-bottom: 28px; }
.product-atc-btn:hover { background: var(--off-white); }
.product-atc-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── ACCORDIONS ── */
.accordions { border-top: 1px solid rgba(255,255,255,0.1); }
.acc-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.acc-item summary { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding: 16px 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: '+'; font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.3); transition: transform .2s; }
.acc-item[open] summary::after { content: '−'; }
.acc-item[open] summary { color: #fff; }
.acc-body { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; padding-bottom: 18px; }
.acc-body p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.acc-body ul { padding-left: 0; list-style: none; }
.acc-body li { padding-left: 12px; position: relative; margin-bottom: 5px; color: rgba(255,255,255,0.5); font-size: 12px; }
.acc-body li::before { content: '—'; position: absolute; left: 0; color: rgba(255,255,255,0.2); }

/* ── COMPLETE YOUR ROUTINE ── */
.routine { background: var(--off-white); padding: 52px 0; border-top: 1px solid #ddd; }
.routine__inner { max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.routine__title { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: 0.1em; color: #1a1e26; text-align: center; margin-bottom: 32px; }
.routine__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ddd; }
.routine__grid .pcard { border-right: 1px solid #ddd; }
.routine__grid .pcard:last-child { border-right: none; }
.routine__grid .pcard__body { padding: 12px 14px 14px; }
.routine__grid .pcard__name { font-size: 11px; }
.routine__grid .pcard__desc { font-size: 10px; margin-bottom: 8px; }
.routine__grid .pcard__price { font-size: 12px; }

/* ── EDITORIAL ── */
.editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.editorial__left { position: relative; overflow: hidden; background: #080e14; }
.editorial__left::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(30,42,58,0.8) 0%, transparent 60%), repeating-linear-gradient(118deg, transparent 0px, transparent 4px, rgba(255,255,255,0.018) 4px, rgba(255,255,255,0.018) 5px), linear-gradient(160deg, #0d1520 0%, #060c12 60%, #0a1018 100%); }
.editorial__right { position: relative; overflow: hidden; background: #1c1810; display: flex; align-items: center; justify-content: flex-end; padding: 40px; }
.editorial__right::before { content: ''; position: absolute; inset: 0; background: linear-gradient(175deg, #2a2218 0%, #1c1810 30%, #141008 70%, #0e0c06 100%), repeating-linear-gradient(88deg, transparent 0px, transparent 6px, rgba(180,140,60,0.04) 6px, rgba(180,140,60,0.04) 7px); }

/* ── CART PAGE ── */
.cart-wrap { max-width: 1440px; margin: 0 auto; padding: 48px 28px 80px; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cart-items-heading { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,30,38,0.38); margin-bottom: 4px; padding-bottom: 16px; border-bottom: 1px solid rgba(26,30,38,0.1); }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(26,30,38,0.1); }
.cart-item__img { width: 88px; height: 88px; background: #ece9e4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item__img img { width: 68%; height: 68%; object-fit: contain; }
.cart-item__name { font-size: 13px; font-weight: 700; color: #1a1e26; }
.type-badge { font-size: 8px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 8px; display: inline-block; margin-top: 6px; }
.type-badge--onetime  { background: rgba(26,30,38,0.1); color: rgba(26,30,38,0.7); }
.type-badge--subscribe { background: #1a1e26; color: #fff; }
.type-badge--wait     { background: var(--gold); color: #fff; }
.cart-item__unit { font-size: 11px; color: rgba(26,30,38,0.45); margin-top: 4px; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__line-total { font-family: var(--serif); font-size: 22px; font-weight: 300; color: #1a1e26; }
.cart-qty { display: flex; align-items: center; border: 1px solid rgba(26,30,38,0.2); }
.cart-qty-btn { width: 30px; height: 30px; background: transparent; border: none; color: #1a1e26; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.cart-qty-btn:hover { background: rgba(26,30,38,0.07); }
.cart-qty input[type="number"] { width: 34px; text-align: center; font-size: 11px; font-weight: 700; color: #1a1e26; border: none; border-left: 1px solid rgba(26,30,38,0.15); border-right: 1px solid rgba(26,30,38,0.15); height: 30px; -moz-appearance: textfield; background: transparent; }
.cart-qty input[type="number"]::-webkit-outer-spin-button,
.cart-qty input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-item__remove { font-size: 9px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(26,30,38,0.28); background: none; border: none; cursor: pointer; transition: color .15s; }
.cart-item__remove:hover { color: #1a1e26; }
.cart-empty { padding: 72px 0; text-align: center; }
.cart-empty__title { font-family: var(--serif); font-size: 36px; font-weight: 300; color: rgba(26,30,38,0.45); margin-bottom: 10px; }
.cart-empty__sub { font-size: 11px; color: rgba(26,30,38,0.35); margin-bottom: 28px; }
.cart-empty__link { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1a1e26; border-bottom: 1px solid rgba(26,30,38,0.3); padding-bottom: 2px; }
.cart-summary { background: #fff; padding: 28px; position: sticky; top: 80px; }
.cart-summary__title { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,30,38,0.38); margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: rgba(26,30,38,0.6); margin-bottom: 9px; }
.summary-item__price { font-weight: 700; color: #1a1e26; }
.summary-divider { height: 1px; background: rgba(26,30,38,0.1); margin: 16px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 11px; color: rgba(26,30,38,0.55); margin-bottom: 9px; }
.summary-row strong { color: #1a1e26; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.summary-total__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #1a1e26; }
.summary-total__price { font-family: var(--serif); font-size: 32px; font-weight: 300; color: #1a1e26; }
.btn-checkout { width: 100%; height: 52px; background: #1a1e26; border: none; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; margin-top: 22px; transition: background .15s; }
.btn-checkout:hover { background: #0b1119; }
.summary-note { font-size: 10px; color: rgba(26,30,38,0.28); text-align: center; margin-top: 12px; line-height: 1.6; }

/* ── CONTACT PAGE ── */
.contact-section { background: var(--off-white); }
.contact-wrap { max-width: 1440px; margin: 0 auto; padding: 60px 28px 80px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info__label { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(26,30,38,0.4); margin-bottom: 10px; }
.contact-info__value { font-size: 14px; color: rgba(26,30,38,0.75); line-height: 1.8; margin-bottom: 40px; }
.contact-info__value a { color: rgba(26,30,38,0.75); text-decoration: none; transition: color .15s; }
.contact-info__value a:hover { color: #1a1e26; }
.contact-divider { height: 1px; background: rgba(26,30,38,0.1); margin-bottom: 40px; }
.contact-info__note { font-size: 11px; color: rgba(26,30,38,0.38); line-height: 1.8; }
/* WPForms styling */
.contact-form-wrap .wpforms-container { margin: 0; }
.contact-form-wrap .wpforms-field-label { font-size: 9px !important; font-weight: 700 !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; color: rgba(26,30,38,0.45) !important; margin-bottom: 6px !important; }
.contact-form-wrap .wpforms-field input,
.contact-form-wrap .wpforms-field select,
.contact-form-wrap .wpforms-field textarea { background: #fff !important; border: 1px solid rgba(26,30,38,0.15) !important; color: #1a1e26 !important; font-family: var(--font) !important; font-size: 12px !important; padding: 11px 14px !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; transition: border-color .15s !important; }
.contact-form-wrap .wpforms-field input:focus,
.contact-form-wrap .wpforms-field textarea:focus { border-color: rgba(26,30,38,0.4) !important; }
.contact-form-wrap .wpforms-submit { height: 50px !important; background: #1a1e26 !important; border: none !important; color: #fff !important; font-family: var(--font) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 0.18em !important; text-transform: uppercase !important; padding: 0 32px !important; border-radius: 0 !important; cursor: pointer !important; transition: background .15s !important; }
.contact-form-wrap .wpforms-submit:hover { background: #0b1119 !important; }

/* ── LOGIN PAGE ── */
.login-section { background: var(--off-white); min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; padding: 60px 28px; }
.login-card { background: #fff; width: 100%; max-width: 440px; padding: 52px 48px; }
.login-title { font-family: var(--serif); font-size: 40px; font-weight: 300; letter-spacing: 0.08em; color: #1a1e26; margin-bottom: 5px; }
.login-sub { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(26,30,38,0.38); margin-bottom: 36px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form-links { display: flex; justify-content: space-between; align-items: center; margin-top: -4px; }
.login-forgot { font-size: 10px; color: rgba(26,30,38,0.4); letter-spacing: 0.06em; text-decoration: none; }
.login-forgot:hover { color: rgba(26,30,38,0.7); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,30,38,0.45); }
.form-field input { background: var(--card-bg); border: 1px solid rgba(26,30,38,0.15); color: #1a1e26; font-size: 12px; padding: 11px 14px; outline: none; transition: border-color .15s; width: 100%; border-radius: 0; }
.form-field input:focus { border-color: rgba(26,30,38,0.4); }
.btn-login { width: 100%; height: 50px; background: #1a1e26; border: none; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; margin-top: 6px; transition: background .15s; }
.btn-login:hover { background: #0b1119; }
.login-or { display: flex; align-items: center; gap: 12px; }
.login-or::before, .login-or::after { content: ''; flex: 1; height: 1px; background: rgba(26,30,38,0.1); }
.login-or span { font-size: 9px; color: rgba(26,30,38,0.3); letter-spacing: 0.1em; text-transform: uppercase; }
.login-disclaimer { font-size: 10px; color: rgba(26,30,38,0.28); text-align: center; line-height: 1.7; margin-top: 28px; }
.price-original { text-decoration: line-through !important; color: rgba(26,30,38,0.32); margin-right: 5px; font-weight: 400; }
.soarse-disc-row th, .soarse-disc-row td { color: #3a6b4a; }
.summary-row--discount { color: #3a6b4a; }
.summary-row--discount strong { color: #3a6b4a; }
.coupon-code { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(58,107,74,0.1); padding: 2px 5px; margin-left: 4px; }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 60px 28px 80px; }
.legal-content { color: #1a1e26; }
.legal-content h2 { font-family: var(--serif); font-size: 26px; font-weight: 300; letter-spacing: 0.06em; color: #1a1e26; margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(26,30,38,0.1); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 13px; line-height: 1.85; color: rgba(26,30,38,0.72); margin-bottom: 14px; }
.legal-content ul, .legal-content ol { font-size: 13px; line-height: 1.85; color: rgba(26,30,38,0.72); margin: 0 0 14px 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: #1a1e26; font-weight: 600; }
.legal-updated { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26,30,38,0.32); margin-bottom: 44px; }
/* WooCommerce login form overrides */
.woocommerce-account .woocommerce { max-width: 100%; }
.soarse-login-form label { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,30,38,0.45); display: block; margin-bottom: 6px; }
.soarse-login-form .woocommerce-Input { background: var(--card-bg) !important; border: 1px solid rgba(26,30,38,0.15) !important; border-radius: 0 !important; color: #1a1e26 !important; font-size: 12px !important; padding: 11px 14px !important; width: 100% !important; outline: none !important; box-shadow: none !important; }
.soarse-login-form .woocommerce-Input:focus { border-color: rgba(26,30,38,0.4) !important; }
.soarse-login-form .woocommerce-form-row { margin-bottom: 16px; }
.soarse-login-form .woocommerce-form-login__submit { width: 100%; height: 50px; background: #1a1e26 !important; border: none !important; color: #fff !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 0.18em !important; text-transform: uppercase !important; cursor: pointer !important; border-radius: 0 !important; transition: background .15s !important; }
.soarse-login-form .woocommerce-form-login__submit:hover { background: #0b1119 !important; }
.soarse-login-form .woocommerce-LostPassword { margin-top: 14px; text-align: center; }
.soarse-login-form .woocommerce-LostPassword a { font-size: 10px; color: rgba(26,30,38,0.4); letter-spacing: 0.06em; }
.login-register-link { margin-top: 28px; text-align: center; border-top: 1px solid rgba(26,30,38,0.08); padding-top: 24px; }
.login-register-link p { font-size: 11px; color: rgba(26,30,38,0.5); }
.login-register-link a { color: #1a1e26; font-weight: 700; letter-spacing: 0.04em; text-decoration: underline; }

/* ── FOOTER ── */
.footer { background: var(--navy); border-top: 1px solid var(--border); padding: 52px 0 32px; }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.8fr; gap: 48px; margin-bottom: 40px; }
.footer__join-title { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__field { width: 100%; height: 38px; padding: 0 12px; background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 11px; outline: none; margin-bottom: 8px; border-radius: 0; }
.footer__field::placeholder { color: rgba(255,255,255,0.3); }
.footer__field:focus { border-color: rgba(255,255,255,0.4); }
.footer__unlock { width: 100%; height: 38px; background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; margin-top: 4px; transition: border-color .15s, background .15s; }
.footer__unlock:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer__col-links { display: flex; flex-direction: column; gap: 9px; }
.footer__col-links a { font-size: 12px; color: rgba(255,255,255,0.38); text-decoration: none; transition: color .15s; }
.footer__col-links a:hover { color: rgba(255,255,255,0.8); }
.footer__ig { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin-top: 4px; cursor: pointer; transition: border-color .15s; }
.footer__ig:hover { border-color: rgba(255,255,255,0.5); }
.footer__ig svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); }
.footer__bottom { max-width: 1440px; margin: 0 auto; padding: 20px 28px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer__copy { font-size: 10px; color: rgba(255,255,255,0.18); }

/* ── WOOCOMMERCE OVERRIDES ── */
.woocommerce-notices-wrapper { max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.woocommerce-message, .woocommerce-info { background: var(--navy-mid); color: #fff; border-top-color: var(--gold); }
.woocommerce-message a, .woocommerce-info a { color: var(--gold); }
/* Hide default WC elements we replace */
.woocommerce div.product .woocommerce-product-gallery { display: none; }
.woocommerce .variations_form .variations { display: none; }
.single_add_to_cart_button { display: none !important; }
.woocommerce-variation-add-to-cart { display: none !important; }

/* ── CHECKOUT PAGE ── */
.checkout-wrap { max-width: 960px; margin: 0 auto; padding: 52px 28px 80px; }
.checkout-wrap .woocommerce { width: 100%; }
.woocommerce-checkout { background: var(--off-white); }
/* 2-col layout: billing left, order summary right */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1fr 360px; column-gap: 48px; row-gap: 0; align-items: start; }
/* Coupon spans full width */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon { grid-column: 1 / -1; }
/* Billing in col 1 */
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 2; width: 100%; float: none; }
/* Order heading + review both in col 2, stacked */
.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; align-self: start; margin-bottom: 0; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 3; align-self: start; background: #fff; padding: 28px; }
/* Col2-set internals */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
/* Headings */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading { font-family: var(--serif); font-size: 24px; font-weight: 300; letter-spacing: 0.08em; color: #1a1e26; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(26,30,38,0.1); }
/* Form rows */
.woocommerce-checkout .form-row { margin-bottom: 14px; }
.woocommerce-checkout .form-row label { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,30,38,0.45); display: block; margin-bottom: 6px; }
.woocommerce-checkout .woocommerce-input-wrapper { width: 100%; }
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea { width: 100%; background: #fff !important; border: 1px solid rgba(26,30,38,0.15) !important; border-radius: 0 !important; color: #1a1e26 !important; font-family: var(--font) !important; font-size: 13px !important; padding: 12px 14px !important; outline: none !important; box-shadow: none !important; }
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus { border-color: rgba(26,30,38,0.4) !important; }
/* Order summary table */
.woocommerce-checkout table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout table.shop_table th { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,30,38,0.38); padding: 0 0 12px; border-bottom: 1px solid rgba(26,30,38,0.1); text-align: left; }
.woocommerce-checkout table.shop_table td { padding: 12px 0; border-bottom: 1px solid rgba(26,30,38,0.07); font-size: 12px; color: #1a1e26; }
.woocommerce-checkout table.shop_table .order-total td,
.woocommerce-checkout table.shop_table .order-total th { font-size: 14px; font-weight: 700; padding-top: 16px; border-bottom: none; }
/* Payment */
.woocommerce-checkout .payment_methods { list-style: none; padding: 0; margin: 16px 0; }
.woocommerce-checkout .payment_methods li { padding: 12px 0; border-bottom: 1px solid rgba(26,30,38,0.07); font-size: 12px; }
.woocommerce-checkout .payment_methods label { font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: #1a1e26 !important; }
.woocommerce-checkout .payment_box { background: rgba(26,30,38,0.03); padding: 12px; font-size: 11px; color: rgba(26,30,38,0.6); line-height: 1.6; margin-top: 8px; }
/* Place order button */
.woocommerce-checkout #place_order { width: 100%; height: 52px; background: #1a1e26 !important; color: #fff !important; font-family: var(--font) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 0.18em !important; text-transform: uppercase !important; border-radius: 0 !important; border: none !important; cursor: pointer; transition: background .15s; margin-top: 8px; }
.woocommerce-checkout #place_order:hover { background: #0b1119 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 10px; color: rgba(26,30,38,0.4); margin-top: 12px; line-height: 1.7; }
/* Checkout mobile */
@media (max-width: 768px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout .col2-set { grid-column: 1; }
  .woocommerce-checkout #order_review_heading { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; padding: 20px; }
  .checkout-wrap { padding: 28px 18px 60px; }
}

/* ── HAMBURGER BUTTON ── */
.nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav__hamburger span { display: block; width: 20px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 1px; transition: transform .25s, opacity .25s; }
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TABLET (≤900px) ── */
@media (max-width: 900px) {
  /* Products: 2 columns */
  .products__grid, .woo-products-grid { grid-template-columns: repeat(2, 1fr); }
  /* Product page: stacked */
  .product-page__inner { grid-template-columns: 1fr; gap: 36px; }
  /* Editorial: stacked */
  .editorial { grid-template-columns: 1fr; }
  .editorial__left, .editorial__right { min-height: 340px; }
  /* Cart: stacked */
  .cart-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 60px; }
  /* Contact: stacked */
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 60px; }
  /* Footer: 2-col */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Routine: 2-col */
  .routine__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBILE NAV + LAYOUT (≤768px) ── */
@media (max-width: 768px) {
  /* Show hamburger, hide nav links */
  .nav__hamburger { display: flex; }
  .nav__links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 20px; gap: 0; z-index: 199; }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.75); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__mobile-account { display: block !important; border-top: 1px solid rgba(255,255,255,0.12) !important; margin-top: 4px; color: rgba(255,255,255,0.5) !important; }
  /* Keep right side compact */
  .nav__right { gap: 10px; }
  .nav__login { display: none; }
  /* Hero */
  .hero__title { font-size: 64px; }
  /* Page header */
  .page-header { padding: 36px 20px 28px; }
  .page-header__title { font-size: 38px; }
  /* Products */
  .products__grid, .woo-products-grid { grid-template-columns: repeat(2, 1fr); }
  /* Product page */
  .product-page__inner { padding: 0 20px; gap: 24px; }
  /* Cart */
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; padding: 16px 20px 0; }
  /* Login card */
  .login-card { padding: 36px 24px; }
}

/* ── SMALL MOBILE (≤540px) ── */
@media (max-width: 540px) {
  /* Products: single column */
  .products__grid, .woo-products-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  /* Routine: single column */
  .routine__grid { grid-template-columns: 1fr; }
  /* Hero */
  .hero__title { font-size: 48px; letter-spacing: 0.1em; }
  /* Nav right: tighter */
  .btn-cart { padding: 6px 12px; font-size: 9px; }
  /* Cart item: compact */
  .cart-item { grid-template-columns: 64px 1fr; gap: 12px; }
  .cart-item__line-total { font-size: 18px; }
  /* Footer: single column */
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── TINY (≤375px) ── */
@media (max-width: 375px) {
  .nav__brand-text { display: none; }
  .btn-cart { display: none; }
  .hero__title { font-size: 38px; }
}

/* ── Register: select field ─────────────────────────────────────────── */
.form-field select {
    background: var(--card-bg);
    border: 1px solid rgba(26,30,38,0.15);
    color: #1a1e26;
    font-size: 12px;
    font-family: var(--font);
    padding: 11px 14px;
    padding-right: 34px;
    outline: none;
    transition: border-color .15s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(26%2C30%2C38%2C0.35)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.form-field select:focus { border-color: rgba(26,30,38,0.4); }
.form-field select option { color: #1a1e26; }

/* ── Login/Register notice banners ──────────────────────────────────── */
.login-notice {
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 1.6;
}
.login-notice p { margin: 0 0 4px; }
.login-notice p:last-child { margin: 0; }
.login-notice--success {
    background: #f0faf2;
    border: 1px solid #a3d9a5;
    color: #1a4d22;
}
.login-notice--error {
    background: #fff5f5;
    border: 1px solid #f5aca6;
    color: #7a1f1f;
}
