.v2-preview .v2-hero {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(280px, 560px);
  padding: 128px max(20px, calc((100vw - 1240px) / 2)) 92px;
  overflow: hidden;
  isolation: isolate;
}

.v2-preview .v2-hero::before {
  z-index: 3;
  width: min(360px, 34vw);
}

.v2-preview .v2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.22) 0%, rgba(5, 5, 5, 0.14) 30%, rgba(5, 5, 5, 0.04) 58%, rgba(5, 5, 5, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.04) 0%, transparent 58%, rgba(5, 5, 5, 0.16) 100%),
    radial-gradient(circle at 72% 42%, rgba(139, 0, 0, 0.08), transparent 32rem);
}

.v2-preview .v2-hero-copy {
  position: relative;
  z-index: 5;
  max-width: 560px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.v2-preview .v2-photo-motion-hero {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505;
  pointer-events: none;
}

.v2-preview .v2-photo-motion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
  background-size: 130px 130px;
  opacity: 0.08;
}

.v2-preview .v2-photo-motion-hero::after {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 34%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.06) 48%, transparent 60% 100%);
  filter: blur(34px);
  opacity: 0.18;
}

.v2-preview .v2-photo-motion-stack,
.v2-preview .v2-photo-motion-frame,
.v2-preview .v2-photo-motion-shine {
  border-radius: 0 !important;
}

.v2-preview .v2-photo-motion-frame {
  object-position: center 52%;
  filter: saturate(1.02) contrast(1.06) brightness(1.22);
  animation: v2-photo-motion-cycle-seven 31.5s ease-in-out infinite;
}

.v2-preview .v2-photo-motion-frame.is-full {
  object-position: center 54%;
}

.v2-preview .v2-photo-motion-shine {
  opacity: 0.12;
}

.v2-preview .v2-photo-motion-frame.delay-1 {
  animation-delay: 4.5s;
}

.v2-preview .v2-photo-motion-frame.delay-2 {
  animation-delay: 9s;
}

.v2-preview .v2-photo-motion-frame.delay-3 {
  animation-delay: 13.5s;
}

.v2-preview .v2-photo-motion-frame.delay-4 {
  animation-delay: 18s;
}

.v2-preview .v2-photo-motion-frame.delay-5 {
  animation-delay: 22.5s;
}

.v2-preview .v2-photo-motion-frame.delay-6 {
  animation-delay: 27s;
}

@keyframes v2-photo-motion-cycle-seven {
  0%,
  12% {
    opacity: 1;
    transform: scale(1.025) translate3d(0, 0, 0);
  }

  16%,
  100% {
    opacity: 0;
    transform: scale(1.09) translate3d(-1.2%, 0.8%, 0);
  }
}

.v2-preview .v2-photo-motion-hero .v2-canvas-ui {
  display: none;
}

@media (min-width: 761px) {
  .v2-preview .v2-hero h1 {
    max-width: 520px;
  }

  .v2-preview .v2-hero h1 span {
    max-width: 5.35em;
  }
}

@media (max-width: 760px) {
  .v2-preview .v2-hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding: 112px 14px 76px;
  }
}

@media (max-width: 640px) {
  .v2-preview .v2-hero {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .v2-preview .v2-hero-copy,
  .v2-preview .v2-hero h1,
  .v2-preview .v2-hero-copy > span,
  .v2-preview .v2-kicker,
  .v2-preview .v2-hero-notes,
  .v2-preview .v2-actions {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .v2-preview .v2-photo-motion-frame,
  .v2-preview .v2-photo-motion-frame.is-full,
  .v2-preview .v2-photo-motion-frame.is-detail {
    object-position: 60% center;
    filter: saturate(1) contrast(1.05) brightness(1.12);
  }

  .v2-preview .v2-hero::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.18) 0%, rgba(5, 5, 5, 0.08) 48%, rgba(5, 5, 5, 0.26) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.06), rgba(5, 5, 5, 0.12));
  }
}

.product-editor textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7eedb;
  font: inherit;
  outline: none;
  padding: 12px;
  resize: vertical;
}

.product-editor .admin-image-uploader {
  grid-column: 1 / -1;
}

.admin-image-uploader {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.admin-image-uploader-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-image-uploader-head strong {
  display: block;
  color: #f7eedb;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.admin-image-uploader-head small,
.admin-image-grid > small {
  display: block;
  margin-top: 5px;
  color: rgba(244, 239, 228, 0.56);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.admin-image-uploader-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  color: #d4af37;
  background: rgba(5, 5, 5, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.admin-image-grid figure {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 7px;
  background: #050505;
}

.admin-image-grid img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.admin-image-grid button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: #f7eedb;
  background: rgba(5, 5, 5, 0.78);
  font-size: 0.72rem;
}

.traffic-panel .traffic-chart {
  gap: 14px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.075), transparent 46%),
    rgba(255, 255, 255, 0.04);
}

.traffic-panel .traffic-chart-head strong {
  letter-spacing: 0.06em;
}

.traffic-panel .traffic-chart svg {
  height: clamp(330px, 39vw, 460px);
  overflow: visible;
  padding: 10px 0;
}

.traffic-panel .traffic-axis-row line {
  stroke: rgba(244, 239, 228, 0.12);
  stroke-width: 0.34;
  vector-effect: non-scaling-stroke;
}

.traffic-panel .traffic-axis-row text {
  fill: rgba(244, 239, 228, 0.72);
  font-size: 2.45px;
  font-weight: 800;
  letter-spacing: 0;
}

.traffic-panel .traffic-axis-line {
  stroke: rgba(212, 175, 55, 0.42);
  stroke-width: 0.48;
  vector-effect: non-scaling-stroke;
}

.traffic-panel .traffic-line {
  fill: none;
  stroke: #d4af37;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(212, 175, 55, 0.32));
}

.traffic-panel .traffic-point circle {
  fill: #050505;
  stroke: #f7eedb;
  stroke-width: 0.62;
  vector-effect: non-scaling-stroke;
}

.traffic-panel .traffic-point text {
  fill: #f7eedb;
  font-size: 2.25px;
  font-weight: 900;
  letter-spacing: 0;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(5, 5, 5, 0.9);
  stroke-width: 0.9px;
  stroke-linejoin: round;
}

.traffic-panel .traffic-point .traffic-value-label {
  fill: #fff8e8;
  font-size: 2.18px;
  font-weight: 900;
}

.traffic-panel .traffic-point .traffic-date-label {
  fill: rgba(244, 239, 228, 0.62);
  font-size: 2.2px;
  font-weight: 800;
  stroke-width: 0.6px;
}

.revenue-panel .revenue-chart {
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(139, 0, 0, 0.11), transparent 55%),
    rgba(255, 255, 255, 0.04);
}

.revenue-panel .revenue-area {
  fill: rgba(212, 175, 55, 0.1);
  stroke: none;
}

.revenue-panel .revenue-line {
  stroke: #f0c85a;
  stroke-width: 1.38;
  filter: drop-shadow(0 0 9px rgba(212, 175, 55, 0.42));
}

.revenue-panel .revenue-point circle {
  fill: #0a0907;
  stroke: #d4af37;
  stroke-width: 0.72;
}

.monthly-revenue-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 0, 0, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.055), transparent 58%),
    rgba(5, 5, 5, 0.5);
}

.monthly-revenue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.monthly-revenue-head strong {
  display: block;
  color: #f7eedb;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.monthly-revenue-head small {
  display: block;
  margin-top: 5px;
  color: rgba(244, 239, 228, 0.54);
  font-size: 0.76rem;
  font-weight: 750;
}

.monthly-revenue-head > span {
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: #d4af37;
  background: rgba(5, 5, 5, 0.56);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.monthly-revenue-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.monthly-revenue-metrics article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(244, 239, 228, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.monthly-revenue-metrics span,
.monthly-revenue-metrics small {
  color: rgba(244, 239, 228, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
}

.monthly-revenue-metrics strong {
  color: #f7eedb;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.1;
}

.monthly-revenue-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.monthly-revenue-chart {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.monthly-revenue-chart svg {
  height: 310px;
}

.monthly-revenue-bar {
  fill: rgba(212, 175, 55, 0.22);
  stroke: rgba(212, 175, 55, 0.5);
  stroke-width: 0.22;
  vector-effect: non-scaling-stroke;
}

.monthly-revenue-line {
  stroke: #f0c85a;
  stroke-width: 1.02;
}

.monthly-revenue-point circle {
  fill: #050505;
  stroke: #f0c85a;
}

.monthly-revenue-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.5);
}

.monthly-revenue-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}

.monthly-revenue-list span:last-child {
  border-bottom: 0;
}

.monthly-revenue-list em {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.monthly-revenue-list small {
  color: rgba(244, 239, 228, 0.42);
  font-size: 0.68rem;
  font-weight: 800;
}

.monthly-revenue-list b {
  color: #d4af37;
  font-size: 0.82rem;
  white-space: nowrap;
}

.revenue-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.revenue-breakdown {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.075), transparent 48%),
    rgba(5, 5, 5, 0.54);
}

.revenue-breakdown > strong {
  color: #f7eedb;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.revenue-breakdown > div {
  display: grid;
  gap: 8px;
}

.revenue-breakdown span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(244, 239, 228, 0.08);
}

.revenue-breakdown em {
  min-width: 0;
  overflow: hidden;
  color: rgba(244, 239, 228, 0.64);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.revenue-breakdown b {
  color: #d4af37;
  font-size: 0.82rem;
  white-space: nowrap;
}

.revenue-breakdown small {
  color: rgba(244, 239, 228, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-panel button:focus-visible,
.admin-panel input:focus-visible,
.admin-panel select:focus-visible,
.admin-panel textarea:focus-visible,
.admin-sidebar a:focus-visible,
.admin-nav button:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.72);
  outline-offset: 2px;
}

.admin-sidebar-actions button {
  min-height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  color: rgba(244, 239, 228, 0.78);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.admin-sidebar-actions button:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #f7eedb;
}

@media (max-width: 640px) {
  .traffic-panel .traffic-chart {
    padding: 14px;
  }

  .traffic-panel .traffic-chart svg {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .monthly-revenue-metrics,
  .monthly-revenue-chart-grid {
    grid-template-columns: 1fr;
  }

  .revenue-breakdown-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .monthly-revenue-panel {
    padding: 14px;
  }

  .monthly-revenue-head {
    display: grid;
  }

  .monthly-revenue-chart svg {
    height: 280px;
  }
}

.product-detail-gallery {
  display: grid;
  gap: 34px;
  width: min(1160px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: 72px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.product-gallery-heading {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.product-gallery-heading p,
.product-gallery-group > span {
  color: #d4af37;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.product-gallery-heading h2 {
  color: #f7eedb;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.96;
}

.product-gallery-group {
  display: grid;
  gap: 14px;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.product-gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  background: #050505;
}

.product-gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition:
    transform 0.9s ease,
    filter 0.9s ease;
}

.product-gallery-tile:hover img {
  transform: scale(1.045);
  filter: brightness(1.08);
}

.product-gallery-tile figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: #f7eedb;
  background: rgba(5, 5, 5, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .product-gallery-grid,
  .product-gallery-grid.is-main {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery {
    width: calc(100% - 28px);
    padding: 54px 0;
  }
}
