/**
 * Moderne Paket-Karten Design (basierend auf Screenshot)
 */

.krimphove-package-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Package Card Container */
.package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.package-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.package-card-inner {
    position: relative;
}

/* Package Image Wrapper */
.package-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

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

/* Preis Overlay über dem Bild */
.package-price-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.package-main-price {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1;
}

/* Package Content Box */
.package-content-box {
    padding: 28px 24px;
    background: #fff;
}

.package-title-elegant {
    font-size: 26px;
    font-weight: 400;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.package-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.package-product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.package-product-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.package-product-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #173876;
    font-weight: bold;
}

/* Package Controls Row - Plus/Minus mit roter Border */
.package-controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0 20px 0;
}

.person-control-btn {
    width: 48px;
    height: 48px;
    border: 3px solid #dc3545;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #dc3545;
    transition: all 0.2s;
}

.person-control-btn:hover {
    background: #dc3545;
    color: #fff;
}

.person-control-btn:active {
    background: #dc3545;
    color: #fff;
    transform: scale(0.95);
}

.person-control-btn:focus {
    outline: none;
    background: #fff;
    color: #dc3545;
}

.person-control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.person-control-btn:disabled:hover {
    background: #fff;
    color: #dc3545;
}

.package-persons-input-new {
    width: 80px;
    padding: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

.package-persons-input-new::-webkit-outer-spin-button,
.package-persons-input-new::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.package-persons-input-new:focus {
    outline: none;
}

/* Price per Person unter Controls */
.package-price-per-person {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Mindestmenge Notice */
.package-min-order-notice {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
    font-style: italic;
}

/* Add to Cart Button - Neues Design */
.package-add-cart-btn {
    width: 100%;
    padding: 18px 24px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.package-add-cart-btn svg {
    width: 20px;
    height: 20px;
}

.package-add-cart-btn:hover {
    background: #0f2540;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 58, 92, 0.4);
}

.package-add-cart-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.package-add-cart-btn.added {
    background: #27ae60;
}

/* Min Order Notice */
.package-min-notice {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 12px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .krimphove-package-listing {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-header-image {
        height: 200px;
    }
    
    .package-title {
        font-size: 20px;
    }
    
    .package-price-amount {
        font-size: 28px;
    }
}

/* Animation für Preisänderung */
@keyframes priceChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.package-price-amount.animating {
    animation: priceChange 0.3s ease;
}
