/* ONE Retail Store — holiday catalog */
:root {
  --bg: #f4eee4;
  --bg-deep: #17312b;
  --bg-deep-2: #10241f;
  --panel: #fffdf8;
  --ink: #1c1916;
  --ink-soft: #5c564e;
  --gold: #b8893a;
  --gold-soft: #ebd9b0;
  --berry: #8f2d3a;
  --pine: #23463c;
  --line: rgba(28, 25, 22, 0.12);
  --shadow: 0 14px 32px rgba(23, 49, 43, 0.1);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", "Avenir Next", Calibri, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(184, 137, 58, 0.16) 1.15px, transparent 1.2px);
  background-size: 22px 22px;
}

a { color: var(--pine); }
a:hover { color: var(--berry); }

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

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  background:
    linear-gradient(180deg, rgba(184, 137, 58, 0.16), transparent 42%),
    linear-gradient(160deg, var(--bg-deep-2), var(--bg-deep) 55%, #1d3f36);
  color: #f6efe4;
  border-bottom: 4px solid var(--gold);
  position: relative;
  z-index: 1;
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover { color: inherit; }

.wordmark-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(232, 213, 168, 0.45);
  flex-shrink: 0;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.wordmark-name {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  font-weight: 700;
}

.wordmark-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.header-note {
  font-size: 0.85rem;
  color: rgba(246, 239, 228, 0.8);
  text-align: right;
  max-width: 16rem;
}

/* Main */
main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
}

.hero {
  margin: 0 0 1.75rem;
}

.hero h1 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.notice {
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(143, 45, 58, 0.08);
  border-left: 3px solid var(--berry);
  color: #5a2a30;
  font-size: 0.95rem;
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(23, 49, 43, 0.14);
  color: inherit;
}

.card-image,
.product-image {
  background: #e8efe9;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-image img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
}

.card .desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}

.price {
  font-weight: 700;
  color: var(--berry);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.details-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pine);
}

/* Product page */
.back {
  display: inline-block;
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  text-decoration: none;
  font-weight: 600;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}

.product-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

.product h1 {
  margin: 0 0 0.55rem;
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}

.product .lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.margin-info {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin: 1.1rem 0 1.25rem;
}

.margin-info h2 {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.margin-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
}

.margin-info dt { color: var(--ink-soft); }
.margin-info dd { margin: 0; font-weight: 600; }

.order-btn {
  display: inline-block;
  background: var(--berry);
  color: #fffdf8;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 0;
  letter-spacing: 0.02em;
}

.order-btn:hover {
  background: #742430;
  color: #fffdf8;
}

.pay-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 32rem;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: #e8e0d4;
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--gold);
  padding: 1.25rem 0;
  font-size: 0.92rem;
}

.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }

.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; }
  .header-note { display: none; }
  .product { grid-template-columns: 1fr; }
  .product-image { max-width: 28rem; }
}

@media (max-width: 420px) {
  .wordmark-name { font-size: 1.15rem; }
}

/* Site-wide order note */
.site-banner {
  background: #23463c;
  color: #f6efe4;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(232, 213, 168, 0.28);
}

.site-banner .wrap { margin: 0 auto; }

.notice {
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(35, 70, 60, 0.08);
  border-left: 3px solid var(--pine);
  color: var(--pine);
  font-size: 0.95rem;
}

.product-note {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(143, 45, 58, 0.1);
  color: var(--berry);
  font-size: 0.88rem;
  font-weight: 600;
}

.card .product-note {
  margin: 0.15rem 0 0;
  align-self: flex-start;
}

.margin-info p.margin-disclaimer {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.wordmark-name {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
