/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* ==========================================
   MY ACCOUNT – BRICKS FIXED LAYOUT
   Container: #brxe-gcntvv
========================================== */

#brxe-gcntvv.woocommerce-account {
    background: #f4f6f8;
}

/* ---------- FORCE FULL WIDTH ---------- */
#brxe-gcntvv,
#brxe-gcntvv .woocommerce,
#brxe-gcntvv .site-main,
#brxe-gcntvv .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* ---------- GRID LAYOUT ---------- */
#brxe-gcntvv .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 60px 70px;
}

@media (max-width: 768px) {
    #brxe-gcntvv .woocommerce {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}

/* ---------- REMOVE DEFAULT TITLE ---------- */
#brxe-gcntvv .entry-title,
#brxe-gcntvv h1 {
    display: none !important;
}

/* ==========================================
   SIDEBAR (FIXED – NOT WHITE)
========================================== */
#brxe-gcntvv .woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}

#brxe-gcntvv .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#brxe-gcntvv .woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

#brxe-gcntvv .woocommerce-MyAccount-navigation a {
    display: block;
	padding: 5px 10px;
    border-radius: 12px;
    color: #0F2A44;
    font-weight: 500;
    text-decoration: none;
    background: #f6f7f9;
}

/* Active item */
#brxe-gcntvv .woocommerce-MyAccount-navigation li.is-active a {
    background: #C19A6B;
    color: #fff;
}

/* Hover */
#brxe-gcntvv .woocommerce-MyAccount-navigation a:hover {
    background: #d4b28a;
    color: #fff;
}

/* Logout */
#brxe-gcntvv .woocommerce-MyAccount-navigation li:last-child a {
    background: transparent;
    color: #b00020;
}

#brxe-gcntvv .woocommerce-MyAccount-navigation li:last-child a:hover {
    background: rgba(176,0,32,0.08);
}

/* ==========================================
   CONTENT CARD (RIGHT SIDE)
========================================== */
#brxe-gcntvv .woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 46px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

/* Custom Title */
#brxe-gcntvv .woocommerce-MyAccount-content::before {
    content: "My Account";
    display: block;
    font-size: 34px;
    font-weight: 600;
    color: #0F2A44;
    margin-bottom: 30px;
}

/* Dashboard text box */
#brxe-gcntvv .woocommerce-MyAccount-content > p:first-child {
    background: #f7f8fa;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid #e3e3e3;
    margin-bottom: 30px;
    color: #555;
}
.brx-popup-content a.tinvwl_add_to_wishlist_button.tinvwl-icon-heart.tinvwl-position-after {
    display: none;
}
/* ==========================================
   TABLES
========================================== */
#brxe-gcntvv table.shop_table {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e3e3e3;
}

#brxe-gcntvv table.shop_table th {
    background: #f4f6f8;
    font-weight: 600;
    color: #0F2A44;
}

#brxe-gcntvv table.shop_table td {
    color: #333;
}

/* ==========================================
   BUTTONS
========================================== */
#brxe-gcntvv .button {
    background: #C19A6B;
    color: #fff;
    border-radius: 30px;
    padding: 10px 26px;
    border: none;
}

#brxe-gcntvv .button:hover {
    background: #0F2A44;
}

.product-desc-gallery br {
  display: none !important;
}
.product-gallery-title {
  margin: 24px 0 24px;
  font-size: 30px;
  font-weight: 600;
  text-align: left;
}
.product-description {
    text-align: justify;
}
.product-description br.img-brk {
    display: none;
}
#brxe-vnxjvq  .price del, #brxe-vnxjvq .price > span {
    font-size: 20px;
    color: #0A0A0A;
    font-weight: 600;
    margin-left: 15px;
}
table.variations {
    border-bottom: 1px solid #b3b5b8 !important;
    margin-bottom: 40px;
}

.product-simple #brxe-ggtscl {
    .quantity::before {
        content: "Quantity";
        position: absolute;
        top: 200px;
    }
}
.product-simple .qty-wishlist-wrap {
    margin-bottom: 30px;
}

.product-simple form.cart .wc-buy-now-btn.wc-buy-now-btn-single {
    bottom: 10%;
    right: 5px;
} 
.product-simple #brxe-ggtscl {
    .single_add_to_cart_button {
        margin-block: 0;
    }
}
.double-slider-wrap {
    padding: 10px 0;
}
.brx-popup-content table.variations select{
	    width: 50%;
}
/* Values container */
.value-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    pointer-events: auto; /* ✅ ensure clicks still pass */
}

/* Text styling only */
.value-wrap .value {
    font-size: 13px;
    font-weight: 500;
    color: #040707;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    user-select: none; /* ✅ prevents text drag, not slider */
}
ul#brxe-xoaukk select{
    width: auto;
    padding-right: 30px;
}

.price.out-of-stock {
    color: #b32d2e;          /* Red text */
    font-weight: 600;         /* Bold text */
    font-size: 1rem;          /* Adjust font size */
    text-transform: uppercase; /* Make it uppercase */
    background-color: #fce4e4; /* Optional light red background */
    padding: 5px 10px;        /* Some padding */
    border-radius: 4px;       /* Rounded corners */
    display: inline-block;     /* Shrinks to text width */
    margin-top: 5px;           /* Spacing above */
    text-align:center;
}

/* Default (Desktop) */
.woo-variation-items-wrapper .variable-item {
    width: 45px !important;
    height: 45px !important;
}

.woo-variation-items-wrapper .variable-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* iPad & iPad Pro Single product CSS */
@media (min-width:768px) and (max-width:1200px){

.single-product .gallery-main{
    width:350px;
    height:450px;
}

.single-product .gallery-main img{
    width:100%;
    height:100%;
    object-fit:contain;
}

}

@media screen and (min-width: 1366px) and (max-width: 1390px) {
    .single-product .gallery-main {
        width: 560px;
        height: 500px;
	    background: white;
    }
	.product-gallery-wrapper {
		margin-top: 100px;
	}
}
/* iPad / iPad Pro (tablet) */
@media (min-width:901px) and (max-width:1024px){

.single-product .gallery-main {
		width: 350px;
		height: 400px;
		background: white;
		margin-top: 30px;
}
.product-gallery-wrapper {
    margin-top: 125px;
}
.single-product .gallery-main img{
    width:100%;
    height:100%;
    object-fit:contain;
}
#brxe-ggtscl .cart .single_add_to_cart_button{
    font-size:14px !important;;
}
}
/* iPad / iPad Pro (tablet) */
@media (min-width:768px) and (max-width:900px){

.single-product .gallery-main{
    width:250px;
    height:420px;
	background: white;
}
.product-gallery-wrapper {
    margin-top: 220px;
}
.single-product .gallery-main img{
    width:100%;
    height:100%;
    object-fit:contain;
}
#brxe-ggtscl .cart .single_add_to_cart_button{
    font-size:14px !important;;
}
}

/* Tablet */
@media (max-width: 991px) {
    .woo-variation-items-wrapper .variable-item {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .woo-variation-items-wrapper .variable-item {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
	.bricks-search-form input[type=search] {
		width: 100%;
	}
	.woocommerce-customer-details {
		margin: 30px 20px;
	}
	ul#brxe-xoaukk select {
		width: 100%;
		padding-right: 30px;
	}
	.price.out-of-stock {
		color: #b32d2e;          /* Red text */
		font-weight: 600;         /* Bold text */
		font-size: 0.8rem;          /* Adjust font size */
		text-transform: uppercase; /* Make it uppercase */
		background-color: #fce4e4; /* Optional light red background */
		padding: 5px 10px;        /* Some padding */
		border-radius: 4px;       /* Rounded corners */
		display: inline-block;     /* Shrinks to text width */
		margin-top: 5px;           /* Spacing above */
		text-align:center;
	}
	.product-simple #brxe-ggtscl {
		.quantity::before {
			content: "Quantity";
			position: absolute;
			top: 440px !important;
		}
	}
	.single-product .variations select{
		 width: 80%;
		font-weight:500;
	}
	.brx-popup-content table.variations select{
			width: 80%;
	}
    .product-simple #brxe-ggtscl .cart .single_add_to_cart_button {
		min-width: 40% !important;
		margin-right: 17px;
	}
	
	.product-simple  form.cart .wc-buy-now-btn.wc-buy-now-btn-single {
		bottom: 82.75%;
		right: 5px;
		width: 23%;
	}
}

@media (max-width: 478px) {
    #brxe-qiozna {
        flex-direction: row;
        visibility: visible;
        padding-right: 10px;
        padding-left: 10px;
        height: 280px;
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
        width: 100%;
        min-width: 400px;
        align-self: center !important;
    }
}
