/* Door Ideas CSS - Following social-media-reviews.php format exactly */

/* Card styling - following social-media-reviews.php format */
.door-ideas-page .product-box-3 {
    transition: all 0.3s ease;
}

.door-ideas-page .product-box-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.door-ideas-page .product-box-3 .card {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.door-ideas-page .product-box-3 .card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

/* Image container - following social-media-reviews.php format */
.door-ideas-page .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 10px;
}

.door-ideas-page .product-image img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.door-ideas-page .product-box-3:hover .product-image img {
    transform: scale(1.02);
}

/* Content styling */
.door-ideas-page .name {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Enhanced "View Details" Button Styling - matching shop.php exactly */
.door-ideas-page .add-to-cart-box .btn-add-cart {
    width: 100%;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #417394 0%, #5f84a0 100%);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(65, 115, 148, 0.3);
}

.door-ideas-page .add-to-cart-box .btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 115, 148, 0.4);
    background: linear-gradient(135deg, #356a8a 0%, #4a7a95 100%);
    color: white;
}

.door-ideas-page .add-to-cart-box .btn-add-cart:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(65, 115, 148, 0.3);
}

.door-ideas-page .add-to-cart-box .btn-add-cart:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.door-ideas-page .add-to-cart-box .btn-add-cart:hover:before {
    left: 100%;
}

.door-ideas-page .add-to-cart-box .add-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    background: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px) !important;
}

.door-ideas-page .add-to-cart-box .add-icon:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.door-ideas-page .add-to-cart-box .add-icon i {
    color: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Responsive icon adjustments to match shop.php */
@media (max-width: 768px) {
    .door-ideas-page .add-to-cart-box .add-icon {
        width: 28px !important;
        height: 28px !important;
        right: 10px !important;
    }
    
    .door-ideas-page .add-to-cart-box .add-icon i {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .door-ideas-page .add-to-cart-box .add-icon {
        width: 24px !important;
        height: 24px !important;
        right: 8px !important;
    }
    
    .door-ideas-page .add-to-cart-box .add-icon i {
        font-size: 11px !important;
    }
}

/* Use standard add-to-cart-box styling - no custom overrides */
.door-ideas-page .add-to-cart-box {
    margin-top: 15px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .door-ideas-page .product-box-3 .card-body {
        padding: 1rem;
    }
    
    .door-ideas-page .product-image {
        padding: 5px;
    }
    
    .door-ideas-page .product-image img {
        max-height: none;
        height: auto;
    }
}

@media (max-width: 576px) {
    .door-ideas-page .product-image img {
        max-height: none;
        height: auto;
    }
} 