@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500;700&display=swap');

.ad-opc-wrap {
  --ad-opc-bg: #0a0a0a;
  --ad-opc-panel: rgba(255, 255, 255, 0.045);
  --ad-opc-line: rgba(255, 255, 255, 0.12);
  --ad-opc-text: #f8f6f0;
  --ad-opc-muted: rgba(255, 255, 255, 0.52);
  --ad-opc-gold: #c9a84c;
  --ad-opc-gold-soft: #f0d080;
  background: var(--ad-opc-bg);
  color: var(--ad-opc-text);
  font-family: 'Barlow', sans-serif;
  width: 100%;
}

.ad-opc-wrap *,
.ad-opc-wrap *::before,
.ad-opc-wrap *::after {
  box-sizing: border-box;
}

.ad-opc-hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #0d1a10 45%, #0a0f1a 75%, #140808 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.16);
  padding: 56px 24px 64px;
  text-align: center;
}

.ad-opc-hero-badge {
  background: linear-gradient(135deg, #c9a84c, #f0d080, #c9a84c);
  border-radius: 2px;
  color: #0a0a0a;
  display: inline-flex;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  padding: 6px 16px;
  text-transform: uppercase;
}

.ad-opc-hero-title {
  color: var(--ad-opc-text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 92px);
  letter-spacing: 0.02em;
  line-height: 0.88;
  margin: 0 0 8px;
}

.ad-opc-hero-title span {
  color: var(--ad-opc-gold);
}

.ad-opc-hero-sub,
.ad-opc-eyebrow,
.ad-opc-summary-label,
.ad-opc-secure-note,
.ad-opc-footer,
.ad-opc-control > label,
.ad-opc-address legend {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ad-opc-hero-sub {
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  margin: 0 0 24px;
}

.ad-opc-flags {
  display: flex;
  flex-wrap: wrap;
  font-size: 22px;
  gap: 6px;
  justify-content: center;
  margin: 0 auto;
  max-width: 500px;
}

.ad-opc-section {
  margin: 0 auto;
  max-width: 900px;
  padding: 56px 24px;
}

.ad-opc-eyebrow {
  color: var(--ad-opc-gold);
  font-size: 12px;
  margin-bottom: 4px;
}

.ad-opc-section h2 {
  color: var(--ad-opc-text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 50px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 30px;
}

.ad-opc-divider {
  background: var(--ad-opc-gold);
  height: 2px;
  margin: -22px 0 32px;
  width: 48px;
}

.ad-opc-grid {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, 1fr);
}

.ad-opc-image-frame {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.ad-opc-image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ad-opc-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.ad-opc-thumbs span {
  align-items: center;
  background: #1a1a1a;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  height: 44px;
  justify-content: center;
  min-width: 62px;
  padding: 0 8px;
}

.ad-opc-thumbs .is-active {
  border-color: var(--ad-opc-gold);
  color: var(--ad-opc-gold-soft);
}

.ad-opc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ad-opc-form h3 {
  color: var(--ad-opc-text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 6px;
}

.ad-opc-form p {
  color: var(--ad-opc-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.ad-opc-price-row {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

.ad-opc-price-row strong {
  color: var(--ad-opc-gold-soft);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.ad-opc-price-row span {
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ad-opc-control > label,
.ad-opc-address legend {
  color: rgba(255, 255, 255, 0.46);
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}

.ad-opc-choice-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ad-opc-card-choice,
.ad-opc-size,
.ad-opc-submit,
.ad-opc-qty button {
  cursor: pointer;
  font: inherit;
}

.ad-opc-card-choice {
  background: var(--ad-opc-panel);
  border: 1.5px solid var(--ad-opc-line);
  border-radius: 6px;
  color: var(--ad-opc-text);
  min-height: 74px;
  padding: 12px 10px;
  text-align: center;
}

.ad-opc-card-choice strong,
.ad-opc-card-choice span,
.ad-opc-card-choice small {
  display: block;
}

.ad-opc-card-choice strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
}

.ad-opc-card-choice span {
  color: var(--ad-opc-gold-soft);
  font-size: 13px;
  margin-top: 3px;
}

.ad-opc-card-choice small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1.3;
  margin-top: 4px;
}

.ad-opc-card-choice.is-selected,
.ad-opc-size.is-selected {
  background: rgba(201, 168, 76, 0.09);
  border-color: var(--ad-opc-gold);
}

.ad-opc-size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ad-opc-size {
  align-items: center;
  background: var(--ad-opc-panel);
  border: 1.5px solid var(--ad-opc-line);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  min-width: 46px;
}

.ad-opc-size.is-selected {
  color: var(--ad-opc-gold-soft);
}

.ad-opc-qty {
  border: 1.5px solid var(--ad-opc-line);
  border-radius: 6px;
  display: inline-flex;
  overflow: hidden;
}

.ad-opc-qty button,
.ad-opc-qty input {
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  color: var(--ad-opc-text);
  height: 38px;
  text-align: center;
}

.ad-opc-qty button {
  font-size: 18px;
  width: 38px;
}

.ad-opc-qty input {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  width: 52px;
}

.ad-opc-wrap select,
.ad-opc-address input {
  background: rgba(255, 255, 255, 0.055);
  border: 1.5px solid var(--ad-opc-line);
  border-radius: 5px;
  color: var(--ad-opc-text);
  font: 14px 'Barlow', sans-serif;
  min-height: 40px;
  padding: 9px 10px;
  width: 100%;
}

.ad-opc-wrap select option {
  color: #111;
}

.ad-opc-address {
  border: 0;
  margin: 0;
  padding: 0;
}

.ad-opc-address-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ad-opc-span-2 {
  grid-column: 1 / -1;
}

.ad-opc-summary {
  background: var(--ad-opc-panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 14px;
}

.ad-opc-summary-label {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  margin-bottom: 10px;
}

.ad-opc-summary-line {
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  font-size: 14px;
  gap: 12px;
  justify-content: space-between;
  padding: 4px 0;
}

.ad-opc-total {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ad-opc-gold-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 8px;
  padding-top: 10px;
  text-transform: uppercase;
}

.ad-opc-payment-note {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1.5px solid var(--ad-opc-line);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
  padding: 12px;
}

.ad-opc-payment-note span,
.ad-opc-payment-note em {
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ad-opc-payment-note strong {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
}

.ad-opc-submit {
  background: linear-gradient(135deg, #c9a84c, #f0d080);
  border: 0;
  border-radius: 6px;
  color: #0a0a0a;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  min-height: 50px;
  padding: 14px 18px;
  text-transform: uppercase;
  width: 100%;
}

.ad-opc-submit:disabled {
  cursor: wait;
  opacity: 0.75;
}

.ad-opc-single-note {
  background: var(--ad-opc-panel);
  border: 1.5px solid rgba(201, 168, 76, 0.26);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 11px 14px;
}

.ad-opc-error,
.ad-opc-status {
  color: #ffb4a8;
  font-size: 13px;
  min-height: 18px;
  padding-top: 5px;
}

.ad-opc-status {
  color: var(--ad-opc-gold-soft);
  text-align: center;
}

.ad-opc-invalid {
  border-color: #ff8d7b !important;
}

.ad-opc-secure-note,
.ad-opc-footer {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  text-align: center;
}

.ad-opc-product-divider {
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.24), transparent);
  height: 1px;
  margin: 0 24px;
}

.ad-opc-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 34px 20px;
}

.ad-opc-card-choice:focus-visible,
.ad-opc-size:focus-visible,
.ad-opc-submit:focus-visible,
.ad-opc-qty button:focus-visible,
.ad-opc-wrap input:focus-visible,
.ad-opc-wrap select:focus-visible {
  outline: 2px solid var(--ad-opc-gold-soft);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .ad-opc-hero {
    padding: 42px 18px 48px;
  }

  .ad-opc-hero-badge {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .ad-opc-section {
    padding: 44px 18px;
  }

  .ad-opc-grid {
    grid-template-columns: 1fr;
  }

  .ad-opc-choice-grid,
  .ad-opc-address-grid {
    grid-template-columns: 1fr;
  }

  .ad-opc-payment-note {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
