/* ===================================================================
                             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: #c1573c;
    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: #c1573c;
    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;
}





/*========================================================================================================================================*/

/* =====================================
   WooCommerce Edit Account Form
===================================== */
.woocommerce-account .account-content{
    /*max-width: 900px;*/
    margin: 0 auto;
}
.woocommerce-account .woocommerce-EditAccountForm{
    width:100%;
}

/* Reset */

.woocommerce-account .woocommerce-EditAccountForm p{
    margin:0 0 25px;
}

.woocommerce-account .woocommerce-form-row{
    display:block !important;
}

/* First + Last */

.woocommerce-account .form-row-first{
    width:48%;
    float:left;
}

.woocommerce-account .form-row-last{
    width:48%;
    float:right;
}

.woocommerce-account .form-row-wide{
    width:100%;
    float:none;
    clear:both;
}

/* Labels */

.woocommerce-account .woocommerce-form-row label{
    display:block;
    width:100%;
    margin:0 0 10px;
    font-size:15px;
    font-weight:600;
    color:#222;
}

/* Inputs */

.woocommerce-account .woocommerce-form-row input{
    width:100%;
    height:52px;
    padding:0 16px;
    border:1px solid #d9d9d9;
    border-radius:4px;
    font-size:15px;
    box-sizing:border-box;
}

.woocommerce-account .woocommerce-form-row input:focus{
    outline:none;
    border-color:#000;
}

/* Display Name Note */

#account_display_name_description{
    display:block;
    margin-top:10px;
    color:#777;
    font-size:13px;
    font-style:italic;
}

/* Password */

.woocommerce-account fieldset{
    margin-top:40px;
    padding-top:25px;
    border:0;
    border-top:1px solid #ddd;
}

.woocommerce-account legend{
    font-size:28px;
    font-weight:600;
    margin-bottom:25px;
}

/* Password Inputs */

.password-input{
    width:100%;
    display:block;
    position:relative;
}

.password-input input{
    width:100%;
    padding-right:45px;
}

.password-input .show-password-input{
    right:15px;
}

/* Button */

.woocommerce-account button[name="save_account_details"]{
    background:#1d2d3c;
    color:#fff;
    border:0;
    padding:15px 34px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.woocommerce-account button[name="save_account_details"]:hover{
    background:#000;
}

/* Clear */

.woocommerce-account .clear{
    clear:both;
}

/* Mobile */

@media(max-width:768px){

    .woocommerce-account .form-row-first,
    .woocommerce-account .form-row-last{
        width:100%;
        float:none;
    }

}


/* ====================================
   Edit Account Card
==================================== */

.woocommerce-account .account-content{
    /*max-width: 900px;*/
    margin: 60px auto;
}

.woocommerce-account .woocommerce-EditAccountForm{
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .3s ease;
}

.woocommerce-account .woocommerce-EditAccountForm:hover{
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* Password Section */

.woocommerce-account fieldset{
    margin-top: 40px;
    padding-top: 30px;
    border: 0;
    border-top: 1px solid #ececec;
}

/* Save Button */

.woocommerce-account button[name="save_account_details"]{
    margin-top: 15px;
    min-width: 180px;
    height: 52px;
    border-radius: 8px;
}

/* Mobile */

@media (max-width:768px){

    .woocommerce-account .woocommerce-EditAccountForm{
        padding: 25px;
        border-radius: 10px;
    }

}


/*================================================================================================*/

/* Addresses Layout */

.woocommerce-Addresses{
    display:flex;
    gap:40px;
    margin-top:35px;
}

.woocommerce-Addresses .woocommerce-Address{
    flex:1;
    border:1px solid #ececec;
    padding:35px;
    border-radius:8px;
    background:#fff;
}

/* Header */

.woocommerce-Address-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    padding-bottom: 10px;
}

.woocommerce-Address-title h2{
    margin:0;
    font-size:24px;
    font-weight:500;
}

.woocommerce-Address-title .edit{
    color:#111;
    font-size:14px;
    border: 1px solid #000;
    padding: 5px 10px;
    border-radius: 5px;
}

.woocommerce-Address-title .edit:hover{
    color:#666;
}

/* Address */

.woocommerce-Address address{
    font-style:normal;
    line-height:2;
    color:#666;
}

/* Mobile */

@media(max-width:768px){

    .woocommerce-Addresses{
        flex-direction:column;
        gap:20px;
    }

}





/* ===== Billing / Shipping Edit Address ===== */

.account-content form{
    max-width:850px;
    margin:0 auto;
}

.account-content form h2{
    font-size:36px;
    margin-bottom:40px;
    font-weight:600;
    color:#222;
}

/* Wrapper */
.woocommerce-address-fields__field-wrapper{
    display:flex;
    flex-wrap:wrap;
    /*gap:22px 40px;*/
}

/* Two Column */
#billing_first_name_field,
#billing_last_name_field,
#shipping_first_name_field,
#shipping_last_name_field{
    width:calc(50% - 20px);
}

/* Full Width */
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field,

#shipping_country_field,
#shipping_address_1_field,
#shipping_address_2_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field,
#shipping_phone_field{
    width:100%;
}

/* Every Row */
.woocommerce-address-fields__field-wrapper .form-row{
    display:flex;
    align-items:center;
    margin:0;
    gap: 10px;
}

/* Labels */
.woocommerce-address-fields__field-wrapper label{
    width:150px;
    min-width:150px;
    font-size:14px;
    font-weight:600;
    color:#333;
    line-height:1.5;
}

/* Input Wrapper */
.woocommerce-input-wrapper{
    flex:1;
}

/* Inputs */
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.select2-selection--single{
    width:100%;
    height:52px;
    border:1px solid #d8d8d8;
    border-radius:6px;
    padding:0 18px;
    background:#fff;
    font-size:15px;
    transition:.3s;
}

/* Focus */
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus{
    border-color:#1d3557;
    box-shadow:none;
    outline:none;
}

/* Select2 */
.select2-container{
    width:100%!important;
}

.select2-selection--single{
    display:flex!important;
    align-items:center;
    height:52px!important;
}

.select2-selection__rendered{
    line-height:52px!important;
    padding-left:18px!important;
}

.select2-selection__arrow{
    height:52px!important;
}

/* Optional Placeholder */
#billing_address_2::placeholder,
#shipping_address_2::placeholder{
    color:#999;
}

/* Save Button */
.account-content button.button{
    margin-top:35px;
    background:#1d3557;
    color:#fff;
    border:none;
    padding:14px 38px;
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.account-content button.button:hover{
    background:#000;
}

/* Mobile */
@media(max-width:768px){

#billing_first_name_field,
#billing_last_name_field,
#shipping_first_name_field,
#shipping_last_name_field{
    width:100%;
}

.woocommerce-address-fields__field-wrapper .form-row{
    flex-direction:column;
    align-items:flex-start;
}

.woocommerce-address-fields__field-wrapper label{
    width:100%;
    margin-bottom:8px;
}

.woocommerce-input-wrapper{
    width:100%;
}
}

/* ==========================
   Edit Address Card
========================== */

.account-content form{
    max-width:900px;
    margin:40px auto;
    background:#fff;
    padding:45px 50px;
    border:1px solid #e7e7e7;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.account-content form h2{
    margin:0 0 35px;
    padding-bottom:18px;
    border-bottom:1px solid #ececec;
    font-size:34px;
    font-weight:600;
    color:#222;
}

.woocommerce-address-fields{
    margin-top:10px;
}

.account-content button.button{
    margin-top:35px;
    background:#1d3557;
    color:#fff;
    border:none;
    padding:15px 40px;
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.account-content button.button:hover{
    background:#000;
}

/* Tablet */
@media (max-width:991px){

.account-content form{
    padding:35px;
}

}

/* Mobile */
@media (max-width:767px){

.account-content form{
    padding:25px 20px;
    border-radius:8px;
}

.account-content form h2{
    font-size:28px;
}

}