/* Self-hosted fonts (SIL Open Font License, see assets/fonts). */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
}

/* Blackbeard's Grooming. Direction A (Harbour Black) with B's shop filter and kit cards. */

:root {
  --ink: #0e0d0b;
  --ink-2: #16140f;
  --ink-3: #1d1a15;
  --line: #2b2822;
  --bone: #ede4d3;
  --bone-2: #d9cdb7;
  --muted: #b2a896;
  --muted-2: #8f8676;
  --brass: #c29a4b;
  --brass-light: #d9b26a;
  --brass-ink: #6e5119;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope Variable', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brass-light);
}

a:hover {
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--bone {
  background: var(--bone);
  color: var(--ink);
}

.section--panel {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.section--bone .eyebrow {
  color: var(--brass-ink);
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

.section--bone .lead {
  color: #3d382f;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 700 15px/1 var(--sans);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn--brass:hover {
  background: var(--brass-light);
  color: var(--ink);
}

.btn--ghost {
  border-color: #5e584c;
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--bone);
  color: var(--bone);
}

.btn--ink {
  background: var(--ink);
  color: var(--bone);
}

.btn--ink:hover {
  background: #2a2620;
  color: var(--bone);
}

.btn--block {
  width: 100%;
}

/* Not yet on sale: looks like a button, does nothing. */
.btn--soon {
  border-color: var(--brass);
  color: var(--brass);
  cursor: default;
}

.kit-card--light .btn--soon {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Announcement + header */

.announcement {
  background: var(--brass);
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 11, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.site-header__logo {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
}

.site-header__logo img {
  width: 168px;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--bone);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--brass-light);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__shop {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  display: grid;
}

.mobile-nav a {
  color: var(--bone);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a[aria-current='page'] {
  color: var(--brass-light);
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    gap: 32px;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .site-header__logo img {
    width: 196px;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px);
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: 0.96;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero .lead {
  margin-top: 26px;
}

.hero .btn-row {
  margin-top: 34px;
}

.hero__note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted-2);
}

.hero__card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 22px;
}

.hero__card h2 {
  font-size: clamp(34px, 4vw, 44px);
}

.hero__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 64px;
  }
}

/* Benefits strip */

.benefits {
  border-block: 1px solid var(--line);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 32px;
  padding-block: 34px;
}

.benefit h3 {
  font-size: 22px;
}

.benefit p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* Product visual (photo or branded tile when no photo yet) */

.product-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-visual--tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(194, 154, 75, 0.16), transparent 60%),
    var(--ink-3);
}

.product-visual__need {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.product-visual__name {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  color: var(--bone);
}

.product-visual__mark {
  width: 44px;
  height: 2px;
  background: var(--brass);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
}

.product-visual .badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card__link {
  color: inherit;
  text-decoration: none;
  display: grid;
  gap: 14px;
}

.product-card__link:hover h3 {
  color: var(--brass-light);
}

.product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.product-card h3 {
  font-size: 24px;
  transition: color 0.15s ease;
}

.price {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.price--muted {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

.product-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.product-card .btn {
  margin-top: auto;
}

/* Kit cards (from Sand & Salt) */

.kits-band {
  background: var(--bone);
  color: var(--ink);
}

.kits-band__panel {
  display: grid;
  gap: 40px;
  align-items: center;
}

.kits-band h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
}

.kit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.kit-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--ink);
  color: var(--bone);
}

.kit-card--light {
  background: #fffaf1;
  color: var(--ink);
  border: 1px solid #d8ccb5;
}

.kit-card h3 {
  font-size: 34px;
}

.kit-card__includes {
  font-size: 14px;
  color: var(--muted);
}

.kit-card--light .kit-card__includes {
  color: #4d473d;
}

.kit-card__price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.kit-card--light .kit-card__price {
  color: #4d473d;
}

.kit-card__price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  color: inherit;
}

.kit-card .btn {
  margin-top: auto;
}

.kit-card--light .badge {
  background: var(--ink);
  color: var(--bone);
}

@media (min-width: 960px) {
  .kits-band__panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }
}

/* Routine */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  border-top: 1px solid var(--brass);
  padding-top: 24px;
}

.step__num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--brass-light);
}

.step h3 {
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* Legend */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split h2 {
  font-size: clamp(36px, 5vw, 54px);
}

.split .lead {
  margin-top: 20px;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }
}

.legend-mark {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(194, 154, 75, 0.14), transparent 65%),
    var(--ink-2);
  display: grid;
  gap: 24px;
}

.legend-mark img {
  width: min(100%, 420px);
}

.legend-mark p {
  color: var(--muted);
  font-size: 15px;
}

/* Contact band */

.contact-band {
  text-align: center;
}

.contact-band h2 {
  font-size: clamp(36px, 5vw, 52px);
}

.contact-band .lead {
  margin: 16px auto 0;
}

.contact-band .btn-row {
  justify-content: center;
  margin-top: 30px;
}

/* Shop page */

.page-head {
  padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px);
}

.page-head h1 {
  margin-top: 14px;
  font-size: clamp(44px, 7vw, 84px);
}

.page-head .lead {
  margin-top: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.pill {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #5e584c;
  background: transparent;
  color: var(--bone);
  font: 600 14px/1 var(--sans);
  cursor: pointer;
}

.pill:hover {
  border-color: var(--bone);
}

.pill[aria-pressed='true'] {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.shop-count {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Product detail */

.pdp {
  display: grid;
  gap: 40px;
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 112px);
}

.pdp .product-visual {
  aspect-ratio: 1 / 1;
}

.pdp .product-visual__name {
  font-size: clamp(40px, 6vw, 72px);
}

.pdp__info h1 {
  margin-top: 12px;
  font-size: clamp(40px, 5.5vw, 64px);
}

.pdp__price {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 34px;
}

.pdp__info .lead {
  margin-top: 18px;
}

.pdp__buy {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.pdp__fine {
  font-size: 13px;
  color: var(--muted-2);
}

.pdp__block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pdp__block h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.pdp__block p,
.pdp__block li {
  margin-top: 10px;
  color: var(--muted);
}

.pdp__block ul {
  margin: 0;
  padding-left: 18px;
}

.pdp__block a {
  color: var(--bone);
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted-2);
  padding-top: 28px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--bone);
}

@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .pdp .product-visual {
    position: sticky;
    top: 108px;
  }
}

/* Prose pages (Legend, FAQ) */

.prose {
  max-width: 720px;
}

.prose p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-top: 18px;
}

.prose h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 48px;
}

.faq {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 26px;
  color: var(--brass-light);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 22px;
  max-width: 680px;
}

/* Footer */

.site-footer {
  background: #080807;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px;
  padding-block: 56px 40px;
}

.site-footer img {
  width: 170px;
}

.site-footer__about {
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bone);
}

.site-footer__base {
  border-top: 1px solid var(--line);
  padding-block: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12px;
  color: var(--muted-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Kits band sits on bone: darken its supporting text for contrast. */
.kits-band .lead {
  color: #3d382f;
}

.kits-band .eyebrow {
  color: var(--brass-ink);
}

/* Phones: two products per row so the catalogue doesn't scroll forever. */
@media (max-width: 599px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .product-visual--tile {
    padding: 14px;
  }

  .product-visual__name {
    font-size: 22px;
  }

  .product-grid .product-visual__need {
    visibility: hidden;
  }

  .product-visual .badge {
    top: 10px;
    right: 10px;
    font-size: 9px;
    padding: 5px 8px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-card__row {
    flex-direction: column;
    gap: 2px;
  }

  .product-card p {
    font-size: 13px;
  }

  .product-card .btn {
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  .site-header__logo img {
    width: 132px;
  }

  .site-header__shop {
    padding: 0 14px;
  }
}

/* Shop filter pills are plain links in the PHP build (no JavaScript needed). */
a.pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

a.pill[aria-current='page'] {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

a.pill:hover {
  color: var(--bone);
}

a.pill[aria-current='page']:hover {
  color: var(--ink);
}

/* The mobile menu is toggled by assets/js/main.js; hidden by default. */
.mobile-nav[hidden] {
  display: none;
}

.product-visual__mark {
  display: block;
  margin-bottom: 16px;
}

.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }
.pb-section { padding-bottom: clamp(64px, 9vw, 112px); }
.kit-card h3 a { color: inherit; text-decoration: none; }
.kits-band h2.h2-md { font-size: clamp(36px, 5vw, 56px); }
.hero__card .lead { font-size: 16px; }
.pdp__price .price--muted { margin-left: 12px; font-family: var(--sans); }

/* Product photos: show the whole bottle on its studio backdrop instead of cropping. */
.product-visual--photo {
  background: #eae6e5;
  border-color: #d9d4cf;
}

.product-visual--photo img {
  object-fit: contain;
}

.hero__photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #eae6e5;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* Product pages: photo frames match the 4:5 photos exactly, so no backdrop bands show. */
.pdp .product-visual--photo {
  aspect-ratio: 4 / 5;
  max-height: 760px;
}


/* Seasonal gift feature (home page). Warm lantern glow, deep red and brass ribbon. */
.gift {
  --gift-red: #7d1d1d;
  --gift-red-deep: #3d0d0d;
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(60% 70% at 18% 30%, rgba(194, 154, 75, 0.22), transparent 70%),
    radial-gradient(55% 60% at 92% 95%, rgba(125, 29, 29, 0.55), transparent 70%),
    linear-gradient(180deg, #120f0b 0%, var(--ink) 100%);
  border-top: 6px solid var(--gift-red);
  box-shadow: inset 0 1px 0 var(--brass), inset 0 6px 0 -5px var(--brass);
}

/* A string of warm lights along the top edge. */
.gift__lights {
  position: absolute;
  inset: 0 0 auto 0;
  height: 34px;
  background-image: radial-gradient(circle, #f3d48b 0 2.5px, rgba(243, 212, 139, 0.35) 3.5px, transparent 9px);
  background-size: 46px 34px;
  background-position: 12px 4px;
  opacity: 0.9;
  animation: gift-twinkle 3.2s ease-in-out infinite alternate;
}

@keyframes gift-twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.gift__grid {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.gift__photo {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(194, 154, 75, 0.35);
}

.gift__photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.gift__photo:hover img {
  transform: scale(1.03);
}

/* Ribbon running down the photo's right edge. */
.gift__photo::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 9%;
  width: 22px;
  background: linear-gradient(90deg, var(--brass) 0 2px, var(--gift-red) 2px calc(100% - 2px), var(--brass) calc(100% - 2px));
  opacity: 0.92;
  pointer-events: none;
}

/* Gift tag hanging off the ribbon. */
.gift__tag {
  position: absolute;
  top: 26px;
  right: calc(9% - 34px);
  z-index: 1;
  padding: 10px 16px 10px 26px;
  background: var(--bone);
  color: var(--ink);
  font: 800 12px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  transform: rotate(-4deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.gift__tag::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--gift-red);
}

.gift__info h2 {
  margin: 14px 0 0;
  font: 400 clamp(44px, 6.4vw, 84px)/0.98 var(--serif);
  color: var(--bone);
}

.gift__line {
  margin: 16px 0 0;
  font: italic 400 clamp(22px, 2.6vw, 30px)/1.25 var(--serif);
  color: var(--brass-light);
}

.gift__contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.gift__contents li {
  padding: 8px 14px;
  border: 1px solid rgba(194, 154, 75, 0.45);
  border-radius: 999px;
  color: var(--bone-2);
  font: 600 13px/1 var(--sans);
}

.gift__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 28px 0 24px;
}

.gift__price strong {
  font: 400 52px/1 var(--serif);
  color: var(--bone);
}

.gift__price span {
  color: var(--brass);
  font: 700 15px/1.3 var(--sans);
  letter-spacing: 0.02em;
}

.gift__countdown {
  margin: 22px 0 0;
  color: var(--bone-2);
  font: 600 14px/1.4 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gift__countdown span {
  display: inline-block;
  min-width: 2ch;
  margin-right: 4px;
  color: var(--brass-light);
  font: 400 30px/1 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  vertical-align: -4px;
}

.gift__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .gift__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift__lights { animation: none; }
  .gift__photo img { transition: none; }
}


/* Kit add-ons (product page). */
.addons ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.addons__lead {
  font-size: 14px;
}

.addons--pick {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.addons--pick legend {
  padding: 0;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.addons--pick .addons__lead {
  margin: 8px 0 0;
  color: var(--muted);
}

.addon {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  color: var(--muted);
}

.addons--pick .addon {
  grid-template-columns: auto auto 1fr auto;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.addons--pick .addon:hover {
  border-color: #5e584c;
}

.addons--pick .addon:has(input:checked) {
  border-color: var(--brass);
  background: rgba(194, 154, 75, 0.08);
}

.addon input {
  width: 20px;
  height: 20px;
  margin: 0 0 0 4px;
  accent-color: var(--brass);
}

.addon img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #ebe8e5;
}

.addon__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.pdp__block .addon__text a,
.addon__text strong {
  color: var(--bone);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.addon__price {
  color: var(--bone);
  font: 700 15px/1 var(--sans);
}

.pdp__block .addon__add,
.addon__add {
  padding: 9px 14px;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  color: var(--brass);
  font: 700 13px/1 var(--sans);
  text-decoration: none;
}

.pdp__block .addon__add:hover {
  background: var(--brass);
  color: var(--ink);
}

.pdp__block.addons li {
  margin-top: 0;
}

.gift__addons {
  margin: 18px 0 0;
  color: var(--bone-2);
  font-size: 15px;
}

.gift__addons a {
  color: var(--brass-light);
}

@media (max-width: 420px) {
  .addon { grid-template-columns: 1fr auto; }
  .addon img { display: none; }
  .addons--pick .addon { grid-template-columns: auto 1fr auto; }
  .addon__add { grid-column: 1 / -1; text-align: center; }
}
