:root {
  --terracotta: #b6573a;
  --terracotta-dark: #94442f;
  --charcoal: #302b28;
  --cream: #f4efe7;
  --olive: #68705e;
  --champagne: #b69a6a;
  --paper: #fbf8f2;
  --line: rgba(48, 43, 40, 0.16);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.announcement { display: flex; justify-content: center; gap: 2rem; padding: .65rem 1.5rem; background: var(--charcoal); color: var(--cream); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.announcement span:last-child { color: #d5c8b8; }
.site-header { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5vw; border-bottom: 1px solid var(--line); background: rgba(244,239,231,.98); }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: max-content; }
.brand-name { font-family: Didot, 'Bodoni 72', 'Times New Roman', serif; font-size: 1.1rem; letter-spacing: -.038em; }
.brand-mark { position: relative; display: inline-block; width: 42px; height: 42px; flex: 0 0 42px; }
.brand-mark i { position: absolute; display: block; }
.brand-mark i:nth-child(1) { top: 0; left: 0; width: 51.3%; height: 51.2%; border-radius: 27% 27% 0 27%; background: linear-gradient(135deg,#c5522d,var(--terracotta) 62%,#c96140); }
.brand-mark i:nth-child(2) { top: 6.5%; left: 62%; width: 34.5%; height: 34.5%; border-radius: 50%; background: linear-gradient(135deg,#c8613e,#d47e5d); }
.brand-mark i:nth-child(3) { top: 63.5%; left: 0; width: 35%; height: 35.5%; border-radius: 29%; background: linear-gradient(135deg,#a83f23,var(--terracotta)); }
.brand-mark i:nth-child(4) { top: 51.2%; left: 51.3%; width: 48.7%; height: 48.8%; border-radius: 0 27% 27% 27%; background: linear-gradient(135deg,#c86543,#d88668); }
.site-header nav { display: flex; gap: clamp(1.3rem,3vw,3.2rem); font-size: .77rem; letter-spacing: .04em; }
.site-header nav a:hover { color: var(--terracotta); }
.header-cta { justify-self: end; padding: .8rem 1.1rem; border: 1px solid var(--charcoal); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.header-cta:hover { background: var(--charcoal); color: var(--cream); }
h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.05em; }
h1 { font-size: clamp(2.8rem,5.3vw,6.5rem); line-height: .94; }
h2 { font-size: clamp(2rem,3.4vw,4.2rem); line-height: 1; }
p { line-height: 1.65; }
.eyebrow { margin: 0 0 1.25rem; color: var(--terracotta); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 1.5rem; border: 0; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.button-primary { background: var(--terracotta); color: #fffaf6; }
.button-primary:hover { background: var(--terracotta-dark); }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--terracotta); cursor: pointer; }
.member-shell { min-height: calc(100vh - 260px); display: grid; place-items: center; padding: clamp(3rem,8vw,8rem) 5vw; background: radial-gradient(circle at 18% 12%,rgba(182,154,106,.18),transparent 30%), var(--cream); }
.member-card { width: min(690px,100%); padding: clamp(2rem,5vw,5rem); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 70px rgba(48,43,40,.08); }
.member-card h1 { font-size: clamp(2.5rem,5vw,4.8rem); }
.member-card > p:not(.eyebrow) { max-width: 55ch; margin: 1.5rem 0 0; color: #625a54; }
.auth-form { display: grid; gap: 1.15rem; margin-top: 2rem; }
.auth-form label { display: grid; gap: .5rem; color: var(--olive); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.auth-form input, .one-time-link input { min-height: 50px; width: 100%; padding: 0 .9rem; border: 1px solid var(--line); background: #fff; color: var(--charcoal); text-transform: none; letter-spacing: normal; }
.auth-form .button { margin-top: .5rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.security-note { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--olive); font-size: .82rem; }
.security-note p { margin: 0; }
.security-note span { color: var(--champagne); }
.small-copy { font-size: .82rem; }
.notice { margin: 1.5rem 0; padding: .9rem 1rem; border-left: 3px solid var(--terracotta); background: rgba(182,87,58,.08); }
.notice-success { border-color: var(--olive); background: rgba(104,112,94,.1); }
.vip-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; padding: clamp(4rem,8vw,8rem) 6vw; background: var(--charcoal); color: var(--cream); }
.vip-hero .eyebrow { color: #dc9a7e; }
.vip-hero > div:last-child { align-self: end; max-width: 38rem; color: #d5c8b8; }
.member-badge { display: inline-flex; margin-top: 1rem; padding: .7rem .9rem; border: 1px solid rgba(244,239,231,.28); font-size: .76rem; }
.member-badge strong { margin-left: .4rem; color: var(--cream); }
.collection-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 8vw; padding: clamp(3.5rem,7vw,7rem) 6vw; border-bottom: 1px solid var(--line); }
.collection-heading > p { align-self: end; color: var(--olive); }
.finder { padding: clamp(3rem,6vw,6rem) 4.5vw 7rem; }
.finder-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) 1.1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.filters > * { min-height: 86px; display: flex; flex-direction: column; justify-content: center; padding: .9rem 1rem; background: var(--paper); }
.filters label span { margin-bottom: .5rem; color: var(--olive); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.filters select { width: 100%; border: 0; background: transparent; color: var(--charcoal); }
.filters > div { align-items: flex-start; }
.filters > div strong { font-family: Georgia,serif; font-size: 1.5rem; }
.filters > div button { margin-top: .45rem; padding: 0; border: 0; background: none; color: var(--terracotta); cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.product-card[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 1.25/1; display: block; overflow: hidden; background: #e9e3d9; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-image small { position: absolute; right: .7rem; bottom: .7rem; padding: .35rem .5rem; background: rgba(48,43,40,.82); color: #fff; font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: 1.35rem 1.2rem 1.5rem; }
.product-copy em { color: var(--olive); font-size: .63rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-copy > strong { min-height: 3.5rem; margin: .8rem 0; font-family: Georgia,serif; font-size: 1.38rem; font-weight: 400; line-height: 1.05; }
.product-copy b { margin-top: auto; padding-top: 1rem; font-family: Georgia,serif; font-size: 1.08rem; font-weight: 400; }
.product-copy u { margin-top: .65rem; color: var(--terracotta); font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags i { padding: .32rem .42rem; border: 1px solid var(--line); color: var(--olive); font-size: .6rem; font-style: normal; text-transform: uppercase; }
.empty { padding: 3rem; text-align: center; }
.breadcrumb { display: flex; gap: .7rem; padding: 1rem 5vw; border-bottom: 1px solid var(--line); color: var(--olive); font-size: .72rem; }
.product-hero { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 700px; }
.gallery { padding: 3.5vw; border-right: 1px solid var(--line); background: #ebe5db; }
.gallery-main { width: 100%; aspect-ratio: 1.25/1; display: block; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6,1fr); gap: .55rem; margin-top: .8rem; }
.gallery-thumb { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--paper); cursor: pointer; }
.gallery-thumb.active { border-color: var(--terracotta); }
.gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gallery > p { margin-bottom: 0; color: var(--olive); font-size: .74rem; }
.summary { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem,5vw,6rem); background: var(--paper); }
.summary h1 { font-size: clamp(2.5rem,4.5vw,5rem); }
.summary > p:not(.eyebrow) { color: #625a54; }
.price-box { display: grid; margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--line); }
.price-box span, .price-box small { color: var(--olive); }
.price-box strong { margin: .25rem 0; font-family: Georgia,serif; font-size: 2rem; font-weight: 400; }
.summary-list { margin: 0 0 1.5rem; }
.summary-list div, .spec-list div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.summary-list dt, .spec-list dt { color: var(--olive); }
.summary-list dd, .spec-list dd { margin: 0; font-weight: 700; }
.details { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; padding: clamp(4rem,7vw,8rem) 6vw; }
.details h2 { margin-bottom: 1.5rem; }
.details table, .admin-card table { width: 100%; border-collapse: collapse; }
.details th, .details td, .admin-card th, .admin-card td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.details th, .admin-card th { color: var(--olive); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.private-note { padding: clamp(3rem,6vw,6rem); background: var(--olive); color: var(--cream); }
.private-note p { max-width: 55rem; color: #e0e3db; }
.image-dialog { width: min(94vw,1200px); height: min(92vh,900px); padding: 3rem; border: 0; background: var(--paper); }
.image-dialog::backdrop { background: rgba(30,26,24,.86); }
.image-dialog img { width: 100%; height: 100%; object-fit: contain; }
.image-dialog button { position: absolute; top: .7rem; right: .9rem; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.admin-shell { padding: clamp(3rem,6vw,6rem) 5vw; }
.admin-hero { display: grid; grid-template-columns: 1fr .45fr; gap: 5vw; align-items: end; margin-bottom: 3rem; }
.admin-hero h1 { font-size: clamp(2.8rem,5vw,5.5rem); }
.admin-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; margin-bottom: 1rem; }
.admin-card, .one-time-link { padding: clamp(1.5rem,3vw,3rem); border: 1px solid var(--line); background: var(--paper); }
.admin-card h2, .one-time-link h2 { font-size: clamp(1.7rem,2.7vw,3rem); }
.one-time-link { margin-bottom: 1rem; border-color: var(--champagne); }
.one-time-link input { margin-top: 1rem; }
.table-wrap { overflow-x: auto; margin-top: 1.2rem; }
.admin-card td small { display: block; margin-top: .25rem; color: var(--olive); }
.status { padding: .3rem .45rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.status-active { background: rgba(104,112,94,.14); color: var(--olive); }
.status-disabled { background: rgba(182,87,58,.12); color: var(--terracotta); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 5vw; border-top: 1px solid var(--line); background: var(--paper); color: var(--olive); font-size: .76rem; }
.site-footer > p:last-child { text-align: right; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .announcement { gap: .7rem; font-size: .57rem; }
  .site-header { min-height: 72px; padding: 0 1rem; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .header-cta { padding: .65rem .75rem; font-size: .6rem; }
  .vip-hero, .collection-heading, .product-hero, .details, .admin-hero, .admin-grid { grid-template-columns: 1fr; }
  .vip-hero { gap: 2.5rem; }
  .finder { padding-left: 1rem; padding-right: 1rem; }
  .finder-heading { align-items: flex-start; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-copy { padding: 1rem .85rem; }
  .product-copy > strong { min-height: 3rem; font-size: 1.08rem; }
  .gallery { border-right: 0; }
  .gallery-thumbs { grid-template-columns: repeat(4,1fr); }
  .details { padding-left: 1.2rem; padding-right: 1.2rem; overflow: hidden; }
  .details > div { overflow-x: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p:last-child { text-align: left; }
}

@media (max-width: 430px) {
  .brand-name { font-size: .98rem; }
  .product-grid { grid-template-columns: 1fr; }
  .member-card { padding: 1.5rem; }
}
