/* ============================================================
   LUX DESIRE MODERN — WooCommerce Theme
   Palette: Black & White editorial (YSL / Givenchy)
   Font: DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:         #ffffff;
  --bg-2:       #f5f5f5;
  --bg-3:       #ebebeb;
  --gold:       #000000;
  --gold-light: #333333;
  --text:       #000000;
  --text-muted: #777777;
  --border:     rgba(0,0,0,.1);
  --serif:      'DM Sans', sans-serif;
  --sans:       'DM Sans', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .03em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Utilities ───────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section-title {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 8px; margin-bottom: 48px;
}
.section-title h2 {
  font-family: var(--sans);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .25em;
  color: #000;
}
.section-title p {
  font-size: 11px; letter-spacing: .2em;
  color: #888; text-transform: uppercase;
}
.section-title .rule {
  display: flex; align-items: center; gap: 16px;
  width: 100%; max-width: 360px;
}
.section-title .rule::before,
.section-title .rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, #000, transparent);
}
.section-title .rule-diamond {
  width: 6px; height: 6px; background: #000;
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 40px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid #000; color: #000; background: transparent;
  transition: all .3s ease; cursor: pointer;
}
.btn-outline:hover { background: #000; color: #fff; }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: #000; color: #fff; border: 1px solid #000;
  transition: all .3s ease; cursor: pointer;
}
.btn-gold:hover { background: #333; border-color: #333; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: #000; padding: 10px 24px;
}
.topbar__inner {
  display: flex; align-items: center;
  justify-content: center; gap: 32px; flex-wrap: wrap;
}
.topbar__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.topbar__item svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.5); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.15); }

/* ── Header ──────────────────────────────────────────────── */
.header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 100;
}
.header__main {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 20px 32px;
}
.header__left { display: flex; align-items: center; gap: 20px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header__logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.header__logo-wrap svg { width: 220px; }
.header__tagline { font-size: 8px; letter-spacing: .3em; color: #888; text-transform: uppercase; margin-top: 2px; }
.header__icon-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #000;
  transition: color .2s; position: relative; padding: 4px;
}
.header__icon-btn:hover { color: #555; }
.header__icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-badge {
  position: absolute; top: -4px; right: -6px;
  background: #000; color: #fff;
  font-size: 9px; font-weight: 600;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.burger { display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 1px; background: #000; transition: all .3s; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav { border-top: 1px solid rgba(0,0,0,.06); padding: 12px 0; }
.nav__inner { display: flex; align-items: center; justify-content: center; gap: 40px; }
.nav__link {
  font-size: 10px; font-weight: 400; letter-spacing: .14em;
  text-transform: uppercase; color: #000;
  transition: color .2s; padding: 4px 0; position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: #000; transition: width .3s;
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* ── Hero — Fullbleed editorial ─────────────────────────── */
.hero {
  display: block; position: relative;
  min-height: 88vh; background: #111; overflow: hidden;
}
.hero__img {
  display: block !important; position: absolute;
  inset: 0; z-index: 0; background: #111;
}
.hero__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 72%;
  display: block;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  z-index: 1; pointer-events: none;
}
.hero__content {
  position: absolute; bottom: 0; left: 0; z-index: 2;
  padding: 72px 80px; gap: 20px; width: 65%; background: none;
  display: flex; flex-direction: column;
}
.hero__content h1 {
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700; letter-spacing: -.02em; line-height: .95;
  text-transform: uppercase;
}
.hero__sub {
  color: rgba(255,255,255,.65);
  font-weight: 300; letter-spacing: .2em;
  font-size: 11px; text-transform: uppercase; line-height: 1.9;
}
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; border-color: #fff; color: #000; }

/* ── Categories ─────────────────────────────────────────── */
.categories {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 56px 0;
}
.categories__grid {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 0;
}
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0 40px; border-right: 1px solid rgba(0,0,0,.08);
  cursor: pointer; transition: opacity .2s;
}
.cat-item:last-child { border-right: none; }
.cat-item:hover { opacity: .6; }
.cat-item h3 {
  font-size: 10px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #000;
}
.cat-item p {
  font-size: 10px; letter-spacing: .1em; color: #888;
  margin-top: -10px;
}

/* ── New Arrivals ────────────────────────────────────────── */
.arrivals { background: #fff; padding: 80px 0; }

.products-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
}
.product-card {
  background: #fff; outline: 1px solid rgba(0,0,0,.07);
  cursor: pointer; overflow: hidden; position: relative;
}
.product-card__img {
  aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5;
  position: relative;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__wish {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: rgba(255,255,255,.92);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s; cursor: pointer;
}
.product-card__wish:hover { background: #000; }
.product-card__wish:hover svg { stroke: #fff; }
.product-card__wish svg { width: 14px; height: 14px; stroke: #555; fill: none; stroke-width: 1.5; }
.product-card__info { padding: 14px 16px 18px; background: #fff; }
.product-card__name {
  font-size: 11px; font-weight: 500; letter-spacing: .06em;
  color: #000; text-transform: uppercase; margin-bottom: 6px;
}
.product-card__price { font-size: 14px; font-weight: 400; color: #000; }
/* WooCommerce price */
.product-card__price .woocommerce-Price-amount { font-size: 14px; }

/* ── Features ─────────────────────────────────────────────── */
.features {
  background: #000; border-color: transparent; padding: 56px 0;
}
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature-item {
  display: flex; align-items: center; gap: 20px;
  padding: 0 40px; border-right: 1px solid rgba(255,255,255,.1);
}
.feature-item:last-child { border-right: none; }
.feature-item__text h3 {
  font-size: 11px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: #fff; margin-bottom: 4px;
}
.feature-item__text p { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter { background: #f5f5f5; padding: 80px 0; }
.newsletter__form {
  display: flex; align-items: center; justify-content: center;
  max-width: 520px; margin: 0 auto; border: 1px solid #000;
}
.newsletter__input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #000; font-family: var(--sans); font-size: 11px;
  letter-spacing: .1em; padding: 16px 20px;
}
.newsletter__input::placeholder { color: #aaa; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #000; border-top: none; }
.footer__nav { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__nav-inner { display: flex; align-items: center; justify-content: center; gap: 40px; }
.footer__nav-link {
  font-size: 10px; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .2s;
}
.footer__nav-link:hover { color: #fff; }
.footer__bottom {
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between;
}
.footer__copy { font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.3); }
.footer__social { display: flex; align-items: center; gap: 16px; }
.footer__social a {
  font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .2s;
}
.footer__social a:hover { color: #fff; }

/* ── Cart Drawer ─────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 420px;
  height: 100vh; background: #fff; border-left: 1px solid rgba(0,0,0,.1);
  z-index: 200; transition: right .4s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 199; opacity: 0; pointer-events: none; transition: opacity .4s;
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }
.cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.cart-drawer__title {
  font-size: 14px; font-weight: 700; letter-spacing: .15em; color: #000;
}
.cart-drawer__close {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; color: #777; transition: color .2s;
}
.cart-drawer__close:hover { color: #000; }
.cart-drawer__close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 28px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 200px; gap: 16px;
  color: #aaa; font-size: 12px; letter-spacing: .1em;
}
.cart-empty svg { width: 40px; height: 40px; stroke: #ccc; fill: none; stroke-width: 1; }
.cart-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cart-item__img {
  width: 72px; height: 90px; object-fit: cover;
  flex-shrink: 0; background: #f5f5f5;
}
.cart-item__details { flex: 1; }
.cart-item__name { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: #000; }
.cart-item__price { font-size: 14px; color: #000; }
.cart-item__qty { font-size: 10px; color: #aaa; margin-top: 4px; }
.cart-item__remove {
  display: block; font-size: 10px; color: #aaa;
  letter-spacing: .1em; cursor: pointer; margin-top: 8px; transition: color .2s;
}
.cart-item__remove:hover { color: #000; }
.cart-drawer__footer {
  padding: 24px 28px; border-top: 1px solid rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: 16px;
}
.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total span:first-child { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #777; }
.cart-total-value { font-size: 22px; font-weight: 600; color: #000; }

/* ── Mobile nav ──────────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; left: -300px; width: 300px;
  height: 100vh; background: #fff; border-right: 1px solid rgba(0,0,0,.08);
  z-index: 200; transition: left .4s cubic-bezier(.4,0,.2,1);
  padding: 40px 32px; display: flex; flex-direction: column; gap: 0;
}
.mobile-nav.open { left: 0; }
.mobile-nav__link {
  display: block; font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; color: #000;
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.07); transition: color .2s;
}
.mobile-nav__link:hover { color: #555; }

/* ── Page hero ───────────────────────────────────────────── */
.page-hero { background: #000; padding: 72px 0; text-align: center; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  letter-spacing: .2em; color: #fff; text-transform: uppercase; margin-bottom: 12px;
}
.page-hero p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,.08); margin-bottom: 48px; }
.breadcrumb__inner {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #999;
}
.breadcrumb__sep { color: #000; }
.breadcrumb__current { color: #000; }

/* ── Catalog ─────────────────────────────────────────────── */
.catalog { padding: 0 0 80px; }
.catalog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.catalog__cats {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 0;
  scrollbar-width: none;
}
.catalog__cats::-webkit-scrollbar { display: none; }
.cat-pills { display: flex; min-width: max-content; }
.cat-pill {
  display: inline-block; padding: 14px 22px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: #777; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.cat-pill:hover { color: #000; }
.cat-pill.active { color: #000; border-bottom-color: #000; font-weight: 600; }

.catalog__filters {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 32px;
}
.filter-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #777; }
.filter-select {
  background: #fff; border: 1px solid rgba(0,0,0,.2); color: #000;
  font-family: var(--sans); font-size: 10px; letter-spacing: .15em;
  padding: 8px 16px; outline: none; cursor: pointer; appearance: none;
}

/* ── Product page ────────────────────────────────────────── */
.product-page { padding: 0 0 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.product-gallery__main { aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.product-gallery__thumb {
  width: 72px; height: 90px; overflow: hidden; background: #f5f5f5;
  cursor: pointer; border: 1px solid transparent; transition: border-color .2s;
}
.product-gallery__thumb.active { border-color: #000; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-brand { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #777; }
.product-name { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.product-price { font-size: 26px; font-weight: 400; color: #000; }
.product-price .woocommerce-Price-amount { font-size: 26px; }
.product-divider { height: 1px; background: rgba(0,0,0,.1); }
.product-description { font-size: 13px; color: #666; line-height: 1.8; }
.product-qty {
  display: flex; align-items: center; gap: 0;
  width: fit-content; border: 1px solid rgba(0,0,0,.15);
}
.product-qty button {
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; color: #000; font-size: 18px; transition: background .2s;
}
.product-qty button:hover { background: rgba(0,0,0,.06); }
.product-qty span {
  width: 48px; text-align: center; font-size: 13px;
  border-left: 1px solid rgba(0,0,0,.15); border-right: 1px solid rgba(0,0,0,.15); padding: 10px 0;
}
.product-actions { display: flex; gap: 12px; }
.product-actions .btn-gold { flex: 1; padding: 16px; }

/* ── WooCommerce notices ─────────────────────────────────── */
.woocommerce-message,
.woocommerce-info {
  background: #f5f5f5; border: 1px solid #000; padding: 14px 20px;
  font-size: 12px; letter-spacing: .06em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.woocommerce-error { background: #fff0f0; border: 1px solid #c00; padding: 14px 20px; font-size: 12px; margin-bottom: 24px; }
.woocommerce-message a, .woocommerce-info a { text-decoration: underline; }

/* ── WooCommerce price currency ─────────────────────────── */
.woocommerce-Price-currencySymbol { font-size: inherit; }

/* ── Order received page ─────────────────────────────────── */
.woocommerce-order { max-width: 720px; margin: 0 auto; padding: 80px 0; }
.woocommerce-thankyou-order-received {
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: #000; margin-bottom: 32px; font-weight: 600;
}
.woocommerce-order-overview {
  display: flex; gap: 40px; flex-wrap: wrap;
  background: #f5f5f5; padding: 24px 32px; margin-bottom: 48px;
  list-style: none;
}
.woocommerce-order-overview li { font-size: 11px; letter-spacing: .1em; }
.woocommerce-order-overview strong { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; }

/* ── My account layout ───────────────────────────────────── */
.account-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 64px; padding: 64px 0 100px; align-items: start;
}
.account-sidebar { position: sticky; top: 100px; }
.account-user {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 28px;
}
.account-avatar {
  width: 44px; height: 44px; background: #000; color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
}
.account-name { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.account-email { font-size: 11px; color: #999; letter-spacing: .03em; margin-top: 3px; }

.account-nav ul { list-style: none; }
.account-nav li { border-bottom: 1px solid rgba(0,0,0,.07); }
.account-nav li a {
  display: block; padding: 13px 0;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: #888; transition: color .2s;
}
.account-nav li a:hover { color: #000; }
.account-nav li.is-active a { color: #000; font-weight: 700; }
.account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #bbb; }
.account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: #000; }

/* WooCommerce legacy nav (fallback) */
.woocommerce-MyAccount-navigation { display: none; }

/* Account content area */
.account-content { min-width: 0; }
.account-content h2 {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.1);
}

/* Dashboard */
.account-greeting {
  font-size: 13px; color: #555; line-height: 1.9;
  margin-bottom: 48px; max-width: 600px;
}
.dashboard-section { margin-bottom: 48px; }
.dashboard-section-title {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 16px; color: #000;
}
.dashboard-orders { display: flex; flex-direction: column; }
.dashboard-order {
  display: grid; grid-template-columns: 1fr 120px 80px 60px;
  gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.07);
}
.dashboard-order-num  { font-size: 12px; font-weight: 600; display: block; }
.dashboard-order-date { font-size: 11px; color: #aaa; display: block; margin-top: 3px; }
.dashboard-order-status { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #888; }
.status-completed  { color: #000; font-weight: 600; }
.status-pending    { color: #d97706; }
.status-processing { color: #2563eb; }
.status-on-hold    { color: #7c3aed; }
.dashboard-order-total { font-size: 13px; font-weight: 600; }
.dashboard-order-link {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; color: #000; white-space: nowrap;
}
.dashboard-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px;
}
.dashboard-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 28px 24px; border: 1px solid rgba(0,0,0,.1);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: #000; transition: background .25s, color .25s;
}
.dashboard-card:hover { background: #000; color: #fff; }
.dashboard-card svg { transition: stroke .25s; }
.dashboard-card:hover svg { stroke: #fff; }

/* Orders table */
.woocommerce-orders-table { width: 100%; border-collapse: collapse; }
.woocommerce-orders-table th {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: #aaa; font-weight: 400; padding: 0 12px 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.1); text-align: left;
}
.woocommerce-orders-table td {
  padding: 15px 12px 15px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 12px;
}
.woocommerce-orders-table .woocommerce-button {
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  border: 1px solid #000; padding: 8px 18px; display: inline-block;
  transition: background .2s, color .2s; color: #000;
}
.woocommerce-orders-table .woocommerce-button:hover { background: #000; color: #fff; }

/* Address section */
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-Address-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.1);
}
.woocommerce-Address-title h3 {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; margin: 0;
}
.woocommerce-Address-title .edit {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; color: #aaa; transition: color .2s;
}
.woocommerce-Address-title .edit:hover { color: #000; }
.woocommerce-Address address { font-size: 13px; color: #555; line-height: 2; font-style: normal; }
.woocommerce-Address p { font-size: 13px; color: #999; font-style: italic; }

/* Edit account form */
.woocommerce-EditAccountForm .form-row { margin-bottom: 20px; }
.woocommerce-EditAccountForm label {
  display: block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 6px; color: #555;
}
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="tel"],
.woocommerce-EditAccountForm input[type="password"] {
  width: 100%; border: 1px solid rgba(0,0,0,.15); padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  background: #fff; outline: none; transition: border-color .2s; appearance: none;
}
.woocommerce-EditAccountForm input:focus { border-color: #000; }
.woocommerce-EditAccountForm fieldset {
  border: none; padding: 32px 0 0; margin-top: 8px; border-top: 1px solid rgba(0,0,0,.1);
}
.woocommerce-EditAccountForm fieldset legend {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; margin-bottom: 24px;
}
.woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-EditAccountForm button[type="submit"] {
  background: #000; color: #fff; padding: 14px 40px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  border: none; cursor: pointer; transition: background .2s; font-family: inherit;
}
.woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-EditAccountForm button[type="submit"]:hover { background: #333; }

/* Password strength meter */
.woocommerce-password-strength { font-size: 11px; padding: 6px 12px; margin-top: 6px; }

/* Address edit form */
.woocommerce-address-fields .form-row { margin-bottom: 20px; }
.woocommerce-address-fields label {
  display: block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 6px; color: #555;
}
.woocommerce-address-fields label .required { color: #000; }
.woocommerce-address-fields .woocommerce-input-wrapper { display: block; }
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="email"],
.woocommerce-address-fields input[type="tel"],
.woocommerce-address-fields select {
  width: 100%; border: 1px solid rgba(0,0,0,.15); padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  background: #fff; outline: none; transition: border-color .2s; appearance: none;
  -webkit-appearance: none;
}
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus { border-color: #000; }
.woocommerce-address-fields .button,
.woocommerce-address-fields button[type="submit"] {
  background: #000; color: #fff; padding: 14px 40px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  border: none; cursor: pointer; transition: background .2s; font-family: inherit;
  margin-top: 8px;
}
.woocommerce-address-fields .button:hover,
.woocommerce-address-fields button[type="submit"]:hover { background: #333; }
.woocommerce-address-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;
}
.woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.select2-container--default .select2-selection--single {
  border: 1px solid rgba(0,0,0,.15); border-radius: 0; height: auto;
  padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 13px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0; line-height: inherit; color: #000;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%; top: 0; right: 12px;
}
.select2-container--default.select2-container--open .select2-selection--single { border-color: #000; }

/* Responsive */
@media (max-width: 768px) {
  .account-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 64px; }
  .account-sidebar { position: static; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dashboard-order { grid-template-columns: 1fr auto; }
  .dashboard-order-status,
  .dashboard-order-total { display: none; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 769px) { .burger { display: none; } }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog__grid  { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item   { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 28px 0; }
  .feature-item:last-child { border-bottom: none; }
  .hero__img { position: absolute; inset: 0; height: 100%; }
  .product-layout { gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .topbar__sep { display: none; }
  .topbar__inner { gap: 12px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 16px; }
  .topbar__item { flex-shrink: 0; font-size: 9px; }
  .header__main { padding: 14px 16px; }
  .header__logo-wrap svg { width: 160px; }
  .nav { display: none; }
  .burger { display: flex; }
  .cart-drawer { width: 100%; right: -100%; }
  .cart-drawer.open { right: 0; }
  .hero { min-height: 70vh; }
  .hero__img { position: absolute; inset: 0; height: 100%; }
  .hero__content { width: 100%; padding: 40px 20px; }
  .hero__content h1 { font-size: clamp(36px, 10vw, 60px); }
  .categories { padding: 36px 0; }
  .categories__grid { overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; padding: 0 16px 8px; scrollbar-width: none; }
  .categories__grid::-webkit-scrollbar { display: none; }
  .cat-item { padding: 0 16px; flex-shrink: 0; }
  .arrivals { padding: 48px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 16px; gap: 16px; }
  .feature-item:last-child { border-bottom: none; }
  .newsletter { padding: 48px 0; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input { width: 100%; padding: 16px; text-align: center; }
  .newsletter__form .btn-gold { width: 100%; padding: 16px; }
  .footer__nav { display: none; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 0; }
  .footer__social { justify-content: center; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__filters { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery__thumbs { gap: 6px; }
  .product-gallery__thumb { width: 56px; height: 70px; }
  .product-actions { flex-wrap: wrap; }
  .product-page { padding: 0 0 56px; }
  .breadcrumb { margin-bottom: 24px; }
  .section-title { gap: 6px; margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .header__logo-wrap svg { width: 130px; }
  .header__tagline { display: none; }
  .hero { min-height: 60vh; }
  .hero__content { padding: 32px 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid  { grid-template-columns: repeat(2, 1fr); }
  .btn-outline { width: 100%; justify-content: center; }
}

/* ── WordPress core resets ───────────────────────────────── */
.wp-block-group { margin: 0; padding: 0; }
img.wp-post-image { display: block; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
