/* تنسيقات حقول الطلب والمشاركة للمنتجات */

/* تحسين وضوح النصوص عند التمرير على البطاقة */
.product-card-enhanced:hover .product-title-enhanced {
    color: #000000 !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-card-enhanced:hover .product-description-enhanced {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.92);
    padding: 12px;
    border-radius: 8px;
    line-height: 1.8;
    text-shadow: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-card-enhanced:hover .spec-item {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    transition: all 0.3s ease;
}

.product-card-enhanced:hover .spec-item span {
    color: #000000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.product-card-enhanced:hover .spec-item i {
    color: #d4af37 !important;
}

.product-card-enhanced:hover .feature-tag {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    border: 2px solid #d4af37;
    transition: all 0.3s ease;
}

.product-card-enhanced:hover .feature-tag i {
    color: #d4af37 !important;
}

.product-card-enhanced:hover .product-number {
    background: rgba(255, 255, 255, 0.95);
    color: #000000 !important;
    font-weight: 800 !important;
    border: 3px solid #d4af37;
    transition: all 0.3s ease;
}

/* قسم الكمية */
.product-quantity-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quantity-label,
.size-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
}

.quantity-label i,
.size-label i {
    font-size: 1.1rem;
}

.quantity-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    color: #000000;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.quantity-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

/* قسم الأحجام */
.product-size-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.size-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    color: #000000;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 18px center;
    padding-left: 45px;
    text-align: center;
}

.size-select:focus {
    outline: none;
    border-color: #d4af37;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.size-select option {
    background: #ffffff;
    color: #000000;
    padding: 10px;
    font-weight: 600;
}

/* أزرار الطلب والمشاركة - تصميم فاخر */
.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
}

.order-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    padding: 18px 30px !important;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    position: relative;
    overflow: hidden;
}

.order-btn::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;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.order-btn:active {
    transform: translateY(-2px);
}

.product-btn-share {
    min-width: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.product-btn-share::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-btn-share:hover::before {
    width: 100%;
    height: 100%;
}

.product-btn-share:hover {
    transform: translateY(-4px) rotate(12deg) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.product-btn-share:active {
    transform: translateY(-2px) rotate(12deg) scale(1.02);
}

/* Responsive */
@media (max-width: 992px) {
    .quantity-input,
    .size-select {
        font-size: 1rem;
        padding: 12px 16px;
    }
    
    .quantity-label,
    .size-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .quantity-input,
    .size-select {
        font-size: 0.95rem;
        padding: 12px 14px;
    }
    
    .quantity-label,
    .size-label {
        font-size: 0.95rem;
        padding: 6px 10px;
    }
    
    .product-actions {
        gap: 10px;
    }
    
    .order-btn {
        padding: 16px 24px !important;
        font-size: 0.95rem;
    }
    
    .product-btn-share {
        min-width: 56px;
        width: 56px;
        height: 56px;
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .product-quantity-section,
    .product-size-section {
        padding: 12px;
        margin: 15px 0;
    }
    
    .quantity-input,
    .size-select {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .quantity-label,
    .size-label {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .product-actions {
        gap: 8px;
    }
    
    .order-btn {
        padding: 14px 20px !important;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .product-btn-share {
        min-width: 52px;
        width: 52px;
        height: 52px;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .product-quantity-section,
    .product-size-section {
        padding: 10px;
        margin: 12px 0;
    }
    
    .quantity-input,
    .size-select {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    .quantity-label,
    .size-label {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .quantity-label i,
    .size-label i {
        font-size: 0.9rem;
    }
    
    .product-actions {
        gap: 6px;
    }
    
    .order-btn {
        padding: 12px 16px !important;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .order-btn span {
        font-size: 0.85rem;
    }
    
    .order-btn i {
        font-size: 1rem;
    }
    
    .product-btn-share {
        min-width: 48px;
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .product-quantity-section,
    .product-size-section {
        padding: 8px;
        margin: 10px 0;
    }
    
    .quantity-input,
    .size-select {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .quantity-label,
    .size-label {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    
    .product-actions {
        gap: 6px;
    }
    
    .order-btn {
        padding: 10px 14px !important;
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .order-btn i {
        font-size: 0.95rem;
    }
    
    .product-btn-share {
        min-width: 44px;
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }
}
