/* ریست */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background: #0a0e27;
    color: #ffffff;
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; }

/* ===== هدر ===== */
.mobo-header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 113, 227, 0.2);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-logo img { height: 40px; }

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.header-nav a {
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover { color: #0071e3; }

.header-search form {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,113,227,0.3);
    border-radius: 25px;
    overflow: hidden;
}

.header-search input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: #fff;
    width: 250px;
    outline: none;
}

.header-search button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #0071e3;
    font-size: 18px;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.cart-count {
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    vertical-align: super;
}

/* ===== Hero ===== */
.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,113,227,0.15);
    border: 1px solid #0071e3;
    color: #0071e3;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content p {
    color: #a0a0a0;
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: #0071e3;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,113,227,0.4);
}

/* ===== نوار مزیت‌ها ===== */
.features-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(13, 17, 23, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0,113,227,0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a0a0;
    font-size: 14px;
}

.feature-icon { font-size: 24px; }

/* ===== محصولات ===== */
.products-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 { font-size: 28px; }
.section-header a { color: #0071e3; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #0d1117;
    border: 1px solid rgba(0,113,227,0.15);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: #0071e3;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,113,227,0.2);
}

.product-image {
    text-align: center;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 50px;
}

.product-price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-add-cart {
    display: block;
    text-align: center;
    background: #0071e3;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-cart:hover { background: #005bb5; }

/* ===== دسته‌بندی ===== */
.categories-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 30px;
}

.categories-section h2 { margin-bottom: 30px; font-size: 28px; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background: #0d1117;
    border: 1px solid rgba(0,113,227,0.15);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: #0071e3;
    background: rgba(0,113,227,0.1);
}

.category-card h3 { font-size: 14px; font-weight: 500; }

/* ===== بنر ===== */
.banner-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 60px 30px;
    background: linear-gradient(135deg, #0d1117, #1a1f3a);
    border-radius: 30px;
    border: 1px solid rgba(0,113,227,0.3);
    text-align: center;
}

.banner-content h2 { font-size: 32px; margin-bottom: 15px; }
.banner-content p { color: #a0a0a0; margin-bottom: 25px; }

/* ===== فوتر ===== */
.mobo-footer {
    background: #050810;
    border-top: 1px solid rgba(0,113,227,0.15);
    margin-top: 80px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo { height: 35px; margin-bottom: 15px; }
.footer-col h4 { margin-bottom: 20px; color: #0071e3; }
.footer-col p, .footer-col a {
    color: #a0a0a0;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col a:hover { color: #0071e3; }

.social-icons { display: flex; gap: 15px; font-size: 22px; }

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 13px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 968px) {
    .hero-section { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 36px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .features-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .header-nav, .header-search { display: none; }
}

@media (max-width: 600px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bar { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}

.header-logo img, .footer-logo {
    filter: brightness(0) invert(1);
}

.hero-slider-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-slider-section {
        grid-template-columns: 1fr;
    }
}

/* ===== سبد خرید ===== */
.mobo-cart-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.cart-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff;
}

.cart-items {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 150px 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.cart-item-title a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.cart-item-title a:hover {
    color: #0071e3;
}

.cart-item-price {
    color: #a0a0a0;
    font-size: 14px;
    margin-top: 5px;
}

.cart-item-quantity input {
    background: #0a0e27;
    border: 1px solid #2b3040;
    border-radius: 8px;
    color: #fff;
    padding: 8px;
    width: 70px;
    text-align: center;
}

.cart-item-subtotal {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 700;
}

.cart-item-remove a {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
}

.cart-actions {
    margin: 20px 0;
    text-align: left;
}

.update-cart {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.3);
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.update-cart:hover {
    background: #0071e3;
    border-color: #0071e3;
}

.cart-collaterals {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    padding: 25px;
    margin-top: 30px;
}

.cart_totals h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals th,
.cart_totals td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    text-align: right;
}

.cart_totals .order-total td,
.cart_totals .order-total th {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.checkout-button {
    display: block;
    background: #0071e3;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.checkout-button:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
}

/* ===== صفحه پرداخت ===== */
.mobo-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.checkout-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.checkout-section,
.checkout-order-review {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    padding: 25px;
}

.checkout-section h3,
.checkout-order-review h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0071e3;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    color: #a0a0a0;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
    background: #0a0e27;
    border: 1px solid #2b3040;
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #0071e3;
}

@media (max-width: 968px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-quantity,
    .cart-item-subtotal,
    .cart-item-remove {
        grid-column: 2;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===== سبد خرید - هماهنگ با تم سایت ===== */
.woocommerce-cart-wrapper,
.woocommerce {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
    color: #fff;
}

/* جدول سبد خرید */
.woocommerce table.shop_table {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    color: #fff;
    width: 100%;
}

.woocommerce table.shop_table th {
    background: #0a0e27;
    color: #0071e3;
    padding: 15px;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    border-bottom: 1px solid rgba(0, 113, 227, 0.2);
}

.woocommerce table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: right;
    vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
}

.woocommerce table.shop_table td.product-name a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #0071e3;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    color: #e74c3c;
    font-weight: 700;
}

/* دکمه حذف */
.woocommerce table.shop_table td.product-remove a {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
    font-weight: 700;
}

/* فیلد تعداد */
.woocommerce .quantity input.qty {
    background: #0a0e27;
    border: 1px solid #2b3040;
    border-radius: 8px;
    color: #fff;
    padding: 8px;
    width: 70px;
    text-align: center;
    font-family: inherit;
}

/* دکمه‌ها */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
}

.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
    background: #2b3040;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* کوپن */
.woocommerce .coupon input#coupon_code {
    background: #0a0e27;
    border: 1px solid #2b3040;
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    font-family: inherit;
    margin-left: 10px;
}

/* جمع کل */
.woocommerce .cart-collaterals {
    margin-top: 30px;
}

.woocommerce .cart_totals {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    padding: 25px;
    color: #fff;
}

.woocommerce .cart_totals h2 {
    color: #0071e3;
    font-size: 20px;
    margin-bottom: 20px;
}

.woocommerce .cart_totals table.shop_table {
    background: transparent;
    border: none;
}

.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    padding: 12px 0;
}

.woocommerce .cart_totals .order-total td,
.woocommerce .cart_totals .order-total th {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
}

/* دکمه تسویه حساب */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    background: #0071e3;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
}

/* پیام‌های ووکامرس */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #0d1117;
    border: 1px solid #0071e3;
    border-radius: 12px;
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #0071e3;
}

/* ===== صفحه پرداخت ===== */
.woocommerce-checkout .woocommerce {
    color: #fff;
}

.woocommerce-checkout h3 {
    color: #0071e3;
    font-size: 18px;
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 6px;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background: #0a0e27;
    border: 1px solid #2b3040;
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: #0071e3;
}

.woocommerce-checkout #order_review {
    background: #0d1117;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 18px;
    padding: 25px;
}

.woocommerce-checkout #order_review table.shop_table {
    background: transparent;
    border: none;
}

.woocommerce-checkout #payment {
    background: #0a0e27;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.woocommerce-checkout #payment ul.payment_methods li {
    color: #fff;
    padding: 10px 0;
}

.woocommerce-checkout #payment div.form-row.place-order {
    padding-top: 15px;
}

.woocommerce-checkout #place_order {
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    transition: all 0.3s;
}

.woocommerce-checkout #place_order:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .woocommerce table.shop_table thead {
        display: none;
    }
    
    .woocommerce table.shop_table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid rgba(0, 113, 227, 0.15);
        border-radius: 12px;
        padding: 10px;
    }
    
    .woocommerce table.shop_table td {
        display: block;
        text-align: right;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 10px 0;
    }
    
    .woocommerce table.shop_table td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        color: #0071e3;
        margin-left: 10px;
    }
}