:root {
  --red: #79542f;
  --deep: #49372b;
  --cream: #fdfbf6;
  --ink: #46372c;
  --gold: #b49163;
  --line: #e7dbcb;
  --pearl: #f9f4e9;
  --champagne: #edddbd;
}

.pearl-preview .notice {
  display: block;
  padding: 11px 6px;
  background: #e9dbc2;
  color: #644725;
  border-bottom: 1px solid #d9c29f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
}
.notice span { margin: 0 12px; color: #856239; }
.pearl-preview header { position: relative; background: #fffdf7; }
nav { gap: clamp(18px, 2.8vw, 40px); }

.pearl-preview .pearl-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(18px, 5vw, 88px);
  padding: 34px max(30px, 7%);
  min-height: 480px;
  height: auto;
  margin: 20px max(18px, 3%);
  color: var(--ink);
  background: radial-gradient(ellipse at 32% 14%, #fffefa 4%, transparent 67%), linear-gradient(118deg, #f7f0e3, #f2e6d0);
  border: 1px solid #e5d3b6;
  border-radius: 18px;
  isolation: isolate;
}
.pearl-hero::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid #c6a77571;
  border-radius: 12px;
  pointer-events: none;
}
.pearl-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, #ba955859 1px, transparent 1.3px) 8px 10px / 47px 52px;
  opacity: .68;
  mask-image: linear-gradient(130deg, #000 0%, transparent 28%, transparent 66%, #000 100%);
}
.pearl-hero .hero-copy {
  position: static;
  width: auto;
  min-width: 0;
  padding: 11px 0;
  z-index: 2;
}
.pearl-hero .eyebrow { color: #79542f; font-size: 11px; margin-bottom: 20px; }
.pearl-hero h1 {
  font-size: clamp(37px, 4.1vw, 65px);
  line-height: 1.22;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}
.pearl-hero h1 em { color: #886339; }
.pearl-hero .hero-copy > p:not(.eyebrow) { color: #685641; font-size: 15px; margin-bottom: 29px; }
.pearl-hero .button {
  text-transform: uppercase;
  min-height: 49px;
  padding: 12px 23px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  background: #80572f;
  color: #fff9eb;
}
.pearl-hero .button:hover { background: #674424; }

.pearl-scene { position: relative; min-width: 0; isolation: isolate; }
.pearl-photo {
  display: block;
  position: relative;
  width: min(80%, 390px);
  margin: 14px auto 16px;
  padding: 8px;
  outline: 1px solid #b99b72;
  border-radius: 49% 49% 9px 9px / 41% 41% 9px 9px;
  background: #fffbef;
  box-shadow: 0 15px 38px #75532b29;
  z-index: 1;
}
.pearl-photo:focus-visible { outline: 2px solid #79542f; }
.pearl-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: inherit;
}
.pearl-ornaments, .pearl-flakes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.pearl-ornaments i, .pearl-mobile-trim i, .pearl-story-trim i {
  --diameter: 56px;
  --wire: 34px;
  position: absolute;
  width: var(--diameter);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #ae8a5a6b;
  background: radial-gradient(circle at 33% 22%, #fffcf0, #ead7ae 42%, #ad8653 80%, #e2cda9);
  box-shadow: 3px 7px 13px #58381722;
}
.pearl-ornaments i::before, .pearl-mobile-trim i::before, .pearl-story-trim i::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 35%;
  width: 30%;
  height: 6px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #9f7641, #f2deaf 41%, #ad884e);
}
.pearl-ornaments i::after, .pearl-mobile-trim i::after, .pearl-story-trim i::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  height: var(--wire);
  border-left: 1px solid #aa854f;
}
.pearl-ornaments i:first-child { left: 1%; top: 14%; --diameter: clamp(33px, 4vw, 59px); --wire: 92px; }
.pearl-ornaments i:nth-child(2) {
  right: -3%;
  top: 18%;
  --diameter: clamp(48px, 5.9vw, 85px);
  --wire: 109px;
  background: radial-gradient(circle at 33% 22%, #fff, #faf1df 42%, #c9b492 83%, #f2e0bb);
}
.pearl-ornaments i:nth-child(3) {
  right: 10%;
  top: -4%;
  --diameter: clamp(27px, 3vw, 46px);
  --wire: 32px;
  background: repeating-linear-gradient(95deg, #b28e5a35 0 1px, transparent 1px 5px), radial-gradient(circle at 30% 25%, #fbf1d7, #d5b37a 70%, #af8650);
}
.pearl-flakes span { position: absolute; color: #9b7950; line-height: 1; }
.pearl-flakes span:first-child { top: 53%; left: -2%; font-size: clamp(27px, 4vw, 52px); }
.pearl-flakes span:nth-child(2) { bottom: 18%; right: -2%; font-size: clamp(22px, 3vw, 42px); }
.pearl-flakes span:nth-child(3) { top: 2%; left: 18%; font-size: 24px; color: #b48a53; }
.pearl-flakes span:nth-child(4) { bottom: -2%; left: 34%; font-size: 24px; }
.pearl-ribbon {
  position: absolute;
  right: 5%;
  bottom: 3%;
  width: 108px;
  height: 62px;
  z-index: 3;
  transform: rotate(-13deg);
  pointer-events: none;
}
.pearl-ribbon i {
  position: absolute;
  top: 4px;
  width: 55px;
  height: 31px;
  border: 1px solid #9d7345a0;
  border-radius: 74% 68% 27% 55%;
  background: linear-gradient(168deg, #b18553, #efdbb2 46%, #c29660 59%, #f6e6c4);
  box-shadow: inset 0 0 7px #89603347;
  transform: rotate(17deg);
}
.pearl-ribbon i:nth-child(2) { right: 0; transform: scaleX(-1) rotate(17deg); }
.pearl-ribbon i:nth-child(3) { left: 45px; top: 14px; width: 18px; height: 18px; border-radius: 4px; transform: none; }
.pearl-ribbon::before, .pearl-ribbon::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 42px;
  width: 18px;
  height: 44px;
  background: linear-gradient(90deg, #ba8c55, #edd6ab 45%, #c59151);
  transform: rotate(37deg);
  transform-origin: top;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 81%, 0 100%);
}
.pearl-ribbon::after { left: 50px; transform: rotate(-32deg); }

.pearl-preview .collection .kind[aria-pressed=true], .pearl-preview .collection .kind[aria-expanded=true] {
  border-color: #ad8959;
  background: #efe2c8;
  color: #664623;
}
.pearl-preview .collection .product-img {
  border: 1px solid #ddc9aa;
  padding: 3px;
  border-radius: 10px;
  background: #fffaf1;
}
.pearl-preview .collection .product-img img { border-radius: 7px; }
.pearl-preview .heart { color: #78542b; border: 1px solid #dbc8a7; background: #fffbf3f2; }
.pearl-preview .reference-price, .pearl-preview .reference-price strong { color: #69492a; }
.pearl-preview .catalog-more { min-height: 45px; border-radius: 999px; border-color: #80572f; background: #80572f; }
.pearl-preview .zalo-contact { background: #79542f; border-radius: 999px; }
.pearl-preview .shopping-guidance { background: #f7eee0; }
.pearl-preview .story { position: relative; overflow: hidden; isolation: isolate; background: #f1e5ce; }
.pearl-story-trim { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.pearl-story-trim i:first-child { top: 29px; left: 9%; --diameter: 54px; }
.pearl-story-trim i:nth-child(2) { top: 77px; right: 10%; --diameter: 82px; --wire: 81px; }
.pearl-preview footer { position: relative; }
.pearl-footer-art { position: absolute; inset: 0; color: #d9b982; pointer-events: none; }
.pearl-star { position: absolute; font-size: 22px; }
.star-left { top: 14px; left: 5%; }
.star-right { bottom: 37px; right: 5%; }
.pearl-mobile-trim { display: none; }

@media (max-width: 850px) and (min-width: 601px) {
  .pearl-preview .pearl-hero { min-height: 390px; padding-inline: 5%; gap: 24px; }
  .pearl-hero h1 { font-size: clamp(29px, 4.6vw, 38px); }
  .pearl-ribbon { transform: rotate(-13deg) scale(.72); }
}
@media (max-width: 600px) {
  .pearl-preview .pearl-hero { display: none; }
  .pearl-preview .notice { padding: 9px 3px; font-size: 10px; letter-spacing: .055em; }
  .notice span { margin: 0 4px; }
  .pearl-preview header .topbar {
    position: relative;
    min-height: 62px;
    background: transparent;
    border-bottom: 1px solid #dcc39e;
  }
  .pearl-preview header { background: linear-gradient(100deg, #f7ebd5, #fffdf7 33%, #fffdf7 66%, #f7ebd5); }
  .pearl-mobile-trim { display: block; position: absolute; inset: 0 12px auto; height: 62px; pointer-events: none; }
  .pearl-mobile-trim i { --wire: 13px; --diameter: 12px; top: 14px; left: 45px; }
  .pearl-mobile-trim i:nth-child(2) { --wire: 32px; --diameter: 17px; top: 32px; left: 62px; }
  .pearl-mobile-trim i:nth-child(3) { --wire: 14px; --diameter: 14px; top: 14px; right: 45px; left: auto; }
  .pearl-mobile-trim i:nth-child(4) { --wire: 30px; --diameter: 11px; top: 32px; right: 63px; left: auto; }
  .pearl-mobile-trim i::before { height: 3px; top: -3px; }
  .pearl-preview .collection .product-img { padding: 2px; border-radius: 8px; }
  .pearl-preview .collection .product-img img { border-radius: 5px; }
  .pearl-story-trim i:first-child { left: 4%; --diameter: 28px; }
  .pearl-story-trim i:nth-child(2) { top: 16px; right: 4%; --diameter: 22px; --wire: 19px; }
}
