/* Container for horizontal layout */
.offerings-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Offering Card Styles */
.offering-card {
    background-color: #fffef7; /* Off-white */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    width: 300px; /* Fixed width for consistent cards */
    text-align: center;
    transition: transform 0.2s ease;
}

.offering-card:hover {
    transform: translateY(-5px);
}

.offering-title {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.offering-subtitle {
    color: #3498db;
    margin: 5px 0 15px 0;
    font-size: 1.2rem;
    font-weight: normal;
}

.offering-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.offering-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ae2e27;
    margin: 15px 0;
}

.add-to-cart-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #2980b9;
}

/* Toast Notification Styles */
.cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: #333;
    color: white;
    border-radius: 6px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .offerings-container {
        flex-direction: column;
        align-items: center;
    }
    
    .offering-card {
        width: 90%;
        max-width: 350px;
    }
}

.custom-kit-section {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-kit-section h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.cart-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.cart-header {
    display: flex;
    background-color: #f8f9fa;
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.cart-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.col-product {
    flex: 3;
    /* min-width: 0; */
    text-align: left;
}

.col-price, .col-quantity, .col-total {
    flex: 1;
    text-align: center;
}

.cart-header .col-product,
.cart-header .col-price,
.cart-header .col-quantity,
.cart-header .col-total {
    flex: 1;
    text-align: center;
}

.cart-header .col-product {
    flex: 3;
    text-align: left;
}

.cart-item h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.cart-item p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9rem;
}

.add-comment {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
}

.add-comment:hover {
    text-decoration: underline;
}

.qty-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.col-price, .col-total, .col-product, .col-quantity {
    font-weight: bold;
    color: #27ae60;
}

/* Responsive design */
@media (max-width: 768px) {
    .cart-header {
        display: none;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .col-product, .col-price, .col-quantity, .col-total {
        width: 100%;
        text-align: center;
    }
}

/* Cart Summary Banner */
.cart-summary-banner {
    position: sticky;
    top: 0;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.items-count {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 600;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 600;
}

.view-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-cart-btn:hover {
    background: white;
    color: #2c3e50;
}

/* Cart Summary Panel */
.cart-summary-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #0f0c29;  /* #0f0c29, #302b63, #24243e; */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s ease;
    padding: 20px;
    overflow-y: auto;
}

.cart-summary-panel.active {
    right: 0;
}

.summary-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-panel-header h2 {
    margin: 0;
    color: #2c3e50;
}

.close-panel {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
}

.cart-items-list {
    margin-bottom: 20px;
}

.cart-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-name {
    flex: 2;
}

.cart-item-quantity {
    flex: 1;
    text-align: center;
}

.cart-item-price {
    flex: 1;
    text-align: right;
    color: #27ae60;
    font-weight: 600;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    text-align: right;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.checkout-btn-panel {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn-panel:hover {
    background: #219653;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* Responsive design for cart panel */
@media (max-width: 500px) {
    .cart-summary-panel {
        width: 100%;
        right: -100%;
    }
    
    .summary-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    color: white;
    border-radius: 6px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-weight: 500;
}

.toast-success {
    background: #27ae60;
}

.toast-warning {
    background: #e67e22;
}

.toast-error {
    background: #e74c3c;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.remove-item-btn:hover {
    background-color: #ffeaea;
}

.cart-item-info {
    flex: 1;
}

.cart-item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.empty-cart-message {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 0;
    font-style: italic;
}

.clear-cart-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    width: 100%;
}

.clear-cart-btn:hover {
    background: #c0392b;
}

/* Custom cart button styles */
.custom-cart-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.custom-cart-btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* For hero section buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .custom-cart-btn {
        margin: 10px 0;
        display: block;
        text-align: center;
    }
}


/* Style for inclusive items */
.offering-card[data-includes]::after {
    content: "✓ Includes lower tiers";
    display: block;
    font-size: 0.8em;
    color: #27ae60;
    margin-top: 5px;
}

.offering-card[data-included-by]::before {
    content: "Included in higher tiers";
    display: block;
    font-size: 0.8em;
    color: #e67e22;
    margin-bottom: 5px;
}

/* Toast styles for different message types */
.toast-warning {
    background: #e67e22 !important;
}

.toast-info {
    background: #3498db !important;
}

.toast-success {
    background: #27ae60 !important;
}
