/*
Theme Name: ONVARS
Theme URI: https://onvars.com
Author: ONVARS
Author URI: https://onvars.com
Description: Etsy-inspired, single-artist handmade art store theme for ONVARS, built for WordPress + WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: Proprietary
License URI: https://onvars.com
Text Domain: onvars
*/

/* ==========================================================================
   ONVARS — Handmade Art Studio
   Etsy-inspired design system
   Designed for WordPress theme conversion (style.css is the required name)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #fdf9f2;
  --bg-soft: #f6efe3;
  --card: #ffffff;

  /* Text */
  --text: #222222;
  --text-muted: #5b5b5b;
  --text-faint: #8a8a8a;

  /* Brand accents (coral/orange + muted gold) */
  --accent: #f1641e;
  --accent-hover: #cf4f0d;
  --accent-deep: #8a2f0b;
  --accent-soft: #fce4d4;
  --gold: #b7893f;
  --gold-soft: #f5ecd7;
  --star: #f5b301;

  /* Status */
  --green: #2e8b57;
  --green-soft: #e1f1e7;
  --red: #d8442a;
  --red-soft: #fbe3de;
  --blue: #3a6ea5;
  --blue-soft: #e3ecf5;

  /* Lines & shadows */
  --border: #e8e2d8;
  --border-strong: #d8d0c3;
  --shadow-sm: 0 1px 2px rgba(34, 34, 34, 0.06);
  --shadow-md: 0 8px 20px rgba(34, 34, 34, 0.09);
  --shadow-lg: 0 20px 44px rgba(34, 34, 34, 0.14);

  /* Shape */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Layout & motion */
  --container: 1220px;
  --transition: 0.25s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  animation: pageFade 0.45s ease both;
}

@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

button { font-family: inherit; font-size: 1rem; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid rgba(241, 100, 30, 0.45); outline-offset: 2px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Buttons & chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 10px 22px rgba(241, 100, 30, 0.3); }

.btn-outline { background: var(--card); color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--text); color: var(--text); background: #fff; }

.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }

.btn-accent-soft { background: var(--accent-soft); color: var(--accent-deep); }
.btn-accent-soft:hover { background: #fbd9bf; color: var(--accent-deep); }

.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  border: none; background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.icon-btn:hover { background: var(--bg-soft); transform: scale(1.06); }
.icon-btn svg { width: 22px; height: 22px; }

.icon-badge {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
}
.badge-handmade { background: var(--accent-soft); color: var(--accent-deep); }
.badge-sale { background: var(--red); color: #fff; }
.badge-bestseller { background: var(--gold-soft); color: var(--gold); }
.badge-sold { background: rgba(34, 34, 34, 0.72); color: #fff; }
.badge-free { background: var(--green-soft); color: var(--green); }
.badge-new { background: var(--blue-soft); color: var(--blue); }

/* --------------------------------------------------------------------------
   4. Avatars & star ratings
   -------------------------------------------------------------------------- */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
  flex-shrink: 0; user-select: none;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.avatar-sm { width: 30px; height: 30px; font-size: 0.7rem; }
.av-teal   { background: #d7ece8; color: #155f58; }
.av-gold   { background: var(--gold-soft); color: #7a5a14; }
.av-indigo { background: #e0e3f3; color: #3b4491; }
.av-rose   { background: var(--red-soft); color: #8f2417; }
.av-green  { background: var(--green-soft); color: #1d5c3c; }

.stars { display: inline-flex; gap: 2px; color: var(--border-strong); }
.stars svg { width: 15px; height: 15px; }
.stars svg.filled { color: var(--star); }
.stars .filled svg { color: var(--star); }

/* --------------------------------------------------------------------------
   5. Sections & section headers
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.section-head-center { flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px;
  background: var(--gold);
}
.section-head-center .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; }
.section-sub { color: var(--text-muted); margin-top: 8px; max-width: 560px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 600; font-size: 0.92rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.promo-bar {
  background: var(--text); color: #eae6df;
  text-align: center; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 500;
}
.promo-bar strong { color: #fff; }
.promo-bar .accent { color: var(--accent); }

.nav-wrap {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253, 249, 242, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav-wrap.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 0;
  transition: padding var(--transition);
}
.nav-wrap.scrolled .nav-inner { padding: 10px 0; }

.logo {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); line-height: 1; white-space: nowrap;
}
.logo:hover { color: var(--text); }
.logo .accent { color: var(--accent); }

.search-form { position: relative; flex: 1; max-width: 520px; margin-inline: auto; }
.search-form input {
  width: 100%; padding: 12px 48px 12px 18px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill);
  background: #fff; color: var(--text); font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form input::placeholder { color: var(--text-faint); }
.search-form input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.search-form button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--accent-hover); }
.search-form button svg { width: 18px; height: 18px; }

.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.signin-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; margin-left: 6px;
  border-radius: var(--radius-pill);
  color: var(--text); font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition);
}
.signin-link:hover { background: var(--bg-soft); color: var(--text); }
.signin-link svg { width: 18px; height: 18px; color: var(--accent); }

.menu-toggle { display: none; }

/* Category links strip */
.nav-links-row { border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.5); }
.nav-links-row .links {
  display: flex; justify-content: center; gap: 4px;
  overflow-x: auto; padding: 6px 0; scrollbar-width: none;
}
.nav-links-row .links::-webkit-scrollbar { display: none; }
.nav-links-row .nav-link {
  padding: 8px 14px; border-radius: var(--radius-pill);
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500; white-space: nowrap;
}
.nav-links-row .nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-links-row .nav-link.active { color: var(--accent-deep); background: var(--accent-soft); font-weight: 700; }

/* Cart bump animation */
.cart-btn.bump svg { animation: cartBump 0.55s ease; }
@keyframes cartBump {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35) rotate(-8deg); }
  60%  { transform: scale(0.92) rotate(6deg); }
  100% { transform: scale(1); }
}

/* Notifications dropdown */
.notif-wrap { position: relative; }
.notif-dropdown {
  position: absolute; right: 0; top: calc(100% + 14px);
  width: 340px; max-width: 90vw;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}
.notif-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.notif-head h4 { font-size: 0.95rem; }
.notif-head button { border: none; background: none; color: var(--accent); font-size: 0.8rem; font-weight: 600; padding: 0; }
.notif-head button:hover { text-decoration: underline; }
.notif-item {
  display: flex; gap: 12px; padding: 13px 18px;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  transition: background var(--transition);
}
.notif-item:last-of-type { border-bottom: none; }
.notif-item:hover { background: var(--bg-soft); }
.notif-item.unread { background: var(--accent-soft); }
.notif-item.unread:hover { background: #fbdcc4; }
.notif-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.notif-text { flex: 1; font-size: 0.86rem; color: var(--text); }
.notif-text strong { font-weight: 600; }
.notif-time { display: block; color: var(--text-faint); font-size: 0.74rem; margin-top: 3px; }
.notif-avatar { margin-top: 2px; }
.notif-foot {
  padding: 12px 18px; text-align: center;
  border-top: 1px solid var(--border);
}
.notif-foot a { font-size: 0.85rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(241, 100, 30, 0.1), transparent 60%),
    radial-gradient(50% 50% at 5% 90%, rgba(183, 137, 63, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero-lead { color: var(--text-muted); font-size: 1.08rem; margin-top: 18px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--text-muted); font-size: 0.9rem; }
.hero-trust .avatar-stack { display: flex; }
.hero-trust .avatar-stack .avatar { margin-left: -10px; border: 2px solid var(--bg); }
.hero-trust .avatar-stack .avatar:first-child { margin-left: 0; }
.hero-trust strong { color: var(--text); }

.hero-art { position: relative; }
.hero-frame {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 14px 0;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.hero-art:hover .hero-frame { transform: rotate(0deg) scale(1.01); }
.hero-frame img { border-radius: 10px 10px 0 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-frame .frame-cap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 14px; font-size: 0.85rem; color: var(--text-muted);
}
.hero-frame .frame-cap strong { color: var(--text); display: block; }

.hero-float-card {
  position: absolute; z-index: 2; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-float-card small { display: block; color: var(--text-faint); font-size: 0.74rem; }
.hero-float-card strong { font-size: 0.9rem; }

.hero-rating-chip {
  position: absolute; z-index: 2; right: -18px; top: 40px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 12px 26px rgba(241, 100, 30, 0.4);
  display: flex; align-items: center; gap: 8px;
}

/* --------------------------------------------------------------------------
   8. Stats band
   -------------------------------------------------------------------------- */
.stats-band { background: var(--text); color: #d9d4ca; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 40px 0; text-align: center;
}
.stat-num {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800;
  color: var(--accent); line-height: 1; letter-spacing: -0.02em;
}
.stat-num .suffix { color: var(--gold); }
.stat-label { margin-top: 8px; font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   9. Categories
   -------------------------------------------------------------------------- */
.category-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; color: var(--text);
  padding: 18px 8px; border-radius: var(--radius-lg);
  transition: background var(--transition), transform var(--transition);
}
.category-item:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.cat-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--accent-deep);
  transition: background var(--transition), color var(--transition);
}
.category-item:hover .cat-icon { background: var(--accent); color: #fff; }
.cat-icon svg { width: 30px; height: 30px; }
.cat-label { font-size: 0.88rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
.woocommerce ul.products li.product-grid-item {
  margin: 0;
  list-style: none;
}

/* WooCommerce's default shop toolbar (result count + sorting dropdown) */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0 0 24px;
  font-family: inherit;
  color: var(--text-soft, #6b6259);
}
.woocommerce .woocommerce-ordering select {
  font-family: inherit;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border);
  background: var(--card, #fff);
  color: inherit;
}
.woocommerce nav.woocommerce-pagination {
  margin-top: 24px;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border);
  color: inherit; text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

.product-card {
  position: relative;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg-soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-card:hover .card-media img { transform: scale(1.07); }

.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }

.heart-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.94);
  color: var(--text); display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), color var(--transition), background var(--transition);
}
.heart-btn:hover { transform: scale(1.12); background: #fff; }
.heart-btn svg { width: 19px; height: 19px; }
.heart-btn.liked { color: var(--red); }
.heart-btn.liked svg { fill: currentColor; }

.quickview-btn {
  position: absolute; z-index: 2; left: 50%; bottom: 12px;
  transform: translate(-50%, 12px);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border: none; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96); color: var(--text);
  font-size: 0.84rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.quickview-btn svg { width: 16px; height: 16px; }
.product-card:hover .quickview-btn { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

.card-body { padding: 14px 16px 16px; }
.card-title {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
  transition: color var(--transition);
}
.product-card:hover .card-title { color: var(--accent); }
.card-seller { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.card-seller strong { font-weight: 600; color: var(--text-muted); }
.card-seller .handmade { color: var(--accent-deep); font-weight: 600; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.card-price { font-size: 1.08rem; font-weight: 800; }
.card-price small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--text-faint); }
.card-add {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--accent); color: #fff;
  display: grid; place-items: center;
  transition: background var(--transition), transform var(--transition);
}
.card-add:hover { background: var(--accent-hover); transform: scale(1.08); }
.card-add svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   11. Recently viewed / scroll row
   -------------------------------------------------------------------------- */
.scroll-wrap { position: relative; }
.scroll-row {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .product-card {
  min-width: 220px; max-width: 220px; flex: 0 0 220px;
  scroll-snap-align: start;
}
.scroll-arrows { display: flex; gap: 8px; }
.scroll-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: #fff; color: var(--text);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.scroll-arrow:hover { background: var(--text); border-color: var(--text); color: #fff; }
.scroll-arrow svg { width: 18px; height: 18px; }
.scroll-arrow[disabled] { opacity: 0.4; pointer-events: none; }

/* --------------------------------------------------------------------------
   12. Sellers spotlight
   -------------------------------------------------------------------------- */
.seller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.seller-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.seller-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.seller-top { display: flex; align-items: center; gap: 14px; }
.seller-name { font-weight: 700; font-size: 1.02rem; }
.seller-handle { color: var(--text-muted); font-size: 0.84rem; }
.seller-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.82rem; color: var(--text-muted); }
.seller-rating .stars svg { width: 13px; height: 13px; }
.seller-stats {
  display: flex; gap: 18px; margin: 18px 0;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.seller-stat strong { display: block; font-size: 1.02rem; }
.seller-stat span { font-size: 0.76rem; color: var(--text-faint); }
.seller-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.seller-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; cursor: pointer;
  transition: transform var(--transition);
}
.seller-thumbs img:hover { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   13. About strip
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.about-quote {
  position: absolute; left: -26px; bottom: 34px;
  max-width: 250px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-lg); padding: 20px 22px;
  font-size: 0.95rem; line-height: 1.55; font-weight: 600;
  box-shadow: 0 18px 40px rgba(241, 100, 30, 0.35);
}
.about-copy p { color: var(--text-muted); margin-top: 16px; max-width: 500px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.about-point strong { display: block; font-size: 0.94rem; }
.about-point span { font-size: 0.84rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-text { color: var(--text); font-size: 0.97rem; line-height: 1.7; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.t-name { font-weight: 700; font-size: 0.9rem; }
.t-loc { font-size: 0.78rem; color: var(--text-muted); }
.verified-chip {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: auto; font-size: 0.72rem; font-weight: 600;
  color: var(--green);
}
.verified-chip svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.accordion { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.acc {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition);
}
.acc[open] { box-shadow: var(--shadow-md); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 0.98rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--transition);
}
.acc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.acc-content { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band { padding: 0 0 72px; }
.cta-inner {
  background: linear-gradient(120deg, var(--accent), #f58c4a);
  color: #fff; text-align: center;
  border-radius: 24px; padding: 64px 32px;
  position: relative; overflow: hidden;
}
.cta-inner::before, .cta-inner::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-inner::before { width: 260px; height: 260px; top: -120px; left: -80px; }
.cta-inner::after { width: 320px; height: 320px; bottom: -160px; right: -100px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); position: relative; z-index: 1; }
.cta-inner p { opacity: 0.92; margin-top: 10px; position: relative; z-index: 1; }
.cta-inner .btn { margin-top: 26px; position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--bg-soft); color: var(--accent-hover); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--text); color: #b9b4ab; margin-top: 0; }
.footer-newsletter { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-newsletter-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  padding: 48px 0;
}
.footer-newsletter h3 { color: #fff; font-size: 1.5rem; }
.footer-newsletter p { margin-top: 8px; font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 13px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: #8d8880; }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.footer-cols {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  padding: 48px 0 40px;
}
.footer-col h4 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b9b4ab; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 14px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo .accent { color: var(--accent); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6e2da; display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px; font-size: 0.82rem; color: #8d8880;
}
.pay-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-chip {
  padding: 4px 10px; border-radius: 6px;
  background: #fff; color: var(--text);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   18. Page-level layout (used by internal pages)
   -------------------------------------------------------------------------- */
.page { padding: 48px 0 80px; }
.page-head { margin-bottom: 36px; }
.page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-sub { color: var(--text-muted); margin-top: 8px; max-width: 620px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-strong); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* Panel / cards for forms & listings */
.panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
}
.panel-title { font-size: 1.15rem; margin-bottom: 4px; }
.panel-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

.empty-state {
  text-align: center; padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state svg { width: 56px; height: 56px; color: var(--border-strong); margin: 0 auto 18px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { max-width: 360px; margin: 0 auto 22px; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; align-self: flex-end; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.76rem; color: var(--text-faint); }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  background: #fff; color: var(--text); font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder { color: var(--text-faint); }
.input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
textarea.input { resize: vertical; min-height: 110px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.check-row input { accent-color: var(--accent); width: 17px; height: 17px; }

/* Tabs */
.tabs {
  display: flex; gap: 4px; padding: 5px;
  background: var(--bg-soft); border-radius: var(--radius-pill);
  width: max-content; max-width: 100%;
}
.tab-btn {
  border: none; background: transparent; color: var(--text-muted);
  padding: 9px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.tab-btn.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: pageFade 0.3s ease; }

/* Social sign-in buttons */
.social-row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-auth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px; border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  background: #fff; color: var(--text); font-weight: 600; font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}
.social-auth-btn:hover { border-color: var(--text); background: var(--bg-soft); }
.social-auth-btn svg { width: 18px; height: 18px; }

/* Toggle switch rows */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row strong { font-size: 0.94rem; display: block; }
.toggle-row span { font-size: 0.82rem; color: var(--text-muted); }
.toggle {
  position: relative; width: 46px; height: 26px; flex-shrink: 0;
  -webkit-appearance: none; appearance: none;
  background: var(--border-strong); border-radius: 30px;
  transition: background var(--transition);
  cursor: pointer;
}
.toggle::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle:checked { background: var(--accent); }
.toggle:checked::before { transform: translateX(20px); }

/* --------------------------------------------------------------------------
   20. Quantity stepper
   -------------------------------------------------------------------------- */
.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.stepper button {
  width: 40px; height: 40px; border: none; background: transparent;
  color: var(--text); font-size: 1.05rem; font-weight: 600;
  display: grid; place-items: center;
  transition: background var(--transition);
}
.stepper button:hover { background: var(--bg-soft); }
.stepper .qty-num {
  min-width: 34px; text-align: center; font-weight: 700; font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   21. Product detail page
   -------------------------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: start; }

.product-gallery { position: sticky; top: 96px; }
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft);
  aspect-ratio: 4 / 5;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.gallery-main img.zoom { transform: scale(1.7); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.thumb-btn {
  border: 2px solid var(--border); border-radius: 10px; overflow: hidden;
  padding: 0; background: none; aspect-ratio: 1;
  transition: border-color var(--transition), transform var(--transition);
}
.thumb-btn:hover { transform: translateY(-2px); }
.thumb-btn.active { border-color: var(--accent); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.p-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.p-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
.p-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.p-rating .stars svg { width: 17px; height: 17px; }
.p-rating .avg { font-weight: 800; }
.p-rating .count { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.p-rating .sep { color: var(--border-strong); }

.p-price { margin-top: 18px; }
.p-price .amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.p-price .note { color: var(--text-faint); font-size: 0.82rem; }
.p-price .was { color: var(--text-faint); text-decoration: line-through; font-weight: 500; margin-right: 8px; }

.p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0; }
.p-meta div { padding: 12px 14px; background: var(--bg-soft); border-radius: var(--radius); }
.p-meta span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700; }
.p-meta strong { font-size: 0.9rem; font-weight: 600; }

.qty-add-row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.qty-add-row .btn-primary { flex: 1; min-width: 200px; }
.fav-btn {
  width: 52px; height: 52px; border-radius: var(--radius);
  border: 1.5px solid var(--border-strong); background: #fff; color: var(--text);
  display: grid; place-items: center;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.fav-btn:hover { border-color: var(--red); color: var(--red); }
.fav-btn.liked { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.fav-btn svg { width: 22px; height: 22px; }

.p-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.promise { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 600; color: var(--text-muted); }
.promise svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

.p-accordion { margin-top: 26px; }
.p-accordion .acc summary { padding: 16px 4px; font-size: 0.92rem; }
.p-accordion .acc { background: transparent; border: none; border-bottom: 1px solid var(--border); border-radius: 0; }
.p-accordion .acc-content { padding: 0 0 18px; }

/* --------------------------------------------------------------------------
   21a. Single product — styling for WooCommerce's own dynamic output
   (real price HTML, real add-to-cart form/quantity, real reviews) since
   WooCommerce's default stylesheet is disabled site-wide in functions.php.
   -------------------------------------------------------------------------- */
.p-price .woocommerce-Price-amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.p-price del .woocommerce-Price-amount { font-size: 1.05rem; font-weight: 500; color: var(--text-faint); text-decoration: line-through; margin-right: 8px; }
.p-price ins { text-decoration: none; }

.qty-add-row form.cart { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; width: 100%; }
.qty-add-row .quantity { display: inline-flex; }
.qty-add-row .quantity .qty {
  width: 78px; height: 52px; border-radius: var(--radius);
  border: 1.5px solid var(--border-strong); background: #fff;
  text-align: center; font-weight: 700; font-size: 1rem; color: var(--text);
  font-family: inherit;
}
.qty-add-row .single_add_to_cart_button {
  flex: 1; min-width: 200px; height: 52px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 12px; font-weight: 700; font-size: 1rem; cursor: pointer;
  font-family: inherit; transition: background var(--transition), box-shadow var(--transition);
}
.qty-add-row .single_add_to_cart_button:hover { background: var(--accent-hover); box-shadow: 0 10px 22px rgba(241, 100, 30, 0.3); }
.qty-add-row .single_add_to_cart_button.disabled { opacity: 0.55; cursor: not-allowed; }
.qty-add-row p.stock { width: 100%; margin: 4px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.qty-add-row p.stock.out-of-stock { color: var(--red); font-weight: 600; }

/* Real reviews (comments_template output) inside the accordion */
.acc-content .woocommerce-Reviews-title { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.acc-content ol.commentlist { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.acc-content ol.commentlist li { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.acc-content .comment-text p.meta { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 6px; }
.acc-content .star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; width: 5.4em; font-family: sans-serif; margin-bottom: 6px; }
.acc-content .star-rating::before { content: "\2605\2605\2605\2605\2605"; color: var(--border-strong); float: left; top: 0; left: 0; position: absolute; }
.acc-content .star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.acc-content .star-rating span::before { content: "\2605\2605\2605\2605\2605"; top: 0; position: absolute; left: 0; color: var(--gold); }
.acc-content #review_form_wrapper { margin-top: 20px; }
.acc-content #review_form .comment-form-rating select,
.acc-content #review_form .comment-form-comment textarea,
.acc-content #review_form .comment-form-author input,
.acc-content #review_form .comment-form-email input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: inherit; margin-top: 6px;
}
.acc-content #review_form p { margin: 0 0 14px; }
.acc-content #review_form .form-submit input {
  background: var(--accent); color: #fff; border: none; border-radius: 12px;
  padding: 12px 22px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.acc-content #review_form .form-submit input:hover { background: var(--accent-hover); }

/* Seller card on product page */
.seller-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  margin-top: 22px;
}
.seller-card .info { flex: 1; }
.seller-card .handle { color: var(--text-muted); font-size: 0.82rem; }
.seller-card .rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.seller-card .rating .stars svg { width: 13px; height: 13px; }
.seller-card .follow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.seller-card .follow:hover { color: var(--accent-hover); }
.seller-card .follow.following { color: var(--green); }

/* --------------------------------------------------------------------------
   22. Reviews
   -------------------------------------------------------------------------- */
.review-summary { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; margin-bottom: 34px; }
.review-score { text-align: center; }
.review-score .big { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.review-score .stars { margin-top: 8px; justify-content: center; }
.review-score .stars svg { width: 20px; height: 20px; }
.review-score .total { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--text-muted); }
.bar-track { height: 9px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--star); border-radius: 6px; }

.review-list { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-name { font-weight: 700; font-size: 0.92rem; }
.review-meta { color: var(--text-faint); font-size: 0.78rem; }
.review-title { font-weight: 700; margin-top: 12px; }
.review-body { color: var(--text-muted); margin-top: 6px; font-size: 0.94rem; }
.review-actions { display: flex; gap: 18px; margin-top: 14px; }
.review-actions button {
  border: none; background: none; color: var(--text-muted);
  font-size: 0.82rem; font-weight: 600; padding: 0;
}
.review-actions button:hover { color: var(--accent); }
.review-actions button.voted { color: var(--accent); }

.review-form .star-input { display: flex; gap: 6px; }
.star-input button {
  border: none; background: none; padding: 0; color: var(--border-strong);
  transition: transform var(--transition), color var(--transition);
}
.star-input button:hover, .star-input button.selected { color: var(--star); transform: scale(1.1); }
.star-input svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------------------
   23. Auth / account pages
   -------------------------------------------------------------------------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { text-align: center; }
.auth-card .tabs { margin: 0 auto 24px; }
.auth-card .form-grid { text-align: left; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-faint); font-size: 0.8rem; margin: 20px 0;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.profile-grid { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.profile-sidebar {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 96px;
}
.profile-user { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.profile-user strong { display: block; font-size: 0.98rem; }
.profile-user span { font-size: 0.8rem; color: var(--text-faint); }
.profile-menu { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.profile-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius);
  color: var(--text-muted); font-weight: 600; font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
}
.profile-menu a svg { width: 19px; height: 19px; }
.profile-menu a:hover { background: var(--bg-soft); color: var(--text); }
.profile-menu a.active { background: var(--accent-soft); color: var(--accent-deep); }
.profile-content { display: flex; flex-direction: column; gap: 24px; }

/* --------------------------------------------------------------------------
   24. Wishlist
   -------------------------------------------------------------------------- */
.wishlist-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.wishlist-count { color: var(--text-muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   25. Cart page
   -------------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-sm); }
.ci-thumb { width: 110px; height: 110px; object-fit: cover; border-radius: var(--radius); }
.ci-title { font-weight: 600; font-size: 0.98rem; display: block; }
.ci-title:hover { color: var(--accent); }
.ci-seller { color: var(--text-muted); font-size: 0.84rem; margin-top: 3px; }
.ci-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.ci-unit { color: var(--text-muted); font-size: 0.84rem; }
.ci-remove { border: none; background: none; color: var(--text-faint); font-size: 0.8rem; font-weight: 600; padding: 0; }
.ci-remove:hover { color: var(--red); }
.ci-price { font-weight: 800; font-size: 1.05rem; min-width: 80px; text-align: right; }
.cart-item.removing { animation: fadeOutItem 0.3s ease forwards; }
@keyframes fadeOutItem { to { opacity: 0; transform: scale(0.96); } }

.cart-summary { position: sticky; top: 96px; }
.summary-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 0.94rem; color: var(--text-muted); }
.sum-row.total {
  font-size: 1.2rem; font-weight: 800; color: var(--text);
  border-top: 1px solid var(--border); padding-top: 14px;
}
.sum-row .free { color: var(--green); font-weight: 700; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-faint); font-size: 0.82rem; margin-top: 14px; }
.secure-note svg { width: 16px; height: 16px; }
.continue-link { display: block; text-align: center; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }

/* Real WooCommerce cart quantity input + coupon field, restyled */
.stepper input.qty {
  width: 44px; height: 40px; border: none; text-align: center;
  font-weight: 700; font-size: 0.95rem; background: transparent; color: var(--text);
}
.stepper input.qty:focus { outline: none; }
.onvars-input {
  height: 44px; padding: 0 14px; border-radius: var(--radius, 10px);
  border: 1.5px solid var(--border-strong); font-family: inherit; font-size: 0.92rem;
  background: var(--card, #fff); color: inherit; min-width: 180px;
}

/* WooCommerce's built-in "Proceed to checkout" button (from woocommerce_proceed_to_checkout) */
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 15px 20px; border-radius: var(--radius-md, 12px);
  transition: background var(--transition);
}
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--accent-hover); }

/* Coupon / cart error & success notices from WooCommerce */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  list-style: none; margin: 0 0 20px; padding: 14px 18px;
  border-radius: var(--radius, 10px); background: var(--accent-soft);
  color: var(--accent-deep); font-size: 0.92rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.woocommerce-error { background: #fde3e0; color: #b3261e; }

/* --------------------------------------------------------------------------
   26. Checkout
   -------------------------------------------------------------------------- */
.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.step-item { display: flex; align-items: center; gap: 10px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--border); color: var(--text-faint);
  font-weight: 700; font-size: 0.9rem;
}
.step-item.active .step-num { background: var(--accent); color: #fff; }
.step-item.done .step-num { background: var(--green); color: #fff; }
.step-item .step-label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.step-item.active .step-label { color: var(--text); }
.step-connector { width: 36px; height: 2px; background: var(--border); }
.step-item.done ~ .step-connector { background: var(--border); }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 22px; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.95rem; }
.contact-info-item span { font-size: 0.86rem; color: var(--text-muted); }

.pay-options { display: flex; flex-direction: column; gap: 12px; }
.pay-option { position: relative; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option label {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-lg);
  background: #fff; cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.pay-option:hover label { border-color: var(--accent); }
.pay-option.selected label { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(241, 100, 30, 0.12); }
.radio-marker {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border-strong); position: relative;
  transition: border-color var(--transition);
}
.pay-option.selected .radio-marker { border-color: var(--accent); }
.pay-option.selected .radio-marker::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent);
}
.pay-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.pay-brand .mini-chip {
  padding: 3px 8px; border-radius: 5px; background: var(--bg-soft);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; color: var(--text);
}
.pay-note { color: var(--text-muted); font-size: 0.82rem; margin-left: auto; text-align: right; max-width: 220px; }

.order-summary .os-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-summary .os-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.order-summary .os-item strong { font-size: 0.9rem; display: block; line-height: 1.3; }
.order-summary .os-item span { font-size: 0.8rem; color: var(--text-muted); }
.order-summary .os-item .os-price { margin-left: auto; font-weight: 700; color: var(--text); }
.os-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.place-order { margin-top: 20px; }

/* --------------------------------------------------------------------------
   27. Orders history
   -------------------------------------------------------------------------- */
.orders-list { display: flex; flex-direction: column; gap: 22px; }
.order-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.order-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; border-bottom: 1px solid var(--border); background: var(--bg-soft);
}
.order-head .oid { font-weight: 800; font-size: 1rem; }
.order-head .odate { color: var(--text-muted); font-size: 0.84rem; }
.order-items { display: flex; flex-direction: column; padding: 6px 24px; }
.order-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.order-item:last-child { border-bottom: none; }
.order-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.order-item .oi-title { font-weight: 600; font-size: 0.94rem; }
.order-item .oi-meta { color: var(--text-muted); font-size: 0.8rem; }
.order-item .oi-price { margin-left: auto; font-weight: 700; font-size: 0.94rem; }
.order-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px; border-top: 1px solid var(--border);
}
.order-foot .total { font-weight: 800; font-size: 1.05rem; }
.order-actions { display: flex; gap: 10px; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 0.76rem; font-weight: 700;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-processing { background: var(--gold-soft); color: #8a6a1d; }
.status-shipped { background: var(--blue-soft); color: var(--blue); }
.status-delivered { background: var(--green-soft); color: var(--green); }
.status-cancelled { background: #efece6; color: var(--text-muted); }
.status-pending { background: var(--accent-soft); color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   28. Addresses & payment methods
   -------------------------------------------------------------------------- */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.address-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.address-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.address-card .name { font-weight: 700; font-size: 1rem; }
.address-card p { color: var(--text-muted); font-size: 0.9rem; }
.addr-actions { display: flex; gap: 14px; margin-top: auto; padding-top: 14px; }
.addr-actions button { border: none; background: none; font-size: 0.84rem; font-weight: 600; padding: 0; }
.addr-actions .edit { color: var(--accent); }
.addr-actions .edit:hover { color: var(--accent-hover); }
.addr-actions .remove { color: var(--text-faint); }
.addr-actions .remove:hover { color: var(--red); }

.add-address-card {
  background: #fff; border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg); padding: 22px;
  text-align: center; cursor: pointer;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 190px;
}
.add-address-card:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.add-address-card svg { width: 34px; height: 34px; }
.add-address-form { display: none; }
.add-address-form.open { display: block; animation: pageFade 0.3s ease; }
.add-address-form .form-grid { grid-template-columns: 1fr 1fr 1fr; }

.pay-methods-list { display: flex; flex-direction: column; gap: 16px; }
.saved-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: box-shadow var(--transition);
}
.saved-card:hover { box-shadow: var(--shadow-sm); }
.saved-card .cnum { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.saved-card .cexp { color: var(--text-muted); font-size: 0.84rem; }
.saved-card .card-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.saved-card .card-actions button { border: none; background: none; font-size: 0.84rem; font-weight: 600; padding: 0; }
.saved-card .card-actions .default { color: var(--green); cursor: default; }
.saved-card .card-actions .set-default { color: var(--text-faint); }
.saved-card .card-actions .set-default:hover { color: var(--accent); }
.saved-card .card-actions .remove { color: var(--text-faint); }
.saved-card .card-actions .remove:hover { color: var(--red); }
.saved-card.removing { animation: fadeOutItem 0.3s ease forwards; }

.add-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  border: 2px dashed var(--border-strong); border-radius: var(--radius-lg);
  background: transparent; color: var(--text-muted); font-weight: 700;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.add-card-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.add-card-btn svg { width: 22px; height: 22px; }
.add-card-form { display: none; }
.add-card-form.open { display: block; animation: pageFade 0.3s ease; }

/* --------------------------------------------------------------------------
   29. Quick view modal & toast
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(23, 21, 17, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 20px;
  width: min(780px, 100%); max-height: 90vh; overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: sticky; top: 14px; float: right; z-index: 5;
  width: 38px; height: 38px; margin: 14px 14px 0 0;
  border: none; border-radius: 50%;
  background: #fff; color: var(--text); box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--text); color: #fff; }
.modal-close svg { width: 18px; height: 18px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 60px 26px 26px; }
.modal-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 6px 0 0 26px; display: flex; flex-direction: column; }
.modal-info .qv-seller { color: var(--text-muted); font-size: 0.86rem; }
.modal-info .qv-title { font-size: 1.3rem; margin-top: 6px; line-height: 1.25; }
.modal-info .qv-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.84rem; color: var(--text-muted); }
.modal-info .qv-price { font-size: 1.5rem; font-weight: 800; margin-top: 12px; }
.modal-info .qv-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.modal-info .qv-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.modal-info .qv-actions .btn-primary { flex: 1; min-width: 140px; }
.modal-info .qv-details { margin-top: 14px; font-size: 0.86rem; font-weight: 600; }

.toast {
  position: fixed; z-index: 1100;
  left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: var(--text); color: #fff;
  border-radius: var(--radius-pill); padding: 13px 22px;
  font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* --------------------------------------------------------------------------
   30. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

.grid-reveal > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.grid-reveal.in-view > * { opacity: 1; transform: none; }
.grid-reveal.in-view > *:nth-child(1) { transition-delay: 0.03s; }
.grid-reveal.in-view > *:nth-child(2) { transition-delay: 0.09s; }
.grid-reveal.in-view > *:nth-child(3) { transition-delay: 0.15s; }
.grid-reveal.in-view > *:nth-child(4) { transition-delay: 0.21s; }
.grid-reveal.in-view > *:nth-child(5) { transition-delay: 0.27s; }
.grid-reveal.in-view > *:nth-child(6) { transition-delay: 0.33s; }
.grid-reveal.in-view > *:nth-child(7) { transition-delay: 0.39s; }
.grid-reveal.in-view > *:nth-child(8) { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   31. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .category-row { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-inner, .product-layout, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-layout { gap: 40px; }
  .product-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .order-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .seller-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .footer-newsletter-inner { grid-template-columns: 1fr; }
  .hero-float-card { left: 8px; }
  .hero-rating-chip { right: 8px; }
}

@media (max-width: 800px) {
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: none; background: transparent; color: var(--text); }
  .menu-toggle svg { width: 24px; height: 24px; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; }
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-actions { margin-left: auto; }
  .signin-link span.signin-text { display: none; }
  .signin-link { padding: 9px; margin-left: 0; }
  .nav-links-row { display: none; }
  .nav-wrap.mobile-open .nav-links-row {
    display: block; flex-basis: 100%; order: 4;
    border-top: 1px solid var(--border); background: var(--bg);
  }
  .nav-wrap.mobile-open .nav-links-row .links {
    flex-direction: column; align-items: stretch;
    padding: 10px 0; overflow-x: visible;
  }
  .nav-wrap.mobile-open .nav-links-row .nav-link { text-align: center; padding: 10px 14px; }
  .modal-grid { grid-template-columns: 1fr; gap: 20px; }
  .modal-info { padding: 0; }
  .review-summary { grid-template-columns: 1fr; gap: 24px; }
  .about-quote { left: 8px; bottom: 16px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 52px 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .category-row { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-grid, .add-address-form .form-grid { grid-template-columns: 1fr; }
  .p-meta { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .ci-thumb { width: 80px; height: 80px; }
  .ci-price { grid-column: 2; text-align: left; }
  .steps { gap: 6px; }
  .step-item .step-label { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
  .notif-dropdown { width: 88vw; right: -60px; }
  .gallery-thumbs { gap: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .grid-reveal > * { opacity: 1; transform: none; }
}
