/* ════════════════════════════════════════════════════════════════
   STRIPE CHECKOUT SYSTEM v4 — Bundled Styles
   Enthält: Checkout + Upsell + Danke-Seite
   ════════════════════════════════════════════════════════════════ */

/* ── CHECKOUT ─────────────────────────────────────────────────── */
  /* ══════════════════════════════════════════════
     RESET & BASE
     ══════════════════════════════════════════════ */
  .sc-page * { box-sizing: border-box; margin: 0; padding: 0; }
  .sc-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FAF8F5;
    color: #2D2D2D;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  .sc-page svg.sc-icon {
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  /* ══════════════════════════════════════════════
     HERO BANNER
     ══════════════════════════════════════════════ */
  .sc-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 80px;
  }
  .sc-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sc-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 48px;
  }
  .sc-hero-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
  }
.sc-hero-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
  @media (max-width: 900px) {
    .sc-hero { height: 60px; }
    .sc-hero-overlay { padding: 0 20px; }
    .sc-hero-logo-img { height: 30px; }
    .sc-hero-text { font-size: 12px; }
  }
  /* ══════════════════════════════════════════════
     LAYOUT — Main LEFT, Sidebar RIGHT
     ══════════════════════════════════════════════ */
  .sc-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    min-height: calc(100vh - 140px);
  }
  .sc-main {
    flex: 0 1 720px;
    background: #fff;
    padding: 32px 44px 200px;
    max-width: 720px;
    order: 1;
    position: relative;
    border-right: 1px solid #E4D6CC;
  }
  .sc-main::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 100vw;
    background: #fff;
  }
  .sc-sidebar {
    flex: 1 1 auto;
    min-width: 380px;
    background: #FAF8F5;
    padding: 32px 32px;
    order: 2;
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    overflow-y: auto;
  }
  @media (max-width: 900px) {
    .sc-wrapper { flex-direction: column; }
    .sc-main { max-width: 100%; padding: 24px 20px 40px; order: 2; }
    .sc-sidebar {
      width: 100%;
      border-left: none;
      border-bottom: 1px solid #E4D6CC;
      padding: 0;
      order: 1;
      position: relative;
      max-height: none;
    }
  }
  /* ══════════════════════════════════════════════
     MOBILE ORDER SUMMARY — IMMER OFFEN
     ══════════════════════════════════════════════ */
  .sc-mobile-summary-toggle {
    display: none;
    background: #FAF8F5;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid #E4D6CC;
    user-select: none;
  }
  .sc-mobile-summary-toggle .toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sc-mobile-summary-toggle .toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3A2535;
    font-size: 14px;
    font-weight: 500;
  }
  .sc-mobile-summary-toggle .toggle-left svg { width: 20px; height: 20px; }
  .sc-mobile-summary-toggle .toggle-chevron {
    transition: transform 0.2s ease;
    display: inline-flex;
  }
  .sc-mobile-summary-toggle .toggle-chevron.open { transform: rotate(180deg); }
  .sc-mobile-summary-toggle .toggle-price {
    font-size: 18px;
    font-weight: 700;
    color: #3A2535;
  }
  @media (max-width: 900px) {
    .sc-mobile-summary-toggle { display: block; }
    /* GEÄNDERT: Sidebar-Content auf Mobile standardmässig OFFEN */
    .sc-sidebar-content { display: block; padding: 20px; }
    .sc-sidebar-content.closed { display: none; }
    .sc-sidebar-content.open { display: block; animation: sc-slideDown 0.25s ease; }
  }
  @keyframes sc-slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* ══════════════════════════════════════════════
     MOBILE: Qty-Editor direkt sichtbar
     ══════════════════════════════════════════════ */
  @media (max-width: 900px) {
    /* "Bearbeiten"-Link ausblenden, Qty-Editor immer zeigen */
    .sc-product-info .edit-link { display: none !important; }
    .sc-qty-editor { display: inline-flex !important; }
  }
  /* ══════════════════════════════════════════════
     SECTION
     ══════════════════════════════════════════════ */
  .sc-section { margin-bottom: 28px; }
  .sc-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #3A2535;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
  }
  /* ══════════════════════════════════════════════
     ORDER BUMP (Premium)
     ══════════════════════════════════════════════ */
  .sc-order-bump {
    border: 2px solid #B09060;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(176,144,96,0.12);
  }
  .sc-order-bump:hover { box-shadow: 0 4px 16px rgba(176,144,96,0.2); }
  .sc-order-bump.active {
    border-color: #3A2535;
    box-shadow: 0 4px 16px rgba(58,37,53,0.15);
  }
  .sc-bump-header {
    background: linear-gradient(135deg, #B09060 0%, #C4A87A 100%);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sc-order-bump.active .sc-bump-header {
    background: linear-gradient(135deg, #3A2535 0%, #5A3F55 100%);
  }
  .sc-bump-header svg { width: 16px; height: 16px; color: #fff; stroke: #fff; }
  .sc-bump-header-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
  .sc-bump-body {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .sc-bump-checkbox-wrap { flex-shrink: 0; }
  .sc-bump-checkbox {
    width: 24px; height: 24px;
    accent-color: #3A2535;
    cursor: pointer;
  }
  .sc-bump-img {
    width: 56px; height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #FAF8F5;
    border: 1px solid #E4D6CC;
  }
  .sc-bump-img-placeholder {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #FAF8F5 0%, #E4D6CC 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #B09060;
  }
  .sc-bump-img-placeholder svg { width: 28px; height: 28px; }
  .sc-bump-text { flex: 1; }
  .sc-bump-text .title { font-size: 15px; font-weight: 700; color: #3A2535; margin-bottom: 3px; }
  .sc-bump-text .desc { font-size: 13px; color: #666; line-height: 1.4; }
  .sc-bump-text .price-tag {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 6px; font-size: 15px; font-weight: 700; color: #3A2535;
  }
  .sc-bump-text .price-tag .original {
    text-decoration: line-through; color: #aaa; font-weight: 400; font-size: 13px;
  }
  .sc-bump-text .price-tag .save-badge {
    background: #B09060; color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px;
  }
  .sc-bump-updating {
    display: none; font-size: 12px; color: #888;
    padding: 0 20px 12px; align-items: center; gap: 6px;
  }
  .sc-bump-updating.visible { display: flex; }
  .sc-bump-updating .mini-spinner {
    display: inline-block; width: 12px; height: 12px;
    border: 2px solid #E4D6CC; border-top-color: #3A2535;
    border-radius: 50%; animation: sc-spin 0.6s linear infinite;
  }
  /* ══════════════════════════════════════════════
     EXPRESS CHECKOUT
     ══════════════════════════════════════════════ */
  .sc-express-section {
    margin-bottom: 28px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  }
  .sc-express-section.visible {
    max-height: 300px; opacity: 1;
  }
  .sc-express-section.no-methods {
    display: none;
  }
  .sc-express-title {
    font-size: 16px; font-weight: 700; color: #3A2535; margin-bottom: 14px;
  }
  #sc-express-checkout-element { min-height: 44px; }
  .sc-or-divider {
    display: flex; align-items: center; gap: 16px; margin: 0;
    color: #999; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  }
  .sc-or-divider.visible {
    max-height: 60px; opacity: 1; margin: 28px 0;
  }
  .sc-or-divider.no-methods { display: none; }
  .sc-or-divider::before, .sc-or-divider::after {
    content: ''; flex: 1; height: 1px; background: #E4D6CC;
  }
  /* ══════════════════════════════════════════════
     FORM
     ══════════════════════════════════════════════ */
  .sc-form-row { display: flex; gap: 12px; margin-bottom: 12px; }
  .sc-form-row.single { flex-direction: column; }
  @media (max-width: 500px) { .sc-form-row { flex-direction: column; } }
  .sc-field { flex: 1; position: relative; }
  .sc-field label {
    position: absolute; top: 10px; left: 13px;
    font-size: 11px; color: #999; pointer-events: none;
    transition: all 0.15s ease; font-weight: 500;
  }
  .sc-field input, .sc-field select {
    width: 100%; padding: 24px 13px 8px;
    border: 1.5px solid #E4D6CC; border-radius: 8px;
    font-size: 14px; font-family: inherit; color: #2D2D2D;
    background: #fff; outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    appearance: none; -webkit-appearance: none;
  }
  .sc-field input:focus, .sc-field select:focus {
    border-color: #3A2535; box-shadow: 0 0 0 1px #3A2535;
  }
  .sc-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 32px;
  }
  .sc-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 10px; font-size: 13px; color: #666; cursor: pointer;
  }
  .sc-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 1px;
    accent-color: #3A2535; cursor: pointer; flex-shrink: 0;
  }
  /* ══════════════════════════════════════════════
     SHIPPING OPTIONS (Radio)
     ══════════════════════════════════════════════ */
  .sc-shipping-options {
    display: flex; flex-direction: column; gap: 0;
    border: 1.5px solid #E4D6CC; border-radius: 8px;
    overflow: hidden;
  }
  .sc-shipping-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; background: #FAF8F5; font-size: 14px;
    cursor: pointer; transition: background 0.15s ease;
    border-bottom: 1px solid #E4D6CC;
    user-select: none;
  }
  .sc-shipping-option:last-child { border-bottom: none; }
  .sc-shipping-option:hover { background: #F3EDE6; }
  .sc-shipping-option.active {
    background: #fff; border-color: #3A2535;
  }
  .sc-shipping-option input[type="radio"] {
    width: 18px; height: 18px; accent-color: #3A2535;
    cursor: pointer; flex-shrink: 0; margin: 0;
  }
  .sc-shipping-option .sc-ship-info { flex: 1; }
  .sc-shipping-option .sc-ship-method {
    font-weight: 600; color: #2D2D2D; font-size: 14px;
  }
  .sc-shipping-option .sc-ship-desc {
    font-size: 12px; color: #999; margin-top: 1px;
  }
  .sc-shipping-option .sc-ship-price {
    font-weight: 700; color: #3A2535; font-size: 14px;
    white-space: nowrap;
  }
  /* Fallback: Einzelne Option (altes Layout) */
  .sc-shipping-box {
    border: 1.5px solid #E4D6CC; border-radius: 8px;
    padding: 14px 16px; display: flex;
    justify-content: space-between; align-items: center;
    background: #FAF8F5; font-size: 14px;
  }
  .sc-shipping-box .label { color: #2D2D2D; font-weight: 500; }
  .sc-shipping-box .price { font-weight: 600; color: #3A2535; }
  /* ══════════════════════════════════════════════
     PAYMENT ELEMENT
     ══════════════════════════════════════════════ */
  #sc-payment-element { min-height: 100px; border-radius: 8px; }
  /* ══════════════════════════════════════════════
     PAY BUTTON
     ══════════════════════════════════════════════ */
  .sc-pay-btn {
    width: 100%; padding: 18px 24px;
    background: linear-gradient(135deg, #3A2535 0%, #4D3548 100%);
    color: #fff; border: none; border-radius: 10px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.2s ease; font-family: inherit;
    margin-top: 20px; letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(58,37,53,0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .sc-pay-btn:hover {
    background: linear-gradient(135deg, #2E1B29 0%, #3A2535 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(58,37,53,0.4);
  }
  .sc-pay-btn:disabled {
    background: #B8A8B3; cursor: not-allowed; box-shadow: none; transform: none;
  }
  .sc-pay-btn .spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: sc-spin 0.6s linear infinite;
    vertical-align: middle; margin-right: 4px;
  }
  @keyframes sc-spin { to { transform: rotate(360deg); } }
  /* ══════════════════════════════════════════════
     ERROR
     ══════════════════════════════════════════════ */
  .sc-error {
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
    padding: 12px 16px; font-size: 13px; color: #991b1b;
    margin-top: 12px; display: none;
  }
  .sc-error.visible { display: block; }
  .sc-address-warning {
    display: none; font-size: 12px; color: #B45309; margin-top: 6px;
    padding: 6px 10px; background: #FEF3C7; border-radius: 6px; border: 1px solid #FDE68A;
  }
  /* Google Places Autocomplete Styling */
  .pac-container { border-radius: 8px; border: 1px solid #E4D6CC; box-shadow: 0 4px 12px rgba(0,0,0,0.1); font-family: 'Inter', Arial, sans-serif; margin-top: 4px; z-index: 10000 !important; }
  .pac-item { padding: 8px 12px; font-size: 14px; cursor: pointer; }
  .pac-item:hover { background: #FAF8F5; }
  .pac-icon { display: none; }
  .pac-item-query { font-size: 14px; color: #2D2D2D; }
  /* ══════════════════════════════════════════════
     SIDEBAR: ORDER SUMMARY
     ══════════════════════════════════════════════ */
  .sc-sidebar-title {
    font-size: 16px; font-weight: 700; color: #3A2535;
    margin-bottom: 20px; letter-spacing: -0.2px;
  }
  .sc-product-row {
    display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  }
  .sc-product-img {
    width: 64px; height: 64px;
    border: 1.5px solid #E4D6CC; border-radius: 10px;
    background: #FAF8F5; flex-shrink: 0;
    position: relative;
  }
  .sc-product-img img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 9px;
  }
  .sc-product-img .qty-badge {
    position: absolute; top: -8px; right: -8px;
    background: #3A2535; color: #fff;
    font-size: 10px; font-weight: 700;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
  }
  .sc-product-info { flex: 1; }
  .sc-product-info .name { font-size: 14px; font-weight: 600; color: #2D2D2D; }
  .sc-product-info .variant { font-size: 12px; color: #999; }
  .sc-product-info .edit-link {
    font-size: 12px; color: #3A2535; text-decoration: underline;
    cursor: pointer; display: inline-block; margin-top: 2px;
  }
  .sc-product-info .edit-link:hover { color: #B09060; }
  .sc-product-price { font-size: 14px; font-weight: 600; color: #2D2D2D; white-space: nowrap; }
  /* Quantity Editor */
  .sc-qty-editor {
    display: none; align-items: center; gap: 6px;
    margin-top: 6px; animation: sc-fadeIn 0.2s ease;
  }
  .sc-qty-editor.visible { display: inline-flex; }
  .sc-qty-btn {
    width: 28px; height: 28px;
    border: 1.5px solid #E4D6CC; border-radius: 6px;
    background: #fff; color: #3A2535;
    font-size: 16px; font-weight: 600;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: all 0.15s ease;
    padding: 0; line-height: 1;
  }
  .sc-qty-btn:hover { border-color: #3A2535; background: #FAF8F5; }
  .sc-qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
  .sc-qty-value {
    font-size: 14px; font-weight: 600; color: #2D2D2D;
    min-width: 20px; text-align: center;
  }
  .sc-addon-row {
    display: none; align-items: center; gap: 14px;
    margin-bottom: 14px; animation: sc-fadeIn 0.3s ease;
  }
  .sc-addon-row.visible { display: flex; }
  @keyframes sc-fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
  .sc-addon-img {
    width: 48px; height: 48px;
    border: 1.5px solid #E4D6CC; border-radius: 8px;
    background: #FAF8F5; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .sc-addon-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
  .sc-sidebar-divider { height: 1px; background: #E4D6CC; margin: 16px 0; }
  /* Coupon / Gutschein */
  .sc-coupon-section { margin-bottom: 16px; }
  .sc-coupon-toggle {
    font-size: 13px; color: #3A2535; cursor: pointer; text-decoration: underline;
    display: inline-block; margin-bottom: 8px; font-weight: 500;
  }
  .sc-coupon-toggle:hover { color: #5B3A54; }
  .sc-coupon-input-row {
    display: flex; gap: 8px; align-items: stretch;
  }
  .sc-coupon-input-row input {
    flex: 1; padding: 10px 13px; border: 1.5px solid #E4D6CC; border-radius: 8px;
    font-size: 14px; font-family: inherit; color: #2D2D2D; background: #fff; outline: none;
    text-transform: uppercase;
  }
  .sc-coupon-input-row input:focus { border-color: #3A2535; box-shadow: 0 0 0 1px #3A2535; }
  .sc-coupon-input-row input::placeholder { text-transform: none; color: #999; }
  .sc-coupon-btn {
    padding: 10px 16px; border: 1.5px solid #3A2535; border-radius: 8px;
    background: transparent; color: #3A2535; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap; font-family: inherit;
  }
  .sc-coupon-btn:hover { background: #3A2535; color: #fff; }
  .sc-coupon-btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .sc-coupon-applied {
    display: flex; justify-content: space-between; align-items: center;
    background: #F0FAF0; border: 1px solid #C3E6C3; border-radius: 8px;
    padding: 10px 14px; font-size: 13px; color: #2D6A2D;
  }
  .sc-coupon-applied .sc-coupon-remove {
    color: #999; cursor: pointer; font-size: 12px; text-decoration: underline;
  }
  .sc-coupon-applied .sc-coupon-remove:hover { color: #c00; }
  .sc-coupon-error { color: #c00; font-size: 12px; margin-top: 6px; }
  .sc-discount-line { color: #2D6A2D !important; }
  .sc-summary-line {
    display: flex; justify-content: space-between;
    font-size: 14px; color: #666; margin-bottom: 8px;
  }
  .sc-summary-total {
    display: flex; justify-content: space-between;
    font-size: 20px; font-weight: 800; color: #3A2535;
    padding-top: 16px; border-top: 1.5px solid #E4D6CC; margin-top: 16px;
  }
  .sc-summary-total .currency {
    font-size: 12px; font-weight: 500; color: #999; margin-right: 4px; vertical-align: middle;
  }
  /* Trust Badges */
  .sc-trust-badges {
    display: flex; justify-content: center; gap: 20px;
    margin-top: 24px; padding-top: 16px; border-top: 1px solid #E4D6CC;
  }
  .sc-trust-badge {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; font-size: 10px; color: #999; text-align: center;
  }
  .sc-trust-badge svg { width: 22px; height: 22px; color: #A09A78; stroke: #A09A78; }
  /* ══════════════════════════════════════════════
     SECURITY FOOTER
     ══════════════════════════════════════════════ */
  .sc-security {
    margin-top: 24px; padding-top: 16px; border-top: 1px solid #E4D6CC;
    text-align: center; font-size: 12px; color: #B8A8B3;
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .sc-security svg { width: 14px; height: 14px; color: #B8A8B3; stroke: #B8A8B3; }
  /* ══════════════════════════════════════════════
     LOADING OVERLAY
     ══════════════════════════════════════════════ */
  .sc-loading-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85); z-index: 99999;
    display: none; justify-content: center; align-items: center;
    flex-direction: column; backdrop-filter: blur(4px);
  }
  .sc-loading-overlay.visible { display: flex; }
  .sc-loading-overlay .spinner-big {
    width: 44px; height: 44px;
    border: 3px solid #E4D6CC; border-top-color: #3A2535;
    border-radius: 50%; animation: sc-spin 0.7s linear infinite;
    margin-bottom: 14px;
  }
  .sc-loading-overlay span { color: #3A2535; font-size: 15px; font-weight: 500; }

/* ── UPSELL ───────────────────────────────────────────────────── */
  :root {
    --plum: #3A2535;
    --gold: #B09060;
    --beige: #FAF8F5;
    --beige-border: #E4D6CC;
    --text: #2D2D2D;
    --text-muted: #6B6B6B;
    --text-light: #999;
    --green: #1a7d37;
    --red: #c41e3a;
    --red-bg: #fef0f0;
    --red-border: #fcd4d4;
  }
  .upsell-page * { box-sizing: border-box; margin: 0; padding: 0; }
  .upsell-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  .up-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 80px;
  }
  .up-hero-bg { width: 100%; height: 100%; object-fit: cover; }
  .up-hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; padding: 0 48px;
  }
  .up-hero-logo-img { height: 48px; width: auto; filter: brightness(0) invert(1); }
  @media (max-width: 900px) {
    .up-hero { height: 60px; }
    .up-hero-overlay { padding: 0 20px; }
    .up-hero-logo-img { height: 30px; }
  }
  .up-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .up-order-section { padding: 28px 0; }
  .up-order-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .up-order-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    margin-top: 18px;
  }
  .up-order-icon svg {
    width: 28px; height: 28px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .up-order-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .up-order-number {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
  }
  .up-order-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
  }
  .up-order-link {
    font-size: 14px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    margin-top: 2px;
  }
  .up-order-link:hover { text-decoration: underline; }
  .up-separator {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0;
  }
  .up-promo-section {
    padding: 24px 0 0;
  }
  .up-promo-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  .up-promo-section img.up-promo-mobile { display: none; }
  .up-promo-section img.up-promo-desktop { display: block; }
  @media (max-width: 749px) {
    .up-promo-section img.up-promo-mobile { display: block; }
    .up-promo-section img.up-promo-desktop { display: none; }
  }
  .up-timer-banner {
    background: var(--red-bg);
    border: 1.5px solid var(--red-border);
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
    margin: 24px 0;
  }
  .up-timer-banner-text {
    font-size: 15px;
    color: var(--red);
    font-weight: 500;
  }
  .up-timer-banner-text strong {
    font-weight: 700;
  }
  .up-timer-expired {
    font-size: 15px;
    color: var(--red);
    font-weight: 600;
  }
  .up-bridge {
    padding: 0 0 8px;
  }
  .up-bridge-opener {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
  }
  .up-bridge-opener strong {
    color: var(--text);
  }
  .up-bridge-opener em {
    font-style: normal;
    color: var(--gold);
    font-weight: 600;
  }
  .up-bridge-journey {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 24px;
  }
  .up-bridge-step {
    background: var(--beige);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }
  .up-bridge-step-icon {
    margin-bottom: 10px;
  }
  .up-bridge-step-icon svg {
    width: 28px; height: 28px;
    stroke: var(--gold); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-bridge-step-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
    margin-bottom: 6px;
  }
  .up-bridge-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }
  .up-bridge-step-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .up-bridge-step.is-next {
    background: var(--plum);
  }
  .up-bridge-step.is-next .up-bridge-step-label { color: var(--gold); }
  .up-bridge-step.is-next .up-bridge-step-title { color: #fff; }
  .up-bridge-step.is-next .up-bridge-step-desc { color: rgba(255,255,255,0.7); }
  .up-bridge-step.is-next .up-bridge-step-icon svg { stroke: var(--gold); }
  .up-bridge-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
  }
  .up-bridge-arrow svg {
    width: 24px; height: 24px;
    stroke: var(--gold); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-bridge-proof {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .up-bridge-proof strong {
    color: var(--text);
    font-weight: 600;
  }
  .up-bridge-faces {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
  }
  .up-bridge-faces img {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    object-fit: cover;
    margin-left: -8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
  .up-bridge-faces img:first-child { margin-left: 0; }
  .up-bridge-faces .faces-count {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--plum);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    border: 2.5px solid #fff;
  }
  .up-bridge-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0ebe6;
  }
  .up-bridge-author-img {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--gold);
  }
  .up-bridge-author-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
  }
  .up-bridge-author-text strong {
    color: var(--plum);
  }
  .up-bridge-context {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
    text-align: center;
    margin-bottom: 12px;
  }
  .up-offer-mockup {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .up-offer-mockup img {
    width: 100%;
    height: auto;
    display: block;
  }
  .up-offer-mockup-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #3A2535 0%, #5a3d52 50%, #B09060 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    border-radius: 12px;
  }
  .up-offer-mockup-placeholder svg {
    width: 40px; height: 40px;
    stroke: rgba(255,255,255,0.6); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    margin-top: 12px;
  }
  .up-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  .up-trust-badge svg {
    width: 28px; height: 28px;
    stroke: var(--gold); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-trust-badge img {
    height: 28px; width: auto;
    opacity: 0.7;
    filter: grayscale(0.3);
  }
  .up-offer {
    padding: 20px 0 12px;
  }
  .up-offer-header {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    text-align: center;
    line-height: 1.3;
  }
  .up-offer-subheader {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
  }
  .up-offer-card {
    background: #fff;
    border: 1px solid #f0ebe6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(58, 37, 53, 0.06);
  }
  .up-offer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  @media (max-width: 600px) {
    .up-offer-inner { grid-template-columns: 1fr; }
  }
  .up-offer-product {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    gap: 12px;
  }
  .up-offer-img {
    width: 64px; height: 64px;
    border-radius: 12px;
    background: var(--beige);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f0ebe6;
  }
  .up-offer-img img { width: 100%; height: 100%; object-fit: cover; }
  .up-offer-name {
    font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 2px;
  }
  .up-offer-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
  }
  .up-offer-price-row {
    display: flex; align-items: baseline; gap: 8px; margin-top: 4px;
  }
  .up-offer-price {
    font-size: 24px; font-weight: 800; color: var(--plum);
  }
  .up-offer-price-original {
    font-size: 14px; color: #ccc; text-decoration: line-through;
  }
  .up-offer-badge {
    font-size: 11px; font-weight: 700; color: #fff;
    background: var(--green);
    padding: 3px 10px; border-radius: 20px;
  }
  .up-offer-benefits {
    list-style: none;
    padding: 24px 28px;
    margin: 0;
    background: var(--beige);
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
  }
  .up-offer-benefits li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--text);
    line-height: 1.4;
  }
  .up-offer-benefits li .check-icon {
    flex-shrink: 0; margin-top: 2px;
  }
  .up-offer-benefits li .check-icon svg {
    width: 16px; height: 16px;
    stroke: var(--gold); fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  }
  .benefit-card {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #f0ebe6;
  }
  .benefit-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .benefit-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    flex: 1;
  }
  .benefit-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }
  .benefit-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 24px;
  }
  .up-offer-benefits-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  .up-value-stack {
    padding: 20px 28px;
    border-top: 1px solid #f0ebe6;
  }
  .up-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-muted);
  }
  .up-value-original {
    text-decoration: line-through;
    color: #ccc;
  }
  .up-value-row.is-total {
    padding: 10px 0 4px;
    border-top: 1px solid #f0ebe6;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
  }
  .up-value-today {
    color: var(--plum);
    font-size: 22px;
  }
  .up-value-saved {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    margin-top: 6px;
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(46, 125, 50, 0.08);
    border-radius: 20px;
    display: block;
    width: fit-content;
    width: 100%;
  }
  .up-offer-cta {
    padding: 24px 28px 20px;
    text-align: center;
  }
  .up-offer-oneclick-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--green);
    margin-bottom: 14px;
  }
  .up-offer-oneclick-badge svg {
    width: 14px; height: 14px; stroke: var(--green); fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-offer-btn {
    display: block; width: 100%;
    padding: 16px 24px;
    font-size: 16px; font-weight: 700;
    font-family: inherit;
    border: none; border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    background: var(--plum);
    text-align: center;
    box-shadow: 0 4px 14px rgba(58, 37, 53, 0.2);
  }
  .up-offer-btn:hover {
    background: #2e1c29;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(58, 37, 53, 0.25);
  }
  .up-offer-btn.loading {
    opacity: 0.7; pointer-events: none;
    transform: none; box-shadow: none;
  }
  .up-offer-btn.success {
    background: var(--green);
  }
  .up-offer-subtext {
    font-size: 11px; color: var(--text-light); margin-top: 10px;
  }
  .up-offer-guarantee {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 24px 20px;
  }
  .up-offer-guarantee-icon {
    flex-shrink: 0;
  }
  .up-offer-guarantee-icon svg {
    width: 16px; height: 16px;
    stroke: var(--gold); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  .up-offer-guarantee-text {
    font-size: 12px; color: var(--text-muted); line-height: 1.4;
  }
  .up-offer-guarantee-text strong { color: var(--text); }
  .up-skip {
    display: block;
    margin: 20px 0 0;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    text-align: center;
  }
  .up-skip:hover { color: var(--text-muted); text-decoration: underline; }
  @media (max-width: 600px) {
    .up-content { padding: 0 14px; }
    .up-order-section { padding: 20px 0; }
    .up-order-icon { width: 24px; height: 24px; margin-top: 14px; }
    .up-order-icon svg { width: 24px; height: 24px; }
    .up-order-title { font-size: 15px; }
    .up-order-link { font-size: 13px; }
    .up-timer-banner { padding: 12px 14px; margin: 18px 0; }
    .up-timer-banner-text { font-size: 13px; }
    .up-bridge-author { flex-direction: column; text-align: center; padding: 16px; gap: 12px; }
    .up-bridge-author-img { width: 56px; height: 56px; }
    .up-bridge-author-text { font-size: 13px; }
    .up-bridge-opener { font-size: 14px; margin-bottom: 18px; }
    .up-bridge-journey { grid-template-columns: 1fr; gap: 0; }
    .up-bridge-arrow { padding: 8px 0; transform: rotate(90deg); }
    .up-bridge-step { padding: 16px; }
    .up-bridge-faces img { width: 32px; height: 32px; }
    .up-bridge-faces .faces-count { width: 32px; height: 32px; font-size: 10px; }
    .up-offer-header { font-size: 17px; margin-bottom: 4px; }
    .up-offer-subheader { font-size: 12px; margin-bottom: 14px; }
    .up-offer-product { padding: 20px 16px 16px; text-align: center; align-items: center; }
    .up-offer-mockup { border-radius: 8px; }
    .up-offer-name { font-size: 16px; }
    .up-offer-desc { font-size: 12px; }
    .up-offer-price { font-size: 20px; }
    .up-offer-price-row { justify-content: center; flex-wrap: wrap; }
    .up-offer-price-original { font-size: 13px; }
    .up-offer-benefits { padding: 16px; gap: 12px; }
    .benefit-card { padding: 12px 14px; }
    .benefit-card-top { flex-wrap: wrap; }
    .benefit-title { font-size: 13px; }
    .benefit-value { font-size: 9px; }
    .benefit-desc { font-size: 11px; padding-left: 24px; }
    .up-value-stack { padding: 16px; }
    .up-value-row.is-total { font-size: 16px; }
    .up-value-today { font-size: 20px; }
    .up-offer-cta { padding: 16px; }
    .up-offer-btn { padding: 14px 16px; font-size: 14px; border-radius: 10px; }
    .up-offer-subtext { font-size: 10px; }
    .up-offer-guarantee { padding: 12px 16px 16px; }
    .up-trust-bar { gap: 14px; padding: 12px 16px; flex-wrap: wrap; }
    .up-trust-badge { font-size: 9px; }
    .up-trust-badge svg { width: 22px; height: 22px; }
    .up-trust-badge img { height: 22px; }
    .up-skip { font-size: 12px; margin-top: 14px; }
  }
  #upsell-checkout-container {
    max-width: 100%; margin: 20px 0 0; min-height: 0;
    border-radius: 12px; overflow: hidden;
    transition: min-height 0.3s ease;
  }
  #upsell-checkout-container.active {
    min-height: 400px;
    border: 1.5px solid #e5e5e5;
  }
  .up-popup-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    justify-content: center; align-items: center;
    animation: up-fade-in 0.2s ease;
  }
  .up-popup-overlay.active { display: flex; }
  @keyframes up-fade-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes up-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .up-popup-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 480px; width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: up-slide-up 0.3s ease;
  }
  .up-popup-close {
    position: absolute; top: 12px; right: 14px;
    background: none; border: none; cursor: pointer;
    font-size: 22px; color: #999; line-height: 1;
    padding: 4px 8px; border-radius: 6px;
    transition: all 0.15s;
  }
  .up-popup-close:hover { background: #f5f5f5; color: #333; }
  .up-popup-header {
    text-align: center; margin-bottom: 20px;
  }
  .up-popup-title {
    font-size: 18px; font-weight: 700; color: var(--plum);
    margin: 0 0 4px;
  }
  .up-popup-subtitle {
    font-size: 14px; color: var(--text-muted); margin: 0;
  }
  .up-popup-customer {
    background: var(--beige); border-radius: 10px;
    padding: 14px 16px; margin-bottom: 18px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .up-popup-customer-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text);
  }
  .up-popup-customer-row svg {
    width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0;
  }
  .up-popup-customer-label {
    font-weight: 600; min-width: 50px;
  }
  #up-popup-payment-element {
    min-height: 100px;
    border-radius: 8px;
  }
  .up-popup-pay-btn {
    width: 100%; padding: 16px 24px;
    background: linear-gradient(135deg, #3A2535 0%, #4D3548 100%);
    color: #fff; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 18px; letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(58,37,53,0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .up-popup-pay-btn:hover {
    background: linear-gradient(135deg, #2E1B29 0%, #3A2535 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(58,37,53,0.4);
  }
  .up-popup-pay-btn:disabled {
    background: #B8A8B3; cursor: not-allowed;
    box-shadow: none; transform: none;
  }
  .up-popup-error {
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 8px; padding: 10px 14px;
    font-size: 13px; color: #991b1b;
    margin-top: 12px; display: none;
  }
  .up-popup-error.visible { display: block; }
  .up-popup-secure {
    text-align: center; margin-top: 14px;
    font-size: 11px; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; gap: 4px;
  }
  .up-popup-spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: upsell-spin 0.7s linear infinite;
  }
  @media (max-width: 600px) {
    .up-popup-modal {
      width: 100%; max-width: 100%;
      border-radius: 16px 16px 0 0;
      max-height: 85vh;
      position: fixed; bottom: 0; left: 0; right: 0;
      animation: up-slide-up-mobile 0.3s ease;
    }
    @keyframes up-slide-up-mobile {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }
    .up-popup-overlay.active {
      align-items: flex-end;
    }
  }
  .upsell-loading {
    text-align: center; padding: 60px 20px; color: #999;
  }
  .upsell-loading .spinner-big {
    width: 28px; height: 28px;
    border: 2.5px solid #e5e5e5; border-top-color: var(--plum);
    border-radius: 50%;
    animation: upsell-spin 0.7s linear infinite;
    display: inline-block; margin-bottom: 12px;
  }
  @keyframes upsell-spin { to { transform: rotate(360deg); } }
  .up-error-inline {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    color: var(--red);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
  }

/* ── DANKE-SEITE ──────────────────────────────────────────────── */
  .thankyou-page * { box-sizing: border-box; margin: 0; padding: 0; }
  .thankyou-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background: #fff;
    overflow-x: hidden;
  }
  .ty-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 80px;
  }
  .ty-hero-bg { width: 100%; height: 100%; object-fit: cover; }
  .ty-hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; padding: 0 48px;
  }
  .ty-hero-logo-img { height: 48px; width: auto; filter: brightness(0) invert(1); }
  .ty-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    min-height: calc(100vh - 80px);
  }
  .ty-layout-outer {
    background: var(--beige);
    overflow: hidden;
  }
  .ty-main {
    padding: 40px 48px 60px;
    background: #fff;
    position: relative;
  }
  .ty-main::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: 100%;
    width: 9999px;
    background: #fff;
  }
  .ty-sidebar {
    border-left: 1px solid var(--beige-border);
    padding: 40px 32px 60px;
  }
  .ty-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }
  .ty-confirm-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    margin-top: 19px;
  }
  .ty-confirm-icon svg {
    width: 28px; height: 28px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .ty-confirm-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ty-order-number {
    font-size: 13px;
    color: var(--text-muted);
  }
  .ty-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
  }
  .ty-email-notice {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
  }
  .ty-separator {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 32px;
  }
  .ty-steps {
    margin-bottom: 32px;
  }
  .ty-steps-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
  }
  .ty-step-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .ty-step-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--beige);
    border-radius: 12px;
    border: 1px solid #f0ebe6;
  }
  .ty-step-card-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--plum);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ty-step-card-icon svg {
    width: 18px; height: 18px;
    stroke: #fff; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  .ty-step-card-text {
    flex: 1;
  }
  .ty-step-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
  }
  .ty-step-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .ty-step-card.is-upsell {
    border-color: var(--gold);
    background: #fff;
  }
  .ty-step-card.is-upsell .ty-step-card-icon {
    background: var(--gold);
  }
  .ty-step-card.is-upsell .ty-step-card-icon svg {
    transform: translateX(1.5px);
  }
  .ty-details {
    margin-bottom: 32px;
  }
  .ty-details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
  }
  .ty-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ty-detail-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .ty-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .ty-detail-value {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .ty-cta-section {
    padding-top: 4px;
  }
  .ty-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ty-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--plum);
    background: #fff;
    border: 1.5px solid var(--beige-border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .ty-cta-btn:hover {
    border-color: var(--gold);
    background: var(--beige);
  }
  .ty-cta-btn svg {
    width: 16px; height: 16px;
    stroke: var(--gold); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  .ty-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
  }
  .ty-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--beige-border);
  }
  .ty-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .ty-item-img {
    width: 64px; height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--beige-border);
    background: #fff;
    position: relative;
  }
  .ty-item-img img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  }
  .ty-item-img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--plum), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: 800;
  }
  .ty-item-badge {
    position: absolute;
    top: -8px; right: -8px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--plum);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--beige);
  }
  .ty-item-info {
    flex: 1;
    min-width: 0;
  }
  .ty-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
  }
  .ty-item-type {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
  }
  .ty-item-price {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    flex-shrink: 0;
  }
  .ty-cost {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ty-cost-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
  }
  .ty-cost-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    padding-top: 12px;
    border-top: 1px solid var(--beige-border);
    margin-top: 4px;
  }
  .ty-cost-total-amount {
    color: var(--plum);
  }
  .ty-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--beige-border);
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
  }
  .ty-footer a {
    color: var(--text-muted);
    text-decoration: none;
  }
  .ty-footer a:hover { text-decoration: underline; }
  .ty-loading {
    text-align: center; padding: 80px 20px; color: #999;
  }
  .ty-loading .spinner-big {
    width: 28px; height: 28px;
    border: 2.5px solid #e5e5e5; border-top-color: var(--plum);
    border-radius: 50%;
    animation: ty-spin 0.7s linear infinite;
    display: inline-block; margin-bottom: 12px;
  }
  @keyframes ty-spin { to { transform: rotate(360deg); } }
  .ty-error {
    text-align: center; padding: 60px 20px; color: #c41e3a;
  }
  .ty-error a { color: var(--plum); font-weight: 600; }
  .ty-mobile-summary-toggle {
    display: none;
  }
  .ty-sidebar-content {
    display: block;
    padding: 0;
  }
  @media (max-width: 768px) {
    .ty-hero { height: 60px; }
    .ty-hero-overlay { padding: 0 20px; }
    .ty-hero-logo-img { height: 30px; }
    .ty-layout {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    .ty-sidebar {
      border-left: none;
      border-top: 1px solid var(--beige-border);
      order: -1;
      padding: 0;
    }
    .ty-main {
      padding: 28px 20px 40px;
    }
    .ty-mobile-summary-toggle {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 20px;
      cursor: pointer;
      background: var(--beige);
      border-bottom: 1px solid var(--beige-border);
    }
    .ty-mobile-summary-toggle-label {
      font-size: 14px;
      color: var(--gold);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .ty-mobile-summary-toggle-label svg {
      width: 14px; height: 14px;
      stroke: var(--gold); fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
      transition: transform 0.2s ease;
    }
    .ty-mobile-summary-toggle-label.is-open svg {
      transform: rotate(180deg);
    }
    .ty-mobile-summary-total {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }
    .ty-sidebar-content {
      display: none;
      padding: 20px;
    }
    .ty-sidebar-content.is-open {
      display: block;
    }
    .ty-confirm-icon { width: 24px; height: 24px; }
    .ty-confirm-icon svg { width: 24px; height: 24px; }
    .ty-title { font-size: 18px; }
    .ty-details-grid { grid-template-columns: 1fr; gap: 16px; }
    .ty-step-card { padding: 14px 16px; }
  }