/* ==========================================================================
   MyLastKey — Shop / checkout page (built on style-index.css tokens)
   Brand-specific payment colors (PayPal blue, bank-transfer green, Amazon
   yellow, discount red) are kept as-is for recognizability and trust.
   ========================================================================== */

/* ==========================================================================
   Vorkasse Inline Captcha
   ========================================================================== */
.vk-captcha {
  background: var(--teal-100);
  border: 1.5px solid rgba(36, 172, 156, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.vk-captcha-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vk-captcha-top i { font-size: 13px; }

/* equation shown as block, never wraps */
.vk-captcha-eq {
  display: block;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(36, 172, 156, 0.25);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

/* answer input full-width below equation */
.vk-captcha-input {
  display: block;
  width: 100%;
  padding: 11px 12px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--navy-900);
  background: #fff;
  border: 2px solid rgba(36, 172, 156, 0.4);
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  /* hide number spinner */
  -moz-appearance: textfield;
  box-sizing: border-box;
}
.vk-captcha-input::-webkit-inner-spin-button,
.vk-captcha-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.vk-captcha-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(36, 172, 156, 0.18);
}

.vk-captcha-error {
  font-size: 12.5px;
  color: var(--danger-600);
  font-weight: 600;
  margin-top: var(--space-3);
  min-height: 18px;
}


.shop-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: 148px 0 88px;
  color: #fff;
}
.shop-hero h1 { text-align: center; margin-bottom: var(--space-4); color: #fff; }
.shop-hero p { text-align: center; color: rgba(226, 232, 238, 0.8); font-size: 17px; max-width: 600px; margin: 0 auto; }

.shop-content { padding: var(--space-8) 0; background: var(--cream-100); }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; min-width: 0; }

.product-gallery { position: sticky; top: 90px; min-width: 0; }
.product-image { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); text-align: center; min-width: 0; }
.product-image img { max-width: 100%; height: auto; max-height: 500px; object-fit: contain; }

.product-thumbnails { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-4); margin-bottom: 4px; }
.product-thumb { width: 68px; height: 68px; object-fit: contain; border: 2px solid var(--border-200); border-radius: var(--radius-sm); cursor: pointer; padding: 5px; background: var(--cream-100); transition: all var(--dur-fast) ease; }
.product-thumb:hover { border-color: var(--teal-500); }
.product-thumb.active { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(36, 172, 156, 0.25); }

.product-badges { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.product-badge { background: var(--teal-100); color: var(--teal-700); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* Variant selection */
.product-variants { display: flex; gap: var(--space-3); margin-bottom: var(--space-5); min-width: 0; }
.variant-btn { flex: 1; padding: 12px 16px; border: 2px solid var(--border-200); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; transition: all var(--dur-base) ease; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; min-width: 0; }
.variant-btn:hover { border-color: var(--teal-500); }
.variant-btn.active { border-color: var(--teal-700); background: var(--teal-100); color: var(--teal-700); }
.variant-btn img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.variant-btn .variant-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.variant-btn .variant-name { font-weight: 700; }
.variant-btn .variant-price { font-size: 13.5px; color: var(--muted-600); }
.variant-btn.active .variant-price { color: var(--teal-700); }
.variant-selection-header { display: none; }

.product-details { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); min-width: 0; }
.product-title { font-size: 32px; color: var(--navy-900); margin-bottom: var(--space-2); }
.product-subtitle { color: var(--muted-600); font-size: 17px; margin-bottom: var(--space-6); }

.product-price { display: flex; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 2px solid var(--border-100); }
.price-current { font-size: 46px; font-weight: 800; color: var(--teal-700); white-space: nowrap; }
.price-info { color: var(--muted-600); font-size: 15px; }

.product-features { list-style: none; margin-bottom: var(--space-7); }
.product-features li { display: flex; align-items: flex-start; gap: 12px; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-100); }
.product-features li:last-child { border-bottom: none; }
.product-features i { color: var(--teal-600); font-size: 17px; margin-top: 3px; }

.payment-section { background: var(--cream-100); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-5); }
.payment-title { font-size: 14.5px; color: var(--muted-600); margin-bottom: var(--space-5); text-align: center; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.payment-buttons { display: flex; flex-direction: column; gap: var(--space-4); }

.btn-vorkasse {
  background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
  color: #fff; padding: 17px 28px; border-radius: var(--radius-md);
  font-size: 16.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all var(--dur-fast) var(--ease-out);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
  border: none; cursor: pointer; width: 100%;
}
.btn-vorkasse:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4); }
.btn-vorkasse i { font-size: 19px; }

.bank-info-box { background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%); border: 2px solid #2E7D32; border-radius: var(--radius-md); padding: var(--space-4); margin-top: var(--space-4); display: none; }
.bank-info-box.show { display: block; }
.bank-info-box h4 { color: #2E7D32; margin-bottom: var(--space-4); display: flex; align-items: center; gap: 8px; }
.bank-detail { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(46, 125, 50, 0.2); }
.bank-detail:last-child { border-bottom: none; }
.bank-detail label { font-weight: 700; color: #1B5E20; }
.bank-detail span { font-family: monospace; font-size: 14.5px; color: #2E7D32; }

/* Order form modal */
.order-modal { display: none; position: fixed; inset: 0; background: rgba(9, 18, 30, 0.72); z-index: 10000; align-items: center; justify-content: center; }
.order-modal.show { display: flex; }
.order-modal-content { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; }
.order-modal-close { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: var(--muted-400); background: none; border: none; }
.order-modal h3 { margin-bottom: var(--space-5); color: var(--navy-900); }

.order-form .form-group { margin-bottom: var(--space-4); }
.order-form label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink-700); }
.order-form input, .order-form select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-200); border-radius: var(--radius-sm); font-size: 15px; transition: all var(--dur-base) ease; }
.order-form input:focus, .order-form select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(36, 172, 156, 0.12); }
.order-form .form-row { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-4); }

.checkbox-group { margin-top: var(--space-3); }
.checkbox-label { display: flex; align-items: flex-start; cursor: pointer; font-weight: 400 !important; font-size: 14px; line-height: 1.5; color: var(--ink-700); }
.checkbox-label input[type="checkbox"] { width: auto; margin-right: 10px; margin-top: 3px; min-width: 18px; min-height: 18px; cursor: pointer; accent-color: var(--teal-600); }
.checkbox-label a { color: var(--teal-600); text-decoration: underline; }
.checkbox-label a:hover { color: var(--teal-700); }

/* Withdrawal info modal */
.info-modal { display: none; position: fixed; inset: 0; background: rgba(9, 18, 30, 0.65); z-index: 2000; align-items: center; justify-content: center; }
.info-modal.active { display: flex; }
.info-modal-content { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5); max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; position: relative; }
.info-modal-content h3 { margin-bottom: var(--space-4); color: var(--navy-900); }
.info-modal-content p { margin-bottom: var(--space-3); line-height: 1.65; }
.info-modal-content .highlight-box { background: var(--gold-100); border-left: 4px solid var(--gold-500); padding: var(--space-3); margin: var(--space-4) 0; border-radius: 0 8px 8px 0; }
.info-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--muted-600); }
.btn-close-modal { margin-top: var(--space-4); padding: 12px 28px; background: var(--teal-600); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; }

.btn-submit-order { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; border: none; border-radius: var(--radius-pill); font-size: 16.5px; font-weight: 700; cursor: pointer; transition: all var(--dur-base) ease; }
.btn-submit-order:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-teal); }

.order-success { text-align: center; padding: var(--space-6) 0; }
.order-success i { font-size: 52px; color: var(--teal-600); margin-bottom: var(--space-4); }
.order-success h4 { color: var(--navy-900); margin-bottom: var(--space-3); }
.order-success p { color: var(--muted-600); }

.btn-paypal {
  background: linear-gradient(135deg, #0070BA 0%, #003087 100%);
  color: #fff; padding: 17px 28px; border-radius: var(--radius-md);
  font-size: 16.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all var(--dur-fast) var(--ease-out);
  box-shadow: 0 4px 20px rgba(0, 112, 186, 0.3);
  border: none; cursor: pointer; width: 100%;
}
.btn-paypal:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 112, 186, 0.4); }
.btn-paypal i { font-size: 19px; }

.payment-methods { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-4); flex-wrap: wrap; }
.payment-methods img { height: 26px; opacity: 0.7; transition: opacity var(--dur-base) ease; }
.payment-methods img:hover { opacity: 1; }
.payment-icons { display: flex; justify-content: center; gap: 12px; margin-top: var(--space-4); color: var(--muted-400); font-size: 24px; }

.trust-badges { display: flex; justify-content: center; gap: var(--space-6); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border-100); flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: var(--muted-600); font-size: 14px; }
.trust-badge i { color: var(--teal-600); }

.shipping-info { background: linear-gradient(135deg, var(--teal-100) 0%, #E0F7FA 100%); border-radius: var(--radius-md); padding: var(--space-5); margin-top: var(--space-5); }
.shipping-info h4 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); color: var(--navy-900); }
.shipping-info h4 i { color: var(--teal-600); }
.shipping-info ul { list-style: none; }
.shipping-info li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink-700); }
.shipping-info li i { color: var(--teal-600); width: 20px; }

.also-available { text-align: center; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-100); }
.also-available p { color: var(--muted-600); margin-bottom: var(--space-4); }
.btn-amazon-alt { background: linear-gradient(180deg, #FFD814 0%, #FF9900 100%); color: #0F1111; padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: all var(--dur-base) ease; }
.btn-amazon-alt:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4); }

.secure-notice { background: var(--surface); border: 2px solid var(--teal-100); border-radius: var(--radius-lg); padding: var(--space-6); margin-top: var(--space-8); text-align: center; }
.secure-notice h3 { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: var(--space-4); color: var(--navy-900); }
.secure-notice h3 i { color: var(--teal-600); }
.secure-notice p { color: var(--muted-600); max-width: 600px; margin: 0 auto; }
.secure-icons { display: flex; justify-content: center; gap: var(--space-7); margin-top: var(--space-5); flex-wrap: wrap; }
.secure-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-600); }
.secure-icon i { font-size: 30px; color: var(--teal-600); }
.secure-icon span { font-size: 13.5px; }

/* What's included */
.whats-included { padding: var(--space-8) 0; background: var(--surface); }
.whats-included h2 { text-align: center; margin-bottom: var(--space-7); }
.included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
.included-card { background: var(--cream-100); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; transition: all var(--dur-base) ease; }
.included-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.included-card i { font-size: 34px; color: var(--teal-600); margin-bottom: var(--space-4); }
.included-card h3 { color: var(--navy-900); margin-bottom: var(--space-2); }
.included-card p { color: var(--muted-600); font-size: 15px; }

/* Quantity selector */
.quantity-section { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); padding: var(--space-3) 0; }
.quantity-section label { font-weight: 700; color: var(--navy-900); font-size: 15px; }
.quantity-selector { display: flex; align-items: center; background: var(--cream-100); border: 1.5px solid var(--border-200); border-radius: var(--radius-md); overflow: hidden; }
.qty-btn { width: 42px; height: 42px; border: none; background: transparent; font-size: 19px; font-weight: 700; cursor: pointer; transition: all var(--dur-fast) ease; color: var(--navy-900); }
.qty-btn:hover { background: var(--teal-600); color: #fff; }
.quantity-selector input { width: 48px; height: 42px; border: none; text-align: center; font-size: 16px; font-weight: 700; background: transparent; color: var(--navy-900); }
.quantity-selector input::-webkit-outer-spin-button, .quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Promo code */
.promo-section { background: var(--gold-100); border: 2px dashed var(--gold-500); border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-5); }
.promo-section.applied { background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%); border-color: var(--teal-600); }
.promo-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-600); margin-bottom: var(--space-3); font-size: 15px; }
.promo-section.applied .promo-label { color: #2E7D32; }
.promo-input-group { display: flex; gap: 10px; min-width: 0; }
.promo-input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border-200); border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; transition: all var(--dur-base) ease; min-width: 0; }
.promo-input:focus { outline: none; border-color: var(--teal-500); }
.promo-btn { padding: 12px 20px; background: var(--navy-900); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; transition: all var(--dur-base) ease; }
.promo-btn:hover { background: var(--navy-800); }
.promo-btn.applied { background: var(--teal-600); }
.promo-message { margin-top: var(--space-2); font-size: 14px; display: none; }
.promo-message.success { color: #2E7D32; display: flex; align-items: center; gap: 6px; }
.promo-message.error { color: #C0392B; display: flex; align-items: center; gap: 6px; }

.price-strikethrough, .price-original { font-size: 19px; color: var(--muted-400); text-decoration: line-through; }
.price-discount-badge { display: inline-block; background: linear-gradient(135deg, #E53935 0%, #C62828 100%); color: #fff; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; margin-left: var(--space-2); }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.savings-text { color: #2E7D32; font-weight: 700; font-size: 15px; margin-top: 5px; }

/* Revocation */
.revocation-section { padding: var(--space-8) 0; background: var(--teal-100); border-top: 2px solid rgba(36, 172, 156, 0.15); }
.revocation-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.revocation-icon { font-size: 44px; color: var(--teal-600); margin-bottom: var(--space-4); }
.revocation-section h2 { font-size: 30px; margin-bottom: var(--space-4); }
.revocation-section p { color: var(--muted-600); line-height: 1.75; margin-bottom: var(--space-5); font-size: 15.5px; }
.btn-revocation {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; border: none; padding: 15px 34px; border-radius: var(--radius-pill);
  font-size: 15.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all var(--dur-base) ease;
  box-shadow: var(--shadow-glow-teal);
}
.btn-revocation:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(36, 172, 156, 0.4); }

/* Responsive */
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .product-gallery { position: relative !important; top: auto !important; }
  .product-image { padding: var(--space-4); }
  .product-image img { max-height: 300px; }
}

@media (max-width: 600px) {
  .shop-hero { padding: 100px 20px 56px; }
  .shop-hero h1 { font-size: 28px; }
  .shop-content { padding: var(--space-6) 0; }
  .shop-grid { padding: 0; overflow: hidden; }
  .product-gallery { display: flex; flex-direction: column; overflow: hidden; }

  .variant-selection-header {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 17px; font-weight: 700; color: var(--teal-700);
    padding: 12px 0; order: 2; margin-top: 0;
  }
  .variant-selection-header i { font-size: 19px; animation: mlk-point-pulse 1.5s ease-in-out infinite; }
  @keyframes mlk-point-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }

  .product-variants { order: 3; flex-direction: column; margin-top: var(--space-3); margin-bottom: 0; gap: var(--space-3); }
  .product-image { order: 1; }
  .variant-btn { justify-content: flex-start; padding: var(--space-5); border: 3px solid var(--border-200); border-radius: var(--radius-lg); position: relative; }
  .variant-btn.active { border-color: var(--teal-700); box-shadow: 0 4px 15px rgba(36, 172, 156, 0.25); }
  .variant-btn.active::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -8px; right: 8px;
    width: 28px; height: 28px;
    background: var(--teal-700); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px;
  }
  .variant-btn img { width: 62px; height: 62px; }
  .variant-btn .variant-info { align-items: flex-start; gap: 4px; }
  .variant-btn .variant-name { font-size: 18px; }
  .variant-btn .variant-price { display: block; font-size: 16px; font-weight: 700; color: var(--ink-700); }
  .variant-btn.active .variant-price { color: var(--teal-700); }

  .product-details { padding: var(--space-5); overflow: hidden; }
  .product-title { font-size: 24px; text-align: center; }
  .product-subtitle { text-align: center; }
  .product-price { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .price-current { font-size: 38px; }
  .product-features li { padding: 10px 0; font-size: 14.5px; }
  .payment-section { padding: var(--space-4) var(--space-3); }
  .btn-vorkasse, .btn-paypal { padding: 15px 20px; font-size: 15px; }
  .bank-detail { flex-direction: column; gap: 4px; text-align: center; }
  .bank-detail label { font-size: 13px; }
  .bank-detail span { font-size: 14px; }
  .order-modal-content { padding: var(--space-5) var(--space-4); }
  .order-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .product-badges { gap: 10px; }
  .product-badge { padding: 6px 12px; font-size: 12.5px; }
  .info-modal-content { padding: var(--space-4); }
}
