:root {
    --red: #ff3b30;
    --red-deep: #d8241a;
    --red-bright: #ff6259;
    --error: #ff453a;
    --charcoal: #090a0f;
    --slate: #161822;
    --card: #12141c;
    --border: #272a38;
    --white: #f2f2f7;
    --grey: #9898a0;
    --gold: #f59e0b;
    --font-sub: 'Montserrat', sans-serif;
    --font-body: 'Roboto', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--charcoal);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(255, 59, 48, 0.1) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 32px 32px, 32px 32px;
    color: var(--white);
    font-family: var(--font-sub);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

.warning-bar {
    background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 15px rgba(220, 38, 38, 0.4);
}
.warning-bar b { color: var(--gold); }

.logo-bar {
    background: rgba(9, 10, 15, 0.96);
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.logo-bar img { height: 40px; justify-self: start; }
.help-link { font-size: 0.8rem; text-align: right; justify-self: end; }
.help-link a { color: var(--red); text-decoration: none; font-weight: 700; }

.checkout-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 40px;
}
.checkout-content   { grid-column: 1; grid-row: 1; align-self: start; }
.checkout-extras    { grid-column: 1; grid-row: 2; align-self: start; }
.checkout-form-area { grid-column: 2; grid-row: 1 / 3; align-self: start; }

@media (max-width: 991px) {
    .checkout-container { display: flex; flex-direction: column; }
}

.checkout-content { text-align: center; }

.checkout-content h1 {
    font-family: var(--font-sub);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}
.checkout-content h1 .accent {
    color: var(--red);
    text-shadow: 0 0 20px rgba(255, 59, 48, 0.35);
}

.price-stack { margin-bottom: 30px; }
.retail-price { font-size: 1.2rem; color: var(--grey); text-decoration: line-through; }
.today-price { font-size: 1.8rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }

.main-bundle-img {
    max-width: 460px;
    width: 100%;
    margin: 20px 0;
    border-radius: 6px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}

.bundle-includes {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 auto 10px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #e5e5ea;
}
.bundle-includes li { display: flex; align-items: center; gap: 8px; }
.bundle-includes li i { color: var(--red); flex-shrink: 0; }

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px auto;
    max-width: 420px;
}
.trust-badge {
    background: var(--slate);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.testimonial-box {
    margin-top: 30px;
    padding: 24px;
    background: var(--slate);
    border-radius: 10px;
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-left: 3px solid var(--red);
    text-align: left;
}
.stars { color: var(--gold); margin-bottom: 10px; font-size: 1rem; }
.quote-text { font-style: italic; font-size: 1.05rem; margin-bottom: 10px; color: var(--white); }
.quote-author { font-weight: 700; font-size: 0.85rem; color: var(--grey); }

.checkout-card {
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.3);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #fff;
    padding: 20px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.progress-steps {
    display: flex;
    background: #f1f1f1;
    color: #333;
    border-bottom: 1px solid #ddd;
}
.step {
    flex: 1;
    padding: 12px 6px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #e0e0e0;
    color: #777;
}
.step.active { background: #fff; color: var(--red-deep); }
.step.done { background: #f1f1f1; color: #333; }
.step-num {
    display: inline-block;
    background: #aaa;
    color: #fff;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 6px;
}
.step.active .step-num { background: var(--red-deep); }
.step.done .step-num { background: #333; }

.form-body { padding: 28px; }
.form-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-sub);
    font-size: 1rem;
    color: #333;
}
.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.22);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.size-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.size-chips[hidden] { display: none; }
.size-picked {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 2px solid var(--red);
    border-radius: 5px;
    background: rgba(255, 59, 48, 0.08);
    color: #333;
    font-family: var(--font-sub);
}
.size-picked strong { color: var(--red); font-size: 1.15rem; font-weight: 800; margin-left: 4px; }
.size-change { background: none; border: 0; color: var(--red); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.size-chip { position: relative; display: block; cursor: pointer; }
.size-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.size-chip-face {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px 4px;
    border-radius: 5px;
    border: 2px solid #ccc;
    background: #fff;
    color: #333;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}
.size-chip-face strong { font-family: var(--font-sub); font-size: 1.1rem; font-weight: 800; line-height: 1; }
.size-chip:hover .size-chip-face { border-color: rgba(255, 59, 48, 0.5); }
.size-chip input:checked + .size-chip-face { border-color: var(--red); background: rgba(255, 59, 48, 0.08); color: var(--red); }
.size-chip input:focus-visible + .size-chip-face { outline: 3px solid rgba(255, 59, 48, 0.35); outline-offset: 2px; }

.order-bumps { margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.order-bump {
    background: #fcf8e3;
    border: 2px dashed #000;
    padding: 14px;
    color: #333;
    border-radius: 5px;
}
.bump-title {
    color: var(--red);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.bump-title input { margin-top: 4px; transform: scale(1.2); }
.bump-body {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #333;
    margin-bottom: 10px;
}
.bump-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0 0;
    border-radius: 6px;
    object-fit: cover;
}
.bump-price { font-weight: 700; color: var(--red); margin-top: 4px; display: block; }
.bump-normally {
    margin: 3px 0 10px 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--red);
}
.bump-normally s { color: #636366; font-weight: 600; }

.amazon-buybox-mini {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 4px;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.12);
}
.amazon-buybox-mini .amazon-instock {
    color: #007600;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px;
    font-family: Arial, Helvetica, sans-serif;
}
.amazon-buybox-mini .amazon-qty-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}
.amazon-buybox-mini .amazon-qty {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #f7f8fa, #e7e9ec);
    border: 1px solid #888c8c;
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f1111;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.1);
}
.amazon-buybox-mini .amazon-qty-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #555;
    transform: translateY(-35%);
    pointer-events: none;
}
.order-summary {
    margin-top: 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    color: #333;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.summary-row.bump { color: var(--red-deep); font-weight: 600; }
.summary-total {
    font-weight: 900;
    font-size: 1.15rem;
    border-top: 2px solid #000;
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
.summary-total span:last-child { color: var(--red-deep); }

.btn-checkout {
    width: 100%;
    background: linear-gradient(180deg, #ff453a 0%, #d32f2f 100%);
    color: #fff;
    border: 1px solid #ff6961;
    padding: 18px;
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.45);
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-checkout:hover { background: linear-gradient(180deg, #ff5b52 0%, #e53935 100%); box-shadow: 0 12px 35px rgba(255, 59, 48, 0.6); transform: translateY(-2px); }
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-back {
    width: 100%;
    background: transparent;
    color: var(--grey);
    border: 1px solid #444;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    display: block;
    text-align: center;
}
.btn-back:hover { color: var(--white); border-color: #666; }

.privacy-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #777;
}

.cc-icons {
    text-align: center;
    margin: 14px 0;
}
.cc-icons img { max-width: 220px; width: 100%; height: auto; }

.error-msg {
    background: #ffe6e6;
    color: var(--error);
    border: 1px solid var(--error);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    display: none;
}
.error-msg.show { display: block; }

.terms-block {
    margin-top: 30px;
    text-align: left;
    font-size: 0.78rem;
    color: var(--grey);
    line-height: 1.6;
}
.terms-block p { margin-bottom: 10px; }
.terms-block strong { color: var(--white); }

.guarantee-strip {
    background: var(--slate);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}
.guarantee-strip img { max-width: 110px; height: auto; }
.guarantee-strip .text { max-width: 500px; text-align: left; }
.guarantee-strip .text h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; color: var(--white); }
.guarantee-strip .text p { font-size: 0.85rem; color: var(--grey); }

.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}
.faq-section h2 {
    font-family: var(--font-sub);
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 1px;
}
.faq-item {
    background: var(--slate);
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--red);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.faq-q {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.faq-q span {
    color: var(--red);
    font-size: 1.4rem;
    margin-right: 14px;
    font-weight: 900;
}
.faq-a {
    padding: 0 20px 18px 50px;
    color: var(--grey);
    display: none;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer {
    background: #050608;
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border);
}
.footer img { margin-bottom: 14px; opacity: 0.6; }
.footer-links { font-size: 0.78rem; color: var(--grey); }
.footer-links a { color: #fff; margin: 0 10px; text-decoration: none; }
.footer-copyright { margin-top: 14px; font-size: 0.75rem; color: var(--grey); }

.loading-indicator {
    display: none;
    text-align: center;
    margin-top: 10px;
}
.loading-indicator i { font-size: 1.5rem; color: var(--red); }

@media (max-width: 600px) {
    .checkout-content h1 { font-size: 1.6rem; }
    #leftHeading, .price-stack { display: none; }
    .form-body { padding: 20px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .checkout-container { margin: 20px auto; padding: 0 14px; gap: 24px; }
    .main-bundle-img { max-width: 100% !important; }
    .bundle-includes { font-size: 0.82rem; }
    .logo-bar { padding: 12px 14px; }
    .logo-bar img { height: 32px; }
    .help-link { font-size: 0.7rem; }
    .warning-bar { font-size: 0.75rem; padding: 8px 10px; letter-spacing: 0.5px; }
    .guarantee-strip { padding: 20px 14px; gap: 14px; }
    .guarantee-strip .text { text-align: center; }
    .terms-block { font-size: 0.75rem; }
    .faq-section { padding: 0 14px; margin: 40px auto; }
    .checkout-card { border-radius: 8px; }
    .cc-icons img { max-width: 100%; }
}

.img-bump {
    position: relative;
    display: block;
    line-height: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.img-bump.checked {
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.img-bump-img {
    display: block;
    width: 100%;
    height: auto;
}

.img-bump-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.img-bump-check {
    position: absolute;
    left: 9.06%;
    top: 6.15%;
    width: 4.17%;
    height: auto;
    color: #c8102e;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    transform-origin: center;
    transition: opacity 0.12s ease, transform 0.12s ease;
    pointer-events: none;
}

.img-bump.checked .img-bump-check {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.img-bump-sw .img-bump-check {
    left: 6.61%;
    top: 6.32%;
    width: 4.29%;
}

.img-bump-input:focus-visible + .img-bump-img {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

.bump-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
    border-radius: 8px;
    background: var(--card);
    border: 2px dashed var(--border);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.bump-card:hover { border-color: var(--gold); }

.bump-card.checked {
    border-style: solid;
    border-color: var(--gold);
    background: rgba(245, 158, 11, 0.07);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.28);
}

.bump-card-input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: var(--gold);
    cursor: pointer;
}

.bump-card-body { flex: 1 1 auto; text-align: left; line-height: 1.35; }

.bump-card-flag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #06070a;
    background: var(--red);
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.bump-card-title {
    display: block;
    font-family: var(--font-sub);
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--white);
}

.bump-card-title .bump-card-price { color: var(--gold); }

.bump-card-copy {
    display: block;
    margin-top: 5px;
    font-size: 0.74rem;
    color: var(--grey);
}

.bump-card-copy s { color: var(--grey); opacity: 0.75; }

.bump-card-input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .bump-card { padding: 12px; gap: 10px; }
    .bump-card-title { font-size: 0.8rem; }
}
