.pack-select-btn {
    background: #ffc00d;
    color: #000000;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    display: inline-block;
    text-decoration: none;
}

.pack-select-btn:hover {
    background: #ffc00d;
    color: #000000;
    text-decoration: none;
}

.pack-select-btn.active {
    background: #dc3545;
	color: #ffffff;
}

.pack-products-container {
    margin: 20px 0;
}

.pack-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.pack-product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pack-product-item.selected {
    border-color: #28a745;
    background: #f8fff9;
}

.pack-product-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pack-product-image {
    flex: 0 0 50px;
    margin-right: 15px;
}

.pack-product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.pack-product-info {
    flex: 1;
}

.pack-product-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.pack-product-price {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.pack-product-actions {
    flex: 0 0 auto;
}

.pack-product-add,
.pack-product-remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
	padding: 0;
}

.pack-product-add:hover {
    transform: scale(1.1);
}

.pack-product-remove:hover {
    transform: scale(1.1);
}

.pack-load-more-container {
    text-align: center;
    padding-top: 20px;
}

.pack-load-more {
    padding: 10px 30px;
	font-size: 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

/* Sticky Panel */
.pack-sticky-panel {
    position: fixed;
    bottom: -110px;
    left: 0;
    width: 100%;
    background: #fdedca;
    border-top: 1px solid #ddd;
    padding: 15px;
    z-index: 1000;
}

.pack-sticky-panel.active {
    bottom: 0;
}

.pack-panel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.pack-progress {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.pack-selected-count {
    color: #d84e4c;
    font-size: 18px;
}

.pack-domain-input {
    flex: 0 0 250px;
    margin: 0 20px;
}

.pack-domain-input input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.pack-domain-input input:focus {
    outline: none;
}

.pack-domain-input input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

#pack-add-to-cart {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#pack-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#pack-add-to-cart:not(:disabled):hover {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Loading states */
.pack-loading {
    opacity: 0.6;
    pointer-events: none;
}

.pack-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: pack-spin 1s linear infinite;
}

@keyframes pack-spin {
    to { transform: rotate(360deg); }
}

/* Product list animations */
.pack-product-item {
    animation: pack-fade-in 0.3s ease-out;
}

@keyframes pack-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pack-product-item {
    position: relative;
}

.mpop-window .mfp-content {
	max-width: 80%;
	background: #ffffff;
	padding: 15px;
	margin: 20px 0;
}
.price-block {
	margin-top: 30px;
}
.price-block .pi-price {
	color: #dc3545;
	font-weight: bold;
}
.glightbox-clean .gslide-description {
    background: transparent !important;
}
.glightbox-clean .gdesc-inner {
    padding: 0 !important;
}
.glightbox-clean .gslide-title {
    color: #cbcaca !important;
    margin-bottom: 10px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pack-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .pack-panel-content {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .pack-products-grid {
        grid-template-columns: 1fr;
    }
    
    .pack-panel-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .pack-domain-input {
        flex: none;
        margin: 0;
        width: 100%;
    }
    
    .pack-product-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px;
    }
    
    .pack-product-image {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .pack-select-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .pack-products-container {
        padding: 10px;
        margin: 15px 0;
    }
    
    .pack-products-grid {
        gap: 10px;
    }
    
    .pack-product-item {
        padding: 10px;
    }
    
    .pack-progress {
        font-size: 14px;
    }
    
    .pack-selected-count {
        font-size: 16px;
    }
    
    #pack-add-to-cart {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .pack-domain-input input {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pack-product-item {
        border-width: 2px;
    }
    
    .pack-product-item.selected {
        border-width: 3px;
    }
    
    .pack-sticky-panel {
        border-bottom-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pack-select-btn,
    .pack-product-item,
    .pack-sticky-panel,
    #pack-add-to-cart {
        transition: none;
    }
    
    .pack-product-add:hover,
    .pack-product-remove:hover {
        transform: none;
    }
    
    @keyframes pack-spin {
        to { transform: none; }
    }
    
    @keyframes pack-fade-in {
        from, to {
            opacity: 1;
            transform: none;
        }
    }
}