/*
Theme Name: Qavenora
Theme URI: https://qavenora.example.com
Author: Qavenora
Author URI: https://qavenora.example.com
Description: A dark, editorial storefront theme built for WooCommerce. Brass accents, Bodoni display typography, product grids, and a responsive layout for selling design-led technology products.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qavenora
Tags: e-commerce, blog, custom-logo, custom-menu, featured-images, translation-ready, block-styles
*/

:root {
  --ink: #0a0a0c;
  --ink-2: #0e0e13;
  --ink-3: #131319;
  --ink-4: #1b1b22;
  --bone: #f6f2ec;
  --bone-dim: rgba(246, 242, 236, 0.6);
  --bone-faint: rgba(246, 242, 236, 0.4);
  --line: rgba(246, 242, 236, 0.1);
  --brass: #c9a44c;
  --brass-light: #e7cd92;
  --clay: #c2704d;
  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--ink); }

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  color: var(--bone);
}

p { margin: 0 0 1.2em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.qav-shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .qav-shell { padding: 0 32px; } }

.qav-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 10px 18px; border-radius: 0 0 10px 0;
  font-size: 13px; font-weight: 700;
}
.qav-skip:focus { left: 0; }

.eyebrow, .qav-eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; color: var(--brass-light); margin: 0;
}

/* ── Topbar + header ─────────────────────────────────────── */
.qav-topbar {
  background: var(--ink-2); border-bottom: 1px solid var(--line);
  color: var(--bone-faint); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; text-align: center; padding: 7px 16px;
}

.qav-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.qav-header.is-scrolled { background: rgba(10, 10, 12, 0.96); }

.qav-header__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.qav-logo, .custom-logo-link {
  font-family: var(--display); font-size: 24px; letter-spacing: 0.22em;
  color: var(--bone); white-space: nowrap; line-height: 1;
}
.qav-logo:hover, .custom-logo-link:hover { color: var(--brass-light); }
.custom-logo { max-height: 34px; width: auto; }

.qav-burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 40px; height: 40px; cursor: pointer; padding: 0; color: var(--bone);
}
.qav-burger span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform 0.3s var(--ease); }

.qav-nav { margin-left: 8px; }
.qav-menu { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.qav-menu li { position: relative; }
.qav-menu a {
  font-size: 13px; color: var(--bone-dim); letter-spacing: 0.04em; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease;
}
.qav-menu a:hover, .qav-menu .current-menu-item > a, .qav-menu .current_page_item > a {
  color: var(--brass-light); border-bottom-color: var(--brass);
}
.qav-menu .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 230px; padding: 8px;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s var(--ease); list-style: none; z-index: 70;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.qav-menu li:hover > .sub-menu, .qav-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.qav-menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 13px; }
.qav-menu .sub-menu a:hover { background: rgba(255, 255, 255, 0.06); border-bottom-color: transparent; }

.qav-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.qav-cart {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  border-radius: 999px; padding: 8px 15px; font-size: 13px; color: var(--bone-dim);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.qav-cart:hover { border-color: rgba(201, 164, 76, 0.5); color: var(--brass-light); }
.qav-cart__count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--brass); color: var(--ink); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease);
}
.qav-cart__count.is-bump { transform: scale(1.35); }

@media (max-width: 960px) {
  .qav-burger { display: block; }
  .qav-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
    margin-left: 0;
  }
  .qav-header.is-open .qav-nav { max-height: 78vh; overflow-y: auto; padding: 14px 20px 26px; }
  .qav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .qav-menu > li > a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .qav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; display: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn, .qav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background 0.5s ease, color 0.3s ease;
}
.btn--brass, .qav-btn--brass {
  background-image: linear-gradient(100deg, var(--brass-light), var(--brass) 45%, #b08c37 78%, var(--brass-light));
  background-size: 220% 100%; color: #14100a;
  box-shadow: 0 10px 30px -14px rgba(201, 164, 76, 0.85);
}
.btn--brass:hover { background-position: 120% 0; color: #14100a; box-shadow: 0 18px 44px -16px rgba(201, 164, 76, 0.9); }
.btn--ghost, .qav-btn--ghost {
  background: transparent; color: var(--bone-dim);
  border: 1px solid rgba(246, 242, 236, 0.16);
}
.btn--ghost:hover { color: var(--brass-light); border-color: rgba(201, 164, 76, 0.5); }

/* ── Hero ────────────────────────────────────────────────── */
.qav-hero {
  position: relative; overflow: hidden;
  padding: 70px 0 90px;
  background:
    radial-gradient(120% 80% at 78% 10%, rgba(201, 164, 76, 0.18), transparent 58%),
    radial-gradient(90% 70% at 8% 90%, rgba(139, 124, 246, 0.14), transparent 60%),
    var(--ink);
}
.qav-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.qav-hero__grid { position: relative; z-index: 2; display: grid; gap: 46px; align-items: center; }
@media (min-width: 1024px) { .qav-hero { padding: 84px 0 110px; } .qav-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; } }

.qav-hero__title {
  font-family: var(--display); font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.02em; margin: 24px 0 0;
}
.qav-hero__title em { font-style: italic; color: var(--brass-light); }
.qav-hero__text { max-width: 30em; margin-top: 26px; color: var(--bone-dim); font-size: 17px; }
.qav-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.qav-hero__visual {
  position: relative;
  min-width: 0;
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
}
.qav-hero__figure {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 1);
}
.qav-hero__figure a { display: block; width: 100%; height: 100%; }
.qav-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.qav-hero__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--ink) 2%, rgba(10, 10, 12, 0.15) 55%, transparent);
}

/* Rotating assurance seal — pure SVG + CSS, no plugin or JavaScript. */
.qav-hero__seal {
  position: absolute;
  z-index: 5;
  left: -54px;
  bottom: 42px;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 164, 76, 0.34);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.78);
  color: var(--brass-light);
  box-shadow: 0 24px 54px -24px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.qav-hero__seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: qav-seal-spin 26s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.qav-hero__seal-ring text {
  fill: rgba(246, 242, 236, 0.72);
  font-family: var(--sans);
  font-size: 7.6px;
  font-weight: 500;
  letter-spacing: 2.2px;
}
.qav-hero__seal-mark {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  color: var(--brass-light);
  filter: drop-shadow(0 0 10px rgba(201, 164, 76, 0.18));
}
@keyframes qav-seal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1023px) {
  .qav-hero__visual { max-width: 540px; }
  .qav-hero__seal {
    left: -8px;
    bottom: 18px;
    width: 98px;
    height: 98px;
  }
  .qav-hero__seal-ring text { font-size: 7.4px; letter-spacing: 2px; }
  .qav-hero__seal-mark { width: 24px; height: 24px; }
}
@media (max-width: 480px) {
  .qav-hero__seal {
    left: -4px;
    bottom: 14px;
    width: 86px;
    height: 86px;
  }
  .qav-hero__seal-ring text { font-size: 7px; letter-spacing: 1.8px; }
  .qav-hero__seal-mark { width: 21px; height: 21px; }
}

.qav-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.qav-stats div { min-width: 90px; }
.qav-stats dt { font-family: var(--display); font-size: 30px; color: var(--bone); }
.qav-stats dd { margin: 4px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); }

/* ── Sections ────────────────────────────────────────────── */
.qav-section { padding: 74px 0; }
.qav-section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.qav-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.qav-section__title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin: 18px 0 0; }
.qav-link {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-faint); display: inline-flex; align-items: center; gap: 8px;
}
.qav-link:hover { color: var(--brass-light); }

.qav-trust { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.qav-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 30px 0; }
@media (min-width: 900px) { .qav-trust__grid { grid-template-columns: repeat(4, 1fr); padding: 36px 0; } }
.qav-trust__item strong { display: block; font-size: 14px; font-weight: 600; color: var(--bone); }
.qav-trust__item span { font-size: 12.5px; color: var(--bone-faint); }

.qav-collections { display: grid; gap: 20px; margin-top: 46px; }
@media (min-width: 768px) { .qav-collections { grid-template-columns: repeat(6, 1fr); } }
.qav-collection {
  position: relative; display: flex; min-height: 300px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
}
@media (min-width: 768px) { .qav-collection { grid-column: span 2; min-height: 340px; } .qav-collection--wide { grid-column: span 3; } }
.qav-collection__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.68; transition: transform 1.1s var(--ease), opacity 0.6s ease; }
.qav-collection:hover .qav-collection__img { transform: scale(1.06); opacity: 0.9; }
.qav-collection__veil { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 6%, rgba(10, 10, 12, 0.45) 55%, transparent); }
.qav-collection__body { position: relative; z-index: 2; margin-top: auto; padding: 26px; width: 100%; }
.qav-collection__body h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin: 10px 0 6px; }
.qav-collection:hover h3 { color: var(--brass-light); }
.qav-collection__body p { font-size: 13.5px; color: var(--bone-dim); margin: 0; }

/* ── Product cards ───────────────────────────────────────── */
/*
 * Homepage product grids deliberately do not depend on a `.woocommerce`
 * ancestor. The front page is a normal WordPress template, so selectors such
 * as `.woocommerce ul.products` never match it. Keep these rules highly
 * specific to override WooCommerce's legacy float widths as well.
 */
.qav-section ul.products,
.qav-section ul.products.qav-products,
ul.products.qav-products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 34px 18px !important;
  width: 100% !important;
  margin: 44px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both;
}
.qav-section ul.products::before,
.qav-section ul.products::after,
.qav-section ul.products.qav-products::before,
.qav-section ul.products.qav-products::after,
ul.products.qav-products::before,
ul.products.qav-products::after { display: none !important; content: none !important; }

@media (min-width: 768px) {
  .qav-section ul.products,
  .qav-section ul.products.qav-products,
  ul.products.qav-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px 24px !important;
  }
}
@media (min-width: 1100px) {
  .qav-section ul.products,
  .qav-section ul.products.qav-products,
  ul.products.qav-products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 46px 28px !important;
  }
}

.qav-section ul.products > li.product,
.qav-section ul.products.qav-products > li.product,
ul.products.qav-products > li.product,
.qav-products > .qav-card {
  position: relative;
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.qav-card { position: relative; }
.qav-card__media-link {
  position: relative;
  display: block !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-3);
}
.qav-card__media-link > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.qav-card__media-link:hover > img { transform: scale(1.06); }
.qav-card__media-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.65), transparent);
}
.qav-card__media-link .qav-card__cta { z-index: 3; }

.qav-section ul.products .woocommerce-loop-product__title,
.qav-products .woocommerce-loop-product__title {
  padding: 14px 0 0 !important;
  margin: 0 !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: var(--bone) !important;
}
.qav-section ul.products .woocommerce-loop-product__title a:hover,
.qav-products .woocommerce-loop-product__title a:hover { color: var(--brass-light) !important; }
.qav-section ul.products .price,
.qav-products .price {
  display: block !important;
  margin-top: 6px !important;
  color: var(--brass-light) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-variant-numeric: tabular-nums;
}
.qav-section ul.products .price del,
.qav-products .price del {
  margin-right: 7px;
  color: var(--bone-faint) !important;
  font-size: 12px;
}
.qav-section ul.products .price ins,
.qav-products .price ins { background: none; color: var(--brass-light) !important; }
.qav-section ul.products .star-rating,
.qav-products .star-rating { margin-top: 8px; }

@media (max-width: 480px) {
  .qav-section ul.products,
  .qav-section ul.products.qav-products,
  ul.products.qav-products { gap: 30px 12px !important; }
  .qav-section ul.products .woocommerce-loop-product__title,
  .qav-products .woocommerce-loop-product__title { font-size: 13px !important; }
  .qav-section ul.products .price,
  .qav-products .price { font-size: 13px !important; }
}
.qav-card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line); background: var(--ink-3);
}
.qav-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.qav-card__media:hover img { transform: scale(1.07); }
.qav-card__media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 42%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.8), transparent);
}
.qav-card__cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  text-align: center; padding: 10px; border-radius: 999px;
  background: linear-gradient(100deg, var(--brass-light), var(--brass) 45%, #b08c37 78%, var(--brass-light));
  background-size: 220% 100%; color: #14100a; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  opacity: 0; transform: translateY(10px); transition: all 0.5s var(--ease);
}
.qav-card__media:hover .qav-card__cta { opacity: 1; transform: translateY(0); }
.qav-card__body { margin-top: 15px; display: flex; justify-content: space-between; gap: 14px; }
.qav-card__title { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.35; margin: 0; }
.qav-card__title a:hover { color: var(--brass-light); }
.qav-card__price { text-align: right; white-space: nowrap; font-size: 15px; font-variant-numeric: tabular-nums; }
.qav-badge {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  background: rgba(10, 10, 12, 0.75); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--bone);
}
.qav-badge--sale { background: var(--clay); border-color: transparent; color: #fff; }

.qav-rating { margin-top: 8px; }
.qav-rating .star-rating { font-size: 12px; color: var(--brass-light); height: auto; letter-spacing: 0.1em; }

/* ── Editorial + CTA ─────────────────────────────────────── */
.qav-editorial { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .qav-editorial { grid-template-columns: 1fr 1fr; gap: 70px; } }
.qav-editorial__media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.qav-editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.qav-editorial h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 20px; }
.qav-editorial__list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 34px; }
.qav-editorial__list > div { padding: 20px 22px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.qav-editorial__list > div:last-child { border-bottom: 0; }
.qav-editorial__list h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 8px; }
.qav-editorial__list p { font-size: 14px; color: var(--bone-dim); margin: 0; }

.qav-cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.qav-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 0%, rgba(201, 164, 76, 0.16), transparent 70%);
}
.qav-cta__inner { position: relative; z-index: 2; }
.qav-cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); max-width: 16em; margin: 0 auto; }
.qav-cta p { color: var(--bone-dim); max-width: 34em; margin: 24px auto 34px; }

.qav-marquee { border-top: 1px solid var(--line); padding: 16px 0; overflow: hidden; }
.qav-marquee span {
  display: inline-block; white-space: nowrap; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--bone-faint);
  animation: qav-marquee 44s linear infinite; padding-right: 40px;
}
@keyframes qav-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ── Page head (blog / shop) ─────────────────────────────── */
.qav-pagehead { padding: 54px 0 34px; border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 140% at 50% 0%, rgba(201, 164, 76, 0.1), transparent 70%); }
.qav-pagehead h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 16px 0 0; }

.qav-main { min-height: 40vh; }
.qav-content { padding: 46px 0 74px; }
.entry-title a:hover { color: var(--brass-light); }
.qav-post { padding: 34px 0; border-bottom: 1px solid var(--line); }
.qav-post__meta { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 12px; }
.qav-post h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.entry-content a { color: var(--brass-light); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 14px; margin: 1.6em auto; }
.entry-content blockquote { margin: 2em 0; padding-left: 22px; border-left: 2px solid var(--brass); font-family: var(--display); font-size: 1.3em; color: var(--bone-dim); }
.entry-content pre { background: var(--ink-3); padding: 18px; border-radius: 12px; overflow: auto; }
.entry-content code { background: rgba(255, 255, 255, 0.07); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }

.qav-pagination { display: flex; gap: 10px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.qav-pagination a, .qav-pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--bone-dim);
}
.qav-pagination a:hover { border-color: rgba(201, 164, 76, 0.5); color: var(--brass-light); }
.qav-pagination .current { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* ── Forms ───────────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="url"], input[type="number"], input[type="date"],
select, textarea {
  width: 100%; background: rgba(255, 255, 255, 0.035); color: var(--bone);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: var(--sans); font-size: 15px; outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(201, 164, 76, 0.65); background: rgba(201, 164, 76, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.14);
}
input::placeholder, textarea::placeholder { color: rgba(246, 242, 236, 0.34); }
select option { background: var(--ink-3); color: var(--bone); }
label { font-size: 13px; color: var(--bone-dim); }
.search-form { display: flex; gap: 10px; }
.search-form .search-field { flex: 1; }

/* ── Footer ──────────────────────────────────────────────── */
.qav-footer { background: #08080b; border-top: 1px solid var(--line); padding: 62px 0 30px; margin-top: 60px; }
.qav-footer__grid { display: grid; gap: 34px; }
@media (min-width: 780px) { .qav-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.qav-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(231, 205, 146, 0.8); margin-bottom: 18px; }
.qav-footer ul { list-style: none; margin: 0; padding: 0; }
.qav-footer li { margin-bottom: 11px; font-size: 14px; color: var(--bone-dim); }
.qav-footer li a:hover { color: var(--brass-light); }
.qav-footer__brand { font-family: var(--display); font-size: 26px; letter-spacing: 0.2em; }
.qav-footer p { color: var(--bone-dim); font-size: 14.5px; max-width: 34em; }
.qav-footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 12.5px; color: var(--bone-faint);
}
.qav-social { display: flex; gap: 8px; flex-wrap: wrap; }
.qav-social a {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── WooCommerce ─────────────────────────────────────────── */
.woocommerce .qav-woo, .woocommerce-page .qav-woo, .qav-woo { padding-top: 40px; padding-bottom: 70px; }
.content-area, #main, .site-main, .woocommerce { max-width: 100%; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 18px; margin: 34px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1100px) { .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); gap: 46px 28px; } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; position: relative; text-align: left; }
.woocommerce ul.products li.product a { display: block; }
.woocommerce ul.products li.product img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px;
  border: 1px solid var(--line); background: var(--ink-3);
  transition: transform 0.9s var(--ease), opacity 0.4s ease; margin: 0;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0;
  color: var(--bone); padding: 14px 0 0; margin: 0;
}
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--brass-light); }
.woocommerce ul.products li.product .price { color: var(--brass-light); font-size: 15px; font-variant-numeric: tabular-nums; display: block; margin-top: 6px; }
.woocommerce ul.products li.product .price del { color: var(--bone-faint); margin-right: 8px; font-size: 13px; }
.woocommerce ul.products li.product .price ins { background: none; color: var(--brass-light); font-weight: 600; }
.woocommerce span.onsale {
  position: absolute; z-index: 4; top: 12px; left: 12px; margin: 0;
  background: var(--clay); color: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.5;
}
.woocommerce ul.products li.product .button { margin-top: 12px; display: inline-block; }
.woocommerce ul.products li.product .button.loading::after { border-color: var(--bone) transparent transparent; }

.star-rating { font-size: 13px; color: var(--brass-light); letter-spacing: 0.12em; }

.woocommerce-result-count { color: var(--bone-faint); font-size: 13.5px; margin: 0; }
.woocommerce-ordering select { width: auto; min-width: 210px; }
.woocommerce-ordering { margin: 0 0 10px; }
.woocommerce-breadcrumb { font-size: 12px; color: var(--bone-faint); margin-bottom: 22px; }
.woocommerce-breadcrumb a { color: var(--bone-dim); }
.woocommerce-breadcrumb a:hover { color: var(--brass-light); }
.woocommerce-breadcrumb_separator { color: rgba(246, 242, 236, 0.25); }

/* single product */
.single-product div.product { display: grid; gap: 40px; }
@media (min-width: 1024px) { .single-product div.product { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }
.single-product div.product .woocommerce-product-gallery { margin: 0; }
.single-product div.product .woocommerce-product-gallery img { border-radius: 18px; border: 1px solid var(--line); }
.single-product div.product h1.product_title { font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0 10px; }
.single-product div.product p.price { font-family: var(--display); font-size: 2.2rem; color: var(--bone); margin: 22px 0; display: block; }
.single-product div.product p.price del { font-size: 1.1rem; color: var(--bone-faint); margin-right: 14px; }
.single-product div.product p.price ins { background: none; color: var(--brass-light); }
.single-product .product_meta { font-size: 13px; color: var(--bone-faint); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.single-product .product_meta a:hover { color: var(--brass-light); }
.single-product div.product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); margin-top: 46px; }
.single-product div.product .woocommerce-tabs ul.tabs li { padding: 0; background: none; border: 0; }
.single-product div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 14px 20px; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bone-faint); border-bottom: 2px solid transparent;
}
.single-product div.product .woocommerce-tabs ul.tabs li.active a,
.single-product div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--brass-light); border-bottom-color: var(--brass); }
.single-product div.product .woocommerce-tabs .panel { padding: 28px 0 0; color: var(--bone-dim); }
.tabs { background: none !important; border: 0 !important; }

.quantity .qty { width: 78px; text-align: center; border-radius: 999px; padding: 12px 10px; }
.cart .quantity .qty, .quantity .qty { display: inline-block; }
.single_add_to_cart_button, .button.alt, .wc-block-components-button {
  background-image: linear-gradient(100deg, var(--brass-light), var(--brass) 45%, #b08c37 78%, var(--brass-light));
  background-size: 220% 100%; color: #14100a !important; border: 0; border-radius: 999px;
  padding: 15px 34px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; transition: background-position 0.7s var(--ease), box-shadow 0.3s ease;
  box-shadow: 0 10px 30px -14px rgba(201, 164, 76, 0.85);
}
.single_add_to_cart_button:hover, .button.alt:hover, .wc-block-components-button:hover {
  background-position: 120% 0; color: #14100a !important; box-shadow: 0 18px 44px -16px rgba(201, 164, 76, 0.9);
}
.button, button[type="submit"] {
  background: transparent; border: 1px solid rgba(246, 242, 236, 0.18);
  border-radius: 999px; color: var(--bone-dim); padding: 12px 26px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.button:hover, button[type="submit"]:hover { border-color: rgba(201, 164, 76, 0.5); color: var(--brass-light); }
.quantity input.input-text, .qty { background: rgba(255, 255, 255, 0.04); color: var(--bone); border: 1px solid var(--line); border-radius: 999px; }

form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0; }

/* cart + checkout tables */
.woocommerce table.shop_table { border: 1px solid var(--line); background: var(--ink-2); border-radius: 16px; border-collapse: separate; border-spacing: 0; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-bottom: 1px solid var(--line); padding: 18px 16px; font-size: 14.5px; color: var(--bone-dim); vertical-align: middle; }
.woocommerce table.shop_table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bone-faint); font-weight: 500; }
.woocommerce table.shop_table td a { color: var(--bone); }
.woocommerce table.shop_table td a:hover { color: var(--brass-light); }
.woocommerce-cart .cart_totals, .woocommerce-checkout #payment {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.woocommerce-checkout .col2-set, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.woocommerce-checkout .col-1, .woocommerce-checkout .col-2 { float: none; width: 100%; }
.woocommerce form .form-row { padding: 0; margin-bottom: 18px; }
.woocommerce form .form-row label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 7px; }
.woocommerce #payment .payment_box { background: var(--ink-3); color: var(--bone-dim); border-radius: 12px; }
.woocommerce #payment .payment_box::before { border-top-color: var(--ink-3); }
.woocommerce-checkout .shop_table th, .woocommerce-checkout .shop_table td { border-color: var(--line); }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  background: var(--ink-3); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  border-radius: 14px; color: var(--bone-dim); padding: 16px 20px; margin-bottom: 24px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--brass-light); }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: var(--brass-light); }
.woocommerce-error { border-top-color: var(--clay); }
.woocommerce-message, .woocommerce-info { list-style: none; }

.woocommerce-pagination ul.page-numbers { display: flex; gap: 10px; list-style: none; padding: 0; margin-top: 44px; justify-content: center; flex-wrap: wrap; }
.woocommerce-pagination li { display: inline-flex; }
.woocommerce-pagination .page-numbers {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--bone-dim);
}
.woocommerce-pagination .page-numbers.current { background: var(--brass); color: var(--ink); border-color: var(--brass); }

.woocommerce .price bdi, .amount { font-variant-numeric: tabular-nums; }
.woocommerce div.product .cart button.single_add_to_cart_button { margin-left: auto; }

/* block checkout / cart (WooCommerce blocks) */
.wc-block-components-totals-item__value, .wc-block-components-totals-table { color: var(--bone); }
.wp-block-woocommerce-checkout, .wc-block-checkout { color: var(--bone-dim); }
.wc-block-components-text-control input, .wc-block-components-address-form__address-line-1 {
  background: rgba(255, 255, 255, 0.035); border-color: var(--line); color: var(--bone);
}

.qav-empty { text-align: center; padding: 70px 0; color: var(--bone-dim); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
