html {
    overflow-y: scroll;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.24) 42%, rgba(15, 23, 42, 0.56) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.24) 0%, rgba(15, 23, 42, 0.06) 48%, rgba(15, 23, 42, 0.32) 100%),
        url("../images/wallpaper-korea.png") center center / cover fixed;
    color: #111;
}

main {
    flex: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* ====== Generic Box (legacy) ====== */
.box {
    background: rgba(255, 255, 255, 0.94);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(12px);
}

/* ====== Typography ====== */
h1 {
    text-align: center;
    margin-bottom: 24px;
}

h2 {
    margin-top: 0;
}

.intro {
    text-align: center;
    color: #111827;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


.page h1 {
    text-align: center;
    margin: 0 0 24px 0;
    color: #ffffff;
    text-shadow: 0 3px 24px rgba(15, 23, 42, 0.5);
}

.checkout-wrapper {
    margin: 0; /* WICHTIG: kein extra Offset */
}

.cart-page {
    gap: 18px;
}

.cart-step-header {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.cart-step-header__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.44);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.cart-step-header h1 {
    margin-bottom: 0;
}

.cart-items {
    width: 100%;
    max-width: 480px;
}



/* ====== Buttons ====== */
.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 14px 28px;
    background: #0066ff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
    max-width: 100%;

}

.btn-primary:hover {
    background: #004fcc;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.activation-code-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 8px;
}

.activation-code-copy {
    padding: 8px 14px;
    font-size: 14px;
}

.success-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 18px 0 24px;
}

.success-actions__form {
    margin: 0;
}

.success-actions__button {
    width: 100%;
    text-align: center;
}

.btn-danger {
    display: inline-block;
    padding: 8px 18px;
    background: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-danger:hover {
    background: #cc0000;
}

.site-nav__link--highlight {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ====== Forms ====== */
.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 4px;
    font-size: 13px;
}

.form-group small[hidden] {
    display: none;
}

.form-section-title {
    margin: 20px 0 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4;
    min-height: 44px;
}

textarea {
    resize: vertical;
}

.form-error {
    color: #b91c1c;
}

.destination-select-wrapper {
    position: relative;
}

.destination-select-flag {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12px;
    width: 24px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
    pointer-events: none;
}

.destination-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    font-weight: 600;
    padding: 10px 36px 10px 46px;
}

.checkout-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

/* ====== Recommendation / Cards ====== */
.recommended-card {
    width: 100%;
    max-width: 480px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
    text-align: center;
    box-sizing: border-box;
}

.recommended-card h2,
.recommended-card .form-section-title {
    text-align: left;
}

.legal-card {
    max-width: 700px;
    text-align: left;
}

.inquiry-card {
    max-width: 620px;
}

.inquiry-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    line-height: 1.45;
}

.inquiry-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.home-card {
    position: relative;
    overflow: hidden;
}

.home-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, rgba(0, 102, 255, 0.18), #fd411d);
}

.cart-card {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cart-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, rgba(0, 102, 255, 0.18), #fd411d);
}

.cart-card h2 {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eef7;
    color: #111827;
    line-height: 1.25;
}

.cart-line {
    margin: 0 0 16px;
}

.cart-line__row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 1.4fr);
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e8eef7;
}

.cart-line dt {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.cart-line dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-line dd:has(.cart-edit[open]) .cart-line__value {
    display: none;
}

.cart-line__row--total dd {
    color: #0066ff;
    font-size: 18px;
}

.cart-edit {
    flex: 0 0 auto;
    text-align: right;
}

.cart-edit summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.cart-edit summary::-webkit-details-marker {
    display: none;
}

.cart-edit[open] summary {
    display: none;
}

.cart-edit-form {
    display: flex;
    gap: 14px;
    align-items: stretch;
    flex-direction: column;
    margin-top: 10px;
    text-align: left;
}

.cart-edit-form--inline {
    width: 100%;
    min-width: 0;
}

.cart-edit-form .form-group {
    margin-bottom: 0;
}

.cart-edit-form select {
    width: 100%;
}

.cart-edit-form__submit {
    width: 100%;
}

.cart-qty-input {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: #ffcc00;
    color: #000;
    font-size: 14px;
    border-radius: 20px;
    font-weight: 600;
}

.subtitle {
    color: #555;
    margin-bottom: 16px;
}

.price {
    font-size: 1.4em;
    color: #0066ff;
    margin: 10px 0 16px;
}

.home-price-preview {
    margin: 12px 0 20px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
}

.home-price-preview span,
.home-price-preview small {
    display: block;
    color: #42526e;
}

.home-price-preview strong {
    display: block;
    margin-top: 4px;
    color: #0066ff;
    font-size: 1.45em;
}

.home-price-preview small {
    margin-top: 2px;
    font-size: 0.88em;
}

.activation-deadline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 20px 0 12px;
    padding: 12px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #334155;
    font-weight: 600;
}

.activation-deadline[hidden] {
    display: none;
}

.activation-deadline strong {
    color: #0054d6;
    font-size: 1.08em;
}

/* ====== Feature List ====== */
.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    margin: 8px 0;
}

.features-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 !important;
    min-height: 18px;
}

.features-divider::before,
.features-divider::after {
    content: "";
    flex: 1;
    height: 1px;
}

.features-divider::before {
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.34), transparent);
}

.features-divider::after {
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.34), transparent);
}

.features-divider span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0066ff;
    box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.1);
}

/* ====== FAQ ====== */
.faq-section {
    width: 100%;
    max-width: 700px;
    margin-top: 0;
}

.faq-shell {
    width: 100%;
    box-sizing: border-box;
    padding: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.92) 100%);
    border: 1px solid rgba(216, 228, 243, 0.8);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
}

.faq-actions {
    margin-bottom: 24px;
}

.faq-back-button {
    width: auto;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-intro {
    max-width: 640px;
    margin-bottom: 28px;
}

.faq-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    background: #e8f1ff;
    color: #0f4fbf;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-intro h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.15;
}

.faq-intro p {
    margin: 0;
    color: #516074;
    line-height: 1.6;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d8e4f3;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item[open] {
    border-color: #b9cff0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4ff;
    color: #0f4fbf;
    font-size: 18px;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer-placeholder {
    padding: 0 24px 22px;
    color: #5a6b7f;
    line-height: 1.6;
    border-top: 1px solid #eef3f9;
}

.faq-answer-placeholder a {
    color: #0f4fbf;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer-placeholder a:hover {
    color: #0b3f9a;
}

.faq-note {
    margin: 14px 0 8px;
}

.faq-phone-list {
    margin: 8px 0 12px;
    padding-left: 22px;
}

.faq-phone-list li {
    margin: 6px 0;
}



/* ====== Summary List ====== */
.summary-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.summary-list li span {
    color: #555;
}

/* ====== Footer Links ====== */
.checkout-footer {
    margin-top: 24px;
    text-align: center;
}

.link-secondary {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.link-secondary:hover {
    text-decoration: underline;
}

/* ====== Errors ====== */
.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.notice-box {
    background: #e0f2fe;
    color: #075985;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ====== Legacy Table (falls noch irgendwo genutzt) ====== */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: .5em;
    border-bottom: 1px solid #eee;
}

/* ====== Header ====== */
.site-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;

    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: auto;
    height: 44px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.site-nav__link {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover {
    background: #eef4fb;
    color: #0f4fbf;
}

.cart-icon {
    font-size: 22px;
    text-decoration: none;
    position: relative;
    line-height: 1;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== Sprachauswahl (Flaggen im Header) ====== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.lang-switcher__form {
    display: flex;
    margin: 0;
}

.lang-flag {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 32px;
    min-height: 28px;
    margin: 0;
    padding: 4px;
    background: none;
    border: 0;
    border-radius: 5px 5px 0 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    opacity: 0.52;
    transition: opacity 0.2s, outline-color 0.2s;
    line-height: 1;
}

.lang-flag-image {
    display: block;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.lang-flag:hover {
    opacity: 1;
}

.lang-flag:focus-visible {
    opacity: 1;
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

/* Aktive Sprache: volle Deckkraft + dezenter Rahmen */
.lang-active {
    opacity: 1;
    cursor: default;
    border-bottom: 2px solid #0066ff;
    padding-bottom: 2px;
}

.trust {
    font-size: 14px;
    color: #555;
}

/* ====== Footer ====== */
.site-footer {
    margin-top: 60px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.84);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
}

.site-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.footer-link-button {
    background: none;
    border: none;
    color: #555;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-link-button:hover {
    text-decoration: underline;
}

.footer-links span {
    margin: 0 6px;
    color: #999;
}

.footer-copy {
    font-size: 13px;
    color: #888;
    margin: 0;
}

@media (min-width: 1024px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

}

/* ====== Mengenauswahl (order-form + cart) ====== */

/* Dropdown für Mengenauswahl: im Startformular wie andere Felder, im Warenkorb kompakt */
.qty-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
    font-weight: 600;
}

.form-group .qty-select {
    width: 100%;
}

.qty-form .qty-select {
    width: auto;
    min-width: 80px;
    display: inline-block;
}

/* Mengenänderungs-Formular im Warenkorb – horizontal angeordnet */
.qty-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.qty-form label {
    font-weight: 600;
    font-size: 15px;
}

/* Zeilensumme neben dem Mengen-Dropdown */
.line-total {
    font-size: 16px;
    color: #0066ff;
}

.price-box {
    margin: 18px 0;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Löschen-Button im Warenkorb: Dezenter Button, nur Mülleimer-Symbol */
.cart-delete-form {
    margin-top: 14px;
    padding-top: 14px;
    text-align: right;
    border-top: 1px solid #eef3f9;
}
.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1em;
    opacity: 0.68;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    padding: 0;
}
.btn-delete:hover {
    background: #fee2e2;
    opacity: 1;
    transform: translateY(-1px);
}

/* ====== Schritt-Navigation: Zurück/Vorwärts-Buttons ====== */

/* Container: Buttons links und rechts verteilt */
.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 480px;
    margin-top: 24px;
    gap: 12px;
}

.step-nav form {
    margin-left: auto;
}

/* Zurück-Button (links) */
.step-nav .btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.step-nav .btn-back:hover {
    background: #e0e0e0;
}

/* Vorwärts-Button (rechts) */
.step-nav .btn-forward {
    display: inline-block;
    padding: 10px 20px;
    background: #0066ff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: auto;
}
.step-nav .btn-forward:hover {
    background: #004fcc;
}

.cart-actions .btn-back,
.cart-actions .btn-forward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-sizing: border-box;
    white-space: nowrap;
}

.checkout-payment {
    text-align: left;
}

.cart-summary {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    margin-top: 2px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.94) 100%);
    border: 1px solid rgba(216, 228, 243, 0.86);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.summary-list__total {
    margin-top: 6px;
    padding-top: 16px !important;
    border-bottom: 0 !important;
    color: #0066ff;
    font-size: 1.18em !important;
}

.checkout-card {
    max-width: 480px;
    margin-top: 20px;
}

.checkout-product-card {
    position: relative;
    overflow: hidden;
}

.checkout-product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, rgba(0, 102, 255, 0.18), #fd411d);
}

.checkout-product-card h2 {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eef7;
    color: #111827;
    line-height: 1.25;
}

.summary-list__line-total {
    color: #0066ff;
    font-size: 1.1em !important;
}

.checkout-summary {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.checkout-discount {
    text-align: left;
}

.home-discount {
    margin: 18px 0;
    text-align: left;
}

.home-discount > label {
    display: block;
    margin-bottom: 8px;
}

.home-discount .paypal-status {
    margin-bottom: 0;
}

.checkout-discount h2 {
    margin-bottom: 14px;
}

.checkout-discount__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.checkout-discount__controls input {
    min-width: 0;
}

@media (max-width: 520px) {
    .checkout-discount__controls {
        grid-template-columns: 1fr;
    }

    .checkout-discount__controls .btn-secondary {
        width: 100%;
    }
}

.checkout-inner-panel {
    margin: 16px 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
}

.checkout-provider-box p {
    margin: 0 0 10px;
}

.checkout-provider-box p:last-child {
    margin-bottom: 0;
}

.checkout-panel-title {
    margin-top: 0;
}

.checkout-panel-title--spaced {
    margin-top: 24px;
    margin-bottom: 12px;
}

.checkout-legal-note {
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #d7deea;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

#paypal-button-container {
    width: 100%;
    margin-top: 12px;
}

.paypal-status {
    min-height: 1.5em;
    margin-top: 12px;
    color: #555;
    font-size: 14px;
}

.paypal-status-error {
    color: #991b1b;
}

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
}

.consent-banner__content {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d7deea;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
}

.consent-banner__content p {
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.55;
    max-width: 680px;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 280px;
    justify-content: flex-end;
}

.consent-btn {
    width: auto;
}

.consent-choice-button {
    display: inline-block;
    padding: 14px 20px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #c7d2e3;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.consent-choice-button:hover {
    background: #f8fafc;
}

.consent-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 9998;
}

.consent-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    padding: 24px;
    z-index: 9999;
    box-sizing: border-box;
}

.consent-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.consent-modal__header h2 {
    margin: 0;
}

.consent-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #4b5563;
}

.consent-modal__intro {
    color: #4b5563;
    line-height: 1.6;
    margin: 14px 0 22px;
}

.consent-option {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid #e5e7eb;
}

.consent-option p {
    margin: 6px 0 0;
    color: #4b5563;
    line-height: 1.5;
}

.consent-switch {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    color: #374151;
}

.consent-switch input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.consent-modal__links {
    margin-top: 18px;
}

.consent-modal__links a {
    color: #0066ff;
}

.consent-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    body {
        background-position: 58% center;
        background-attachment: scroll;
    }

    .site-header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-link {
        justify-content: center;
    }

    .logo-image {
        height: 40px;
    }

    .cart-line__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cart-line dd {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-edit {
        width: 100%;
        text-align: left;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .lang-switcher {
        gap: 2px;
        margin-left: 0;
    }

    .lang-flag {
        min-width: 28px;
        min-height: 26px;
        padding: 2px;
    }

    .lang-flag-image {
        width: 22px;
        height: 15px;
    }

    .faq-shell {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .faq-intro h2 {
        font-size: 24px;
    }

    .faq-item summary {
        padding: 18px;
    }

    .faq-answer-placeholder {
        padding: 0 18px 18px;
    }

    .consent-banner__content {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-banner__actions {
        min-width: 0;
        justify-content: stretch;
    }

    .consent-banner__actions .consent-btn,
    .consent-modal__actions .consent-btn {
        width: 100%;
    }

    .consent-option {
        flex-direction: column;
    }

    .consent-switch {
        align-items: flex-start;
        white-space: normal;
    }

}

@media (max-width: 360px) {
    .cart-actions {
        gap: 8px;
    }

    .cart-actions .btn-back,
    .cart-actions .btn-forward {
        padding-inline: 12px;
        font-size: 14px;
    }
}
