/*
Theme Name: tca
Template: 99fy
Theme URI: https://99fy.thethemedemo.com/landing/index.html
Author: HasThemes
Author URI: https://hasthemes.com/
Description: 99fy is a Free WooCommerce WordPress Theme, it is a responsive and fast loading theme. 99 Home pages are included in this theme. 99fy using Elementor Page Builder to create pages easily, and supports popular WooCommerce Addon - WooLentor. WooLentor helps to create custom templates for shop and product pages. All of the popular niches for WooCommerce Stores are included in this theme. Niches are Animals & Pets, Books & Library, Cosmetics, Cars & Motors, Electronics, Fashion, Furniture, Fruits, Food, Flower, Handmade, Health & beauty, Minimal Stores, Jewelry, Kitchen, Kids Store, Matcha Store, Perfume, Maternity, Plant & Nursery, Sports, Shapewear, Tools & Equipment, Watch, etc.. More niches are added regularly. Check the demos at https://99fy.thethemedemo.com/landing/index.html
Version: 3.2.9
Requires at least: WordPress 5.0.0
Requires PHP: 7.4
Tested up to: WordPress 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, right-sidebar, footer-widgets, blog, custom-menu, post-formats, sticky-post, editor-style, threaded-comments, custom-colors, featured-images, full-width-template, theme-options, e-commerce, holiday 
Text Domain: 99fy
*/

.tca-shop-filters{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin: 0 0 18px;
}

.tca-shop-filters .tca-filter input[type="search"],
.tca-shop-filters .tca-filter select{
  min-width: 220px;
  padding: 8px 10px;
}

.tca-filter-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.tca-reset{
  text-decoration: underline;
}


/* === Shop Filter Dropdowns (Category + Sorting) === */
.tca-filter select {
  width: 100%;
  min-height: 44px;
  padding: 10px 40px 10px 14px;

  font-size: 14px;
  line-height: 1.4;

  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;

  /* Remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #473376 50%),
    linear-gradient(135deg, #473376 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px;
  background-repeat: no-repeat;

  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.tca-filter select:hover {
  border-color: #bbb;
}

/* Focus */
.tca-filter select:focus {
  border-color: #473376;
  box-shadow: 0 0 0 2px rgba(71, 51, 118, 0.15);
  outline: none;
}

/* Disabled (if ever used) */
.tca-filter select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* === Shop Filter Buttons === */
.tca-filter button,
.tca-filter .tca-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 18px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;

  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.05s ease;
}

/* Apply button (primary) */
.tca-filter button {
  background-color: #473376;
  border: 1px solid #473376;
  color: #fff;
}

.tca-filter button:hover {
  background-color: #3c2b66;
  border-color: #3c2b66;
}

.tca-filter button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(71, 51, 118, 0.25);
}

.tca-filter button:active {
  transform: translateY(1px);
}

.tca-filter .tca-reset:hover {
     color: #473376;
     transition: 1s;
}


.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-color: #473376 !important;

}

.woocommerce-info::before {
    color: #473376 !important;
}


/* === Mobile Menu Container === */
.mean-container {
  background: #fff !important;
}

.mean-container .mean-nav {
  background: #fff !important;
  border-top: 1px solid #eee !important;
}

.mean-container .mean-nav ul {
  margin: 0 !important;
  padding: 0 !important;
}

.mean-container .mean-nav ul li {
  border-bottom: 1px solid #eee !important;
}

.mean-container .mean-nav ul li a {
  display: block !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-transform: none !important;
  background: #fff !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.mean-container .mean-nav ul li a:hover {
  background-color: #f6f4f9 !important;
  color: #473376 !important;
}

.mean-container .mean-nav li ul li.menu-item a{
  padding: 12px 16px 12px 28px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #555 !important;
  background: #fafafa !important;
}

.mean-container .mean-nav ul li ul.sub-menu li a:hover {
  background-color: #f0ecf7 !important;
  color: #473376 !important;
}

/* Expand toggle */
.mean-container .mean-nav ul li a.mean-expand {
  width: 44px !important;
  height: 44px !important;
  text-align: center !important;
  line-height: 44px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #473376 !important;
  background: transparent !important;
  border-left: 1px solid #eee !important;
  transition: background-color 0.2s ease !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
  background-color: transparent !important;
}

/* When expanded */
.mean-container .mean-nav ul li a.mean-expand.mean-clicked {
  background-color: transparent !important;
}

.mean-container .mean-nav ul li a.mean-expand {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}

.mean-container .mean-nav {
  border-radius: 0 0 6px 6px !important;
}


.mean-container .meanmenu-reveal {
  background: transparent !important;
  color: #473376 !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  transition: 
    background-color 0.25s ease,
    border-radius 0.25s ease,
    box-shadow 0.25s ease !important;
}

.mean-container .meanmenu-reveal span {
  background-color: #473376 !important;
  height: 2px !important;
  border-radius: 2px !important;
  transition: 
    background-color 0.25s ease ,
    transform 0.25s ease ,
    opacity 0.25s ease !important;
}

.mean-container .meanmenu-reveal:hover {
  background-color: rgba(71, 51, 118, 0.08) !important;
}

/* When menu is open */
.mean-container .meanmenu-reveal.meanclose {
  background-color: rgba(71, 51, 118, 0.12) !important;
}

/* mini top header */

.header-top-area .header-search-cart a:hover {
  color : #473376;
  transform: translateY(-3px);
  transition-duration: 2s;
  transition-timing-function: linear;
  font-weight: 500;
}

.header-top-area .header-cart .cart-title a:hover {
  color : #473376;
  transform: translateY(-3px);
  transition-duration: 2s;
  transition-timing-function: ease;
  font-weight: 500;
}

.header-top-area .header-cart .cart-title span {
  color : #473376;
}

.header-top-area .header-cart .cart-title span {
  color : #473376;
}

.header-top-area .cart-total h4 span {
  color : #473376;
}

.cart-content .cart-checkout-btn a:hover {
    box-shadow: 0 10px 35px -7px rgba(71, 51, 118, 0.12) !important;
    background-color: #473376 !important;
    transform: translateY(-3px) !important;
    transition-duration: 2s !important;
    transition-timing-function: ease !important;
}

.cart-content .woocommerce-Price-amount {
  color: #473376 !important;
}

.cart-delete a i:hover {
  color: #473376 !important;
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
}


/* breadcrumb */
.breadcrumb-style-default {
  background-color: #af8db2 !important;
}

.breadcrumb-content h2 {
  color: #fff !important;
}

.breadcrumb-content .woocommerce-breadcrumb a {
  color: #fff !important;
}

.breadcrumb-content .breadcrumbs_wrapper a {
  color: #fff !important;
}

.breadcrumb-content .breadcrumbs_wrapper a:hover {
  color: #473376 !important;
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
}

.breadcrumb-content .breadcrumbs_wrapper {
  color: #fff !important;
}

.breadcrumb-content .woocommerce-breadcrumb {
  color: #fff !important;
}

.breadcrumb-content .woocommerce-breadcrumb a:hover {
  color: #473376 !important;
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
}

/* cart page */
.wc-block-cart__submit-container a {
  background-color: #473376 !important; 
  color: #fff !important;
  border: 1px solid #473376;
  border-radius: 8px; 
}

.wc-block-cart__submit-container a:hover {
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
  box-shadow: 0 10px 35px -7px rgba(71, 51, 118, 0.12) !important;
}

/* checkout page */
.woocommerce-form-coupon-toggle .woocommerce-info a:hover {
  color: #473376 !important;
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
}


.woocommerce-privacy-policy-text a:hover {
  color: #473376 !important;
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
}

.woocommerce-checkout-payment button {
  background-color: #473376 !important; 
  color: #fff !important;
  border: 1px solid #473376;
  border-radius: 8px; 
}

.woocommerce-checkout-payment button:hover {
  transform: translateY(-3px) !important;
  transition-duration: 2s !important;
  transition-timing-function: ease !important;
  box-shadow: 0 10px 35px -7px rgba(71, 51, 118, 0.12) !important;
}

.woocommerce-shipping-fields {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* Wrapper */
#ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

/* Hide native checkbox */
#ship-to-different-address input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Custom checkbox box */
#ship-to-different-address label::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.5px solid #bbb;
  border-radius: 4px;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* CHECKED STATE */
#ship-to-different-address input[type="checkbox"]:checked + span::before {
  content: "";
}

/* Draw checkmark */
#ship-to-different-address input[type="checkbox"]:checked + span::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* Checked box background */
#ship-to-different-address input[type="checkbox"]:checked ~ label::before,
#ship-to-different-address label:has(input:checked)::before {
  background-color: #473376;
  border-color: #473376;
  box-shadow: 0 0 0 2px rgba(71, 51, 118, 0.2);
}

.woocommerce-billing-fields #billing_country_field {
  display: none !important;
}

/* Hide Shipping Country / Region field */
.woocommerce-shipping-fields #shipping_country_field {
  display: none !important;
}

/* shop page */
.shop-product-content a .woocommerce-loop-product__title:hover {
  color: #473376 !important;
}

.shop-product-content .product-content .price .new {
  color: #473376 !important;
}

.shop-product-content .product-content .price .new:hover {
  font-weight: 500;
  transition: 1s;
}

.product-size-color-wrapper .product-size > span {
  color: #473376 !important;
}

.product-size-color-wrapper .product-size > span:hover {
  font-weight: 700;
  transition: 1s;
}

/* product page  */
.product-details-content .price > span {
  color: #473376 !important;
}

.woocommerce .onsale {
  background-color: #473376 !important; 
}

.woocommerce .product .cart button {
  background-color: #473376 !important; 
  color: #fff !important;
  border: 1px solid #473376;
  border-radius: 8px; 
}

.cart-plus-minus a:hover {
  color: #473376 !important;
}

.woocommerce .product .cart button:hover {
  box-shadow: 0 10px 35px -7px rgba(71, 51, 118, 0.12) !important;
}

.nnfyquickview-btn-wishlist .yith-wcwl-add-to-wishlist a:hover {
  box-shadow: 0 10px 35px -7px rgba(71, 51, 118, 0.12) !important;
  background-color: #473376 !important; 
  border: 1px solid #473376 !important;
}

.comment-form-rating .stars a:hover {
  color: #473376 !important;
}

@media only screen and (max-width: 767px) {
  /* Prevent touch gestures from triggering zoom */
   .easyzoom-flyout,
  .easyzoom-notice{
    display: none !important;
  }

  /* Helps scrolling by telling the browser vertical scrolling is intended */
  .easyzoom, .easyzoom a, .easyzoom img{
    touch-action: pan-y !important;
  }
  .easyzoom a {
    pointer-events: none;
  }
}


/* compare table  */

.htcompare-table .compare-data-title a:hover {
   color: #473376 !important;
}

.htcompare-table .compare-data-add_to_cart .added_to_cart:hover {
  color: #473376 !important;
}


/* product page */
.tca-details-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 28px;
}
.tca-details-label{
  font-weight:700;
  margin-bottom:6px;
}
.tca-details-value{
  opacity:.9;
  line-height:1.5;
}
.tca-tab-text{
  line-height:1.7;
}

.tca-two-col{
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  padding: 0 16px;
}

@media (max-width: 900px){
  .tca-two-col{ grid-template-columns: 1fr; }
}

.tca-acc{
  border: 1px solid #e9e9e9;
  background: #fff;
  margin-bottom: 14px;
}

.tca-acc summary{
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  letter-spacing: .02em;
  display:flex;
  justify-content: space-between;
  align-items:center;
}

.tca-acc summary::-webkit-details-marker{ display:none; }

.tca-acc summary:after{
  content: "▾";
  font-size: 14px;
  opacity: .7;
}

.tca-acc[open] summary:after{ content: "▴"; }

.tca-acc-body{
  padding: 16px;
  border-top: 1px solid #eee;
  line-height: 1.7;
}

.tca-details-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

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

.ui-datepicker td.wcoc-preorder-window {
  background: rgba(255,165,0,0.25) !important;
  outline: 1px dashed rgba(255,140,0,0.6);
  outline-offset: -2px;
}

/* Make the number button transparent so td background shows */
.ui-datepicker td.wcoc-preorder-window a {
  background: transparent !important;
  border: none !important;
  font-weight: 700 !important;
}

/* ==== 1) Hide any text overlay inside the swatch ==== */
.swatchly-type-image .swatchly-swatch .swatchly-content,
.swatchly-type-image .swatchly-swatch span:not(.swatchly-sr-only),
.swatchly-type-image .swatchly-swatch::after {
  content: none !important;
  display: none !important;
}

/* ==== 2) Make the swatch a container with space below ==== */
.swatchly-type-image .swatchly-swatch {
  position: relative !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  margin: 15px;
  /* allow label to sit below without being clipped */
  overflow: visible !important;
}

/* ==== 3) Add label under the image using data-attr_label ==== */
.swatchly-type-image .swatchly-swatch::before {
  content: attr(data-attr_label) ;
  position: absolute ;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) ;

  font-size: 13px !important;
  line-height: 1.2 !important;
  color: #333 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Swatchly: show label only when there is NO <img> inside the swatch */
.swatchly-swatch:has(img) .swatchly-swatch-label { 
  display: none !important; 
}
.swatchly-swatch:not(:has(img)) .swatchly-swatch-label { 
  display: block !important; 
}

/* Hide empty/broken image inside Swatchly swatches */
.swatchly-swatch img[src=""],
.swatchly-swatch img:not([src]),
.swatchly-swatch img[src*="placeholder"],
.swatchly-swatch img[src*="no-image"] {
    display: none !important;
}

/* If no image, make swatch look like text button */
.swatchly-swatch:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 30px;
}

/* Make text visible */
.swatchly-swatch:not(:has(img)) .swatchly-swatch-label {
    display: block !important;
    font-size: 14px;
    font-weight: 500;
}


/* Style only the swatches we converted */
.swatchly-swatch.tca-swatchly-label-fallback{
  width: auto !important;
  height: auto !important;
  min-width: 90px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 5px;
}

.tca-swatchly-label-fallback::before {
    position: static !important;
    transform: translateX(0px) !important;
}


.swatchly-swatch:focus,
.swatchly-swatch:focus-visible {
    outline: none !important
}    
}