/* ===================================================================
                             DASHBOARD (MY ACCOUNT)
=================================================================== */

.account-wrapper {
    display: flex;
    gap: 60px;
    padding: 80px 0;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
}

.account-sidebar {
    width: 250px;
}

.account-sidebar ul {
    list-style: none;
    padding: 0;
}

.account-sidebar ul li {
    margin-bottom: 12px;
}

.account-sidebar ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #222;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.account-sidebar ul li.is-active a,
.account-sidebar ul li a:hover {
    background-color: #f4f4f4;
    font-weight: 600;
}

.account-content {
    flex: 1;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.dashboard-header h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logout-btn {
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #111;
    color: #fff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.dashboard-card {
    border: 1px solid #eee;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.dashboard-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 40px;
    color: #ff6f61;
    margin-bottom: 15px;
}

.dashboard-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.dashboard-card a {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: #ff6f61;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-card a:hover {
    color: #e74c3c;
}

@media (max-width: 1024px) {
    .account-wrapper {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
        margin-bottom: 40px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Remove Edit link */
.edit-link {
    display: none;
}

/* Sidebar nav full width */
nav.woocommerce-MyAccount-navigation {
    width: 100% !important;
}
.account-dashboard{
    margin: 0px 20px 2px 20px;
}


/* ===================================================================
                             LOGIN REGISTER PAGE (MY ACCOUNT)
=================================================================== */



/* =========================
   Auth Tabs Wrapper
========================= */
.auth-tabs-wrapper {
	max-width: 420px;
	margin: 60px auto;
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	font-family: inherit;
}

/* =========================
   Tabs Header
========================= */
.auth-tabs {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 25px;
	border: 1px solid #e5e5e5;
}

.auth-tab {
	flex: 1;
	padding: 14px;
	border: none;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	transition: all 0.3s ease;
}

.auth-tab:hover {
	background: #eaeaea;
}

.auth-tab.active {
	background: #111;
	color: #fff;
}

/* =========================
   Tab Content
========================= */
.auth-tab-content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.auth-tab-content.active {
	display: block;
}

/* =========================
   Form Fields
========================= */
.auth-tabs-wrapper label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.auth-tabs-wrapper input[type="text"],
.auth-tabs-wrapper input[type="email"],
.auth-tabs-wrapper input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #ddd;
	font-size: 14px;
	margin-bottom: 16px;
	transition: border-color 0.3s;
}

.auth-tabs-wrapper input:focus {
	border-color: #111;
	outline: none;
}

/* =========================
   Buttons
========================= */
.auth-btn {
	width: 100%;
	padding: 13px;
	border-radius: 8px;
	background: #111;
	color: #fff;
	border: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

.auth-btn:hover {
	background: #000;
}

.auth-btn.outline {
	background: transparent;
	color: #111;
	border: 2px solid #111;
}

.auth-btn.outline:hover {
	background: #111;
	color: #fff;
}



/* Fix My Account page hidden under header */
.woocommerce-account .site-main,
.woocommerce-account main {
    padding-top: 120px;
}
body.woocommerce-account .entry-header {
    display: none;
}
/* Remove sidebar widgets on My Account page */
body.woocommerce-account #secondary,
body.woocommerce-account .sidebar,
body.woocommerce-account aside {
    display: none;
}

/* Make content full width */
body.woocommerce-account .site-main,
body.woocommerce-account .content-area {
    width: 100%;
}



/* =========================
   Animations
========================= */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===================================================================
                            SINGLE PRODUCT PAGE CSS
=================================================================== */


/* ---------- CONTAINER ---------- */
.custom-single-product-container {
    margin-top:150px;
    padding: 0 40px;
}

/* ---------- PRODUCT TOP ---------- */
.product-top {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* ---------- GALLERY ---------- */
.product-gallery {
    flex: 1;
    min-width: 300px;
}

.gallery-wrapper {
    display: flex;
    gap: 20px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-thumbs img {
    width: 80px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.gallery-thumbs img.active {
    border: 1px solid #000;
}

.gallery-main img {
    width: 100%;
    height: auto;
}

/* ---------- PRODUCT INFO ---------- */
.product-det-info {
    flex: 1;
    min-width: 300px;
        display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px !important;
    justify-content: flex-start;
}

.product-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0;
}

.product-price {
    font-size: 22px;
    font-weight: 500;
    /*margin-bottom: 20px;*/
}

.product-description {
    /*margin-bottom: 25px;*/
    /*line-height: 1.6;*/
}

.single_add_to_cart_button {
    background: black !important;
    color: white !important;
    padding: 12px 25px !important;
}

/* ---------- ACCORDION ---------- */
.custom-accordion {
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-title {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 600;
    font-size: 18px;
}

.accordion-content {
    display: none;
    padding-bottom: 20px;
}

/* ---------- RELATED ---------- */
.related-products{
    margin-top: 30px;
}
.related.products h2{
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.related.products ul.products,
.up-sells ul.products{
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.related.products ul.products li.product{
    width: 100% !important;
    margin: 0 !important;
}

.related.products ul.products li.product img{
    width: 100%;
    height: auto !important;
    object-fit: cover;
}

/* ---------- CATEGORIES ---------- */
.popular-categories{
    padding:40px 0;
}

.section-title{
    text-align:center;
    margin-bottom:30px;
    font-size:28px;
    font-weight:500;
}

.categories-grid{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.category-card{
    display:flex;
    align-items:center;
    justify-content:center;
    width:260px;
    height:90px;
    border:1px solid #ddd;
    background:#fff;
    text-decoration:none;
    color:#222;
    font-size:20px;
    font-weight:500;
    transition:0.3s ease;
}

.category-card:hover{
    background:#F6F6F3;
    border-color: #F6F6F3;
    color: #222;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after{
    display:none;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 900px){
    .product-top{
        flex-direction: column;
    }
    .gallery-wrapper{
        flex-direction: column;
    }
    .gallery-thumbs{
        flex-direction: row;
    }
}
select[name="attribute_pa_timber-finish"]{
    display:none;
}

.cart-area {
    text-align: justify;
}


/* ============================= */
/*      WOOCOMMERCE VARIATIONS  */
/* ============================= */

/* Remove table look */
.variations {
    width: 100%;
    border: none !important;
    margin: 30px 0;
}

.variations tbody {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.variations th,
.variations td {
    padding: 0 !important;
    border: none !important;
}

/* ============================= */
/*          LABEL STYLE          */
/* ============================= */

.variations .label label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: block;
    color: #222;
    text-transform: uppercase;
}

/* ============================= */
/*        DROPDOWN STYLE         */
/* ============================= */

.variations select {
    width: 320px;
    max-width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.variations select:hover {
    border-color: #000;
}

.variations select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* ============================= */
/*        TIMBER SWATCHES        */
/* ============================= */

.timber-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.timber-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timber-swatch:hover {
    transform: scale(1.1);
}

.timber-swatch.active {
    border: 2px solid #000;
    transform: scale(1.15);
}

/* ============================= */
/*        CLEAR BUTTON           */
/* ============================= */

/* Clear Variations Button */
.reset_variations {
    margin-left: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reset_variations:hover {
    color: #000;
    text-decoration: underline;
}


/* ============================= */
/*      DESKTOP INLINE LAYOUT    */
/* ============================= */

@media(min-width: 768px){
    .variations tr {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .variations .label {
        min-width: 180px;
    }

    .variations .value {
        flex: 1;
    }
}

/* =============================== */
/*   VARIATION ADD TO CART AREA   */
/* =============================== */

.single_variation_wrap {
    margin-top: 30px;
}

/* Horizontal Layout */
.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ================= */
/*    QUANTITY BOX   */
/* ================= */

.quantity {
    width: 90px;
}

.quantity input.qty {
    width: 100%;
    height: 50px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
    background: transparent;
}

.quantity input.qty:focus {
    outline: none;
    border-bottom: 1px solid #000;
}

/* Remove arrows (optional cleaner look) */
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ================= */
/*  ADD TO CART BTN  */
/* ================= */

.single_add_to_cart_button {
    flex: 1;
    height: 55px;
    background-color: #F6F6F3 !important;
    color: #212529 !important;
    border: none !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    
}

/* Hover */
.single_add_to_cart_button:hover {
    background-color: #796F51 !important;
    color: #EEEDE6 !important;
}

/* Disabled State */
.single_add_to_cart_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Fix */
@media(max-width: 600px){
    .woocommerce-variation-add-to-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity {
        width: 100%;
    }
}

/* ============================= */
/*        ACCORDION STYLE        */
/* ============================= */

.custom-accordion {
    max-width: 900px;   /* apni need ke hisaab se 950 / 1000 bhi kar sakte ho */
    width: 100%;
    margin: 50px auto 0;
    border-top: 1px solid #ddd;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.cart-area .quantity input.qty
.accordion-content {
    display: none;
    padding-bottom: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* Open state */
.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
section.related.products{
    border-top: 1px solid #ddd;
    padding-top: 15px;
}


.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    content: none !important;
    display: table;
}


/* Fix Cart Layout */
/*.cart-area form.cart{*/
/*    display:flex;*/
/*    align-items:center;*/
/*    gap:20px;*/
/*}*/