/* =====================
   Buyroll page
   ===================== */
.buyroll-hero {
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
  text-align: center;
}

.buyroll-hero__title {
  margin-bottom: var(--space-md);
}

.buyroll-hero__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   Country picker
   ===================== */
.country-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.country-picker__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

.country-picker__options {
  display: flex;
  gap: var(--space-xs);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.country-picker__btn {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  font-family: inherit;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.country-picker__btn:hover {
  color: var(--color-text);
}

.country-picker__btn.active {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: var(--weight-semibold);
}

@media (max-width: 768px) {
  .country-picker {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .country-picker__options {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =====================
   Product cards
   ===================== */
.products {
  padding-bottom: var(--space-3xl);
}

.product-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .product-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

.product-card--featured {
  border-color: var(--color-primary);
  position: relative;
}

.product-card--featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.product-card__photos {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.product-card__price {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.product-card__price-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.product-card__features {
  text-align: left;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.product-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
}

.product-card__feature::before {
  content: "✓";
  color: var(--color-success);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

/* =====================
   Checkout area
   ===================== */
.checkout-section {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.checkout-section.active {
  display: block;
}

.checkout-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.checkout-section__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.checkout-section__back {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.checkout-section__back:hover {
  color: var(--color-text);
}

#checkout {
  min-height: 400px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* =====================
   Trust signals
   ===================== */
.trust {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.trust__items {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trust__icon {
  font-size: var(--text-lg);
}

/* =====================
   Coming soon card
   ===================== */
.product-card--coming-soon {
  opacity: 0.55;
  border-style: dashed;
  pointer-events: none;
  user-select: none;
}

.product-card--coming-soon .product-card__price {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
}

.product-card__coming-soon-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-md);
}

/* =====================
   Gift button spacing
   ===================== */
.gift-btn {
  margin-top: var(--space-sm);
}

/* =====================
   Gift modal overlay
   ===================== */
.gift-overlay {
  position: fixed;
  inset: 0;
  background: rgba(92, 75, 81, 0.55);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.gift-modal {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.gift-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-xs);
  transition: color var(--transition-fast);
}

.gift-modal__close:hover {
  color: var(--color-text);
}

.gift-modal__title {
  font-size: var(--text-2xl);
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
  padding-right: var(--space-2xl);
}

.gift-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.gift-modal__field {
  margin-bottom: var(--space-lg);
}

.gift-modal__field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.gift-modal__field input,
.gift-modal__field textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.gift-modal__field input:focus,
.gift-modal__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.gift-modal__field textarea {
  resize: vertical;
}

.gift-modal__field--checkbox {
  margin-bottom: var(--space-md);
}

.gift-modal__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.gift-modal__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.gift-modal__error {
  font-size: var(--text-sm);
  color: var(--color-cta);
  margin-bottom: var(--space-md);
}
