/* --- SPECIFICKÉ STYLY PRO OBJEDNÁVKU --- */
:root {
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --partner-bg: #ebf5fb;
    --partner-border: #aed6f1;
}

body {
    padding: 40px 20px;
    background-image: radial-gradient(#c5a059 0.5px, transparent 0.5px);
    background-size: 30px 30px;
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

p.intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Slevový kód */
.promo-bar {
    background: #f8f9fa;
    border: 2px dashed #ced4da;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.promo-input-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.promo-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.promo-input-group button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

/* Výběr variant (3 sloupce) */
.variant-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    align-items: stretch;
}
.variant-option {
    border: 2px solid #eee;
    border-radius: var(--radius);
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.variant-option:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
.variant-option input { display: none; }

.variant-option.active {
    border-color: var(--accent);
    background-color: rgba(197, 160, 89, 0.05);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.15);
}
.variant-option.active::after {
    content: '✔';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.variant-title {
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}
.variant-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Doplňky ke kameni */
#stone-extras {
    display: none;
    background: #fcfcfc;
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    border: 1px dashed #ccc;
    animation: fadeIn 0.5s;
}
.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.color-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: 0.2s;
}
.color-label:hover { border-color: var(--accent); }
.checkbox-group {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Formulářové prvky */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin: 50px 0 25px 0;
    font-weight: 700;
}
.form-group { margin-bottom: 25px; }
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.95rem;
}
.help-text {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
    font-style: italic;
}
input[type="text"], input[type="email"], input[type="url"], textarea, input[type="file"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #fafafa;
    transition: 0.3s;
}
input:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Partnerská sekce */
#partner-section {
    display: none;
    background-color: var(--partner-bg);
    border: 1px solid var(--partner-border);
    padding: 30px;
    border-radius: var(--radius);
    margin: 30px 0;
    animation: fadeIn 0.5s;
}
.delivery-switch {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.delivery-switch label {
    margin: 0;
    font-weight: normal;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Rodinná sleva */
#family-loyalty-section {
    background: #f0f7fd;
    border: 1px solid #d0e4f5;
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    animation: fadeIn 0.5s;
}

/* Souhrn ceny */
.total-price-box {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.2);
}
.total-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
}

/* Tlačítko odeslat */
button.btn-submit {
    display: block;
    width: 100%;
    padding: 22px;
    background-color: var(--accent);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 30px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
button.btn-submit:hover {
    background-color: #b39359;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Mobilní úpravy */
@media (max-width: 768px) { 
    .variant-selector { grid-template-columns: 1fr; }
    .row { grid-template-columns: 1fr; }
    .form-container { padding: 30px 20px; }
    h1 { font-size: 2.2rem; }
    .checkbox-group { flex-direction: column; align-items: flex-start; }
}