body {
  min-height: 100vh;
}

.header {
  padding: 4rem 1rem 2.5rem;
}

/* Logo size for product page */
.logo {
  position: relative;
  font-size: clamp(2rem, 6vw, 4.5rem);
}

/* Ring sizes for product page */
.ring-wrap {
  width: clamp(200px, 38vw, 440px);
  height: clamp(200px, 38vw, 440px);
}

.ring-wrap-rev {
  width: clamp(240px, 44vw, 520px);
  height: clamp(240px, 44vw, 520px);
}

/* ── Detail layout ── */
.detail-section {
  position: relative;
  z-index: 10;
  padding: 0 2rem 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 640px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Image panel ── */
.detail-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 40px rgba(68, 212, 255, 0.1), 0 0 80px rgba(180, 77, 255, 0.08);
}

.detail-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Info panel ── */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-name {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: colorCycle2 4s linear infinite;
  filter: drop-shadow(0 0 8px currentColor);
  line-height: 1.1;
}

.detail-price {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}

.detail-description {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: rgba(255, 255, 255, 0.65);
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Options ── */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Size buttons */
.size-options {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.size-btn {
  padding: 0.4em 1em;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  border-color: #44d4ff;
  color: #44d4ff;
  box-shadow: 0 0 10px rgba(68, 212, 255, 0.35);
}

/* Quantity */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  color: #fff;
  border: none;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.2rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.qty-btn:hover { background: rgba(255, 255, 255, 0.1); }

.qty-value {
  width: 2.8rem;
  text-align: center;
  background: transparent;
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  height: 2.4rem;
}

/* Remove number input spinners */
.qty-value::-webkit-inner-spin-button,
.qty-value::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-value { -moz-appearance: textfield; }

/* ── Action buttons ── */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn-primary {
  width: 100%;
  padding: 0.85em 1.5em;
  font-family: inherit;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #b44dff, #44d4ff);
  color: #fff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 18px rgba(180, 77, 255, 0.4);
}

.btn-primary:hover {
  opacity: 0.88;
  box-shadow: 0 0 30px rgba(68, 212, 255, 0.45);
}

.btn-secondary {
  width: 100%;
  padding: 0.85em 1.5em;
  font-family: inherit;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(68, 212, 255, 0.5);
  color: #44d4ff;
  padding: 0.7em 1.8em;
  border-radius: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 0 20px rgba(68, 212, 255, 0.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Domain watermark colour override */
.domain {
  color: rgba(255, 255, 255, 0.3);
}

/* Not found state */
.not-found {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
