/* ============================================
   SHOP SECTION - PREMIUM OVERHAUL
   ============================================ */

:root {
    --shop-bg: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --accent: var(--primary);
    /* Red from styles.css */
    --accent-dark: #cc0000;
}

.shop-form-section {
    background: var(--shop-bg);
    padding: 100px 20px;
    min-height: 100vh;
}

.shop-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.shop-wrapper h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.shop-wrapper p {
    font-size: 1.2rem;
    color: var(--paragraph-gray);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* --- PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.product-item:hover::before {
    transform: scaleX(1);
}

.product-item img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.product-item .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    font-family: 'Barlow', sans-serif;
}

/* --- QUANTITY CONTROL --- */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.qty-control label {
    font-weight: 600;
    color: var(--primary-dark);
    display: none;
    /* We'll use a more modern look */
}

/* Modern Input Styling */
.qty-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 30px;
    padding: 5px;
    background: #fdfdfd;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.qty-control input {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- TOTAL SUMMARY --- */
.total-summary {
    background: var(--primary-dark);
    color: var(--white);
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    font-size: 28px;
    margin-top: 40px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.total-summary span {
    color: var(--accent);
    font-size: 32px;
}

/* --- FORM STYLING --- */
.order-details-section {
    margin-top: 60px;
    text-align: left;
}

.order-details-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.order-details-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-checkbox {
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.form-checkbox label {
    font-size: 15px;
    color: var(--paragraph-gray);
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    letter-spacing: 1px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .shop-form-section {
        padding: 40px 15px;
    }

    .shop-wrapper {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .shop-wrapper h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .shop-wrapper > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Produkte untereinander */
    .product-preview-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .product-preview {
        padding: 15px;
        border-radius: 8px;
    }

    .product-preview img {
        height: 180px;
        margin-bottom: 10px;
    }

    .product-preview h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .product-preview .price {
        font-size: 1.1rem;
    }

    /* Bestelloptionen untereinander */
    .shop-options-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .option-divider {
        display: none !important;
    }

    .shop-option-card {
        padding: 25px 15px;
        border-radius: 10px;
    }

    .shop-option-card h3 {
        font-size: 1.2rem;
    }

    .shop-option-card p {
        font-size: 0.95rem;
    }

    .option-benefits li {
        font-size: 0.9rem;
        padding: 6px 0 6px 25px;
    }

    .shop-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .products-overview {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .products-overview h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

/* --- PRODUCTS OVERVIEW --- */
.products-overview {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.products-overview h2 {
    color: var(--primary-dark);
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-preview {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
}

.product-preview img {
    height: 150px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-preview h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 8px;
}

.product-preview .price {
    color: var(--accent);
    font-size: 20px;
    font-weight: bold;
}

/* --- SHOP OPTIONS CONTAINER --- */
.shop-options-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.shop-option-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shop-option-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.15);
    transform: translateY(-5px);
}

.option-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.shop-option-card h3 {
    color: var(--primary-dark);
    font-size: 22px;
    margin-bottom: 12px;
}

.shop-option-card p {
    color: var(--paragraph-gray);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.option-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.option-benefits li {
    color: var(--paragraph-gray);
    font-size: 15px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.option-benefits li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.shop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 20px;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1fb359;
    transform: scale(1.05);
}

.option-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    font-size: 14px;
    height: 100%;
}

.option-divider:before {
    content: "";
    height: 60%;
    width: 2px;
    background: #ddd;
    margin-right: 15px;
}

.option-divider:after {
    content: "";
    height: 60%;
    width: 2px;
    background: #ddd;
    margin-left: 15px;
}

.shop-event-info {
    background: #fffacd;
    border-left: 4px solid #ffa500;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.shop-event-info p {
    color: #333;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .shop-btn {
        font-size: 14px;
        padding: 12px 15px;
    }

    .option-icon {
        font-size: 48px;
    }
}

    .form-row {
        grid-template-columns: 1fr;
    }

    .total-summary {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
/* --- CAP IMAGE SLIDER --- */
.cap-slider {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.slider-images {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.cap-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cap-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc0000;
    transition: background 0.2s, color 0.2s;
}

.slider-btn:hover {
    background: #cc0000;
    color: white;
}

.slider-btn-prev { left: 6px; }
.slider-btn-next { right: 6px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dot.active {
    background: #cc0000;
}