:root {
    --zof-primary: #dc37c1;
    --zof-primary-glow: rgba(220, 55, 193, 0.6);
    --zof-bg-dark: #1a0516;
    --zof-bg-card: #2d0b26;
    --zof-text-main: #fff;
    --zof-text-muted: #dcb0d5;
    --zof-border: #4a1240;
}

.zof-container {
    font-family: 'Montserrat', sans-serif;
    background: var(--zof-bg-dark);
    color: var(--zof-text-main);
    padding: 40px;
    border-radius: 12px;
    background-image: radial-gradient(circle at 50% 0%, #4a1240 0%, var(--zof-bg-dark) 60%);
    max-width: 100%;
    box-sizing: border-box;
}

.zof-container h2 {
    color: white;
    border-bottom: 2px solid var(--zof-primary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--zof-primary-glow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.8rem;
}

.zof-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.zof-step {
    background: var(--zof-bg-card);
    border: 1px solid var(--zof-border);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--zof-text-muted);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.zof-step.active {
    background: var(--zof-primary);
    color: white;
    border-color: var(--zof-primary);
    box-shadow: 0 0 20px var(--zof-primary-glow);
}

.zof-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.zof-product-card {
    background: var(--zof-bg-card);
    border: 1px solid var(--zof-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.zof-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--zof-primary);
    box-shadow: 0 5px 25px rgba(220, 55, 193, 0.15);
}

.zof-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.25);
}

.zof-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zof-product-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--zof-text-muted);
    font-size: 0.9rem;
    padding: 10px;
    box-sizing: border-box;
}

.zof-product-title {
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

.zof-product-id {
    font-size: 1rem;
    color: var(--zof-text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.zof-meta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.zof-meta-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 1rem;
    color: #fff;
}

.zof-product-video a {
    color: var(--zof-primary);
    text-decoration: none;
    font-size: 1rem;
    display: block;
    margin-top: auto;
    margin-bottom: 15px;
}

.zof-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.zof-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zof-primary);
    text-shadow: 0 0 10px rgba(220, 55, 193, 0.3);
}

.zof-quantity-control {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2px;
}

.zof-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--zof-primary);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
}

.zof-qty-btn:hover {
    transform: scale(1.1);
}

.zof-qty-input {
    width: 45px;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.zof-form-section {
    display: none;
    animation: zofSlideUp 0.5s ease;
}

.zof-form-section.active {
    display: block;
}

@keyframes zofSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zof-input-group {
    margin-bottom: 25px;
}

.zof-input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--zof-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.zof-input-group input,
.zof-input-group select,
.zof-input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--zof-border);
    padding: 15px;
    color: white;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.2rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.zof-input-group input:focus,
.zof-input-group select:focus,
.zof-input-group textarea:focus {
    outline: none;
    border-color: var(--zof-primary);
    box-shadow: 0 0 15px rgba(220, 55, 193, 0.2);
}

.zof-input-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
}

.zof-input-group select option {
    background-color: #2d0b26 !important;
    color: white !important;
    padding: 10px;
}

.zof-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.zof-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.zof-btn {
    background: var(--zof-primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(220, 55, 193, 0.4);
    font-size: 1.1rem;
}

.zof-btn:hover {
    background: #fff;
    color: var(--zof-primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.zof-btn-secondary {
    background: transparent;
    border: 2px solid var(--zof-text-muted);
    color: var(--zof-text-muted);
    box-shadow: none;
}

.zof-btn-secondary:hover {
    border-color: white;
    color: white;
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.zof-total-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--zof-primary);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: right;
}

.zof-total-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--zof-primary);
    text-shadow: 0 0 20px var(--zof-primary-glow);
}

.zof-inquiry-note {
    color: var(--zof-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 25px 0 0 0;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--zof-border);
    border-radius: 10px;
}

/* Honeypot - skryté pro lidi, viditelné pro jednoduché boty */
.zof-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.zof-success {
    text-align: center;
    padding: 40px 20px;
}

.zof-success h2 {
    border-bottom: none;
}

.zof-success p {
    color: var(--zof-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
}

.zof-success-note {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

.zof-container label[for="zof-gdpr"] {
    font-size: 1.2rem;
    text-transform: none;
    color: var(--zof-text-muted);
    font-weight: normal;
    display: inline;
    margin-left: 5px;
}

.zof-container input[type="checkbox"] {
    width: auto;
    transform: scale(1.5);
    margin-right: 8px;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .zof-form-grid {
        grid-template-columns: 1fr;
    }

    .zof-steps {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .zof-step {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .zof-container {
        padding: 20px;
    }
}