/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

li.menu-item a {
    color: white !important;
}

@media (min-width: 1025px) {
    .whb-hidden-lg, .whb-hidden-desktop {
        display: none !important;
    }
}
.whb-column.whb-col-mobile.whb-column_mobile1 {
    display: flex;
    flex-direction: column;
}

.header-social-m {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    gap: 10px;
}


.whb-row.whb-general-header {
    transition: all 0.3s;
    margin: 22px !important;
    border-radius: 15px !important;
}

.whb-main-header {
    background-color: unset !important;
}

.wd-header-cart.wd-tools-element.wd-design-6.cart-widget-opener.whb-odsemvjw5hgqqpi23gi6 {
    color: white !important;
}

span.wd-tools-icon {
    color:white !important;
}


input.s {
    background: #f8bb8b !important;
    border: unset !important;
}

span.wd-cart-number.wd-tools-count {
    color: black !important;
    background: #f8bb8b !important;
}


.whb-row.whb-top-bar.whb-not-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-with-shadow.whb-flex-flex-middle {
    border-radius: 0 0 25px 25px;
}

a.btn.btn-style-default.btn-shape-rectangle.btn-size-default {
    background: unset;
    color: white;
    border: 1px solid white;
    border-radius: 6px;
}

.whb-sticked .whb-row.whb-general-header {
    margin: 6px !important;
	transition: all 0.3s;
}

.header-social-m .fab:before {
    background: #ffffff66;
    border-radius: 50%;
    padding: 6px 8px;
}

img.attachment-full.size-full {
    filter: drop-shadow(2px 4px 6px #ffffffd9) hue-rotate(-10deg) grayscale(0.2);
}

a.button.product_type_variable.add_to_cart_button {
    background: #fe7100 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    height: 0px !important;
    box-shadow: unset !important;
}

h3.wd-entities-title{
    color:black
}

span.woocommerce-Price-amount.amount{
    color: #000000;
    text-shadow:0px 0px 14px #ffffff,0px 0px 14px #ffffff,0px 0px 14px #ffffff,0px 0px 14px #ffffff;
}

/* ############################################################### */
/* ############################################################### */
/* ############################################################### */
/* ############################################################### */
/* ############################################################### */
.product-title, .wc-block-grid__product .wc-block-grid__product-title, .wc-block-review-list-item__product>a, .wd-entities-title, .widget_recent_comments ul li>a, .widget_recent_entries ul li a, .widget_rss ul li>a, .wp-block-latest-comments__comment-link, .wp-block-latest-posts li>a, .wp-block-post-title, .wp-block-post-title>a, .wp-block-rss__item-title a, td.product-name a, .title, .woocommerce-Reviews .comment-reply-title, h1, h2, h3, h4, h5, h6, legend {
    font-family: 'vazirmatn' !important;
}

p#billing_country_field {
    display: none !important;
}

.zibel-custom-swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
        .zibel-swatch-btn { padding: 6px 16px; border: 1px solid #e5e7eb; cursor: pointer; border-radius: 6px; font-size: 14px; transition: all 0.2s; position: relative; overflow: hidden; background: transparent; color: inherit; }
        /* حالت انتخاب شده */
        .zibel-swatch-btn.zibel-active { border-color: #111827 !important; background-color: #111827 !important; color: #ffffff !important; }
        /* حالت ناموجود / خط خورده */
        .zibel-swatch-btn.zibel-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; border-color: #e5e7eb; color: #9ca3af; }
        .zibel-swatch-btn.zibel-disabled::after { content: ""; position: absolute; top: 50%; left: -10%; width: 120%; height: 1px; background-color: #ef4444; transform: rotate(-15deg); }

    :root {
      --primary: #000000;
      --accent: #EF4055;
      --bg: #ffffff;
      --bg-alt: #f7f7f7;
      --text: #333333;
      --text-secondary: #838383;
      --text-muted: #999999;
      --border: #eaeaea;
      --white: #ffffff;
      --header-bg: #ff5531;
      --font: 'Vazirmatn', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: var(--font);
      direction: rtl;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { max-width: 100%; height: auto; display: block; }
    button { font-family: var(--font); cursor: pointer; border: none; background: none; }

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

    /* ===== HEADER TOP ===== */
    .header-top {
      background: #ff7100;
      color: var(--white);
      min-height: 134px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 0 0 20px 20px;
      position: relative;
      overflow: hidden;
    }

    .header-top-contact {
      position: absolute;
      top: 22px;
      right: 128px;
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 13px;
      font-weight: 300;
    }

    .header-top-contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: black;
    }

    .header-top-contact-item i { font-size: 13px; }

    .header-top-contact-divider {
      width: 1px;
      height: 20px;
      background: rgba(255,255,255,0.13);
    }

    .header-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      margin-bottom: 6px;
    }

    .header-divider::before,
    .header-divider::after {
      content: '';
      height: 1px;
      width: 60px;
      background: #00000033;
    }

    .header-divider-text {
      padding: 0 16px;
      font-size: 11px;
      color: #00000061;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 300;
      white-space: nowrap;
    }

    .header-brand-title {
      font-size: 54px;
      font-weight: 900;
      color: black;
      line-height: 1.1;
      letter-spacing: -1px;
    }

    .header-social {
      position: absolute;
      left: 30px;
      top: 40%;
      transform: translateY(-50%);
      display: flex;
      gap: 10px;
    }

    .header-social a {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: black;
      transition: all 0.3s;
    }

    .header-social a:hover { background: var(--accent); }
    .header-social a i { font-size: 16px; }

    /* ===== NAV BAR ===== */
    .header-nav {
      background: black;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
      margin: 15px;
      border-radius: 10px;
    }

    .header-nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .nav-category-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
      color: white;
      transition: all 0.3s;
      margin-left: 12px;
      white-space: nowrap;
    }

    .nav-category-btn:hover { border-color: var(--primary); background: #f5f5f5; }
    .nav-category-btn i { font-size: 15px; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .nav-links a {
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 500;
      color: white;
      border-radius: 10px;
      transition: all 0.3s;
      position: relative;
      white-space: nowrap;
    }

    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
      background: #f5f5f5;
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      height: 3px;
      background: var(--primary);
      border-radius: 10px;
    }

    .nav-center { flex: 1; max-width: 500px; margin: 0 24px; }

    .search-box {
      position: relative;
    }

    .search-box input {
      width: 100%;
      height: 44px;
      padding: 0 16px;
      border: 1.5px solid var(--border);
      border-radius: 12px;
      font-family: var(--font);
      font-size: 14px;
      outline: none;
      transition: all 0.3s;
      background: var(--bg-alt);
    }

    .search-box input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
      background: var(--white);
    }

    .search-box input::placeholder { color: var(--text-muted); }

    .search-box button {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 16px;
    }

    .search-box button:hover { color: var(--primary); }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-icon-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
      color: white;
      transition: all 0.3s;
      white-space: nowrap;
    }

    .nav-icon-btn:hover { background: #f5f5f5; color: var(--primary); }
    .nav-icon-btn i { font-size: 18px; }

    .nav-cart {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-cart-badge {
      position: absolute;
      top: 2px;
      left: 2px;
      min-width: 18px;
      height: 18px;
      background: var(--accent);
      color: var(--white);
      font-size: 10px;
      font-weight: 700;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    /* ===== HERO ===== */
    .hero {
      padding: 50px 0 0;
    }

    .hero-title {
      font-size: 61px;
      font-weight: 900;
      text-align: center;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 30px;
    }

    .hero-search {
      max-width: 760px;
      margin: 0 auto 20px;
    }

    .hero-search .search-form {
      position: relative;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(17px) saturate(150%);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
    }

    .hero-search .search-form::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 3px;
      background: var(--primary);
      opacity: 0.82;
    }

    .hero-search .search-form input {
      flex: 1;
      height: 64px;
      padding: 0 20px;
      border: none;
      font-family: var(--font);
      font-size: 15px;
      outline: none;
      background: transparent;
    }

    .hero-search .search-form input::placeholder { color: var(--text-muted); }

    .hero-search .search-form button {
      padding: 0 28px;
      background: var(--primary);
      color: var(--white);
      font-family: var(--font);
      font-size: 15px;
      font-weight: 400;
      border-radius: 10px;
      margin: 8px;
      transition: all 0.3s;
    }

    .hero-search .search-form button:hover { background: #1a1a1a; }

    .hero-categories {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .hero-cat-link {
      padding: 8px 20px;
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-secondary);
      transition: all 0.3s;
    }

    .hero-cat-link:hover, .hero-cat-link.active {
      border-color: var(--primary);
      color: var(--primary);
      background: #f5f5f5;
    }

    /* ===== CTA CATEGORIES ===== */
    .categories-cta {
      margin: 10px 0 0;
      display: flex;
      gap: 10px;
    }

    .cta-card {
      flex: 1;
      border: 1px solid #CDCDCD;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      min-height: 260px;
      cursor: pointer;
      transition: all 0.4s ease;
    }

    .cta-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    }

    .cta-card:hover .cta-card-bg img {
      transform: scale(1.2);
    }

    .cta-card-bg {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    .cta-card-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .cta-card-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
    }

    .cta-card-content {
      position: relative;
      z-index: 2;
      height: 100%;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 30px;
      text-align: start;
    }

    .cta-card-title {
      font-family: 'Vazirmatn', sans-serif;
      font-size: 34px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
      line-height: 1.2;
    }

    .cta-card-desc {
      font-size: 15px;
      font-weight: 400;
      color: rgba(255,255,255,0.8);
      margin-bottom: 20px;
    }

    .cta-card-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 22px;
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 500;
      font-family: var(--font);
      cursor: pointer;
      transition: all 0.3s;
      width: fit-content;
    }

    .cta-card-btn:hover {
      background: #1a1a1a;
      transform: translateX(-2px);
    }

    .cta-card-btn i {
      font-size: 11px;
      transition: transform 0.3s;
    }

    .cta-card:hover .cta-card-btn i {
      transform: translateX(-3px);
    }

    /* ===== PRODUCTS GRID ===== */
    .products-section {
      padding: 0 0 60px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
    }

    .product-card {
      background: var(--white);
      border: 1px solid #f0f0f0;
      border-radius: 14px;
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
    }

    .product-card:hover {
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
      transform: translateY(-3px);
    }

    .product-card-img {
      aspect-ratio: 1;
      overflow: hidden;
      background: var(--bg-alt);
      position: relative;
    }

    .product-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s;
    }

    .product-card:hover .product-card-img img { transform: scale(1.05); }

    .product-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      color: var(--white);
    }

    .product-badge.discount {
      background: var(--accent);
      box-shadow: 3px 1px 4px rgba(239,64,85,0.26);
    }

    .product-wishlist {
      position: absolute;
      top: 10px;
      left: 10px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 15px;
      transition: all 0.3s;
    }

    .product-wishlist:hover { background: var(--accent); color: var(--white); }

    .product-card-body {
      padding: 14px 16px 16px;
    }

    .product-card-cat {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .product-card-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.5;
    }

    .product-card-title:hover { color: var(--accent); }

    .product-pricing {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .product-price {
      font-size: 16px;
      font-weight: 700;
      color: var(--primary);
    }

    .product-price-old {
      font-size: 13px;
      color: var(--text-muted);
      text-decoration: line-through;
    }

    .product-discount-tag {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 2px 8px;
      background: rgba(239,64,85,0.1);
      color: var(--accent);
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
    }

    .product-add-btn {
      width: 100%;
      margin-top: 12px;
      padding: 10px;
      background: var(--primary);
      color: var(--white);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--font);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.3s;
    }

    .product-add-btn:hover {
      background: #1a1a1a;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .product-add-btn i { font-size: 14px; }

    /* ===== FOOTER ===== */
    .footer {
      background: var(--header-bg);
      color: black;
      padding: 60px 0 24px;
      margin-top: 60px;
      border-radius: 28px 28px 0 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-col-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .footer-desc {
      font-size: 13px;
      color: black;
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .footer-social {
      display: flex;
      gap: 10px;
    }

    .footer-social a {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: black;
      transition: all 0.3s;
    }

    .footer-social a:hover { background: var(--accent); color: var(--white); }
    .footer-social a i { font-size: 16px; }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-link {
      font-size: 13px;
      color: black;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.3s;
    }

    .footer-link:hover { color: var(--white); }
    .footer-link i { font-size: 12px; width: 16px; }

    .footer-info-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: black;
      margin-bottom: 12px;
    }

    .footer-info-item i { font-size: 14px; width: 18px; }

    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-copy {
      font-size: 12px;
      color: black;
    }

    .footer-badges {
      display: flex;
      gap: 10px;
    }

    .footer-badge {
      padding: 4px 12px;
      border: black;
      border-radius: 6px;
      font-size: 11px;
      color: black;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .header-top-contact { display: none; }
      .header-social { display: none; }
      .header-brand-title { font-size: 32px; }
      .header-top { min-height: 90px; border-radius: 0 0 14px 14px; }

      .nav-links { display: none; }
      .nav-category-btn span { display: none; }
      .nav-center { margin: 0 12px; }
      .nav-icon-btn span { display: none; }
      .nav-icon-btn { padding: 8px 10px; }

      .hero-title { font-size: 32px; margin-bottom: 20px; }
      .hero { padding: 20px 0 0; }

      .categories-cta {
        flex-direction: row;
        gap: 8px;
      }

      .cta-card {
        min-height: 200px;
      }

      .cta-card-content {
        min-height: 200px;
        padding: 20px;
      }

      .cta-card-title {
        font-size: 22px;
      }

      .cta-card-desc {
        font-size: 13px;
        margin-bottom: 14px;
      }

      .cta-card-btn {
        padding: 8px 16px;
        font-size: 11px;
      }

      .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }

      .product-card-body { padding: 10px 12px 14px; }
      .product-card-title { font-size: 13px; margin-bottom: 8px; }
      .product-price { font-size: 14px; }

      .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    }

    @media (max-width: 480px) {
      .categories-cta {
        flex-direction: column;
        gap: 10px;
      }

      .cta-card {
        min-height: 180px;
      }

      .cta-card-content {
        min-height: 180px;
        padding: 24px;
      }

      .cta-card-title { font-size: 26px; }
      .cta-card-desc { font-size: 14px; }

      .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .footer-grid { grid-template-columns: 1fr; }
    }
    
      img.header-brand-logo{
        width: 350px;
      }