/*
Theme Name: Vollar House
Author: HamiTech
Author URI: https://hamitec.ir/
Description: A minimalist and elegant theme for an art gallery.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.4
*/

 :root {
            --nav-bg: #222222;
            font-family: 'VollarFont';
        }

        @font-face {
            font-family: 'VollarFont';
            src: url('assets/fonts/AbarLow-Regular.woff2') format('woff2'),
                url('assets/fonts/AbarLow-Regular.woff') format('woff'),
                url('assets/fonts/AbarLow-Regular.ttf') format('truetype');
            font-weight: 400; /* Regular weight */
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'VollarFont';
            src: url('assets/fonts/AbarLow-Black.woff2') format('woff2'),
                url('assets/fonts/AbarLow-Black.woff') format('woff'),
                url('assets/fonts/AbarLow-Black.ttf') format('truetype');
            font-weight: 900; /* Black weight */
            font-style: normal;
            font-display: swap;
        }

        body {
            font-family: 'VollarFont', sans-serif;
            font-weight: 400; /* Default weight for body */
        }
                  
        h1, h2, h3, h4, h5, h6 {
            font-family: 'VollarFont', sans-serif;
            font-weight: 900; /* Bold weight for headings */
        }
        .hero-arrow svg path {
            stroke: #222222;
            stroke-width: 2;
        }

        .three-dots .dot {
            width: 8px;
            height: 8px;
            background-color: #aaa;
            border-radius: 50%;
            display: inline-block;
            margin-left: 6px;
            transition: background-color 0.3s;
        }

        .three-dots .dot.active {
            background-color: #222; /* Black dot for active slide */
        }

        .hero-caption {
            border: 1px solid #222;
            padding: 1.5rem 2rem;
            background-color: rgba(255, 255, 255, 0.9);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: absolute;
            left: 50%;
            bottom: 0; /* Changed from 24px to 0 */
            transform: translateX(-50%);
            width: 400px;
        }

                

        /* Custom styles for the search bar */
        .search-container {
            border-top: 2px solid black;
            border-bottom: 2px solid black;
        }

        .search-container::befor {
            content: '';
            position: absolute;
            width: 32px;
            height: 100%;
            background-color: white;
            border: 2px solid black;
            top: -2px;
            z-index: 10;re,
        .search-container::afte
        }

        .search-container::before {
            right: -16px;
            border-top-right-radius: 9999px;
            border-bottom-right-radius: 9999px;
            border-left: none;
        }

        .search-container::after {
            left: -16px;
            border-top-left-radius: 9999px;
            border-bottom-left-radius: 9999px;
            border-right: none;
        }

        .flex.gap-4.overflow-x-auto::-webkit-scrollbar {
              display: none; /* For Chrome, Safari, and Opera */
          }
          .flex.gap-4.overflow-x-auto {
              -ms-overflow-style: none;  /* For Internet Explorer and Edge */
              scrollbar-width: none;     /* For Firefox */
          }


          .carousel-drag {
                cursor: grab;
                user-select: none;
            }
            .carousel-drag.active {
                cursor: grabbing;
            }

      #custom_text{
        border-radius: 60px;
        border: 10px solid;
          border-top-width: 10px;
          border-top-style: solid;
          border-top-color: currentcolor;
          border-bottom-width: 10px;
          border-bottom-style: solid;
          border-bottom-color: currentcolor;
        padding: 20px;
        border-top: 0;
        border-bottom: 0;
        width: 50%;
      }

      .circle_custom{
        border: 10px solid #000;
            border-top-width: 10px;
            border-top-style: solid;
            border-top-color: rgb(0, 0, 0);
            border-bottom-width: 10px;
            border-bottom-style: solid;
            border-bottom-color: rgb(0, 0, 0);
          border-radius: 200px;
          border-bottom: 0px !important;
          border-top: 0px !important;
      }

      .footer_text_custom{
        padding: 20px;
        border: 2px solid #000;
          border-top-width: 2px;
          border-top-style: solid;
          border-top-color: rgb(0, 0, 0);
        margin-bottom: 30px;
        border-top: none;
      }

      #caption-title {
        font-size: 25px;
        font-weight: bold;
      }

      .search-container {
        border: 15px solid #000;
        border-radius: 100px;
        border-top: 0px;
        border-bottom: 0px;
      }


       
/* =========================================================================
   Custom Styles for WooCommerce Button
   ========================================================================= */

/*
 * با اضافه کردن body.single-product در ابتدای انتخاب‌گر،
 * اولویت آن را بسیار بالا می‌بریم تا بر استایل‌های ووکامرس غلبه کند.
*/
body.single-product .woocommerce div.product form.cart button.single_add_to_cart_button {
    width: 100% !important;
    padding: 1rem 0 !important; /* معادل py-4 */
    border: 2px solid black !important;
    font-weight: 700 !important; /* معادل font-bold */
    font-size: 1.125rem !important; /* معادل text-lg */
    background-color: white !important;
    color: black !important;
    transition: all 0.3s ease-in-out !important;
    border-radius: 0 !important;
}

body.single-product .woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: black !important;
    color: white !important;
}

/* استایل برای فیلد تعداد محصول */
.woocommerce .quantity .qty {
    border: 2px solid black !important;
    border-radius: 0 !important;
    padding: 0.5rem !important;
    height: auto !important; /* برای هماهنگی با ارتفاع دکمه */
    width: 60px !important;
}





    /* Custom Styles for WooCommerce Cart Totals */
.woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-end; /* باکس را به سمت راست منتقل می‌کند */
}

.woocommerce .cart_totals {
    width: 33.333333%; /* معادل w-1/3 */
    border: 2px solid black;
    padding: 1rem; /* معادل p-4 */
}

.woocommerce .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    padding: 0.5rem 0;
    text-align: right;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    padding-top: 1rem;
    border-top: 1px solid #d1d5db; /* gray-400 */
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 1rem 0; /* py-4 */
    background-color: black !important;
    color: white !important;
    font-weight: 700; /* font-bold */
    text-align: center;
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #374151 !important; /* gray-800 */
}
.woocommerce-cart-form .variation {
    display: none !important;
}
.wc-block-components-product-metadata__description {
  display: none !important;
}
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
  border: 4px solid #000;
  padding-left: 15px;
}
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
  border: 2px solid #000;
  font-weight: bold;
  margin-top: 200px;
}

.current_page_item {
  background: #fff;
  padding: 5px 15px;
  color: #000;
  border-radius: 5px;
}




/* =========================================================================
   Custom Styles for WooCommerce My Account Page
   ========================================================================= */

/* استایل منوی کناری */
.woocommerce-account .woocommerce-MyAccount-navigation {
    border: 1px solid rgb(184, 184, 184);
    padding: 1rem;
    width:100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link {
    margin-bottom: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: #374151; /* gray-700 */
    transition: all 0.2s ease-in-out;
    border-right: 4px solid transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a:hover {
    background-color: #f3f4f6; /* gray-100 */
    color: black;
}

/* استایل آیتم فعال در منو */
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a {
    background-color: #f3f4f6; /* gray-100 */
    color: black;
    border-right-color: black;
}

/* استایل بخش محتوا */
.woocommerce-MyAccount-content {
    /* استایل اصلی (کادر مشکی) در فایل my-account.php اعمال شده */
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 900;
    border-bottom: 2px solid black;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-content p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-content a {
    color: black;
    font-weight: 700;
    text-decoration: underline;
}

/* استایل دکمه‌ها در صفحه حساب کاربری */
.woocommerce-account .button {
    background-color: black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    transition: background-color 0.3s !important;
}

.woocommerce-account .button:hover {
    background-color: #374151 !important; /* gray-800 */
}

.woocommerce-MyAccount-content.border-2.border-black.p-6.h-full {
  width: 100%;
}

.single_add_to_cart_button.button.alt {
  background: none !important;
  color: #000 !important;
  border: 2px solid #000;
  width: 100%;
}

.woocommerce ul.products {
  margin: 0 0 1em;
  padding: 0;
  list-style: none outside;
  clear: none !important;
  width:100%;
}

.woocommerce-breadcrumb {
  display: none;
}


.product-countdown.flex.justify-center.items-center.gap-2.font-bold.text-red-700 {
  font-size: 18px;
  direction: ltr;
}


/* مخفی کردن فیلد تعداد در صفحه تکی محصول */
.single-product .quantity .qty {
    display: none !important;
}



/*********** Responsive Code ************/
@media only screen and (max-width: 600px) {

    .search-container{
        border-radius: 0px none !important;
    }
    
    
    .three-dots {
      display: none !important;
    }


    #custom_text {
        border-radius: 60px;
        border: 5px solid;
            border-top-width: 5px;
            border-top-style: solid;
            border-top-color: currentcolor;
            border-bottom-width: 5px;
            border-bottom-style: solid;
            border-bottom-color: currentcolor;
        border-top-width: 10px;
        border-top-style: solid;
        border-top-color: currentcolor;
        border-bottom-width: 10px;
        border-bottom-style: solid;
        border-bottom-color: currentcolor;
        padding: 20px;
        border-top: 0;
        border-bottom: 0;
        width: 100%;
        font-size: 14px;
        }



    #caption-box {
        padding-bottom: 50px;
    }
    
    
    #caption-title {
      font-size: 20px;
      font-weight: bold;
    }
    
    #caption-subtitle {
      font-size: 12px !important;
      padding-top: 10px;
    }
    
    .three-dots {
      display: none;
    }




}




/************** Login Form  ***********************/
/* style.css */

/* Custom Styles for WordPress Login Form */
#loginform {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: none !important;
}

#loginform label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
    margin-bottom: 0.5rem;
}

#loginform input[type="text"],
#loginform input[type="password"] {
    margin-top: 0.25rem;
    display: block;
    width: 100%;
    border: 2px solid black !important;
    padding: 0.5rem !important;
    box-shadow: none !important;
}

#loginform .login-remember {
    margin-top: 1rem;
}

#loginform .login-submit {
    margin-top: 1.5rem;
}

#loginform .login-submit input[type="submit"] {
    width: 100%;
    padding: 0.75rem 0; /* py-3 */
    background-color: black !important;
    color: white !important;
    font-weight: 700 !important; /* font-bold */
    border: 2px solid black !important;
    transition: background-color 0.3s;
    cursor: pointer;
}

#loginform .login-submit input[type="submit"]:hover {
    background-color: #1f2937 !important; /* gray-800 */
}

span.woocommerce-Price-currencySymbol {
    float: left;
    margin-right: 5px;
}

.relative.flex.flex-col.md\:flex-row.items-center.justify-between.gap-6.md\:gap-4.py-6.px-4.md\:px-6.search-container {
  padding: 50px;
}


.flex-shrink-0.w-64.border-2.border-black.p-2.transform.transition-transform.duration-300.hover\:scale-105.hover\:shadow-xl {
  border-radius: 10px !important;
}

.flex-1.border-2.border-black.p-2.flex.gap-2.h-full {
  border-radius: 10px;
}




.tooltip-item {
    position: relative;
}

.tooltip-item:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
}

.custom-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-bottom: 8px;
    z-index: 50;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: black;
}

.price-input {
    direction: ltr;
    text-align: left;
}

.price-input::placeholder {
    direction: rtl;
    text-align: right;
}

.text-slider-item{
    padding-left:50px;
    padding-right:50px;
}

.text-slider-item .text-center:first-child {
    border: 10px solid black;
    border-bottom: none;
    border-top: none;
  
    border-radius: 100px;
    /* width: 80% !important; */
    /* margin: auto; */
    margin-top: 120px;
    padding-left:50px;
    padding-right:50px;
}


/* style.css */

/* بهبود تجربه کشیدن اسلایدر متنی */
#text-slider-container {
    cursor: grab; /* نشانگر اولیه */
    user-select: none; /* جلوگیری از انتخاب متن */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#text-slider-container.dragging {
    cursor: grabbing; /* نشانگر هنگام کشیدن */
}

/* برای جلوگیری از انتخاب متن داخل اسلایدها */
#text-slider-container .text-slider-item * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none; /* جلوگیری از تداخل با رویدادهای کشیدن */
}



/* style.css - طرح جایگزین با خطوط */

.three-dots {
  display: flex;
  align-items: center;
  gap: 6px; /* فاصله کمتر بین خطوط */
}

.three-dots .dot { /* همچنان از کلاس dot استفاده می‌کنیم ولی ظاهرش خط است */
  width: 20px; /* عرض خط */
  height: 4px; /* ضخامت خط */
  background-color: #ccc; /* رنگ خط غیرفعال (کمی روشن‌تر) */
  border-radius: 2px; /* کمی گرد کردن گوشه‌ها */
  transition: all 0.4s ease-out;
}

.three-dots .dot.active {
  background-color: #222; /* رنگ خط فعال */
  width: 35px; /* خط فعال بلندتر می‌شود */
}

@keyframes pulse-dot-animation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.animate-pulse-dot {
  animation: pulse-dot-animation 1.4s infinite ease-in-out both;
}

/* تاخیر برای نقاط دوم و سوم */
.animation-delay-200 {
  animation-delay: 0.16s;
}

.animation-delay-400 {
  animation-delay: 0.32s;
}

/* کلاس برای مخفی کردن preloader با transition */
#vollar-preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.site-content-container {
  padding-top: 80px;
}


.home #top_header {
  background: none !important;
}

#top_header {
  background: #000;
}

/* style.css */

/* سفارشی‌سازی دکمه افزودن به علاقه‌مندی‌ها */
.woocommerce .yith-wcwl-add-to-wishlist {
    margin: 0 !important;
}

/* استایل اصلی دکمه (آیکون قلب) */
.woocommerce .yith-wcwl-add-to-wishlist a.add_to_wishlist {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #222 !important; /* رنگ آیکون */
    border: 1px solid #222 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.woocommerce .yith-wcwl-add-to-wishlist a.add_to_wishlist:hover {
    background: #222 !important;
    color: white !important;
}

/* مخفی کردن متن "افزودن به علاقه‌مندی‌ها" و نمایش فقط آیکون */
.woocommerce .yith-wcwl-add-to-wishlist a.add_to_wishlist::before {
    font-family: 'Font Awesome 6 Free'; /* استفاده از فونت آیکون */
    content: "\f004"; /* آیکون قلب توخالی */
    font-weight: 400; /* وزن معمولی */
    font-size: 16px;
}
.woocommerce .yith-wcwl-add-to-wishlist a.add_to_wishlist span.add-to-wishlist-text {
    display: none !important;
}

/* استایل دکمه وقتی محصول اضافه شده (قلب قرمز) */
.woocommerce .yith-wcwl-add-to-wishlist .yith-wcwl-add-button.added a {
    background: #e11d48 !important; /* رنگ قرمز */
    color: white !important;
    border-color: #e11d48 !important;
}
.woocommerce .yith-wcwl-add-to-wishlist .yith-wcwl-add-button.added a::before {
    font-weight: 900; /* آیکون قلب تو پُر */
}

/* مخفی کردن دکمه "مشاهده علاقه‌مندی‌ها" که بعد از افزودن ظاهر می‌شود */
.woocommerce .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse {
    display: none !important;
}




body.home .site-main-content { padding-top: 80px; } 
        @media (min-width: 768px) {
             body.home .site-main-content { padding-top: 100px; }
        }
        /* استایل برای خوانایی بهتر منوی موبایل باز شده */
        #mobile-menu { background-color: var(--nav-bg, #222); }
        

