/* ===========================================================
   Rosenborg Keepsakes — souvenir shop
   Palette inspired by Rosenborg Castle: brick red, copper
   verdigris roofs, cream stone, gilded crown accents.
   =========================================================== */

:root {
  --brick: #8a3a36;
  --brick-dark: #6e2c29;
  --verdigris: #3f8f7f;
  --verdigris-dark: #2c6b5e;
  --cream: #f7f1e3;
  --cream-2: #efe6d2;
  --ink: #2a2622;
  --muted: #6f675c;
  --gold: #b8893d;
  --gold-light: #d8b06a;
  --line: #e0d6c1;
  --white: #fffdf8;
  --shadow: 0 10px 30px rgba(60, 40, 20, 0.12);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--verdigris-dark); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brick-dark);
  color: var(--cream);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-site {
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}
.topbar-site:hover { color: var(--white); }
@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; }
  .topbar-promo { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand .crown {
  font-size: 1.7rem;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.nav {
  display: flex;
  gap: 26px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--brick);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(46, 30, 20, 0.55), rgba(46, 30, 20, 0.55)),
    radial-gradient(circle at 30% 20%, var(--verdigris-dark), var(--brick-dark));
  color: var(--cream);
  text-align: center;
  padding: 88px 24px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 14px;
  line-height: 1.15;
}
.hero p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  opacity: 0.95;
}
.hero .eyebrow {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: #2a1c08;
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost {
  background: var(--verdigris-dark);
  color: var(--white);
  border: 1px solid var(--verdigris-dark);
}
.btn-ghost:hover {
  background: var(--verdigris);
  transform: translateY(-2px);
}

/* ---------- Section heads ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 10px 0 0;
}
.section-head p { color: var(--muted); max-width: 600px; margin: 12px auto 0; }

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(60, 40, 20, 0.2);
}
.card-media {
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.card-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18));
}
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.card-foot {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brick);
  display: flex;
  align-items: center;
  gap: 6px;
}
.card:hover .card-foot { color: var(--verdigris-dark); }

/* ---------- Product detail ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 60px 0;
}
.product-media {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.product-media img {
  max-height: 460px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.2));
}
.breadcrumb {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 26px 0 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brick); }
.product-info .kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold);
}
.product-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.product-info .lead { font-size: 1.12rem; color: var(--ink); }
.note {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 26px 0;
}
.specs {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  border-top: 1px solid var(--line);
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.specs li span:first-child {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  color: var(--muted);
}
.specs li span:last-child { text-align: right; font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.buy-row .btn-ghost { font-size: 0.86rem; padding: 16px 34px; }
.sold-by {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}
.sold-by strong { color: var(--ink); }

/* ---------- Feature strip ---------- */
.features {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.feature { text-align: center; }
.feature .ico { font-size: 1.8rem; }
.feature h4 {
  margin: 12px 0 6px;
  font-size: 1.05rem;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Legal / content pages ---------- */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 8px; }
.page .updated {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.page h2 { font-size: 1.35rem; margin: 38px 0 10px; color: var(--brick); }
.page h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.prose { max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brick-dark);
  color: var(--cream);
  padding: 56px 0 28px;
}
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-grid h5 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand .brand-name { font-size: 1.3rem; font-weight: 700; }
.footer-brand p { opacity: 0.85; max-width: 320px; font-size: 0.95rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 36px));
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 100;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; line-height: 1.5; }
.cookie-banner a { color: var(--gold-light); }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 30px;
  padding: 11px 20px;
  cursor: pointer;
}
.cookie-banner .accept { background: var(--gold); color: #2a1c08; }
.cookie-banner .accept:hover { background: var(--gold-light); }
.cookie-banner .decline { background: transparent; color: var(--cream); border: 1px solid rgba(255,255,255,0.4); }
.cookie-banner .decline:hover { background: rgba(255,255,255,0.1); }
.cookie-banner.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product-media { position: static; top: auto; }
  .features .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 20px; }
}
