/* ==================================
   MURAD ULTIMATE - MAIN CSS
   100% Professional & Responsive
   ================================== */

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --murad-primary: #e67e22;
    --murad-secondary: #34495e;
    --murad-accent: #f39c12;
    --murad-dark: #2c3e50;
    --murad-light: #ecf0f1;
    --murad-success: #27ae60;
    --murad-danger: #e74c3c;
    --murad-warning: #f39c12;
    --murad-info: #3498db;
}

body {
    font-family: 'Heebo', 'Assistant', 'Rubik', sans-serif !important;
    direction: rtl;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--murad-primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    background: var(--murad-accent);
}

.btn-secondary {
    background: var(--murad-secondary);
}

.btn-secondary:hover {
    background: #2c3e50;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--murad-primary);
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* WooCommerce Product Loop */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product .woocommerce-loop-product__title {
    font-size: 18px;
    padding: 15px;
    margin: 0;
    color: var(--murad-dark);
}

.product .price {
    padding: 0 15px 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--murad-primary);
}

.product .button {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 12px;
    background: var(--murad-primary);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.product .button:hover {
    background: var(--murad-accent);
}

/* Responsive Products Grid */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

.woocommerce-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 10px;
}

.woocommerce-pagination li {
    display: inline-block;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid var(--murad-primary);
    border-radius: 8px;
    color: var(--murad-primary);
    font-weight: 600;
}

.woocommerce-pagination .current {
    background: var(--murad-primary);
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* ==================================
   FOOTER STYLES
   ================================== */

.murad-footer {
    background: var(--murad-dark);
    color: #ecf0f1;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid > div h3 {
    color: var(--murad-primary);
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--murad-primary);
    padding-bottom: 10px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid a {
    color: #ecf0f1;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: var(--murad-primary);
}

.footer-grid p {
    line-height: 1.8;
    margin: 8px 0;
}

.footer-grid i {
    margin-left: 8px;
    color: var(--murad-primary);
}

.footer-bottom {
    background: #1a252f;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .murad-footer {
        margin-top: 50px;
        padding: 40px 0 0;
    }
}
