/* =========================================================
   SEEBY SOUND — account.css
   Cart · Checkout · My Account
   Uses WooCommerce-compatible markup + class names so these
   map directly onto WooCommerce templates:
     cart.html       → woocommerce/cart/cart.php
     checkout.html   → woocommerce/checkout/form-checkout.php
     my-account.html → woocommerce/myaccount/*.php
   ========================================================= */

/* ---------- Shared shop page shell ---------- */
.shop-page{ padding-block:32px 64px; }
.shop-page__head{ margin-bottom:26px; }
.shop-page__head h1{ font-size:clamp(2rem,5vw,3rem); }
.shop-page__head p{ color:var(--muted); margin-top:6px; }

/* WooCommerce message (notices) */
.woocommerce-message,.woocommerce-info{
  display:flex; align-items:center; gap:12px;
  background:#fffaeb; border:1px solid #f5e3a8; border-left:4px solid var(--yellow);
  border-radius:8px; padding:14px 18px; font-size:.95rem; margin-bottom:22px;
}
.woocommerce-info{ background:#eef4ff; border-color:#c7dbff; border-left-color:#2a6fdb; }
.woocommerce-message svg,.woocommerce-info svg{ width:20px; height:20px; flex-shrink:0; color:var(--yellow-dark); }
.woocommerce-info svg{ color:#2a6fdb; }

/* =========================================================
   CART
   ========================================================= */
.cart-layout{ display:grid; grid-template-columns:1fr; gap:28px; align-items:start; }
@media (min-width:980px){ .cart-layout{ grid-template-columns:1fr 360px; gap:40px; } }

/* table (desktop) */
.shop_table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.shop_table thead th{
  text-align:left; padding:16px 18px; font-family:var(--ff-head); font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; font-size:.82rem; color:var(--muted);
  background:var(--bg-2); border-bottom:1px solid var(--line);
}
.shop_table thead th.product-quantity,.shop_table thead th.product-subtotal{ text-align:center; }
.shop_table tbody td{ padding:16px 18px; border-bottom:1px solid var(--line); vertical-align:middle; }
.shop_table tbody tr:last-child td{ border-bottom:0; }

.cart-item__product{ display:flex; align-items:center; gap:14px; min-width:0; }
.cart-item__thumb{ width:72px; height:72px; border-radius:9px; overflow:hidden; border:1px solid var(--line); flex-shrink:0; }
.cart-item__thumb .ph{ width:100%; height:100%; }
.cart-item__name{ font-weight:600; font-size:1rem; line-height:1.3; }
.cart-item__name a:hover{ color:var(--yellow-dark); }
.cart-item__meta{ font-size:.82rem; color:var(--muted); margin-top:3px; }
.product-price,.product-subtotal{ font-family:var(--ff-head); font-weight:700; font-size:1.05rem; }
.product-subtotal{ text-align:center; }
td.product-price{ color:var(--muted); }

.cart-qty{ display:flex; align-items:center; justify-content:center; border:1.5px solid var(--line-2); border-radius:8px; overflow:hidden; width:fit-content; margin-inline:auto; }
.cart-qty button{ width:38px; height:42px; font-size:1.2rem; color:var(--ink); }
.cart-qty button:hover{ background:var(--bg-2); }
.cart-qty input{ width:42px; height:42px; text-align:center; border:0; border-inline:1.5px solid var(--line-2); font-family:var(--ff-head); font-weight:700; -moz-appearance:textfield; }
.cart-qty input::-webkit-outer-spin-button,.cart-qty input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.product-remove{ text-align:center; }
.remove{
  width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:var(--bg-2); color:var(--muted); transition:.15s; font-size:1.1rem; line-height:1;
}
.remove:hover{ background:var(--sale); color:#fff; }

/* card layout fallback on mobile */
@media (max-width:720px){
  .shop_table thead{ display:none; }
  .shop_table,.shop_table tbody,.shop_table tr,.shop_table td{ display:block; width:100%; }
  .shop_table{ border:0; background:transparent; }
  .shop_table tbody tr{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:14px; padding:6px 4px; position:relative; }
  .shop_table tbody td{ border-bottom:1px solid var(--line); padding:11px 16px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
  .shop_table tbody td:last-child{ border-bottom:0; }
  .shop_table td::before{ content:attr(data-title); font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:.76rem; color:var(--muted); }
  .shop_table td.product-name::before{ display:none; }
  .cart-item__product{ width:100%; }
  .cart-qty{ margin-inline:0; }
  .product-subtotal{ text-align:right; }
  .product-remove{ position:absolute; top:10px; right:10px; }
  .product-remove::before{ display:none; }
}

/* cart actions row */
.cart-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:18px; }
.coupon{ display:flex; gap:10px; flex:1; min-width:240px; }
.coupon input{ flex:1; padding:12px 14px; border:1.5px solid var(--line-2); border-radius:8px; font-size:.95rem; }
.coupon input:focus{ outline:none; border-color:var(--yellow); }

/* cart totals (sidebar) */
.cart_totals{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; position:sticky; top:calc(var(--header-h) + 20px); }
.cart_totals h2{ font-size:1.4rem; margin-bottom:16px; }
.cart_totals table{ width:100%; border-collapse:collapse; }
.cart_totals th{ text-align:left; padding:12px 0; font-weight:600; color:var(--muted); font-size:.95rem; vertical-align:top; }
.cart_totals td{ text-align:right; padding:12px 0; font-family:var(--ff-head); font-weight:700; }
.cart_totals tr{ border-bottom:1px solid var(--line); }
.cart_totals .order-total th,.cart_totals .order-total td{ padding-top:16px; font-size:1.15rem; color:var(--ink); }
.cart_totals .order-total td{ font-size:1.5rem; }
.cart_totals tr.order-total{ border-bottom:0; }
.shipping-options{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.shipping-options label{ display:flex; align-items:center; gap:8px; font-weight:500; color:var(--ink); font-size:.9rem; cursor:pointer; }
.shipping-options input{ accent-color:var(--yellow); }
.cart_totals .checkout-button{ margin-top:18px; }
.cart-trust{ display:flex; align-items:center; justify-content:center; gap:7px; margin-top:14px; font-size:.82rem; color:var(--muted); }
.cart-trust svg{ width:15px; height:15px; color:var(--ok); }

/* empty cart */
.cart-empty{ text-align:center; padding:60px 20px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); }
.cart-empty svg{ width:64px; height:64px; color:var(--line-2); margin:0 auto 18px; }
.cart-empty h2{ font-size:1.8rem; text-transform:none; letter-spacing:0; }
.cart-empty p{ color:var(--muted); margin:8px 0 22px; }

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-layout{ display:grid; grid-template-columns:1fr; gap:28px; align-items:start; }
@media (min-width:980px){ .checkout-layout{ grid-template-columns:1fr 400px; gap:44px; } }

.checkout h3,.woocommerce-billing-fields h3,.checkout-section h3{ font-size:1.4rem; margin-bottom:18px; padding-bottom:12px; border-bottom:2px solid var(--line); text-transform:none; letter-spacing:0; }
.checkout-section{ margin-bottom:34px; }

.form-row{ margin-bottom:16px; }
.form-row-grid{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:560px){ .form-row-grid.cols-2{ grid-template-columns:1fr 1fr; } }
.checkout label{ display:block; font-weight:600; font-size:.88rem; margin-bottom:6px; }
.checkout label .required{ color:var(--sale); }
.checkout input,.checkout select,.checkout textarea{
  width:100%; padding:13px 14px; border:1.5px solid var(--line-2); border-radius:8px;
  font-size:.98rem; background:#fff; transition:.15s;
}
.checkout input:focus,.checkout select:focus,.checkout textarea:focus{ outline:none; border-color:var(--yellow); box-shadow:0 0 0 3px rgba(252,188,2,.15); }
.checkout select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c6c64' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; }
.checkout textarea{ resize:vertical; min-height:90px; }
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; margin-top:6px; }
.checkbox-row input{ width:18px; height:18px; accent-color:var(--yellow); margin-top:2px; flex-shrink:0; }
.checkbox-row label{ margin:0; font-weight:500; font-size:.92rem; }

/* order review */
.checkout-review{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; position:sticky; top:calc(var(--header-h) + 20px); }
.checkout-review h3{ border:0; padding:0; margin-bottom:18px; }
.review-line{ display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.review-line__thumb{ width:54px; height:54px; border-radius:8px; overflow:hidden; border:1px solid var(--line); flex-shrink:0; position:relative; }
.review-line__thumb .ph{ width:100%; height:100%; }
.review-line__qty{ position:absolute; top:-7px; right:-7px; width:22px; height:22px; background:var(--ink); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--ff-head); font-weight:700; font-size:.74rem; }
.review-line__name{ flex:1; min-width:0; font-weight:600; font-size:.92rem; line-height:1.3; }
.review-line__price{ font-family:var(--ff-head); font-weight:700; }
.review-totals{ margin-top:16px; }
.review-totals .row{ display:flex; justify-content:space-between; padding:9px 0; font-size:.95rem; color:var(--muted); }
.review-totals .row strong{ color:var(--ink); }
.review-totals .grand{ display:flex; justify-content:space-between; padding-top:14px; margin-top:6px; border-top:2px solid var(--line); }
.review-totals .grand span{ font-family:var(--ff-head); font-weight:700; font-size:1.05rem; }
.review-totals .grand .amt{ font-size:1.6rem; }

/* payment methods */
.payment-methods{ margin-top:8px; display:flex; flex-direction:column; gap:12px; }
.payment-method{ border:1.5px solid var(--line-2); border-radius:12px; overflow:hidden; transition:border-color .15s, box-shadow .15s, background .15s; background:#fff; }
.payment-method:hover{ border-color:var(--muted-2); }
.payment-method.is-open{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.payment-method__head{ display:flex; align-items:center; gap:12px; padding:15px 16px; cursor:pointer; font-weight:600; font-size:.96rem; }
/* custom radio */
.pm-radio{ position:relative; width:20px; height:20px; flex-shrink:0; }
.pm-radio input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.pm-radio::after{ content:""; position:absolute; inset:0; border:2px solid var(--line-2); border-radius:50%; transition:.15s; }
.payment-method.is-open .pm-radio::after{ border-color:var(--ink); border-width:6px; }
.pm-icon{ width:34px; height:34px; border-radius:8px; background:var(--bg-2); display:flex; align-items:center; justify-content:center; color:var(--ink); flex-shrink:0; }
.pm-icon svg{ width:20px; height:20px; }
.pm-icon--paypal{ color:#003087; background:#e8eefb; }
.payment-method.is-open .pm-icon{ background:#fffaeb; color:var(--yellow-dark); }
.payment-method.is-open .pm-icon--paypal{ background:#e8eefb; color:#003087; }
.pm-label{ flex:1; min-width:0; }
.pm-badges{ display:flex; align-items:center; gap:5px; }
.payment-method__body{ max-height:0; overflow:hidden; transition:max-height .28s ease, padding .28s ease; padding:0 16px; }
.payment-method.is-open .payment-method__body{ max-height:420px; padding:0 16px 18px; }
.pm-note{ font-size:.85rem; color:var(--muted); line-height:1.5; margin-bottom:14px; }
.payment-method:not(.is-open) .pm-note{ margin:0; }

/* brand badges */
.pay-badge--visa{ color:#1434cb; border-color:#1434cb33; font-style:italic; letter-spacing:.02em; }
.pay-badge--amex{ color:#1f72cd; border-color:#1f72cd33; }
.pay-badge--paypal{ color:#003087; border-color:#00308733; }
.pay-badge--apple{ color:#0a0a0a; border-color:var(--line-2); }
.pay-badge--apple::before{ content:""; width:11px; height:11px; margin-right:3px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 12.6c0-2 1.6-3 1.7-3-1-1.3-2.4-1.5-2.9-1.6-1.2-.1-2.4.7-3 .7-.6 0-1.6-.7-2.6-.7-1.3 0-2.6.8-3.2 2-1.4 2.4-.4 6 1 8 .6 1 1.4 2 2.4 2 .9 0 1.3-.6 2.4-.6s1.4.6 2.4.6 1.7-.9 2.3-1.9c.7-1.1 1-2.1 1-2.2 0 0-1.9-.7-1.9-3zM15.2 6.6c.5-.6.9-1.5.8-2.4-.8 0-1.7.5-2.3 1.2-.5.5-.9 1.4-.8 2.3.9 0 1.7-.5 2.3-1.1z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 12.6c0-2 1.6-3 1.7-3-1-1.3-2.4-1.5-2.9-1.6-1.2-.1-2.4.7-3 .7-.6 0-1.6-.7-2.6-.7-1.3 0-2.6.8-3.2 2-1.4 2.4-.4 6 1 8 .6 1 1.4 2 2.4 2 .9 0 1.3-.6 2.4-.6s1.4.6 2.4.6 1.7-.9 2.3-1.9c.7-1.1 1-2.1 1-2.2 0 0-1.9-.7-1.9-3zM15.2 6.6c.5-.6.9-1.5.8-2.4-.8 0-1.7.5-2.3 1.2-.5.5-.9 1.4-.8 2.3.9 0 1.7-.5 2.3-1.1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.pay-badge--mc{ gap:0; padding:0 7px; }
.pay-badge--mc .mc-a,.pay-badge--mc .mc-b{ width:14px; height:14px; border-radius:50%; display:inline-block; }
.pay-badge--mc .mc-a{ background:#eb001b; }
.pay-badge--mc .mc-b{ background:#f79e1b; margin-left:-6px; mix-blend-mode:multiply; }

/* card fields */
.card-fields{ display:flex; flex-direction:column; gap:14px; }
.card-number{ position:relative; }
.card-number input{ padding-right:46px; letter-spacing:.06em; }
.card-number__brand{ position:absolute; right:12px; top:50%; transform:translateY(-50%); width:24px; height:16px; color:var(--muted); pointer-events:none; display:flex; align-items:center; justify-content:center; }
.card-number__brand svg{ width:24px; height:16px; }
.card-number__brand[data-brand="visa"]{ color:#1434cb; font-style:italic; font-family:var(--ff-head); font-weight:800; font-size:.7rem; letter-spacing:0; }
.card-number__brand[data-brand="mc"]{ color:#eb001b; }
.card-number__brand[data-brand="amex"]{ color:#1f72cd; font-family:var(--ff-head); font-weight:800; font-size:.6rem; }
.place-order{ margin-top:20px; }
.checkout-secure{ display:flex; align-items:center; justify-content:center; gap:7px; margin-top:14px; font-size:.82rem; color:var(--muted); }
.checkout-secure svg{ width:15px; height:15px; color:var(--ok); }

/* checkout steps indicator */
.checkout-steps{ display:flex; align-items:center; gap:8px; margin-bottom:28px; flex-wrap:wrap; }
.checkout-step{ display:flex; align-items:center; gap:8px; font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.03em; font-size:.85rem; color:var(--muted-2); }
.checkout-step .num{ width:26px; height:26px; border-radius:50%; background:var(--bg-2); border:1.5px solid var(--line-2); display:flex; align-items:center; justify-content:center; font-size:.8rem; }
.checkout-step.is-active{ color:var(--ink); }
.checkout-step.is-active .num{ background:var(--yellow); border-color:var(--yellow); color:#0a0a0a; }
.checkout-step.is-done .num{ background:var(--ok); border-color:var(--ok); color:#fff; }
.checkout-step__sep{ flex:1; height:2px; background:var(--line); min-width:18px; max-width:54px; }

/* =========================================================
   MY ACCOUNT
   ========================================================= */
.account-layout{ display:grid; grid-template-columns:1fr; gap:28px; align-items:start; }
@media (min-width:900px){ .account-layout{ grid-template-columns:248px 1fr; gap:40px; } }

/* navigation */
.woocommerce-MyAccount-navigation{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:10px; position:sticky; top:calc(var(--header-h) + 20px); }
.woocommerce-MyAccount-navigation ul{ display:flex; flex-direction:column; gap:2px; }
.woocommerce-MyAccount-navigation a{
  display:flex; align-items:center; gap:12px; padding:13px 14px; border-radius:9px;
  font-family:var(--ff-head); font-weight:600; text-transform:uppercase; letter-spacing:.03em; font-size:.92rem; color:var(--ink); transition:.15s;
}
.woocommerce-MyAccount-navigation a svg{ width:19px; height:19px; color:var(--muted); }
.woocommerce-MyAccount-navigation a:hover{ background:var(--bg-2); }
.woocommerce-MyAccount-navigation li.is-active a{ background:var(--ink); color:#fff; }
.woocommerce-MyAccount-navigation li.is-active a svg{ color:var(--yellow); }
@media (max-width:899px){
  .woocommerce-MyAccount-navigation{ position:static; }
  .woocommerce-MyAccount-navigation ul{ flex-direction:row; overflow-x:auto; scrollbar-width:none; }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{ display:none; }
  .woocommerce-MyAccount-navigation a{ white-space:nowrap; }
  .woocommerce-MyAccount-navigation a span{ display:none; }
  .woocommerce-MyAccount-navigation a svg{ width:18px; height:18px; }
  .woocommerce-MyAccount-navigation a::after{ content:attr(data-label); }
}

/* content panels */
.woocommerce-MyAccount-content{ min-width:0; }
.account-panel{ display:none; }
.account-panel.is-active{ display:block; }

.account-greeting{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px 26px; margin-bottom:24px; }
.account-greeting h1{ font-size:1.7rem; text-transform:none; letter-spacing:0; }
.account-greeting p{ color:var(--muted); margin-top:6px; }
.account-greeting strong{ color:var(--ink); }

/* dashboard cards */
.account-cards{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:560px){ .account-cards{ grid-template-columns:1fr 1fr; } }
.account-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; display:flex; gap:14px; align-items:flex-start; transition:.15s; }
.account-card:hover{ box-shadow:var(--shadow); transform:translateY(-2px); }
.account-card__icon{ width:44px; height:44px; border-radius:11px; background:#fffaeb; color:var(--yellow-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.account-card__icon svg{ width:22px; height:22px; }
.account-card h3{ font-size:1.1rem; text-transform:none; letter-spacing:0; }
.account-card p{ color:var(--muted); font-size:.88rem; margin:4px 0 10px; }
.account-card a{ font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:.82rem; color:var(--ink); display:inline-flex; gap:5px; align-items:center; }
.account-card a:hover{ color:var(--yellow-dark); }

.panel-title{ font-size:1.5rem; text-transform:none; letter-spacing:0; margin-bottom:18px; }

/* orders table */
.account-orders{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.account-orders th{ text-align:left; padding:14px 16px; font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:.78rem; color:var(--muted); background:var(--bg-2); border-bottom:1px solid var(--line); }
.account-orders td{ padding:14px 16px; border-bottom:1px solid var(--line); font-size:.92rem; vertical-align:middle; }
.account-orders tr:last-child td{ border-bottom:0; }
.account-orders .o-id{ font-family:var(--ff-head); font-weight:700; }
.order-status{ display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:20px; font-size:.76rem; font-weight:700; font-family:var(--ff-head); text-transform:uppercase; letter-spacing:.03em; }
.order-status::before{ content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.order-status--completed{ background:#e7f6ee; color:#1f8a5b; }
.order-status--processing{ background:#fff5e0; color:#b8860b; }
.order-status--shipped{ background:#eaf1ff; color:#2a6fdb; }
@media (max-width:720px){
  .account-orders thead{ display:none; }
  .account-orders,.account-orders tbody,.account-orders tr,.account-orders td{ display:block; width:100%; }
  .account-orders{ border:0; background:transparent; }
  .account-orders tr{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:12px; }
  .account-orders td{ display:flex; justify-content:space-between; gap:14px; padding:11px 16px; border-bottom:1px solid var(--line); }
  .account-orders td:last-child{ border-bottom:0; }
  .account-orders td::before{ content:attr(data-title); font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.03em; font-size:.74rem; color:var(--muted); }
}

/* addresses */
.address-grid{ display:grid; grid-template-columns:1fr; gap:18px; }
@media (min-width:620px){ .address-grid{ grid-template-columns:1fr 1fr; } }
.address-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.address-card h3{ font-size:1.05rem; text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px; display:flex; align-items:center; justify-content:space-between; }
.address-card address{ font-style:normal; color:var(--ink); line-height:1.7; font-size:.95rem; }
.address-card .edit-link{ font-size:.82rem; color:var(--muted); text-decoration:underline; }
.address-card .edit-link:hover{ color:var(--ink); }

/* account details form */
.account-form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; max-width:620px; }
.account-form .form-row{ margin-bottom:18px; }
.account-form label{ display:block; font-weight:600; font-size:.88rem; margin-bottom:6px; }
.account-form input{ width:100%; padding:13px 14px; border:1.5px solid var(--line-2); border-radius:8px; font-size:.98rem; }
.account-form input:focus{ outline:none; border-color:var(--yellow); box-shadow:0 0 0 3px rgba(252,188,2,.15); }
.account-form fieldset{ border:1px solid var(--line); border-radius:10px; padding:18px; margin-top:24px; }
.account-form legend{ padding:0 8px; font-family:var(--ff-head); font-weight:700; text-transform:uppercase; letter-spacing:.03em; font-size:.85rem; color:var(--muted); }

/* login (for logged-out state reference) */
.login-wrap{ max-width:440px; margin-inline:auto; }

/* =========================================================
   ORDER RECEIVED / THANK YOU
   WooCommerce: woocommerce-order-received
     → woocommerce/checkout/thankyou.php
   ========================================================= */
.order-received-hero{ background:var(--ink); color:#fff; }
.order-received-hero__inner{ padding-block:48px 40px; text-align:center; }
.order-received-hero .check{
  width:74px; height:74px; border-radius:50%; margin:0 auto 20px;
  background:rgba(31,157,87,.16); display:flex; align-items:center; justify-content:center;
  animation:orPop .4s cubic-bezier(.34,1.56,.64,1) both;
}
.order-received-hero .check svg{ width:38px; height:38px; color:#37d27f; }
@keyframes orPop{ from{ transform:scale(.4); opacity:0; } to{ transform:scale(1); opacity:1; } }
@media (prefers-reduced-motion:reduce){ .order-received-hero .check{ animation:none; } }
.order-received-hero h1{ font-size:clamp(1.9rem,5vw,2.8rem); text-transform:none; letter-spacing:0; }
.order-received-hero p{ color:#cfcfca; margin-top:10px; font-size:1.08rem; }
.order-received-hero p strong{ color:#fff; }

/* order summary bar (WooCommerce .woocommerce-order-overview) */
.order-overview{
  list-style:none; margin:26px 0 0; padding:0;
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden;
}
@media (min-width:680px){ .order-overview{ grid-template-columns:repeat(4,1fr); } }
.order-overview li{
  background:#fff; padding:18px 16px; text-align:center;
  font-family:var(--ff-head); font-weight:700; font-size:1.02rem; color:var(--ink);
}
.order-overview li span{
  display:block; font-family:var(--ff-body); font-weight:600; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); margin-bottom:5px;
}
.order-overview li.method{ text-transform:capitalize; }

/* details grid */
.order-grid{ display:grid; grid-template-columns:1fr; gap:24px; align-items:start; margin-top:8px; }
@media (min-width:920px){ .order-grid{ grid-template-columns:1.4fr 1fr; gap:40px; } }

.order-box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px 26px; }
.order-box h2{ font-size:1.3rem; text-transform:none; letter-spacing:0; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--line); }

/* order item lines */
.order-line{ display:flex; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); }
.order-line:last-of-type{ border-bottom:0; }
.order-line__thumb{ width:56px; height:56px; border-radius:9px; overflow:hidden; border:1px solid var(--line); flex-shrink:0; position:relative; }
.order-line__thumb .ph{ width:100%; height:100%; }
.order-line__qty{ position:absolute; top:-7px; right:-7px; width:22px; height:22px; background:var(--ink); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--ff-head); font-weight:700; font-size:.74rem; }
.order-line__name{ flex:1; min-width:0; font-weight:600; font-size:.95rem; line-height:1.3; }
.order-line__price{ font-family:var(--ff-head); font-weight:700; }
.order-totals{ margin-top:8px; padding-top:14px; border-top:2px solid var(--line); }
.order-totals .row{ display:flex; justify-content:space-between; padding:8px 0; font-size:.95rem; color:var(--muted); }
.order-totals .row strong{ color:var(--ink); }
.order-totals .grand{ display:flex; justify-content:space-between; align-items:baseline; padding-top:14px; margin-top:6px; border-top:2px solid var(--line); }
.order-totals .grand span:first-child{ font-family:var(--ff-head); font-weight:700; font-size:1.05rem; }
.order-totals .grand .amt{ font-family:var(--ff-head); font-weight:700; font-size:1.6rem; }

/* address / next-steps column */
.order-aside{ display:flex; flex-direction:column; gap:18px; }
.order-address address{ font-style:normal; line-height:1.7; color:var(--ink); font-size:.95rem; }
.order-steps{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:16px; }
.order-steps li{ display:flex; gap:13px; align-items:flex-start; }
.order-steps .si{ width:38px; height:38px; border-radius:10px; background:#fffaeb; color:var(--yellow-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.order-steps .si svg{ width:19px; height:19px; }
.order-steps h4{ font-size:1rem; text-transform:none; letter-spacing:0; }
.order-steps p{ font-size:.86rem; color:var(--muted); margin-top:2px; line-height:1.5; }
.order-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.order-help{ display:flex; align-items:center; gap:8px; font-size:.85rem; color:var(--muted); margin-top:18px; justify-content:center; }
.order-help a{ color:var(--yellow-dark); text-decoration:underline; }
