/* Hito Look 2x2 Grid Styles */
.hito-look-2x2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    aspect-ratio: 1 / 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hito-look-bundle-square {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.hito-look-bundle-square:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.bundle-square-inner {
    width: 100%;
    height: 100%;
}

.bundle-square-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bundle-square-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hito-look-bundle-square:hover .bundle-square-image img {
    transform: scale(1.1);
}

.bundle-square-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hito-look-bundle-square:hover .bundle-square-overlay {
    opacity: 1;
}

.bundle-square-title {
    margin: 0 0 12px 0;
    font-size: 1.3em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bundle-square-price {
    margin-bottom: 15px;
}

.bundle-savings {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

/* Enhanced Quick View Styles */
.pricing-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pricing-summary .original-price,
.pricing-summary .discount-amount,
.pricing-summary .final-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.pricing-summary .final-price {
    font-weight: bold;
    font-size: 1.1em;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 8px;
}

.savings-badge {
    background: #48bb78;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

/* Product Selection Styles */
.product-selection {
    margin: 20px 0;
}

.selection-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.selection-group h5 {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 1em;
}

.product-option {
    margin-bottom: 8px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 8px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.option-label input[type="radio"]:checked + .product-info {
    font-weight: bold;
}

.option-label input[type="radio"] {
    margin-right: 10px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.product-name {
    color: #2d3748;
}

.product-price {
    color: #48bb78;
    font-weight: 600;
}

/* Dynamic Pricing */
.dynamic-pricing {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

.dynamic-pricing .current-selection {
    margin-bottom: 8px;
}

.dynamic-pricing .bundle-price {
    font-size: 1.1em;
    color: #d63384;
}

/* Enhanced Action Buttons */
.quickview-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.view-details-btn {
    background: #e2e8f0;
    color: #4a5568;
    border: 2px solid #cbd5e0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #cbd5e0;
    border-color: #a0aec0;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .hito-look-2x2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: unset;
        max-width: 400px;
        gap: 15px;
    }
    
    .bundle-square-overlay {
        padding: 20px;
    }
    
    .bundle-square-title {
        font-size: 1.1em;
    }
}

/* Quick View Modal Styles */
.hito-look-quickview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.hito-look-quickview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}
.bundle-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.view-details-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: white;
    border-color: #333;
}
