/*!
Theme Name: kadence-child
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.4.3
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
Template: kadence
Requires at least: 6.3
Tested up to: 6.9
Tags: translation-ready, accessibility-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
* {
    margin: 0;
    padding: 0;
}

.tfc_privacylist strong {
    color: #32231c;
}
.woocommerce img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.tfc_privacylist li {
    font-family: inter;
}
/* Variation Swatches */
/* .tfc_productloop .kt-image-color-sw label,
.single-product .kt-image-color-sw label {
    padding: 2px !important;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
}

.tfc_productloop .kt_color_sw_span,
.single-product .kt_color_sw_span {
    display: block;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
}

.tfc_productloop form {
    font-family: inter;
    margin-bottom: 0;
} */
.tfc_footerlogo img{
	width:250px;
}
/* .tfc_productloop form tr,
.single-product form tr {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tfc_productloop form tr label,
.single-product form tr label {
    font-weight: 400 !important;
}

.tfc_productloop form tr fieldset,
.tfc_productloop form tr select,
.single-product form tr select {
    margin-left: 10px !important;
    border-radius: 8px;
} */

/* Kadence product loop image fix */
.kwt-image-wrap img,
.woocommerce ul.products li.product img {
    width: 100% !important;
height: 450px !important;
    object-fit:fill;
    object-position: center;
}

/* Rug Filter Sidebar Styles */
.rug-filter-sidebar {
    padding: 20px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    color: #000;
}

.rug-filter-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.rug-filter-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rug-filter-section {
    margin-bottom: 30px;
}

.rug-section-title {
    font-size: 18px;
	color:#31312f;
    font-weight: 500;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #000;
    display: block;
}

.rug-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rug-checkbox-row {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: color 0.2s;
}

.rug-checkbox-row:hover {
    color: #000;
}
.rug-checkbox-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;

    margin-right: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rug-checkbox-row input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #000;
}

.rug-checkbox-row input[type="checkbox"]:checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #000;
    display: block;
    border-radius: 1px;
}
.archive .tfc_allproduct .kadence-product-toggle-container .kadence-toggle-list{
	display:none;
}
/* Price Inputs */
.rug-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-group {
    display: flex;
    flex-direction: column;
    width: 45%;
}

.price-group label {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

.price-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    border-radius: 0;
}

.price-separator {
    font-weight: bold;
    color: #555;
	
	
	
    margin-top: 15px;
}

/* Actions */
.rug-filter-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#rug-apply-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s;
}

#rug-apply-btn:hover {
    background-color: #333;
}

#rug-clear-btn {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

#rug-clear-btn:hover {
    border-color: #000;
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*Single product  */
.tfc_product .woocommerce-loop-product__title a {
    color: #31312f !important; 
    font-size: 20px;
    font-family: inter;
}
.tfc_product .price .woocommerce-Price-amount,.tfc_relatedproduct .price .woocommerce-Price-amount{
     color: #31312f; 
    font-size: 16px;
    font-family: inter;
}
.tfc_relatedproduct .product-details{
	padding:10px !important;
	
}
.tfc_product .product-action-wrap a,.tfc_relatedproduct .product-action-wrap a,.search .product-action-wrap a {
    background: #f9f5f2 !important;
    border: 2px solid #55232c !important;
    color: #55232c !important;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px !important;
    font-family: inter;
    text-transform: capitalize !important;
    font-weight: 500 !important;
}
.tfc_product .added_to_cart{
	width:100%;
	justify-content:center;
}
.products.loading {
    position: relative;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.tfc_product .entry.loop-entry.product {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tfc_product .entry.loop-entry.product{
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tfc_product .entry.loop-entry.product:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.tfc_product .product_item_link {
    position: relative;
    display: block;
}

.tfc_product .product_item_link img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tfc_product .product_item_link img.secondary-product-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.tfc_product .entry.loop-entry.product:hover
.product_item_link img.secondary-product-image {
    opacity: 1;
    transform: scale(1.05);
}

.rug-filter-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.wp-block-woocommerce-product-filter-taxonomy .wc-block-product-filter-checkbox-list__item:not(.has-depth-1) {
    display: none !important;
}

.wp-block-woocommerce-product-filter-taxonomy .wc-block-product-filter-checkbox-list__item.has-depth-1 {
    display: flex !important;
}
.tfc_slider .kb-advanced-slide{
	height:60vh !important;
}
.single_add_to_cart_button::before {
    content: "\f217"; /* cart icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right:12px;
	 font-size: 18px;
    display: inline-block;
}
/* Hide Kadence arrow icon */
.woocommerce a.add_to_cart_button .kadence-arrow-right-alt-svg {
    display: none !important;
}

/* Button layout */
.woocommerce a.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Cart icon on LEFT side */
.woocommerce a.add_to_cart_button::before {
    content: "\f217"; /* Font Awesome cart */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
	margin-right:12px;
}

/* Remove right icon if already added */
.woocommerce a.add_to_cart_button::after {
    content: none;
}

.woocommerce ul.products.woo-archive-btn-button li.product .button.added {
    height: auto;
    padding: 12px 18px; /* apna original padding */
    overflow: visible;
    border: inherit;
	margin-bottom:10px;
}

.product-acf-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
}

.product-acf-details .acf-item {
    display: flex;
    flex-direction: column;
}

.product-acf-details .acf-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #31312f;
    font-weight:500;
	font-family:inter;
}

.product-acf-details .acf-value {
    font-size: 14px;
    color: #333333;
    font-weight: 400;
	font-family:inter;
}
/* Tabs Nav */
.rug-tab-nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #ddd;
    list-style: none;
    padding: 0;
}

.rug-tab-nav li {
    padding: 12px 0;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9c7a4c;
}

.rug-tab-nav li.active {
    border-bottom: 2px solid #c49a6c;
    color: #000;
}

/* Content */
.rug-tab-content {
    display: none;
    padding: 30px 0;
}

.rug-tab-content.active {
    display: block;
}

/* Description Grid */
.rug-meta-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    margin-top: 30px;
}

.rug-meta-grid strong {
    font-size: 14px;
    display: block;
}

.rug-meta-grid span {
    color: #666;
}

/* Dimensions */
.rug-dimension-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.rug-dimension-box {
    border: 1px solid #e6e0d8;
    padding: 25px;
    text-align: center;
}

.rug-dimension-box strong {
    display: block;
    margin-bottom: 8px;
}

/* Care */
.rug-care-list {
    list-style: none;
    padding: 0;
}

.rug-care-list li {
    counter-increment: step;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}

.rug-care-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: #e8dccf;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
}

/* Mobile */
@media(max-width:768px){
    .rug-meta-grid,
    .rug-dimension-grid {
        grid-template-columns: 1fr;
    }
	 .product-acf-details {
        grid-template-columns: 1fr;
    }
	.woocommerce-cart table.cart td.product-name {
        max-width: 100% !important;
		width:100% !important;
        font-size: 14px;
    }
}
@media(max-width:1024px){
.search ul.products{
    grid-template-columns: 1fr 1fr;
}
}
/* Quantity + Add to Cart same row */
.single-product form.cart {
    display: flex;
    align-items: center;
}

/* Quantity fixed width */
.single-product form.cart .quantity {
    flex: 0 0 auto;
}

/* Add to Cart takes remaining width */
.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    width: 100%;
    text-align: center;
}
.tfc_allproduct .woocommerce-pagination{
	text-align:center;
}
.tfc_allproduct .woocommerce-pagination .page-numbers,.search .woocommerce-pagination .page-numbers {
	text-decoration: none;
    font-size: 20px;
    color: #31312f;
	margin-left:20px;
	font-family:inter;
}
.archive .kadence-breadcrumb-container{
	font-size:16px;
	color:#fff;
	font-family:inter;
}
.kadence-breadcrumb-container a{
    text-decoration:none;	
}
.tfc_allproduct .woocommerce-result-count,.tfc_allproduct .woocommerce-ordering select{
	font-family:inter;
	font-size:16px;
	font-weight:500;
}
@media only screen and (max-width: 640px) {
	.rug-filter-sidebar{
		padding:0px;
	}
	.single-product form.cart {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
}
	.search .products{
    grid-template-columns: 1fr !important;
}
}
/*Cart Page css  */
.tfc_cart .cart-collaterals{
	border:1px solid #31312f;
	padding:20px;
	border-radius:12px;
}
.tfc_cart .cart_totals h2{
	font-size: 24px;
    color: #31312F;
}
.tfc_cart .cart_totals th{
	color: #31312F;
    padding-left: 0 !important;
	width:auto !important;
	font-size:16px;
}
.tfc_cart .cart_totals .order-total th,.tfc_cart .cart_totals .order-total .woocommerce-Price-amount,.tfc_cart .cart_totals .order-total td{
	font-size:22px;
	padding-top:10px;
}
.tfc_cart .cart_totals td,.tfc_cart .cart_totals #shipping_method li{
	text-align: end;
    display: block;
    font-size: 16px;
    color: #31312f;
}

.tfc_cart .cart-collaterals .wc-proceed-to-checkout a{
	background: #f9f5f2 !important;
    border: 2px solid #55232c !important;
    color: #55232c !important;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px !important;
	margin-bottom:0;
}
.tfc_cart .cart-collaterals .wc-proceed-to-checkout a:hover{
	background: #55232c !important;
    border: 2px solid #55232c !important;
    color: #f9f5f2 !important;
}
.tfc_cart .cart-collaterals #ppcp-recaptcha-v2-container{
	margin:0 !important;
}
.tfc_cart .cart-collaterals .wc-proceed-to-checkout{
	padding:0;
}
.tfc_cart .woocommerce-cart-form .shop_table{
	border: 1px solid #31312f;
    border-radius: 12px;
    padding: 15px;
	border-collapse: separate;
}
.tfc_cart .woocommerce-cart-form .cart-summary{
	display:none;
}
.tfc_cart .woocommerce-cart-form .actions button{
	background: #31312f !important;
    color: #fff !important;
}
.tfc_cart .woocommerce-cart-form .actions{
	padding-top:20px;
}
.tfc_cart .woocommerce-cart-form .product-name a{
	font-size:20px;
	text-decoration:none;
}
.tfc_cart .woocommerce-cart-form .product-thumbnail,.tfc_cart .woocommerce-cart-form .product-thumbnail img{
	width:110px !important;
}
.tfc_cart .product-price .woocommerce-Price-amount,.tfc_cart .product-subtotal .woocommerce-Price-amount bdi{
	font-size:16px;
}
.tfc_cart .woocommerce-cart-form .spinners-added{
	border:1px solid #31312f;
}
.tfc_cart .woocommerce-cart-form .spinners-added .plus,.tfc_cart .woocommerce-cart-form .spinners-added .input-text,.tfc_cart .woocommerce-cart-form .spinners-added .minus,..mini-cart-container .woocommerce-mini-cart__total .woocommerce-Price-amount{
	font-size:16px !important;
	color:#31312f !important;
}
.tfc_cart .return-to-shop a{
    background: #f9f5f2 !important;
    border: 2px solid #55232c !important;
    color: #55232c !important;
}
.tfc_cart .return-to-shop a:hover{
	background: #55232c !important;
    border: 2px solid #55232c !important;
    color: #f9f5f2 !important;
}
.woocommerce-cart .cart-empty{
	color:#31312f !important;
	font-weight:400 !important;
}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message{
	border-left-color:#31312f !important;
}
.rug-breadcrumb a{
	font-size:16px;
	color:#31312f;
	text-decoration:none;
}
/*Mini cart css  */
.mini-cart-container .woocommerce-mini-cart__buttons a.button,.woocommerce-mini-cart__buttons a.button:hover{
	color:#31312f !important;
}
.mini-cart-container .woocommerce-mini-cart__buttons a.checkout,.mini-cart-container .woocommerce-mini-cart__buttons a.checkout:hover{
	 background: #f9f5f2 !important;
    border: 2px solid #55232c !important;
    color: #55232c !important;
}
.mini-cart-container .woocommerce-mini-cart-item a{
	 color: #31312f !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
/* Cart product name width fix */
.woocommerce-cart table.cart td.product-name {
    max-width: 260px;   /* adjust as per design */
    width: 260px;
    white-space: normal;
    word-break: break-word;
}
/* Account pagecss */
.tfc_accountpage #customer_login .woocommerce-Button,.tfc_accountpage #customer_login .woocommerce-button,.tfc_accountpage .woocommerce-ResetPassword .woocommerce-Button,.tfc_checkout .wc-block-components-checkout-place-order-button{
	 background: #f9f5f2 !important;
    border: 2px solid #55232c !important;
    color: #55232c !important;
}
.tfc_accountpage .woocommerce-LostPassword a,.tfc_accountpage .woocommerce-privacy-policy-text p a{
	color:#31312f;
	text-decoration:none;
}
/*search page css  */
.search .woocommerce-loop-product__title a{
	    color: #31312f !important;
    font-size: 20px;
    font-family: inter;
}
.search .price .woocommerce-Price-amount{
	color: #31312f !important;
    font-size: 20px;
    font-family: inter;
} 
.search .products{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.search .woocommerce-pagination{
	text-align:center;
}
.rr-acf-video-section {
  padding-top: 60px;
}

.rr-acf-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
}

/* Video LEFT, Text RIGHT */
.rr-acf-video {
  order: 1;
	width:100%;
}

.rr-acf-text {
  order: 2;
  text-align:center;
}

/* .rr-video-wrapper {
  position: relative;
  padding-top: 50%; 
} */
.rr-video-wrapper {
  position: relative;
  width: 100%;
   aspect-ratio: 1 / 1;   /* 👈 SQUARE */
  max-height: 500px; 
  overflow: hidden;
  background: #000;
}
/* .rr-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
} */

/* .rr-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
} */

.rr-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178%;          /* 👈 magic number (for vertical videos) */
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

/* Mobile: stack nicely */
@media (max-width: 768px) {
  .rr-acf-grid {
    grid-template-columns: 1fr;
  }

  /* Text first, video second on mobile */
  .rr-acf-text {
    order: 1;
  }

  .rr-acf-video {
    order: 2;
  }
}
.tfc_featureproduct li.product.outofstock {
    display: none !important;
}



