/* ===========================================
   DÁRKOVÝ POUKAZ - VOGUE STYLE
   Full width, minimalistický, elegantní
   =========================================== */

/* Reset kontejneru pro full width */
.darkovy-poukaz {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #030301;
    font-family: 'Inter', sans-serif;
}

/* Nadpis sekce */
.darkovy-poukaz h2 {
    text-align: center;
    margin: 0 0 8px 0;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #030301 !important;
}

.poukaz-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0 0 60px 0;
}

/* ===========================================
   LAYOUT: Full width, obrázek vlevo
   =========================================== */
.poukaz-item {
    margin-bottom: 0;
    position: relative;
    background: #fff;
}

.poukaz-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Obrázek - levá polovina */
.poukaz-image-wrapper {
    position: relative;
    overflow: hidden;
}

.poukaz-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-image: url('/wp-content/uploads/2025/12/new_darkove_poukazy_preview.jpg');
    background-size: cover;
    background-position: center;
    background-color: #f8f5f0;
}

.poukaz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Formulář - pravá polovina */
.poukaz-form {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fafafa;
}

/* Header poukazu */
.poukaz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.poukaz-header span {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.poukaz-close-button {
    background: transparent;
    border: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.poukaz-close-button:hover {
    border-color: #E86ACC;
    color: #E86ACC;
}

/* ===========================================
   HODNOTA POUKAZU
   =========================================== */
.poukaz-value {
    margin-bottom: 40px;
}

.poukaz-value label,
.poukaz-type label {
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.value-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.value-options button {
    height: 56px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #030301;
    letter-spacing: 0.05em;
}

.value-options button:hover {
    border-color: #030301;
}

.value-options button.selected,
.value-options button:focus {
    background: #030301;
    border-color: #030301;
    color: #fff;
}

/* ===========================================
   TYP POUKAZU
   =========================================== */
.poukaz-type {
    margin-bottom: 0;
}

.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.type-options button {
    height: auto;
    padding: 24px 20px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.type-options button:hover {
    border-color: #030301;
}

.type-options button.selected,
.type-options button:focus {
    background: #030301;
    border-color: #030301;
    color: #fff;
}

.type-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: inherit;
}

.type-desc {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.type-options button.selected .type-desc,
.type-options button:focus .type-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   AKČNÍ TLAČÍTKA
   =========================================== */
.poukaz-actions {
    background: #fafafa;
    padding: 0 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: none;
}

.add-to-cart {
    height: 56px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: #E86ACC;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.add-to-cart:hover {
    background: #d55abb;
    transform: none;
    box-shadow: none;
}

.add-another {
    text-align: center;
}

.add-another button {
    width: 100%;
    height: 56px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #030301;
    background: transparent;
    border: 1px solid #030301;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-another button:hover {
    background: #030301;
    color: #fff;
}

/* ===========================================
   ZPRÁVY
   =========================================== */
.error-message {
    grid-column: 1 / -1;
    color: #FF4365 !important;
    font-size: 13px;
    margin: 0;
    padding: 16px 20px;
    background: #fff5f7;
    border: 1px solid #ffccd5;
    display: none;
}

.success-message {
    grid-column: 1 / -1;
    color: #7A9C59 !important;
    font-size: 13px;
    margin: 0;
    padding: 16px 20px;
    background: #f5f9f2;
    border: 1px solid #d4e5c7;
    display: none;
}

/* ===========================================
   PODMÍNKY
   =========================================== */
.terms {
    font-size: 12px;
    color: #666;
    padding: 40px 80px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.terms h4 {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #030301;
}

.terms ol {
    margin: 0;
    padding-left: 20px;
}

.terms li {
    margin-bottom: 4px;
    line-height: 1.6;
}

/* ===========================================
   VÍCE POUKAZŮ
   =========================================== */
.poukaz-item + .poukaz-item {
    border-top: 1px solid #e8e8e8;
    margin-top: 0;
}

.poukaz-item + .poukaz-item .poukaz-layout {
    min-height: 500px;
}

.poukaz-item + .poukaz-item .poukaz-image {
    min-height: 500px;
}

/* ===========================================
   RESPONZIVNÍ DESIGN
   =========================================== */
@media (max-width: 1024px) {
    .poukaz-form {
        padding: 40px 50px;
    }

    .poukaz-actions {
        padding: 0 50px 40px;
    }

    .terms {
        padding: 30px 50px;
    }
}

@media (max-width: 900px) {
    .poukaz-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .poukaz-image-wrapper {
        height: 400px;
    }

    .poukaz-image {
        min-height: 400px;
    }

    .poukaz-form {
        padding: 40px 30px;
    }

    .value-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .poukaz-actions {
        padding: 0 30px 40px;
        grid-template-columns: 1fr;
    }

    .terms {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .darkovy-poukaz h2 {
        font-size: 28px;
        letter-spacing: 0.1em;
    }

    .poukaz-subtitle {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .poukaz-image-wrapper {
        height: 300px;
    }

    .poukaz-image {
        min-height: 300px;
    }

    .poukaz-form {
        padding: 30px 20px;
    }

    .poukaz-header {
        margin-bottom: 30px;
    }

    .poukaz-value {
        margin-bottom: 30px;
    }

    .value-options button,
    .type-options button {
        height: 50px;
    }

    .type-options button {
        padding: 20px 16px;
    }

    .poukaz-actions {
        padding: 0 20px 30px;
    }

    .add-to-cart,
    .add-another button {
        height: 52px;
        font-size: 11px;
    }

    .terms {
        padding: 24px 20px;
    }
}
