.product-visual {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.product-visual:focus-visible {
  outline: 2px solid #15120f;
  outline-offset: -5px;
}

.product-explore {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0 0 7px;
  border-bottom: 1px solid #15120f;
  background: transparent;
  color: #15120f;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 8px;
}

.product-explore span {
  font-size: 12px;
}

.product-explore:focus-visible,
.product-detail button:focus-visible {
  outline: 2px solid #9b7b4d;
  outline-offset: 4px;
}

.product-detail {
  position: fixed;
  z-index: 65;
  inset: var(--header-compact-height) 0 0;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(520px, 1.15fr);
  align-items: start;
  gap: clamp(38px, 5vw, 76px);
  overflow-y: auto;
  padding: 38px clamp(38px, 7vw, 96px) 88px;
  background: #f4f0e8;
  color: #15120f;
  animation: product-detail-in 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}

@keyframes product-detail-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-detail-gallery {
  position: sticky;
  top: 30px;
  width: 100%;
  max-width: 520px;
}

.product-detail-visual {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: #dfd7ca;
  color: #fff;
}

.product-detail-visual::before,
.product-detail-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.product-detail-visual::before {
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.product-detail-visual::after {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 47%, transparent 66%),
    linear-gradient(180deg, transparent 55%, rgba(15, 9, 5, 0.22));
}

.product-detail-visual-photographic::before {
  display: none;
}

.product-detail-visual-photographic::after {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 10, 6, 0.35) 0%,
    rgba(15, 10, 6, 0) 25%,
    rgba(15, 10, 6, 0) 68%,
    rgba(15, 10, 6, 0.48) 100%
  );
}

.product-detail-visual.is-chart::after {
  display: none;
}

.product-detail-visual.is-chart .product-detail-image {
  padding: 12px;
  object-fit: contain;
  background: #f8f4eb;
}

.product-detail-visual.is-chart .product-detail-number,
.product-detail-visual.is-chart > p {
  display: none;
}

.product-detail-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-detail-number,
.product-detail-visual > p {
  position: absolute;
  z-index: 3;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
}

.product-detail-number {
  top: 20px;
  left: 20px;
}

.product-detail-visual > p {
  right: 20px;
  bottom: 20px;
  font-family: var(--serif);
}

.product-detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-detail-thumbnails button {
  width: 78px;
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid #c9c2b7;
  background: #f8f5ef;
  cursor: pointer;
}

.product-detail-thumbnails button.active {
  border-color: #15120f;
}

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

.product-detail-bottle {
  position: relative;
  z-index: 2;
  width: 195px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.48), rgba(240, 225, 201, 0.16) 58%, rgba(44, 30, 18, 0.18));
  box-shadow: 35px 45px 70px rgba(24, 12, 8, 0.32);
}

.product-detail-bottle > i {
  position: absolute;
  top: -82px;
  left: 52px;
  width: 90px;
  height: 80px;
  border-radius: 6px 6px 3px 3px;
  background: #0e0d0c;
  box-shadow: inset 0 -14px rgba(255, 255, 255, 0.07);
}

.product-detail-bottle > div {
  position: absolute;
  inset: 95px 35px 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.product-detail-bottle img {
  width: 76px;
  height: auto;
  filter: invert();
  opacity: 0.9;
}

.product-detail-content {
  position: relative;
  min-width: 0;
  overflow: visible;
  padding: 6px 0 28px;
}

.product-detail-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c9c2b7;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.product-detail-content > .eyebrow {
  margin: 8px 58px 16px 0;
  color: #72675d;
}

.product-detail-content h2 {
  max-width: 680px;
  margin: 0;
  letter-spacing: -0.055em;
  font-size: clamp(42px, 4.5vw, 60px);
  line-height: 0.92;
}

.product-detail-inspired {
  margin: 11px 0 0;
  color: #766c63;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.product-detail-description {
  max-width: 680px;
  margin: 24px 0 28px;
  color: #3f3832;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.note-pyramid,
.product-profile {
  display: grid;
}

.note-pyramid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.note-pyramid > div,
.product-profile > div {
  min-width: 0;
}

.note-pyramid > div {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 22px;
  border: 1px solid #d3c6b8;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8eedf, #f5f0e8);
  box-shadow: 0 10px 26px rgba(57, 42, 29, 0.045);
}

.note-pyramid > div:nth-child(2) {
  border-color: #d6c3bf;
  background: linear-gradient(145deg, #f5e7e4, #f7f1ea);
}

.note-pyramid > div:nth-child(3) {
  border-color: #cbbcaf;
  background: linear-gradient(145deg, #ebe1d5, #f5eee5);
}

.note-pyramid > div::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #b98d56;
}

.note-pyramid > div:nth-child(2)::before {
  background: #aa7771;
}

.note-pyramid > div:nth-child(3)::before {
  background: #6d5243;
}

.note-pyramid span,
.product-profile span,
.delivery-note > span {
  display: block;
  margin-bottom: 10px;
  color: #80766c;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 8px;
}

.note-pyramid strong {
  display: block;
  color: #241b17;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.product-profile {
  grid-template-columns: 0.82fr 1.4fr 1fr;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #cbbdaf;
  border-radius: 12px;
  background: #eee3d5;
  box-shadow: 0 12px 28px rgba(57, 42, 29, 0.045);
}

.product-profile > div {
  padding: 18px 17px 20px;
  border-right: 1px solid rgba(116, 91, 70, 0.22);
}

.product-profile > div:nth-child(2) {
  background: rgba(255, 252, 247, 0.42);
}

.product-profile > div:last-child {
  border-right: 0;
}

.product-profile strong {
  display: block;
  color: #2f241e;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.product-detail-buy {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #15120f;
  background: #f8f5ef;
}

.product-detail-buy + .note-pyramid {
  margin-top: 14px;
}

.product-detail-buy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.product-detail-buy-head .eyebrow {
  margin: 0 0 8px;
}

.product-detail-buy-head strong {
  margin-right: 12px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.product-detail-buy-head s {
  color: #8b8177;
  font-size: 12px;
}

.product-detail-buy-head > span {
  border: 1px solid #a88c60;
  border-radius: 30px;
  padding: 8px 12px;
  color: #795f37;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 7px;
}

.size-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  border: 1px solid #15120f;
}

.size-selector button {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
}

.size-selector button + button {
  border-left: 1px solid #15120f;
}

.size-selector button.active {
  background: #15120f;
  color: #fff;
}

.size-selector small {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.product-detail-actions .button {
  min-width: 0;
  width: 100%;
  justify-content: center;
}

.product-whatsapp {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid #244f40;
  background: #244f40;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 8px;
}

.product-whatsapp b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 14px;
}

.product-whatsapp i {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.product-trust > div {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 18px 16px 20px;
  border: 1px solid #d4c7b8;
  border-radius: 12px;
  background: #f8f3eb;
  box-shadow: 0 9px 24px rgba(57, 42, 29, 0.04);
}

.product-trust > div:nth-child(2),
.product-trust > div:nth-child(3) {
  background: #efe4d5;
}

.product-trust > div > span {
  color: #a37a47;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.product-trust p {
  margin: 0;
  color: #71675e;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.35;
}

.product-trust strong {
  display: block;
  margin-bottom: 6px;
  color: #15120f;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
  font-weight: 500;
}

.product-detail .product-occasions {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid #392d26;
  border-radius: 12px;
  background: linear-gradient(115deg, #2e241e, #46352b);
  box-shadow: 0 14px 30px rgba(38, 27, 21, 0.12);
}

.product-detail .product-occasions > span {
  padding-top: 0;
  color: #d2b17a;
}

.product-detail .product-occasions i {
  padding: 9px 13px;
  border-color: rgba(245, 237, 226, 0.36);
  background: rgba(255, 255, 255, 0.055);
  color: #f7efe5;
}

.product-story-flow {
  margin-top: 56px;
}

.product-story {
  padding: 44px 0;
  border-top: 1px solid #c9c2b7;
}

.product-story .eyebrow,
.product-education-block .eyebrow,
.product-perfume-map .eyebrow {
  margin: 0 0 18px;
  color: #756b61;
}

.product-story h3,
.product-education-block h3,
.product-perfume-map h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.25vw, 44px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.product-key-notes {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  align-items: start;
  gap: clamp(28px, 4vw, 52px);
}

.product-story-copy {
  display: flex;
  flex-direction: column;
}

.product-story-copy > p:not(.eyebrow),
.product-signature-main > p {
  margin: 21px 0 0;
  color: #4c443d;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}

.product-note-groups {
  margin-top: auto;
  padding-top: 24px;
}

.product-note-groups > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #d8d0c5;
}

.product-note-groups span,
.product-signature-facts dt {
  color: #7e746a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 8px;
}

.product-note-groups p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.35;
}

.product-signature {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(280px, 1fr);
  column-gap: clamp(28px, 4vw, 54px);
}

.product-signature > .eyebrow {
  grid-row: 1 / span 3;
}

.product-signature-main h3 {
  max-width: 640px;
}

.product-signature-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0 0;
  border-top: 1px solid #c9c2b7;
  border-left: 1px solid #c9c2b7;
}

.product-signature-facts > div {
  padding: 18px 16px 20px;
  border-right: 1px solid #c9c2b7;
  border-bottom: 1px solid #c9c2b7;
}

.product-signature-facts dt,
.product-signature-facts dd {
  margin: 0;
}

.product-signature-facts dd {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
}

.product-signature > small {
  margin-top: 10px;
  color: #7e746a;
  font-size: 9px;
}

.product-education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #c9c2b7;
  border-left: 1px solid #c9c2b7;
}

.product-education-block {
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid #c9c2b7;
  border-bottom: 1px solid #c9c2b7;
}

.product-education-block h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.03;
}

.product-education-block ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-education-block li {
  position: relative;
  margin-top: 12px;
  padding: 12px 0 0 20px;
  border-top: 1px solid #d8d0c5;
  color: #4c443d;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
}

.product-education-block li::before {
  content: "-";
  position: absolute;
  top: 12px;
  left: 0;
  color: #9b7b4d;
}

.product-education-block small {
  display: block;
  margin-top: 24px;
  color: #7e746a;
  font-size: 9px;
  line-height: 1.5;
}

.product-how-to {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) 1fr;
  gap: clamp(28px, 4vw, 54px);
}

.product-how-to ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-how-to li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid #c9c2b7;
}

.product-how-to li:last-child {
  border-bottom: 1px solid #c9c2b7;
}

.product-how-to li span {
  color: #9b7b4d;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.product-how-to li p {
  margin: 0;
  color: #4c443d;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
}

.product-perfume-map {
  padding: 44px 0 0;
  border-top: 1px solid #c9c2b7;
}

.product-perfume-map-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) 1fr;
  gap: clamp(28px, 4vw, 54px);
  margin-bottom: 28px;
}

.product-perfume-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8d0c5;
  background: #f7f2e8;
}

.product-key-notes > .product-perfume-map-inline {
  align-self: start;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8d0c5;
  background: #f7f2e8;
}

.product-key-notes > .product-perfume-map-inline .product-perfume-map-head {
  display: block;
  margin: 0;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #d8d0c5;
}

.product-key-notes > .product-perfume-map-inline .eyebrow {
  margin-bottom: 10px;
}

.product-key-notes > .product-perfume-map-inline h3 {
  font-size: clamp(27px, 2.6vw, 36px);
}

.product-key-notes > .product-perfume-map-inline img {
  border: 0;
}

@media (min-width: 901px) {
  .product-key-notes > .product-perfume-map-inline img {
    width: 108%;
    max-width: none;
    margin: -1.5% -4% -3%;
  }
}

.delivery-note {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #c9c2b7;
}

.delivery-note p {
  max-width: 620px;
  margin: 0;
  color: #4f4740;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
}

.product-disclaimer {
  margin: 24px 0 0;
  color: #81776e;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .product-detail {
    display: block;
    overflow-y: auto;
    padding: 18px 18px 64px;
  }

  .product-detail-gallery {
    position: static;
    max-width: none;
  }

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

  .product-detail-visual {
    min-height: 0;
    aspect-ratio: 1;
  }

  .product-detail-thumbnails button {
    width: 66px;
  }

  .product-detail-bottle {
    width: 135px;
    height: 240px;
  }

  .product-detail-bottle > i {
    top: -58px;
    left: 37px;
    width: 61px;
    height: 56px;
  }

  .product-detail-bottle > div {
    inset: 66px 25px 46px;
  }

  .product-detail-bottle img {
    width: 52px;
  }

  .product-detail-content {
    overflow: visible;
    padding: 30px 4px 64px;
  }

  .product-detail-close {
    position: fixed;
    z-index: 5;
    top: calc(var(--header-compact-height) + 14px);
    right: 14px;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(21, 18, 15, 0.28);
    color: #fff;
    backdrop-filter: blur(8px);
  }

  .product-detail-content > .eyebrow {
    margin-top: 0;
  }

  .product-detail-content h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .product-detail-description {
    margin: 22px 0 28px;
    font-size: 16px;
  }

  .product-profile,
  .product-detail-actions {
    grid-template-columns: 1fr;
  }

  .product-detail-actions .button,
  .product-whatsapp {
    min-height: 55px;
  }

  .product-detail-buy {
    margin-right: 0;
    margin-left: 0;
    padding: 20px 16px;
  }

  .product-story-flow {
    margin-top: 58px;
  }

  .product-key-notes,
  .product-signature,
  .product-how-to {
    grid-template-columns: 1fr;
  }

  .product-key-notes > .product-perfume-map-inline {
    align-self: stretch;
  }

  .product-signature > .eyebrow {
    grid-row: auto;
  }

  .product-key-notes .product-story-copy {
    grid-row: auto;
  }

  .product-note-groups {
    margin-top: 28px;
    padding-top: 0;
  }

  .product-perfume-map-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 520px) {
  .product-detail-number {
    top: 22px;
    left: 20px;
    font-size: 7px;
  }

  .product-detail-visual > p {
    right: 20px;
    bottom: 20px;
    max-width: 190px;
    text-align: right;
    font-size: 7px;
  }

  .note-pyramid {
    grid-template-columns: 1fr;
  }

  .note-pyramid > div {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 16px;
  }

  .note-pyramid {
    gap: 8px;
  }

  .note-pyramid > div::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
  }

  .product-profile > div {
    border-right: 0;
    border-bottom: 1px solid rgba(116, 91, 70, 0.22);
  }

  .product-profile > div:last-child {
    border-bottom: 0;
  }

  .product-detail .product-occasions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .note-pyramid span {
    margin: 0;
  }

  .product-profile {
    grid-template-columns: 1fr 1fr;
  }

  .product-profile > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .product-detail-buy-head strong {
    font-size: 29px;
  }

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

  .delivery-note {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-story {
    padding: 38px 0;
  }

  .product-story h3,
  .product-perfume-map h3 {
    font-size: 34px;
  }

  .product-signature-facts,
  .product-education-grid {
    grid-template-columns: 1fr;
  }

  .product-signature-facts > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: start;
  }

  .product-signature-facts dd {
    margin-top: 0;
  }

  .product-education-block {
    padding: 32px 24px 38px;
  }

  .product-how-to {
    gap: 30px;
  }

  .product-perfume-map {
    padding-top: 46px;
  }

  .product-perfume-map img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail {
    animation: none;
  }
}
