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

:root {
    --purple: #7c3aed;
    --pink: #ec4899;
    --dark: #1e1b4b;
    --bg: #fdf4ff;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--dark);
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 70px;
}

h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 4px;
}

.sub {
    text-align: center;
    color: #6b6b8a;
    font-size: 14px;
    margin-bottom: 20px;
}

.badge-top {
    background: var(--dark);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 8px;
    letter-spacing: 0.02em;
}

/* HERO */
.hero {
    text-align: center;
    padding: 20px 16px 28px;
    background: linear-gradient(160deg, #f3e8ff, #fce7f3);
}

.hero-media {
    width: 100%;
}

.hero-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hero-content {
    padding: 0;
}

.price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.old-price {
    text-decoration: line-through;
    color: #9490b3;
    font-size: 16px;
}

.discount-pill {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 999px;
}

.new-price {
    font-size: 20px;
    margin-bottom: 16px;
}

.new-price strong {
    font-size: 34px;
    color: var(--pink);
}

.countdown-wrap p {
    font-size: 13px;
    margin-bottom: 6px;
    color: #6b6b8a;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.c-block {
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    min-width: 54px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.c-block span {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--purple);
}

.c-block small {
    font-size: 11px;
    color: #9490b3;
}

.color-select p {
    font-size: 14px;
    margin-bottom: 8px;
}

.swatches {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
}

.swatch.pink { background: #f9a8d4; }
.swatch.blue { background: #93c5fd; }
.swatch.active { border-color: var(--dark); }

.btn-main {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 17px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -6px rgba(236, 72, 153, 0.5);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    margin-top: 14px;
    color: #6b6b8a;
}

.lifestyle {
    padding: 20px 16px 0;
}

.lifestyle-img {
    width: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.lifestyle-img.rounded {
    margin-bottom: 18px;
}

.detail-img {
    width: 100%;
    border-radius: 16px;
    margin: 16px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.color-caption {
    font-size: 12.5px;
    color: #6b6b8a;
    margin-bottom: 4px;
}

.order-color-select {
    margin-bottom: 16px;
}

/* REASONS */
.reasons, .specs, .reviews, .order {
    padding: 32px 18px;
}

.reason {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.reason .num {
    background: var(--purple);
    color: #fff;
    font-weight: 800;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.reason p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.4;
}

/* SPECS */
.specs {
    background: #fff;
}

.specs-list {
    list-style: none;
    margin-bottom: 24px;
}

.specs-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.specs-list span {
    font-size: 12px;
    color: #9490b3;
}

.specs-list b {
    font-size: 14.5px;
}

/* REVIEWS */
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.review-head small {
    color: #9490b3;
    margin-left: auto;
    font-size: 12px;
}

.review-card p {
    font-size: 13.5px;
    color: #444;
    line-height: 1.4;
}

/* ORDER */
.order {
    background: linear-gradient(160deg, #f3e8ff, #fce7f3);
}

.order-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

#order-form input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #fff;
}

.secure {
    text-align: center;
    font-size: 12.5px;
    color: #6b6b8a;
}

/* FOOTER */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    font-size: 12.5px;
}

.footer a {
    color: #6b6b8a;
    text-decoration: underline;
}

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    max-width: 440px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.modal-box h3 {
    margin-bottom: 10px;
}

.modal-box p {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #444;
}

/* STICKY CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    z-index: 40;
    padding: 10px 14px;
    background: #fff;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}

.sticky-cta a {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff;
    font-weight: 800;
    padding: 13px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
}
