/* product-ladies-sealing */

:root {
  --bg0: #000000;
  --bg1: #090101;
  --ink: #b8877c;
  --muted: #8e5e54;
  --ember: #7a2a18;
  --wood: #2a0806;
  --line: rgba(58, 22, 14, 0.18);
  --shadow: 0 24px 70px rgba(7, 2, 2, 0.65);
  --r: 22px;
  --max: 1240px;
  --fontFamily1: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --fontFamily2: "MedievalSharp", cursive;
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--fontFamily1);
  background: radial-gradient(1100px 700px at 70% 20%, rgba(90, 40, 18, 0.06), transparent 55%),radial-gradient(900px 600px at 20% 70%, rgba(55, 20, 12, 0.05), transparent 60%),linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
  padding: 32px 18px 54px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--ember);
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.sheet {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  padding-bottom: 28px;
}
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-copy h1 {
  margin: 0;
  font-family: var(--fontFamily2);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  font-size: 34px;
  position: relative;
  top: 10px;
}
.wax {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(10, 0, 0, 0.45), transparent 55%),
  linear-gradient(135deg, rgba(24, 1, 1, 0.25), rgba(26, 4, 4, 0.2)),
  var(--wood);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  top: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wax img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10,6,4,.35);
  backdrop-filter: blur(6px);
  font-family: var(--fontFamily1);
  font-size: 15px;
}
.pill:hover {
  border-color: rgb(75, 44, 1);
  color: #754e06;
}
.tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 8px;
  margin-left: 8px;
  font-size: 0.60rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}
.tagline::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.tagline::after {
  content: "";
  width: 55px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: -15px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: radial-gradient(900px 340px at 10% 10%, rgba(120, 58, 24, 0.06), transparent 45%),rgba(8, 3, 2, 0.44);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.product-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-category:hover {
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.product-category.large {
  margin-bottom: 14px;
  font-size: 12px;
}
.product-page {
  padding: 10px 0 18px;
}
.product-detail-panel {
  padding: 20px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .95fr);
  gap: 24px;
  align-items: start;
}
.product-gallery {
  min-width: 0;
}
.product-main-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.product-main-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.product-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(34, 3, 3, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-thumb:hover, .product-thumb.active {
  border-color: rgba(165, 106, 42, 0.45);
  box-shadow: 0 0 0 1px rgba(165, 106, 42, 0.22) inset;
  transform: translateY(-1px);
}
.product-info-top {
  margin-bottom: 18px;
}
.product-detail-title {
  margin: 0 0 12px;
  font-family: var(--fontFamily2);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  color: var(--ink);
}
.product-detail-price {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.product-detail-short {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.detail-block {
  margin-top: 18px;
}
.detail-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-family: var(--fontFamily2);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 14px;
}
.product-detail-copy {
  margin: 0;
  color: var(--ink);
  line-height: 1.8;
  font-size: 14px;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

/* Product option selector */
.product-option-container {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  gap: 8px;
  margin-bottom: 6px;
}

.product-option-label {
  font-family: var(--fontFamily1);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.product-option-select {
  width: 100%;
  max-width: 240px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(165, 106, 42, 0.35);
  border-radius: 14px;
  background: #200303;
  color: var(--ink);
  font-family: var(--fontFamily1);
  font-size: 16px;
  color-scheme: dark;
  cursor: pointer;
  transition: border-color .18s ease,
              background .18s ease,
              box-shadow .18s ease;
}

.product-option-select:hover {
  border-color: rgba(165, 106, 42, 0.65);
  background: #130b07;
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.product-option-select:focus-visible {
  outline: 2px solid rgba(165, 106, 42, 0.65);
  outline-offset: 3px;
}

.product-option-select option {
  background: #200303;
  color: var(--ink);
}

.vat-note {
  display: block;
  font-family: Georgia, serif;
  font-size: 0.55em;
  font-weight: normal;
  font-style: italic;
  margin-top: 4px;
  opacity: 0.85;
}
.delivery-note {
  display: block;
  font-size: 0.65em;
  font-weight: 400;
  margin-top: 6px;
  color: var(--ink);
}
/* ========================================
   PRODUCT STOCK AVAILABILITY
======================================== */
.stock-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  font-style: italic;
  margin-top: 10px;
}

.stock-note[hidden] {
  display: none;
}

.stock-note.low-stock {
  color: #c49a58;
}

.stock-note.out-of-stock {
  color: #c56a60;
}
.btn {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(39, 3, 3, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn:hover {
  transform: translateY(-1px);
  color: #7a2a18;
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.btn.backTo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  padding: 0 23px;
  border-radius: 14px;
  line-height: 1;
  gap: 0;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 64px;
}
.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #120605;
}
.lightbox-close, .lightbox-nav {
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.72);
  color: var(--ink);
  cursor: pointer;
  border-radius: 14px;
  z-index: 2;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.lightbox-close:hover, .lightbox-nav:hover {
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  font-size: 42px;
  line-height: 1;
  opacity: .85;
}
.lightbox-prev {
  left: 12px;
}
.lightbox-next {
  right: 12px;
}
.footer {
  margin-top: 60px;
  color: rgba(116, 77, 77, 0.75);
  font-size: 12px;
  letter-spacing: .06em;
  text-align: left;
  hyphens: auto;
}

@media (max-width: 900px) {
    .topbar {
        flex-wrap: wrap;
    }

    .nav-buttons {
        margin-top: 0;
        flex-wrap: wrap;
    }

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {

  body {
    padding: 18px 10px 34px;
}

.wax {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    top: 0;
}

.topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 16px;
}

.brand {
    align-items: flex-start;
    gap: 10px;
}

.nav-buttons {
    margin-top: 0;
    flex-wrap: wrap;
}

.pill {
    font-size: 14px;
    padding: 9px 11px;
}

.brand-copy h1 {
    font-size: 25px;
    line-height: 1.05;
    top: 2px;
}

.tagline {
    margin: 4px 0 0 2px;
    font-size: 0.60rem;
    letter-spacing: 0.1em;
    gap: 6px;
}

.tagline::before {
    width: 22px;
}

.tagline::after {
    width: 34px;
}

  .panel, .product-detail-panel {
    padding: 16px;
  }
  
  .product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .product-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .lightbox-dialog {
    width: 100vw;
    height: 100vh;
    padding: 0 4px;
  }
  .lightbox-nav {
    width: 40px;
    height: 56px;
    font-size: 28px;
  }
  .lightbox-close {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

}

@media (max-width: 520px) {
    body {
        padding: 14px 8px 34px;
    }

    .topbar {
        gap: 10px;
        padding: 10px 0 14px;
    }

    .brand {
        gap: 9px;
    }

    .wax {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .brand-copy h1 {
        font-size: 24px;
        top: 4px;
    }

    .tagline {
        font-size: 0.56rem;
        letter-spacing: 0.08em;
    }

    .tagline::before {
        width: 16px;
    }

    .tagline::after {
        width: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

