.boxObject.authenticBoxArea {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(68, 50, 29, .11);
  border-radius: 26px;
  background: #f3ede3 !important;
  box-shadow: 0 30px 80px rgba(43, 32, 20, .11);
}

.boxes .boxTabs {
  width: fit-content;
  max-width: 100%;
  margin: 48px auto 24px;
  padding: 6px;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid rgba(68, 50, 29, .11);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 34px rgba(43,32,20,.045);
}

.boxes .boxTabs button {
  flex: 0 0 auto;
  min-width: 104px;
  padding: 13px 21px;
  border: 0;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}

.boxes .boxTabs button.active {
  color: #fff;
  background: #171513;
  box-shadow: 0 8px 22px rgba(23,21,19,.16);
}

.boxes .boxShowcase {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 24px;
  min-height: 620px;
  background: transparent;
}

.boxes .boxDetails {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 44px 40px;
  border: 1px solid rgba(68, 50, 29, .11);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(43, 32, 20, .06);
}

.boxes .boxDetails h3 {
  margin: 13px 0 18px;
  font: 500 clamp(44px,4.2vw,66px)/.92 "Manrope",sans-serif;
  letter-spacing: -.06em;
}

.boxes .boxDetails .price { padding-bottom: 24px; }
.boxes .boxDetails .price strong { font-size: 30px; }
.boxes .boxDetails dl { margin: 16px 0 24px; }
.boxes .boxDetails dl div:nth-child(2) { display: none; }
.boxes .boxDetails > .primary { margin-top: auto; }

.boxObject.authenticBoxArea > span,
.authenticBoxArea::before,
.authenticBoxArea::after {
  display: none !important;
  content: none !important;
}

.authenticBoxViewer {
  --gold: #bb8b45;
  --gold-bright: #e8c988;
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #211b16;
  background:
    radial-gradient(circle at 78% 13%, rgba(224, 190, 126, .34), transparent 27%),
    radial-gradient(circle at 17% 30%, rgba(255, 255, 255, .95), transparent 34%),
    linear-gradient(135deg, #fbf8f2 0%, #f1e8da 48%, #e8dac5 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .72),
    inset 0 -80px 130px rgba(111, 75, 32, .055);
}

.authenticBoxViewer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(255,255,255,.82) 0 16%, transparent 31% 70%, rgba(187,139,69,.08) 100%),
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(119,83,39,.038) 90px, transparent 91px),
    linear-gradient(180deg, rgba(255,255,255,.48), transparent 34%, rgba(128,91,44,.045) 77%, rgba(72,50,27,.07));
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.88) 64%, transparent 91%);
  pointer-events: none;
}

.authenticBoxViewer::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  bottom: 13%;
  height: 38%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(48,34,20,.14) 0%, rgba(99,69,33,.075) 27%, rgba(255,255,255,.15) 47%, transparent 69%);
  filter: blur(7px);
  transform: perspective(560px) rotateX(65deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.fourDGrid {
  position: absolute;
  z-index: 0;
  left: -15%;
  right: -15%;
  bottom: -25%;
  height: 68%;
  display: none;
  background-image:
    linear-gradient(rgba(139, 98, 48, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 98, 48, .28) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to top, #000 8%, transparent 82%);
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.fourDStage {
  position: absolute;
  z-index: 2;
  left: 2%;
  right: 2%;
  top: 74px;
  bottom: 124px;
  outline: none;
  cursor: grab;
  touch-action: none;
}

.fourDStage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 13%;
  right: 13%;
  top: 7%;
  bottom: 1%;
  border: 1px solid rgba(187, 139, 69, .13);
  border-radius: 48% 48% 34% 34% / 27% 27% 18% 18%;
  background:
    radial-gradient(circle at 50% 43%, rgba(255,255,255,.58), transparent 42%),
    radial-gradient(ellipse at 50% 56%, rgba(199,153,77,.16), transparent 61%);
  box-shadow:
    inset 0 0 80px rgba(255,255,255,.34),
    0 28px 70px rgba(128,89,40,.06);
  pointer-events: none;
  transition: left .62s cubic-bezier(.16, 1, .3, 1), right .62s cubic-bezier(.16, 1, .3, 1), top .62s cubic-bezier(.16, 1, .3, 1);
}

.authenticBoxViewer[data-format="elite"] .fourDStage::before,
.authenticBoxViewer[data-format="privé"] .fourDStage::before {
  left: 7%;
  right: 7%;
  top: 3%;
}

.fourDStage::after {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 2%;
  height: 8%;
  border-radius: 50%;
  background: rgba(48, 38, 28, .2);
  filter: blur(34px);
  pointer-events: none;
}

.fourDStage:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(239, 203, 145, .7);
  border-radius: 14px;
}

.fourDStage.isDragging { cursor: grabbing; }

.fourDCanvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.fourDModelMark {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(42, 32, 22, .42);
  font: 500 7px/1 "DM Sans", sans-serif;
  letter-spacing: .18em;
  transform: translateX(-50%);
  pointer-events: none;
  display: none;
}

.fourDModelMark span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(187, 139, 69, .42);
  border-radius: 6px;
  color: #7b582d;
  font-family: Georgia, serif;
  letter-spacing: 0;
}

.fourDModelMark b { font-weight: 500; }

.fourDFallback {
  position: absolute;
  inset: 18%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 174, 112, .3);
  color: #8a6638;
  font: 500 42px "Manrope", sans-serif;
}

.fourDFallback[hidden] { display: none; }

.authenticTop {
  position: absolute;
  z-index: 5;
  left: 30px;
  right: 30px;
  top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.authenticOfficial,
.authenticReal {
  color: #79572d;
  font: 650 8px/1 "DM Sans", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.authenticReal {
  color: rgba(36, 28, 20, .46);
  font-weight: 500;
}

.fourDStatus {
  position: absolute;
  z-index: 6;
  left: 30px;
  top: 53px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(36, 28, 20, .62);
  font: 500 8px/1 "DM Sans", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}

.fourDStatus i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(187,139,69,.1), 0 0 14px rgba(187,139,69,.42);
  transition: background .3s ease, box-shadow .3s ease;
}

.isOpen .fourDStatus i {
  background: #90d2a3;
  box-shadow: 0 0 0 4px rgba(97,167,115,.1), 0 0 14px rgba(97,167,115,.42);
}

.fourDControls {
  position: absolute;
  z-index: 7;
  right: 30px;
  top: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(78,58,34,.12);
  border-radius: 14px;
  background: rgba(255,252,247,.72);
  box-shadow: 0 14px 38px rgba(55,41,24,.1);
  backdrop-filter: blur(18px);
}

.fourDControls button {
  appearance: none;
  height: 35px;
  border: 0;
  border-radius: 9px;
  color: #251d15;
  background: transparent;
  cursor: pointer;
  font: 600 9px/1 "DM Sans", sans-serif;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.fourDControls button:hover,
.fourDControls button:focus-visible {
  color: #fff;
  background: #171513;
  outline: none;
}

.fourDControls button:active { transform: translateY(1px) scale(.98); }

.fourDOpen {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fourDOpenIcon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.fourDOpenIcon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 8px;
  border-left: 1px solid var(--gold);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.isOpen .fourDOpenIcon::after { transform: perspective(24px) rotateY(-65deg); }

.fourDZoom { display: flex; gap: 4px; }
.fourDZoom button { width: 35px; padding: 0; }
.fourDZoom button[data-action="reset"] { width: 41px; color: #7d5b30; font-size: 8px; }

.authenticBottom {
  position: absolute;
  z-index: 6;
  left: 30px;
  right: 30px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: end;
  gap: 22px;
  pointer-events: none;
}

.authenticBottom > div { min-width: 0; }

.authenticSize {
  color: #856136;
  font-size: 8px;
  letter-spacing: .17em;
}

.authenticName {
  display: block;
  margin-top: 7px;
  font: 500 36px/.95 "Manrope", sans-serif;
  letter-spacing: -.045em;
}

.authenticHint {
  margin: 9px 0 0;
  color: rgba(41, 32, 23, .55);
  font-size: 10px;
  line-height: 1.45;
}

.boxDecision {
  padding: 15px 17px 14px;
  border-block: 1px solid rgba(102, 77, 45, .11);
}

.boxDecision > small {
  display: block;
  color: #856136;
  font: 650 8px/1 "DM Sans", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fourDFitPills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.fourDFitPills span {
  padding: 6px 9px;
  border: 1px solid rgba(187,139,69,.16);
  border-radius: 999px;
  color: #33271b;
  background: rgba(187,139,69,.07);
  font: 550 9px/1 "DM Sans", sans-serif;
  white-space: nowrap;
}

.fourDCapacity {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}

.fourDCapacity i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(45,34,23,.09);
}

.fourDCapacity i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(187,139,69,.18), rgba(187,139,69,.04));
}

.fourDCapacity span {
  position: relative;
  display: block;
  width: 7%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #95672d, #d9b66f);
  box-shadow: 0 0 12px rgba(187,139,69,.28);
  transition: width .55s cubic-bezier(.16, 1, .3, 1);
}

.fourDCapacity b {
  color: #79572d;
  font: 650 10px/1 "DM Sans", sans-serif;
  letter-spacing: .05em;
  white-space: nowrap;
}

.fourDCapacity b::before {
  content: attr(data-label) " · ";
  color: rgba(41,32,23,.4);
  font-size: 7px;
  letter-spacing: .12em;
}

.authenticMeasures {
  display: flex;
  gap: 6px;
  margin: 0;
}

.authenticMeasures div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0 6px;
  min-width: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(102, 77, 45, .12);
  border-radius: 11px;
  background: rgba(255, 252, 247, .78);
  box-shadow: 0 10px 28px rgba(53,40,24,.055);
  backdrop-filter: blur(18px);
}

.authenticMeasures dt {
  grid-row: 1 / 3;
  color: #866238;
  font-size: 9px;
}

.authenticMeasures dd {
  margin: 0;
  color: #231c15;
  font: 500 16px/1 "Manrope", sans-serif;
}

.authenticMeasures dd small {
  display: block;
  margin-top: 4px;
  color: rgba(42, 33, 24, .48);
  font: 500 7px "DM Sans", sans-serif;
  letter-spacing: .12em;
}

[dir="rtl"] .authenticTop,
[dir="rtl"] .authenticBottom { direction: rtl; }
[dir="rtl"] .fourDStatus { left: auto; right: 28px; }
[dir="rtl"] .fourDControls { right: auto; left: 28px; }

@media (max-width: 850px) {
  .boxes .boxShowcase { grid-template-columns: 1fr; }
  .boxObject.authenticBoxArea { min-height: 610px; }
  .fourDStage { left: 2%; right: 2%; top: 84px; bottom: 140px; }
  .authenticBottom { grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
  .authenticMeasures { width: 100%; }
  .authenticMeasures div { flex: 1; }
}

@media (max-width: 600px) {
  .boxes .boxTabs { justify-content: flex-start; margin-top: 34px; }
  .boxes .boxTabs button { min-width: 88px; padding: 12px 16px; }
  .boxes .boxDetails { padding: 34px 24px; }
  .boxObject.authenticBoxArea { min-height: 560px; border-radius: 20px; }
  .authenticTop { left: 16px; right: 16px; top: 18px; }
  .authenticReal { display: none; }
  .fourDStatus { left: 16px; top: 48px; }
  .fourDControls { right: 16px; top: 43px; }
  .fourDOpen { height: 35px; padding: 0 10px !important; }
  .fourDOpen b { display: none; }
  .fourDZoom button { width: 35px; height: 35px; }
  .fourDZoom button[data-action="reset"] { width: 39px; }
  .fourDStage { left: 0; right: 0; top: 86px; bottom: 190px; }
  .fourDStage::before { left: 5%; right: 5%; top: 4%; }
  .fourDModelMark { bottom: 1px; }
  .authenticBottom {
    left: 16px;
    right: 16px;
    bottom: 15px;
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .authenticName { font-size: 30px; }
  .authenticHint { font-size: 9px; }
  .boxDecision { padding: 13px 0 12px; }
  .fourDFitPills { margin-top: 8px; }
  .fourDFitPills span { padding: 5px 8px; font-size: 8px; }
  .authenticMeasures { grid-column: auto; }
  .authenticMeasures { gap: 5px; }
  .authenticMeasures div { min-width: 0; padding: 9px 8px; }
  .authenticMeasures dd { font-size: 13px; }
  [dir="rtl"] .fourDStatus { right: 16px; }
  [dir="rtl"] .fourDControls { left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fourDOpenIcon::after { transition-duration: .01ms !important; }
}
