/*
 * CUTE GIRL PRODUCTS - PRODUCT SPECIFIC STYLING
 * Enhanced product display with adorable elements
 */

/* Product Grid Layout Improvements */
.product_sliders {
    display: grid !important;
    gap: 20px !important;
    padding: 15px !important;
}

/* Individual Product Card Styling */
.product-item,
.single_product {
    background: linear-gradient(145deg, #ffffff 0%, #fef9ff 100%) !important;
    border-radius: 25px !important;
    padding: 15px !important;
    box-shadow: 
        0 10px 30px rgba(255, 182, 193, 0.2),
        0 4px 15px rgba(255, 182, 193, 0.1) !important;
    border: 2px solid #FFE4E1 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible !important;
}

.product-item:hover,
.single_product:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 182, 193, 0.3),
        0 8px 25px rgba(255, 182, 193, 0.2) !important;
    border-color: #FFB6C1 !important;
}

/* Cute decorative elements */
.product-item::before,
.single_product::before {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 20px;
    opacity: 0;
    transform: scale(0) rotate(-15deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}

.product-item:hover::before,
.single_product:hover::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Product Image Enhancements */
.pro_img {
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.15);
}

.pro_img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        transparent 40%, 
        rgba(255, 182, 193, 0.1) 70%, 
        rgba(255, 105, 180, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-item:hover .pro_img::after,
.single_product:hover .pro_img::after {
    opacity: 1;
}

.pro_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.product-item:hover .pro_img img,
.single_product:hover .pro_img img {
    transform: scale(1.08);
}

/* Product Information Styling */
.product-info {
    padding: 20px 15px !important;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(10px);
}

.product-info .name {
    font-family: 'Jost', 'Rubik', sans-serif !important;
    font-weight: 600;
    color: #D1477A !important;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(255, 182, 193, 0.2);
}

.product-info .price {
    color: #FF69B4 !important;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 182, 193, 0.3);
}

.product-info .old-price {
    color: #999 !important;
    text-decoration: line-through;
    font-size: 14px;
    margin-left: 8px;
}

/* Category Cards */
.category-item {
    background: linear-gradient(145deg, #ffffff 0%, #fef9ff 100%) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin: 10px !important;
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.15) !important;
    border: 2px solid #FFE4E1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 182, 193, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 182, 193, 0.25) !important;
    border-color: #FFB6C1 !important;
}

.cat_img {
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.2);
    position: relative;
}

.cat_img img {
    transition: all 0.3s ease;
    filter: brightness(1.05) saturate(1.1);
}

.category-item:hover .cat_img img {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

/* Category text */
.category-item p {
    font-weight: 600 !important;
    color: #D1477A !important;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 182, 193, 0.2);
}

/* Action Buttons - Extra Cute */
.add_cart_btn,
.order_now_btn {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 50%, #FF91A4 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(255, 182, 193, 0.4),
        0 2px 10px rgba(255, 182, 193, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.add_cart_btn::before,
.order_now_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.add_cart_btn:hover::before,
.order_now_btn:hover::before {
    left: 100%;
}

.add_cart_btn:hover,
.order_now_btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 182, 193, 0.5),
        0 4px 15px rgba(255, 182, 193, 0.3);
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 50%, #FF91A4 100%) !important;
}

.add_cart_btn:active,
.order_now_btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Quantity Controls - Adorable */
.quantity {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    padding: 5px !important;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
    border: 2px solid #FFE4E1 !important;
}

.quantity .minus,
.quantity .plus {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    width: 120px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: linear-gradient(135deg, #FF69B4, #FF1493) !important;
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.4);
}

.quantity input {
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #D1477A !important;
    font-size: 16px !important;
}

/* Wishlist and Compare Icons */
.wishlist-btn,
.compare-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #FFB6C1 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute;
    top: 15px;
    right: 15px;
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.3);
    transition: all 0.3s ease;
    z-index: 5;
}

.wishlist-btn {
    right: 60px;
}

.wishlist-btn:hover,
.compare-btn:hover {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4) !important;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.4);
}

/* Rating Stars - Cute */
.rating {
    margin: 10px 0;
}

.rating .star {
    color: #FFD700;
    font-size: 16px;
    margin-right: 2px;
    text-shadow: 1px 1px 2px rgba(255, 182, 193, 0.3);
    transition: all 0.2s ease;
}

.rating .star:hover {
    transform: scale(1.2);
    color: #FF69B4;
}

/* Product Badge/Label */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FF69B4, #FF1493) !important;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.4);
    z-index: 5;
    animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Sale/Discount Badge */
.sale-badge {
    background: linear-gradient(135deg, #FF1493, #DC143C) !important;
    animation: cute-wobble 1.5s ease-in-out infinite;
    border-radius: 50% !important;
}

@keyframes cute-wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

/* New Arrival Badge */
.new-badge {
    background: linear-gradient(135deg, #FFB6C1, #98FB98) !important;
    animation: sparkle-glow 2s ease-in-out infinite;
}

@keyframes sparkle-glow {
    0%, 100% { box-shadow: 0 3px 10px rgba(255, 182, 193, 0.4); }
    50% { box-shadow: 0 5px 20px rgba(255, 182, 193, 0.6); }
}

/* Product Grid Responsive Adjustments */
@media (max-width: 768px) {
    .product_sliders {
        gap: 15px !important;
        padding: 10px !important;
    }
    
    .product-item,
    .single_product {
        padding: 12px !important;
        border-radius: 20px !important;
    }
    
    .pro_img {
        margin-bottom: 12px;
    }
    
    .product-info {
        padding: 15px 12px !important;
    }
    
    .add_cart_btn,
    .order_now_btn {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }
    
    .category-item {
        padding: 15px !important;
        margin: 8px !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .product-item,
    .single_product {
        border-radius: 15px !important;
    }
    
    .pro_img {
        border-radius: 15px !important;
    }
    
    .add_cart_btn,
    .order_now_btn {
        padding: 8px 16px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
    }
    
    .wishlist-btn,
    .compare-btn {
        width: 35px !important;
        height: 35px !important;
        top: 10px;
    }
    
    .wishlist-btn {
        right: 50px;
    }
}

/* Loading animation for products */
.product-loading {
    background: linear-gradient(
        90deg,
        #FFE4E1 25%,
        #FFC0CB 50%,
        #FFE4E1 75%
    );
    background-size: 200% 100%;
    animation: cute-shimmer 2s ease-in-out infinite;
}

@keyframes cute-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Cute tooltip for product info */
.product-tooltip {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4) !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.4) !important;
    border: none !important;
}

.product-tooltip::before {
    border-top-color: #FFB6C1 !important;
}
