:root {
  --wine: #582c3b;
  --wine-dark: #3e1f2b;
  --ink: #302a27;
  --muted: #74635c;
  --paper: #fffdf9;
  --cream: #f4eee4;
  --line: #e6ddd4;
  --gold: #ac8b58;
}
body { background: var(--paper); }
.announcement { background: var(--wine-dark); color: #f5ead3; }
header { background: var(--paper); padding-block: 14px; }
header nav a { font-size: 13px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  background: var(--wine-dark);
  padding: 24px;
  min-height: min(640px, 72vw);
}
.hero-frame {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-width: 0;
}
.hero-frame .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-position: left center; }
.hero-frame .visual-note { right: auto; left: 14px; bottom: 14px; color: #3e1f2b; padding: 6px 9px; background: #fffdf4e8; }
.hero .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: auto;
  margin: 0;
  padding: 40px clamp(20px, 6vw, 94px);
  text-align: start;
  background: transparent;
}
.hero h1 { color: #fff5de; font-size: clamp(60px, 7.3vw, 119px); line-height: .99; margin: 0 0 25px; letter-spacing: -0.035em; }
.hero h1 em { color: #dfba7d; }
.hero .eyebrow { color: #e4c697; font-size: 13px; }
.hero-copy > p:not(.eyebrow) { color: #f3e9d7; font-size: 15px; margin-bottom: 25px; }
.hero .button { background: #f3dfb9; border-color: #f3dfb9; color: var(--wine-dark); min-height: 48px; }
.hero .button:hover { background: #fff3da; }
.section { padding-block: clamp(42px, 6.4vw, 94px); }
#shop { scroll-margin-top: 75px; background: #f4eee4; }
.shop .section-heading h2 { font-size: clamp(40px, 5.2vw, 76px); }
.shop .section-heading > p { font-size: 14px; }
.shop-tools {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr) minmax(150px,230px);
  align-items: center;
  gap: 14px 25px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.market-select { margin: 0; color: var(--wine-dark); font-size: 13px; }
.market-select select { background: #f8f3e7; border-color: #cfc2ae; }
.filters { gap: 5px; justify-content: center; flex-wrap: wrap; }
.filters button { padding: 9px 11px; min-height: 42px; font-size: 12px; border: 1px solid transparent; border-radius: 4px; white-space: normal; }
.filters button.active { color: #fff7e5; background: var(--wine); border-color: var(--wine); }
.search-label { max-width: none; margin: 0; border: 1px solid #d7d2c5; border-radius: 4px; padding: 0 11px; }
.search-label input { font-size: 13px; min-height: 42px; }
.result-count { font-size: 13px; }
.product-grid { gap: clamp(12px, 2.2vw, 32px); }
.product {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #e6ddd4;
  border-radius: 7px;
  overflow: hidden;
}
.product-photo { overflow: hidden; border-radius: 0; border-bottom: 1px solid #ebe6da; }
.product-photo img { transition: scale .3s ease; }
.product-photo:hover img { scale: 1.035; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: clamp(11px, 1.6vw, 23px); }
.product-category { margin: 0 0 8px; color: #76535d; font-size: 12px; }
.product-name { font-size: clamp(18px, 1.9vw, 28px); line-height: 1.3; margin-bottom: 6px; }
.product .price { font-size: 16px; font-weight: 700; margin: auto 0 0; padding-top: 7px; }
.product-actions { display: flex; flex-wrap: wrap; margin-top: 15px; align-items: center; }
.product-actions .add-button { background: var(--wine); color: #fff9ea; border: 1px solid var(--wine); min-height: 44px; padding: 8px; white-space: nowrap; font-size: 12px; }
.product-actions .add-button:hover { background: var(--wine-dark); }
.product-actions .buy-button { margin: 0; padding: 8px 0; font-size: 11px; }
.category-grid .photo-tile { border-radius: 7px; }
.quickview, .detail-gallery > img { border-radius: 7px; }
:focus-visible { outline: 2px solid #a17944; outline-offset: 3px; }
.product-photo:focus-visible { outline-offset: -4px; }
@media(max-width:1000px) {
  .shop-tools { grid-template-columns: 1fr 1fr; }
  .shop-tools .filters { grid-row: 2; grid-column: 1 / -1; justify-content: start; }
}
@media(max-width:700px) {
  .hero { grid-template-columns: 1fr; gap: 6px; padding: 12px; min-height: 0; }
  .hero .hero-copy { grid-column: 1; grid-row: 1; padding: 32px 16px 26px; }
  .hero-frame { grid-column: 1; grid-row: 2; aspect-ratio: 1.43; }
  .hero h1 { font-size: clamp(54px, 11vw, 78px); margin-bottom: 14px; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 12px; }
  .shop-tools { padding: 10px; gap: 9px; grid-template-columns: 1fr; }
  .shop-tools .filters { grid-row: auto; grid-column: auto; }
  .filters button { min-height: 36px; font-size: 11px; padding: 5px 8px; }
  .product-actions { gap: 3px; }
  .product-name { font-size: 18px; }
  .product .price { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .product-photo img { transition: none; }
}

/* Tint the dark blue studio backdrop on catalog cards. Full-size details use the source photo. */
.product-photo img[src^="assets/lujain/"] { filter: url("assets/velvet-wine.svg#velvet"); }
