/* Základní styly */
h1, h2, h3, h4, h5, h6, .heading-font {
    color: #303233!important;
}
.darkovy-poukaz {
    max-width: 700px;
    margin: 0 auto;
    color: #303233!important;
}

.darkovy-poukaz h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 800;
}

/* Styl každého poukazu */
.poukaz-item {
    margin-bottom: 36px;
    position: relative;
}

.poukaz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.poukaz-header span {
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.close-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
}

.poukaz-image {
    height: 281px;
    background-color: #F4F4F5;
    margin-bottom: 24px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Výběr hodnoty poukazu */
.poukaz-value {
    margin-bottom: 15px;
}

.poukaz-value label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

.value-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.value-options button {
    height: 63px;
    border-radius: 0px;
    border: 2px solid #F0F1F2;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-color: #F7F7F8;
    color: #000000;
}

.value-options button:hover {
    background-color: #EAEAEB;
}

.value-options .selected {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.value-options .selected:hover {
    background-color: #333333;
}

/* Výběr typu poukazu */
.poukaz-type {
    margin-bottom: 15px;
}

.poukaz-type label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

.type-options {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.type-options button {
    height: 63px;
    border-radius: 0px;
    border: 2px solid #F0F1F2;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-color: #F7F7F8;
    color: #000000;
}

.type-options button:hover {
    background-color: #EAEAEB;
}

.type-options .selected {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.type-options .selected:hover {
    background-color: #333333;
}

/* Tlačítko pro přidání dalšího poukazu */
.add-another {
    text-align: center;
    margin-bottom: 20px;
}

.add-another button {
    width: 100%;
    height: 56px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    background-color: #F7F7F8;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    border: 2px solid #F0F1F2;
}

.add-another button:hover {
    background-color: #EAEAEB;
}

/* Tlačítko Přidat do košíku */
.add-to-cart {
    width: 100%;
    height: 64px;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #004569;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px!important;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.add-to-cart:hover {
    background-color: #00567f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.add-to-cart:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sekce s podmínkami */
.terms {
    font-size: 12px;
    color: #303233;
    margin-top: 20px;
}

.terms h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.terms ol {
    margin: 0;
}

.terms li {
    margin-bottom: 0px;
}

.poukaz-item + .poukaz-item {
    border-top: 2px solid #F0F1F2;
    padding-top: 20px;
}

.close-button {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    padding: 0;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
    display: none;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-bottom: 10px;
    display: none;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 768px) {
    .value-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .value-options {
        grid-template-columns: 1fr;
    }
    
    .type-options {
        flex-direction: column;
    }
}
