/* TOOL4ME Luxury Product Page */
.t4m-luxury-wrapper {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    margin-bottom: 20px;
}

.t4m-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    animation: t4m-pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

@keyframes t4m-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.t4m-price-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.t4m-current-price {
    font-size: 42px;
    font-weight: 800;
    color: #ff4757;
    line-height: 1;
}

.t4m-current-price span {
    font-size: 20px;
    font-weight: 600;
}

.t4m-old-price {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #ff4757;
    text-decoration-thickness: 2px;
}

.t4m-old-price span {
    font-size: 16px;
}

.t4m-countdown-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.t4m-countdown-label {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.t4m-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.t4m-countdown > div {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 70px;
}

.t4m-countdown span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.t4m-countdown small {
    font-size: 11px;
    opacity: 0.8;
}

.t4m-social-proof {
    margin-bottom: 20px;
}

.t4m-visitors {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff3e0;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #e65100;
    border-right: 4px solid #ff9800;
}

.t4m-live-dot {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    animation: t4m-blink 1.5s infinite;
}

@keyframes t4m-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.t4m-stock-urgency {
    background: #ffebee;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: #c62828;
    border-right: 4px solid #f44336;
    font-weight: 600;
}

.t4m-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.t4m-badge {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border: 1px solid #eee;
}

/* Gallery Slider for Mobile */
@media (max-width: 768px) {
    .woocommerce-product-gallery {
        position: relative;
    }
    .woocommerce-product-gallery .flex-control-thumbs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 10px 0;
    }
    .woocommerce-product-gallery .flex-control-thumbs li {
        flex: 0 0 80px;
        scroll-snap-align: start;
    }
    .woocommerce-product-gallery .flex-viewport {
        border-radius: 16px;
        overflow: hidden;
    }
}

/* Hide real stock */
.woocommerce-product-details__short-description .stock,
.product-type-simple .stock {
    display: none !important;
}

/* Enhanced Product Title */
.product_title.entry-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Product Meta Styling */
.product_meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.product_meta span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.product_meta a {
    color: #ff4757;
    font-weight: 600;
}
