/*
Theme Name: Furnique Child
Theme URI: https://yourwebsite.com
Description: Child theme for Furnique
Author: Your Name
Template: furnique
Version: 1.0
*/
.woocommerce-order-received{
	width: 100% !important;
}
.tile-calculator {
    border: 1px solid #e5e5e5;
    padding: 20px;
    margin: 20px 0;
    background: #fafafa;
}

/* Row layout */
.calc-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Input box */
#tile-area {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Boxes output */
.box-output {
    width: 100px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.box-output span {
    font-size: 18px;
}

.box-output small {
    font-size: 12px;
    color: #666;
}

/* Checkbox */
.waste-check {
    display: block;
    margin-top: 15px;
    font-size: 14px;
}

/* Price */
#price-result {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.tile-price {
    margin: 10px 0;
}

.tile-price p {
    margin: 0;
    font-size: 24px;
}



/* Stack everything vertically */
.single-product form.cart {
    display: flex !important;
    /*flex-direction: column !important;*/
    gap: 15px;
    flex-direction: row !important;
}

/* Calculator full width */
.tile-calculator {
    width: 93%;
}



/* Add to cart full width */
.single-product form.cart .single_add_to_cart_button {
    width: 100% !important;
    height: 55px;
    font-size: 16px;
    font-weight: 600;
}

/* Fix variation wrapper if needed */
.single-product form.cart .variations {
    width: 100%;
}

/* Override WooCommerce Blocks flex issue */
.wp-block-woocommerce-add-to-cart-form .variations_button {
    display: block !important;
}

/* Stack everything vertically */
.wp-block-woocommerce-add-to-cart-form .woocommerce-variation-add-to-cart {
    display: block !important;
}

/* Full width button */
.wp-block-woocommerce-add-to-cart-form .single_add_to_cart_button {
    width: 100% !important;
    height: 55px;
}




.image-variable-item{
height: 40px !important;
    width: 90px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
    background-image: none !important;
}

.woocommerce div.product form.cart .variations label {
    font-size: 18px !important;
}

.calculations{
display: flex;
}
.calculations h4{
    margin: 0px 15px 15px 0px;
    padding: 0px;
}
.calculations a{
    margin-top: 7px;
}





#calc-btn{
margin-top: 20px;
    padding: 10px 10px;
    border: 1px solid #000;
    background: black;
    color: white;
}

#tile-extra-calc {
    background: #f8f8f8;
    padding: 6px 2px;
    margin-bottom: 15px;
    
}

.calc-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#close-calc {
    cursor: pointer;
}

.unit-switch button {
    margin-right: 10px;
    padding: 5px 10px;
    border: 1px solid #000;
    background: #fff;
}

.unit-switch .active {
    background: #000;
    color: #fff;
}

.inputs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.inputs input {
    width: 100%;
    padding: 8px;
}

.custom-specs-wrapper {
    margin-top: 60px;
}

/* Accordion Title */
.spec-title {
    font-size: 18px;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

/* Hidden Content */
.spec-content {
    display: none;
    padding: 20px 0;
}

/* Grid like Tilebar */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 60px;
}

/* Each Item */
.spec-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.spec-item strong {
    display: block;
    font-size: 13px;
    color: #666;
}

.spec-item span {
    font-size: 14px;
    color: #111;
}

.wpc-linked-variation .item {
    border: 1px solid #ddd;
    padding: 3px;
    margin-right: 8px;
}
.wpc-linked-variation .item.active {
    border: 2px solid #000;
}

.wpclv-term-image{
    width: 90px !important;
}
.wpclv-term-image img{
    height: 40px !important;
}
.custom-size.imperfect, #rfg-specifications-section, #tab-reviews, #tab-additional_information, .up-sells{
    display: none !important;
}
.custom-size{
    height: 34px !important;
}
.custom-size a, .custom-size span{
    padding: 0px !important;
}

.woocommerce-cart .wc-item-meta {
    display: block;
}

.woocommerce-cart .wc-item-meta li {
    display: block;
    margin-bottom: 4px;
}

.wc-block-components-product-details{
    display: grid;
    font-weight: bold;
}






body.product_cat-tiles .quantity,  body.product_cat-stone .quantity{
    display: none !important;
}

/* Hide qty completely */
body.product_cat-tiles .single-product form.cart .quantity, body.product_cat-stone .single-product form.cart .quantity  {
    display: none !important;
}
/* Hide qty */
body.product_cat-tiles .wp-block-woocommerce-add-to-cart-form .quantity, body.product_cat-stone .wp-block-woocommerce-add-to-cart-form .quantity  {
    display: none !important;
}

body.product_cat-tiles .woocommerce .single_variation_wrap .woocommerce-variation, .single-content .wp-block-woocommerce-product-price, body.product_cat-stone .woocommerce .single_variation_wrap .woocommerce-variation{
    display:none !important
}
/* RFG mega menu — replace previous mega CSS entirely */
/* RFG mega menu — updated */
/* Header overlap fix */
header .wp-block-group,
header .wp-block-template-part,
.site-header {
    position: relative;
}

/* Navigation ko logo se pehle limited width do */
.wp-block-navigation {
    max-width: calc(100% - 420px) !important;
}

/* Menu item spacing thoda kam */
.wp-block-navigation__container {
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

/* Menu font small */
.wp-block-navigation-item__content {
    white-space: nowrap !important;
    font-size: 13px !important;
}

/* Logo ko upar rakho */
.wp-block-site-logo,
.site-logo,
.custom-logo-link {
    position: relative;
    z-index: 5;
}
/* Logo size increase */
.wp-block-site-logo img,
.custom-logo,
.custom-logo-link img {
    max-height: 50px !important;
    width: auto !important;
}


/* Full width specifications section */
.wp-block-shortcode,
.custom-specs-wrapper {
    width:88% !important;
    max-width: 88% !important;
    flex: 0 0 88% !important;
    display: block !important;
}

/* Product right column se bahar full row */
.single-product .wp-block-shortcode {
    grid-column: 1 / -1 !important;
}

/* Remove side limitation */
.custom-specs-wrapper {
    margin-top: 30px !important;
}


.rfg-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.rfg-gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.rfg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swatch-attribute-label,
.spec-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #000 !important;
    letter-spacing: 0.5px;
}

.collection-link a {
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    color: #6f6f6f !important;
    letter-spacing: 0 !important;
    text-decoration: underline !important;
}

.wp-block-woocommerce-product-details details:not([open]) > div,
.wp-block-woocommerce-product-details details:not([open]) .wc-block-components-accordion-item__content {
    display: none !important;
}
.single-product .wp-block-post-excerpt {
    display: none !important;
}

.woocommerce-Tabs-panel {
    display: none !important;
}

.woocommerce-Tabs-panel.rfg-open {
    display: block !important;
}

/* Related products image square */
.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image,
.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image a,
.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image img {
    width: 100% !important;
}

.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image img {
    height: 100% !important;
    object-fit: cover !important;
}



.rfg-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
}

.rfg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.woocommerce-breadcrumb {
    width: 84% !important;
    max-width: 1800px !important;
    margin: 0 auto 30px auto !important;
    display: block !important;
    padding-left: 0 !important;
}

.woocommerce-breadcrumb a {
    color: #1a5a96;
    text-decoration: none;
}