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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f4f4f6;
    color: #1a1a1a;
    min-height: 100vh;
    padding: 24px 16px 48px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---- PRODUKT ---- */
.product-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.product-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.product-info { flex: 1; }

.product-info h1 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: #e31837;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.desc {
    color: #555;
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.specs li {
    font-size: .88rem;
    color: #444;
    display: flex;
    gap: 6px;
}

.specs li span {
    color: #888;
    min-width: 90px;
}

.product-price-box {
    text-align: right;
    min-width: 140px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #e31837;
}

.price-note {
    font-size: .83rem;
    color: #888;
    margin-top: 2px;
}

.price-total {
    font-size: .95rem;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    color: #333;
}

/* ---- FORMULÁŘ ---- */
.form-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.form-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 12px;
    margin-top: 4px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: .87rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .95rem;
    color: #1a1a1a;
    transition: border-color .2s;
    outline: none;
    font-family: inherit;
}

.field input:focus,
.field textarea:focus {
    border-color: #e31837;
}

.field textarea { resize: vertical; min-height: 72px; }

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ---- UPOZORNĚNÍ ---- */
.notice-cr {
    display: inline-block;
    background: #eef6ff;
    border: 1px solid #bee3f8;
    color: #2b6cb0;
    font-size: .83rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ---- ZPŮSOB DORUČENÍ ---- */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

.delivery-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.delivery-opt:has(input:checked) {
    border-color: #e31837;
    background: #fff5f6;
}

.delivery-opt input[type="radio"] { accent-color: #e31837; }

.opt-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .93rem;
    font-weight: 600;
}

/* ---- ZÁSILKOVNA VÝBĚR ---- */
.btn-widget {
    background: #e31837;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn-widget:hover { background: #c0142f; }

.selected-point {
    margin-top: 10px;
    background: #f0fff4;
    border: 1.5px solid #68d391;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .88rem;
    line-height: 1.6;
    color: #276749;
}

/* ---- SHRNUTÍ ---- */
.summary-box {
    background: #fafafa;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 20px 0 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: #555;
    margin-bottom: 6px;
}

.summary-row.total {
    border-top: 1.5px solid #ddd;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}

.payment-note {
    font-size: .82rem;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.summary-split {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.split-item {
    font-size: .88rem;
    padding: 7px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.split-item.now {
    background: #fffbf0;
    border: 1px solid #f5c842;
    color: #7a5c00;
}

.split-item.later {
    background: #f0f7ff;
    border: 1px solid #bee3f8;
    color: #2b6cb0;
}

/* ---- SOUHLAS ---- */
.consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .83rem;
    color: #666;
    cursor: pointer;
    font-weight: 400;
}
.consent input { margin-top: 2px; accent-color: #e31837; }

/* ---- SUBMIT ---- */
.btn-submit {
    width: 100%;
    background: #e31837;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    letter-spacing: .3px;
    transition: background .2s, transform .1s;
}
.btn-submit:hover { background: #c0142f; }
.btn-submit:active { transform: scale(.99); }

/* ---- UTILITY ---- */
.hidden { display: none; }

.msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: .9rem;
}
.msg.error { background: #fff0f0; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
    .product-card { flex-direction: column; }
    .product-img { width: 100%; height: 200px; }
    .product-price-box { text-align: left; }
    .row2 { grid-template-columns: 1fr; }
    .form-card { padding: 22px 18px; }
}
