/* WooCommerce forms/buttons styled to match Nerox theme */
.woocommerce-form-row input {
	width: 100%;
	height: 50px;
	line-height: 45px;
	padding: 0 30px;
	font-size: 14px;
	border: 2px solid transparent;
	background: var(--tp-grey-2);
	color: var(--tp-common-black);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	-ms-border-radius: 6px;
	border-radius: 6px;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{
	border: 2px solid transparent;
	background: var(--tp-grey-2);
	color: var(--tp-common-black);
}
.woocommerce form .form-row textarea{
	height: 150px;
}
.woocommerce form .form-row .input-text:focus{
	outline: none;
	border-color: var(--tp-theme-1);
	background: #fff;
}
.woocommerce form .password-input, .woocommerce form .woocommerce-form-row .input-text{
	border: 2px solid transparent;
	background: var(--tp-grey-2);
	color: var(--tp-common-black);
}
.woocommerce form .password-input:focus, .woocommerce form .woocommerce-form-row .input-text:focus{
	outline: none;
	border-color: var(--tp-theme-1);
	background: #fff;
}
.woocommerce form .form-row label{
	margin-bottom: 10px;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--tp-heading-primary);
}
.woocommerce form .form-row .required{
	color: #ff3b3b;
}
.woocommerce-Input--text, .woocommerce-Input--email{
	height: 50px;
}
.woocommerce-ResetPassword .woocommerce-Input{
	height: 50px;
}
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2{
	max-width: 100%;
}
.woocommerce .col2-set .col-1{
	margin-bottom: 40px;
}
.woocommerce .woocommerce-billing-fields__field-wrapper p.form-row{
	margin-bottom: 20px;
}
.woocommerce form .form-row textarea{
	height: 150px;
}
.woocommerce-FormRow--wide input{
	height: 50px;
}
.woocommerce-form-row input#rememberme{
	width: auto;
	height: auto;
	background: transparent;
}
.woocommerce-LostPassword a{
	font-size: 13px;
	font-weight: 500;
	color: var(--tp-common-black);
	text-transform: capitalize;
}
.woocommerce-LostPassword a:hover{
	color: var(--tp-theme-1);
}
.woocommerce-account .woocommerce-MyAccount-navigation{
	margin-bottom: 40px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
	display: flex;
	gap: 15px;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li{
	list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a{
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--tp-common-black);
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--tp-grey-2);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{
	background: var(--tp-theme-1);
	color: #fff;
}
.woocommerce form.login, .woocommerce form.register{
	border-radius: 10px;
	border: 1px solid var(--tp-border-1);
	padding: 35px 40px 40px;
	background: #fff;
}
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{
	top: 50%;
	transform: translateY(-50%);
}
.woocommerce form .woocommerce-form__label-for-checkbox{
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	color: var(--tp-text-body);
}
.woocommerce-form__input-checkbox{
	margin-right: 8px;
}
.woocommerce-account-fields .create-account input{
	height: inherit;
}
.woocommerce form .form-row .optional{
	color: var(--tp-text-body);
}
.woocommerce form .form-row .input-text{
	font-size: 14px;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
	background: var(--tp-grey-2);
	border-radius: 8px;
	padding: 20px 25px;
}
#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
	padding: 0;
}
#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{
	list-style: none;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
	background: #fff;
	border-radius: 8px;
	border: 1px solid var(--tp-border-1);
}
.woocommerce table.shop_table{
	border-radius: 8px;
	background: #fff;
	border-color: var(--tp-border-1);
}
.woocommerce-cart-form__contents thead th{
	font-size: 14px;
	font-weight: 600;
	color: var(--tp-heading-primary);
}
.woocommerce-cart-form__contents td{
	vertical-align: middle;
}
.woocommerce .cart .button, .woocommerce .cart input.button{
	height: 48px;
	line-height: 48px;
	padding: 0 28px;
}
.woocommerce-cart .cart-collaterals .cart_totals{
	border-radius: 10px;
	border: 1px solid var(--tp-border-1);
	padding: 30px 30px 35px;
	background: #fff;
}
.woocommerce-cart .cart-collaterals .cart_totals h2{
	font-size: 18px;
	margin-bottom: 15px;
}
.woocommerce-cart .cart-collaterals .cart_totals table{
	border: none;
}
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td{
	border-top: none;
	font-size: 14px;
}
.woocommerce-cart .cart-collaterals .cart_totals table th{
	font-weight: 500;
}
.woocommerce-cart .cart-collaterals .cart_totals table td{
	text-align: right;
}
.woocommerce .cart_totals .checkout-button{
	width: 100%;
	text-align: center;
}
.woocommerce form .form-row textarea{
	height: 200px;
}
.woocommerce-form-row label{
	margin-left: 0;
	margin-top: 0;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-block;
	font-size: 15px;
	font-weight: 500;
	color: var(--tp-common-white);
	background-color: var(--tp-theme-1);
	padding: 0 30px;
	height: 50px;
	line-height: 50px;
	text-transform: capitalize;
}
#customer_login h2{
	font-size: 25px;
} 
.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled, .woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled, .woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled], .woocommerce button.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled, .woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] {
	color: inherit;
	cursor: not-allowed;
	opacity: .5;
	padding: 0 35px;
	color: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #444;
	line-height: 50px;
}
.select2-container .select2-selection--single {
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	height: 50px;
	margin: 0 0 -4px;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-select: none;
	background: #F5F6F8;
	border: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 47px;
	position: absolute;
	top: 1px;
	right: 10px;
	width: 40px;
}

/* Nerox-like WooCommerce product grid */
.woocommerce ul.products,
.woocommerce-page ul.products{
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
    list-style: none;
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    border: 1px solid var(--tp-border-1);
    box-shadow: 0 18px 45px rgba(0,0,0,0.04);
    text-align: center;
    overflow: hidden;
    transition: all .3s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover{
    transform: translateY(-4px);
    border-color: var(--tp-theme-1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.06);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    font-family: var(--tp-ff-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--tp-heading-primary);
    margin: 18px 0 8px;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
    font-family: var(--tp-ff-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--tp-theme-1);
}

/* Product thumbnail */
.woocommerce ul.products li.product a img{
    border-radius: 12px;
    margin: 0 auto;
}

/* Sale badge */
.woocommerce span.onsale{
    position: absolute;
    top: 18px;
    left: 18px;
    min-width: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--tp-theme-1);
    color: var(--tp-common-white);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .09em;
    line-height: 1.5;
}

/* Star rating */
.woocommerce .star-rating{
    font-size: 11px;
    color: #f5a623;
    margin: 0 auto 8px;
}

/* Archive toolbar */
.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count{
    font-size: 14px;
    color: var(--tp-text-body);
}

/* ---- SINGLE PRODUCT LAYOUT IMPROVEMENTS ---- */

/* Constrain single-product content into a centered container that matches theme width */
.single-product .site-main > .woocommerce,
.single-product .content-area > .woocommerce,
.single-product .woocommerce{
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 15px 100px;
}

/* Two-column grid for image + summary */
.woocommerce div.product{
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

/* Card-style wrapper on single product to avoid raw white space */
.single-product .woocommerce div.product{
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 40px 46px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.06);
}

/* Mobile: stack columns */
@media (max-width: 991px){
    .woocommerce div.product{
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
}

/* Product gallery styling */
.woocommerce div.product div.images img{
    border-radius: 18px;
}

/* Product title & price */
.woocommerce div.product .product_title{
    font-family: var(--tp-ff-heading);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--tp-heading-primary);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price{
    font-size: 22px;
    font-weight: 600;
    color: var(--tp-theme-1);
    margin-bottom: 16px;
}

/* Add to cart row */
.woocommerce div.product form.cart{
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
}

.woocommerce div.product form.cart .quantity{
    margin: 0;
}

.woocommerce div.product form.cart .qty{
    max-width: 80px;
    height: 46px;
}

.woocommerce div.product form.cart button.single_add_to_cart_button{
    height: 46px;
    line-height: 46px;
    padding: 0 32px;
}

/* Meta (category, sku etc.) */
.woocommerce div.product .product_meta{
    font-size: 13px;
    color: var(--tp-text-body);
    margin-top: 8px;
}

/* Product tabs full width under grid */
.woocommerce div.product .woocommerce-tabs{
    grid-column: 1 / -1;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tp-border-1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs{
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--tp-border-1);
    display: flex;
    flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    list-style: none;
    margin: 0 32px 0 0;
    padding: 0 0 14px;
    border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--tp-grey-3);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
    border-color: var(--tp-theme-1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
    color: var(--tp-heading-primary);
}

/* Tab content typography */
.woocommerce div.product .woocommerce-Tabs-panel{
    font-size: 14px;
    line-height: 1.8;
    color: var(--tp-text-body);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
    border-radius: 10px;
    border: 1px solid var(--tp-border-1);
    background: var(--tp-grey-2);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--tp-text-body);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul{
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li{
    border: none;
    margin: 0 4px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--tp-border-1);
    font-size: 13px;
    font-weight: 500;
    color: var(--tp-text-body);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover{
    background: var(--tp-theme-1);
    border-color: var(--tp-theme-1);
    color: var(--tp-common-white);
}
