/**
 * WooCommerce Styles
 */

/* =General WooCommerce
-------------------------------------------------------------- */
.woocommerce .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.woocommerce-page .site-content {
    padding: 0px 0;
}

.woocommerce-breadcrumb {
	max-width: 80rem;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 14px;
}

.woocommerce-breadcrumb a {
    color: var(--text-color);
}

.woocommerce-breadcrumb a:hover {
    color: var(--primary-color);
}

/* =Shop Page
-------------------------------------------------------------- */
.woocommerce-shop-wrapper {
    display: flex;
    gap: 30px;
}

.shop-sidebar {
    flex: 0 0 250px;
}

.shop-content {
    flex: 1;
}

.woocommerce-result-count {
    float: left;
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
}

.woocommerce-ordering {
    float: right;
    margin: 0 0 20px;
}

.woocommerce-ordering select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* =Product Grid
-------------------------------------------------------------- */
.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.products .product {
    position: relative;
	margin-left: 0;
    overflow: hidden;
    transition: all 0.3s ease;
	background: transparent; 
	color: var(--text-color);
}

.products .product:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.woocommerce-loop-product__link {
    display: block;
    position: relative;
}

.woocommerce-loop-product__title {
    font-size: 16px;
    margin: 15px 15px 10px;
    font-weight: 500;
}

.woocommerce-loop-product__title a {
    color: var(--text-color);
}

.price {
    display: block;
    margin: 0 15px 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--green);
}

.price del {
    color: #999;
    font-weight: normal;
    font-size: 16px;
    margin-right: 5px;
}

.add_to_cart_button {
    position: relative;
    font-size: 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 1rem;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
	height: 2.75rem;
	font-weight: 600;
}

.add_to_cart_button:hover {
    background: var(--green);
    color: #fff;
}

/* =Single Product
-------------------------------------------------------------- */
.single-product .product {
    margin-bottom: 60px;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin-bottom: 20px;
}

.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flex-control-thumbs li {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.flex-control-thumbs li:hover,
.flex-control-thumbs li.flex-active {
    border-color: var(--primary-color);
}

.summary {
    padding-top: 0;
}

.product_title {
    font-size: 32px;
    margin-bottom: 20px;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.star-rating {
    font-size: 16px;
    color: #ff9800;
    margin-right: 10px;
}

.woocommerce-review-link {
    font-size: 14px;
    color: #666;
}

.woocommerce-product-details__short-description {
    margin-bottom: 30px;
    color: #666;
}

.variations_form {
    margin-bottom: 30px;
}

.variations td {
    padding: 10px 0;
}

.variations select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.single_variation_wrap {
    margin-top: 20px;
}

.quantity {
    display: inline-block;
    margin-right: 20px;
}

.quantity input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.single_add_to_cart_button {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* =Product Tabs
-------------------------------------------------------------- */
.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 2px solid #e0e0e0;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: #666;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.woocommerce-tabs .panel {
    padding: 30px 0;
}

/* =Cart Page
-------------------------------------------------------------- */
.woocommerce-cart-form {
    margin-bottom: 40px;
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.woocommerce table.shop_table th {
    padding: 15px;
    background: var(--black);
    font-weight: 600;
    text-align: left;
}

.woocommerce table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce table.shop_table .product-thumbnail {
    width: 80px;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 400px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}

.cart_totals h2 {
    margin-bottom: 20px;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 20px;
}

.cart_totals table th,
.cart_totals table td {
    padding: 10px 0;
}

.wc-proceed-to-checkout .checkout-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* =Checkout Page
-------------------------------------------------------------- */
.woocommerce-checkout {
    
}

.woocommerce-checkout-review-order {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#payment {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

#payment ul.payment_methods {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

#payment ul.payment_methods li {
    margin-bottom: 10px;
}

#place_order {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* =Messages
-------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
	position: fixed;
	left: 50%;
	transform: translate(-50%, 0%);
	bottom: 15px;
	z-index: 99;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =Mini Cart
-------------------------------------------------------------- */
.widget_shopping_cart_content {
    width: 320px;
}

.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 600px;
    overflow-y: auto;
}

.woocommerce-mini-cart-item {
    display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

.woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
}

.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 16px;
	background-color: transparent;
}

.woocommerce-mini-cart__buttons {
    margin-top: 15px;
}

.woocommerce-mini-cart__buttons a {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

/* =Responsive
-------------------------------------------------------------- */
@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .single-product .product {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-checkout {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-shop-wrapper {
        flex-direction: column;
    }
    
    .shop-sidebar {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: 1fr;
    }
    
    .cart_totals {
        width: 100%;
    }
}

/* =Shop Page Custom Styles
-------------------------------------------------------------- */
.shop-page-wrapper {
    padding: 40px 0;
}

.woocommerce-products-header {
    margin-bottom: 30px;
}

.woocommerce-products-header__title {
    font-size: 2rem;
    font-weight: 400;
}

/* Category Navigation */
.product-categories-nav {
    margin-bottom: 30px;
}

.category-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav-list li {
    margin: 0;
}

.category-nav-list li a {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-nav-list li a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.category-nav-list li.active a {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

/* Shop Filters */
.shop-filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
}

.woocommerce-product-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.woocommerce-product-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.woocommerce-product-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px 10px;
    color: #666;
}

.shop-view-options {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.shop-view-options .woocommerce-ordering {
    margin: 0;
}

/* Category Info Block */
.category-info-block {
    display: flex;
	align-items: center;
    gap: 15%;
    margin-bottom: 40px;
    padding: 30px;
    background: transparent;
	color: var(--white);
    border-radius: 8px;
}

.category-description h2 {
	color: var(--text-color);
	margin-bottom: 2rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    --tw-text-opacity: 1;
}

.category-content {
    flex: 1;
}

.category-description h1 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.category-image {
    flex: 0 0 300px;
}

.category-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Product List View */
.products {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-list-item {
    margin-bottom: 20px;
    padding: 35px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-list-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-list-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-list-image {
    flex: 0 0 150px;
}

.product-list-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-list-info {
    flex: 1;
}

.product-list-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
	font-weight: 600
}

.product-list-title a {
    color: var(--text-color);
}

.product-list-title a:hover {
    color: var(--green);
}

.product-list-description {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
}

.product-list-action {
    flex: 0 0 200px;
    text-align: right;
}

.product-stock-info {
    margin-bottom: 30px;
    font-size: 14px;
}

.stock-quantity,
.in-stock {
	background: #e8f5e8;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
}

.out-of-stock {
    color: #e74c3c;
    font-weight: 500;
}

.product-price-box {
    margin-bottom: 15px;
}

.product-price-box .price {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-color);
	margin: 0;
}

.product-price-box .price del {
    font-size: 1.2rem;
    color: #999;
    margin-right: 5px;
}

.product-list-action .button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-list-action .button-primary-color {
	background: var(--green);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
}

.product-list-action .button:hover, .product-list-action .button-primary-color:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-filters-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce-product-search {
        max-width: 100%;
    }
    
    .category-info-block {
        flex-direction: column;
    }
    
    .category-image {
        flex: 1;
    }
    
    .product-list-inner {
        flex-direction: column;
    }
    
    .product-list-image,
    .product-list-action {
        flex: 1;
        width: 100%;
    }
    
    .product-list-action {
        text-align: left;
        margin-top: 15px;
    }
}

/* =Pagination Styles
-------------------------------------------------------------- */
.woocommerce-pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.woocommerce-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    min-width: 40px;
    height: 40px;
    line-height: 24px;
    text-align: center;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers:hover {
    background: #00a652;
    color: #fff;
    border-color: #00a652;
}

.woocommerce-pagination .page-numbers.current {
    background: #00a652;
    color: #fff;
    border-color: #00a652;
}

.woocommerce-pagination .page-numbers.dots {
    background: none;
    border: none;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
    padding: 8px 16px;
    font-weight: normal;
}

/* Breadcrumbs Enhancement */
.woocommerce-breadcrumb {
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-bottom: none;
	color: rgba(234, 240, 255, .42);
	padding: 1.5rem 0px 0px;
}

.woocommerce-breadcrumb a {
    color: rgba(234, 240, 255, .42);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--white);
    text-decoration: none;
}


.woocommerce-breadcrumb > * {
    margin: 0 5px;
}

.woocommerce-breadcrumb > *:first-child {
    margin-left: 0;
}

/* Results Count */
.woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* No Products Found */
.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 20px;
}

.woocommerce-no-products-found .woocommerce-info {
    display: inline-block;
    margin-bottom: 20px;
}

/* Tag Cloud Widget for Product Tags */
.tagcloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 10px 0;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 14px !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background: #00a652;
    color: #fff;
}

/* Sorting Enhancement */
.woocommerce-ordering select {
    padding: 10px 35px 10px 15px;
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M6 8L0 0h12z"/></svg>') no-repeat right 15px center;
    background-size: 12px;
    cursor: pointer;
}

/* Loading State */
.woocommerce-product-list.processing {
    position: relative;
    opacity: 0.5;
}

.woocommerce-product-list.processing:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #00a652;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button States */
.ajax_add_to_cart.loading {
    position: relative;
    color: transparent;
}

.ajax_add_to_cart.loading:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ajax_add_to_cart.added {
    background: #28a745;
}

.product-list-item.adding-to-cart {
    opacity: 0.7;
}

/* =Single Product Page
-------------------------------------------------------------- */

.single-product-content {
    margin-bottom: 60px;
}

.product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Product Gallery */
.product-gallery-wrapper {
    position: relative;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin-bottom: 20px;
}

.woocommerce-product-gallery__image {
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flex-control-thumbs li {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flex-control-thumbs li:hover,
.flex-control-thumbs li.flex-active {
    border-color: #00a652;
}

.flex-control-thumbs li img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Summary */
.product-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.product_title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-sku {
    font-size: 14px;
    color: color: var(--text-color);
	font-weight: 600;
}

.product-sku span {
    font-weight: 600;
}

/* Price */
.summary .price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.summary .price del {
    font-size: 1.5rem;
    color: #999;
    margin-right: 10px;
}

/* Short Description */
.woocommerce-product-details__short-description {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Add to Cart */
.single_add_to_cart_button {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    width: auto;
    min-width: 200px;
}

.quantity {
    display: inline-block;
    margin-right: 20px;
}

.quantity input {
    width: 80px;
    height: 50px;
    font-size: 16px;
    text-align: center;
}

/* Callback Button */
.product-callback-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.btn-callback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-callback:hover {
    background: #e68900;
}

/* Custom Features */
.product-custom-features {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.product-custom-features h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Product Meta */
.product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.product_meta > span {
    display: block;
    margin-bottom: 8px;
}

/* Product Tabs */
.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    white-space: nowrap;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #00a652;
    border-bottom-color: #00a652;
}

.woocommerce-tabs .panel {
    padding: 30px 15px;
}

.woocommerce-tabs .panel h2 {
    margin-bottom: 20px;
}

/* Video wrapper */
.product-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.product-video-wrapper iframe,
.product-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-product-title {
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

body.modal-open {
    overflow: hidden;
}

/* Related Products */
.related.products {
    margin-top: 60px;
}

.related.products > h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-main-content {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }
    
    .woocommerce-tabs ul.tabs li {
        flex: 1 0 50%;
    }
    
    .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .product_title {
        font-size: 1.5rem;
    }
    
    .summary .price {
        font-size: 1.5rem;
    }
    
    .single_add_to_cart_button {
        width: 100%;
    }
    
    .related.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* =My Account Page Styles
-------------------------------------------------------------- */
.woocommerce-account .row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.woocommerce-account .col-content {
    width: 100%;
}

.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
}

/* Account Navigation */
.woocommerce-MyAccount-navigation {
    width: 250px;
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: var(--green);
    color: var(--black);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: var(--green);
    color: var(--black);
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li.is-active a:hover {
    background-color: var(--green);
    color: var(--black);
}

/* Account Content */
.woocommerce-MyAccount-content {
    flex: 1;
    background-color: var(--black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.woocommerce-MyAccount-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.woocommerce-MyAccount-content p:last-child {
    margin-bottom: 0;
}

.woocommerce-MyAccount-content a {
    color: var(--green);
    font-weight: 500;
}

.woocommerce-MyAccount-content a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* Account Forms */
.woocommerce-MyAccount-content .woocommerce-form {
    max-width: 600px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.woocommerce-MyAccount-content .form-row input[type="text"],
.woocommerce-MyAccount-content .form-row input[type="email"],
.woocommerce-MyAccount-content .form-row input[type="password"],
.woocommerce-MyAccount-content .form-row input[type="tel"],
.woocommerce-MyAccount-content .form-row textarea,
.woocommerce-MyAccount-content .form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
	background-color: var(--black);
}

.woocommerce-MyAccount-content .form-row input:focus,
.woocommerce-MyAccount-content .form-row textarea:focus,
.woocommerce-MyAccount-content .form-row select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 166, 82, 0.1);
}

.woocommerce-MyAccount-content .form-row .required {
    color: #e74c3c;
}

/* Account Tables */
.woocommerce-orders-table,
.woocommerce-MyAccount-downloads,
.woocommerce-address-fields {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td,
.woocommerce-MyAccount-downloads th,
.woocommerce-MyAccount-downloads td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-orders-table th,
.woocommerce-MyAccount-downloads th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--text-color);
}

.woocommerce-orders-table tbody tr:hover,
.woocommerce-MyAccount-downloads tbody tr:hover {
    background-color: rgba(0, 166, 82, 0.05);
}

/* Order Status */
.woocommerce-orders-table .woocommerce-order-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce-orders-table .woocommerce-order-status.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.woocommerce-orders-table .woocommerce-order-status.status-processing {
    background-color: #d1ecf1;
    color: #0c5460;
}

.woocommerce-orders-table .woocommerce-order-status.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.woocommerce-orders-table .woocommerce-order-status.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* Buttons */
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--green);
    color: var(--black);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content .button:hover {
    background-color: var(--green);
    color: var(--black);
    transform: translateY(-1px);
}

.woocommerce-MyAccount-content .woocommerce-button.alt {
    background-color: var(--secondary-color);
}

.woocommerce-MyAccount-content .woocommerce-button.alt:hover {
    background-color: var(--primary-color);
}

/* Address Cards */
.woocommerce-Address {
    background-color: var(--black);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.woocommerce-Address-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 15px;
}

.woocommerce-Address .edit {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}


@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce-MyAccount-navigation {
        width: 100%;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        border-radius: 4px;
		flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        flex-shrink: 0;
        border-bottom: none;
        border-right: 1px solid var(--border-color);
    }
    
    .woocommerce-MyAccount-navigation ul li:last-child {
        border-right: none;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 15px;
        white-space: nowrap;
        font-size: 14px;
    }
    
    .woocommerce-MyAccount-content {
        padding: 20px;
    }
    
    .woocommerce-orders-table,
    .woocommerce-MyAccount-downloads {
        font-size: 14px;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    .woocommerce-MyAccount-downloads th,
    .woocommerce-MyAccount-downloads td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content {
        padding: 15px;
    }
    
    .woocommerce-orders-table thead {
        display: none;
    }
    
    .woocommerce-orders-table tbody tr {
        display: block;
        margin-bottom: 15px;
        padding: 15px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        background-color: var(--white);
    }
    
    .woocommerce-orders-table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }
    
    .woocommerce-orders-table tbody td:before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: var(--text-color);
    }
}


.woocommerce-MyAccount-content > p:first-child {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #e74c3c;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background-color: #ffe6e6;
    color: #c0392b;
}


-------------------------------------------------------------- */
.woocommerce-MyAccount-content fieldset {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: var(--black);
}

.woocommerce-MyAccount-content fieldset legend {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    padding: 0 15px;
    background-color: var(--black);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}


.password-input {
    position: relative;
    display: block;
    width: 100%;
}

.password-input input {
    width: 100%;
    padding-right: 45px; 
    box-sizing: border-box;
}


.show-password-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--dark-gray);
    font-size: 16px;
    z-index: 2;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.show-password-input:hover {
    color: var(--primary-color);
    background-color: rgba(0, 166, 82, 0.1);
}

.show-password-input:focus {
    outline: none;
    color: var(--primary-color);
    background-color: rgba(0, 166, 82, 0.15);
}


.show-password-input:before {
    content: "\1F441"; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}

.show-password-input[aria-pressed="true"]:before {
    content: "\1F576"; 
}


.show-password-input i:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f06e"; /* fa-eye */
}

.show-password-input[aria-pressed="true"] i:before {
    content: "\f070"; /* fa-eye-slash */
}


.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
    max-width: 600px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first {
    margin-right: 4%;
}

/* Кнопка збереження змін */
.woocommerce-MyAccount-content .woocommerce-Button {
    background-color: var(--green);
    color: var(--black);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-Button:hover {
    background-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 166, 82, 0.3);
}

/* Responsive для форми редагування */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
    }
    
    .woocommerce-MyAccount-content fieldset {
        padding: 20px;
    }
    
    .woocommerce-MyAccount-content fieldset legend {
        font-size: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .password-input input {
        padding-right: 40px;
    }
    
    .show-password-input {
        right: 8px;
        padding: 6px;
        font-size: 14px;
    }
}

/* =Single Product Page Hero Section
-------------------------------------------------------------- */

.single-product-content {
    margin-bottom: 40px;
}

.product-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    min-height: 400px;
}


.product-badge {
    display: inline-block;
    background: #e8f5e8;
    color: #4caf50;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product_title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.product-short-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4A90E2 0%, #7BB3F0 50%, #4CAF50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: rgba(76, 175, 80, 0.8);
    border-radius: 50%;
    z-index: -1;
}

.hero-image-wrapper img {
    max-width: 300px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333;
}

.zoom-icon:hover {
    background: white;
    transform: scale(1.1);
}

/* Purchase section - below hero */
.product-purchase-section {
    
}

.purchase-left {
    
}

.purchase-right {
	width: 100%;
	max-width: 450px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
	
}

.large-price {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
	display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.large-price .currency {
    font-size: 2rem;
    vertical-align: top;
}

.price-details {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.stock-info {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
	text-align: center;
}

.purchase-form {
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 500;
    font-size: 14px;
}

.quantity-input {
    width: 80px;
    height: 45px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.add-to-cart-btn {
	display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.product-meta-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    font-size: 14px;
}

.meta-item {
    display: flex;
    margin-bottom: 8px;
}

.callback-btn {
    width: 100%;
    background: #FF9500;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.callback-btn:hover {
    background: #E6850E;
}

/* Tabs section - full width */
.product-tabs-section {
    width: 100%;
    margin-top: 60px;
}

.woocommerce-tabs {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
	overflow: unset;
}

.woocommerce-tabs ul.tabs li {
    flex: 1;
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 20px;
    text-align: center;
    color: color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--green);
    border-bottom-color: var(--green);
}

.woocommerce-tabs ul.tabs li a:hover {
    color: var(--green);
	border-bottom-color: var(--green);
}

.woocommerce-Tabs-panel {
    padding: 40px;
    background: transparent;
}

.woocommerce-Tabs-panel h2 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: color: var(--text-color);
}

.woocommerce-Tabs-panel p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: color: var(--text-color);
}

/* Related products at the bottom */
.related.products {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-hero-section {
        gap: 40px;
    }
    
    .hero-image-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .product_title {
        font-size: 2.5rem;
    }
    
    .large-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .product-purchase-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .purchase-right {
        position: static;
        order: -1;
    }
    
    .hero-image-wrapper {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .product_title {
        font-size: 2rem;
    }
    
    .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    
    .woocommerce-tabs ul.tabs li a {
        text-align: left;
    }
    
    .woocommerce-Tabs-panel {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .product_title {
        font-size: 1.75rem;
    }
    
    .hero-image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .large-price {
        font-size: 2rem;
    }
    

}

/**
 * Product Tabs Styles
 */

/* Photos Tab */
.product-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.product-photo-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-photo-item:hover {
    transform: scale(1.05);
}

.product-photo-thumb {
    width: 100%;
    height: auto;
    display: block;
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    pointer-events: all;
    transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Video Tab */
.product-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.product-video-wrapper iframe,
.product-video-wrapper video {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 8px;
}

/* Documentation Tab */
.product-documentation {
    max-width: 800px;
}

.product-documentation h3 {
    margin-bottom: 15px;
}

.product-documentation h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-documentation h3 a:hover {
    text-decoration: underline;
}

.wiki-excerpt,
.wiki-content {
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--secondary-color);
}

/* Specifications Tab */
.product-specifications {
    max-width: 800px;
}

.product-specifications table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.product-specifications table th,
.product-specifications table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.product-specifications table th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.category-info-block-outer {
	border-color: rgb(255 255 255 / 0.1);
	border-bottom-width: 1px;
}

/* Product Hero Section Layout */
.product-hero-section {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

/* Variations Sidebar */
.product-variations-sidebar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.variations-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

/* Variations Selector */
.variations-selector {
    display: flex;
    flex-direction: row;
	justify-content: center;
    gap: 10px;
}

/* Variation Group */
.variation-group {
    display: flex;
    gap: 8px;
}

.variation-group-options {
    display: grid;
    gap: 10px;
}

/* Variation Option Buttons */
.variation-option-btn {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.variation-option-btn:hover:not(.disabled) {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
	background: transparent;
    color: #000;
}

.variation-option-btn.selected {
    border-color: #4CAF50;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.variation-option-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
}

.variation-option-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e0e0e0;
	background: transparent;
    color: #000;
}

/* Large Price Display */
.large-price {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.large-price .currency {
    font-size: 32px;
    font-weight: 600;
    color: #666;
}

/* Loading state for price */
.large-price.loading {
    opacity: 0.5;
    position: relative;
}

.large-price.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid #4CAF50;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Stock Info */
.stock-info {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0;
    background-color: #e8f5e9;
    color: #2e7d32;
    text-align: center;
}

.stock-info.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

.stock-info .select-options {
    color: #2e7d32;
    font-style: normal;
    font-weight: 600;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
    background: #5c6bc0;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.single_add_to_cart_button:hover:not(:disabled) {
    background: #3f51b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 107, 192, 0.3);
}

.single_add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc !important;
    transform: none !important;
}

.single_add_to_cart_button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.single_add_to_cart_button.loading::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.single_add_to_cart_button svg {
    width: 24px;
    height: 24px;
}

/* Hidden variations for compatibility */
.variations_form .variations {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-hero-section {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .product-variations-sidebar {
        grid-column: 1 / -1;
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .variation-group-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero-section {
        grid-template-columns: 1fr;
    }
    
    .large-price {
        font-size: 36px;
    }
    
    .large-price .currency {
        font-size: 24px;
    }
    
    .variation-group-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single_add_to_cart_button {
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .variation-group-options {
        grid-template-columns: 1fr;
    }
    
    .variation-option-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* WooCommerce Notices */
.woocommerce-notices-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.woocommerce-message,
.woocommerce-error {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
    font-weight: 500;
}

.woocommerce-message {
    background-color: #4caf50;
    color: #fff;
    border-left: 4px solid #2e7d32;
}

.woocommerce-error {
    background-color: #f44336;
    color: #fff;
    border-left: 4px solid #c62828;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Scrollbar for Sidebar */
.product-variations-sidebar::-webkit-scrollbar {
    width: 6px;
}

.product-variations-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-variations-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.product-variations-sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Product Title Block */
.product-title-block {
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: space-between;
    margin-bottom: 20px;
}

.product_title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: color: var(--text-color);
}

.meta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: color: var(--text-color);
}

.meta-item span:first-child {
    font-weight: 600;
}

/* Product Short Description */
.product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: color: var(--text-color);
    margin-bottom: 24px;
}

/* Purchase Right Section */
.purchase-right {
    display: flex;
    flex-direction: column;
}

/* Dark Theme Support */
[data-theme="dark"] .product-variations-sidebar {
    background: #1e1e1e;
    border-color: #333;
}

[data-theme="dark"] .variations-title {
    color: #e0e0e0;
    border-bottom-color: #333;
}

[data-theme="dark"] .variation-option-btn {
    background: #2a2a2a;
    border-color: #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .variation-option-btn:hover:not(.disabled) {
    background: #1a3a1a;
    border-color: #4CAF50;
}

[data-theme="dark"] .variation-option-btn.selected {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

[data-theme="dark"] .variation-option-btn.disabled {
    background: #1a1a1a;
    color: #666;
}

[data-theme="dark"] .large-price {
    color: #e0e0e0;
}

[data-theme="dark"] .product_title {
    color: #e0e0e0;
}

[data-theme="dark"] .stock-info {
    background: #1a3a1a;
    color: #81c784;
}

[data-theme="dark"] .stock-info.out-of-stock {
    background: #3a1a1a;
    color: #e57373;
}

/* Animation for option changes */
.variation-option-btn {
    position: relative;
    overflow: hidden;
}

.variation-option-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.variation-option-btn:active::after {
    width: 200px;
    height: 200px;
}

/* Special styling for first attribute (primary choice) */
.variation-group:first-child .variation-option-btn {
    font-size: 15px;
    padding: 16px 18px;
    font-weight: 600;
}

.price-block {
	display: flex;
	gap: 30px;
}


/* ═══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════════════════════ */
:root {
    --ab-bg:         #05070b;
    --ab-bg-card:    rgba(255,255,255,.045);
    --ab-bg-card-h:  rgba(255,255,255,.07);
    --ab-stroke:     rgba(255,255,255,.10);
    --ab-stroke-h:   rgba(255,255,255,.20);
    --ab-text:       #eaf0ff;
    --ab-muted:      rgba(234,240,255,.60);
    --ab-muted2:     rgba(234,240,255,.38);
    --ab-accent:     #34d399;
    --ab-accent2:    #10b981;
    --ab-yellow:     #fbbf24;
    --ab-red:        #f87171;
    --ab-radius:     16px;
    --ab-radius-sm:  10px;
    --ab-radius-pill:999px;
    --ab-shadow:     0 18px 55px rgba(0,0,0,.40);
    --ab-transition: .16s ease;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════════════════════════ */
.ab-catalog-page {
    background: var(--ab-bg);
    color: var(--ab-text);
    min-height: 60vh;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.ab-catalog-hero {
   margin-top: 2.5rem;
}

.ab-catalog-hero__inner {
    display: grid;
    gap: 2rem;
    align-items: flex-end;
    grid-template-columns: repeat(12, minmax(0, 1fr))
}

@media (min-width: 1024px) {

	.ab-catalog-hero__left {
		grid-column: span 8 / span 8;
	}
	
	.ab-quick-pick {
		grid-column: span 4 / span 4;
	}

}

@media (max-width: 900px) {
    .ab-catalog-hero__inner { grid-template-columns: 1fr; }
}

.ab-cat-tags {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border-width: 1px;
    background-color: rgba(255, 255, 255, .03);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgba(234, 240, 255, .62);
    border-color: rgba(255, 255, 255, .10);
}

.h-1\.5 {
    height: 0.375rem;
}

.w-1\.5 {
    width: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

.bg-\[var\(--accent\)\] {
    background-color: var(--green);
}

.ab-cat-tags__sep { color: var(--ab-muted2); }

.ab-catalog-hero__title {
    font-weight: 700;
    line-height: 1.15;
	letter-spacing: -0.025em;
    color: var(--ab-text);
    margin-top: 1rem;
}

@media (min-width: 768px) {
   .ab-catalog-hero__title {
        font-size: 3rem;
        line-height: 1;
    }
}

.ab-catalog-hero__desc {
    font-size: 16px;
    color: rgba(234, 240, 255, .62);
    line-height: 1.625;
    margin-top: 1rem;
    max-width: 42rem;
}

.ab-catalog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
	margin-top: 1.5rem;
}

/* ── Quick-pick widget ── */

.ab-quick-pick__inner {
    padding: 1.25rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    isolation: isolate;
}

.ab-quick-pick__inner:hover::before {
    opacity: 1;
}

.ab-quick-pick__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .10), transparent 60%), radial-gradient(360px 240px at var(--mx, 50%) var(--my, 40%), rgba(16, 185, 129, .10), transparent 55%);
    opacity: .0;
    transition: opacity .18s ease;
    pointer-events: none;
    z-index: 1;
}

.ab-quick-pick__label {
	font-size: 12px;
	font-weight: 400;
	color: rgba(234, 240, 255, .42);
    font-size: 0.75rem;
    line-height: 1rem;
	font-weight: 600;
}

.ab-quick-pick__title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 0.25rem;	
}

.ab-quick-pick__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
	margin-top: 1rem;
}

.ab-quick-pick__item {
    display: block;
    border: 1px solid var(--ab-stroke);
    background: rgba(255,255,255,.03);
    text-decoration: none;
	padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    text-align: left;
    border-radius: 1rem;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.ab-quick-pick__item:hover {
    border-color: rgba(255,255,255,.18);
	transform: translateY(-2px);
    background: rgba(255,255,255,.06);
}

.ab-quick-pick__name {
    display: block;
    font-weight: 600;
    color: var(--ab-text);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.ab-quick-pick__hint {
    display: block;
    color: rgba(234, 240, 255, .42);
    margin-top: 2px;
	font-size: 0.75rem;
    line-height: 1rem;
	font-weight: 600;
}

.ab-quick-pick__note {
    color: rgba(234, 240, 255, .42);
	font-size: 0.75rem;
    line-height: 1rem;
	margin-top: 1rem;
	font-weight: 600
}

/* ═══════════════════════════════════════════════════════════════
   TOOLBAR (filter pills + sort/view)
═══════════════════════════════════════════════════════════════ */
.ab-catalog-toolbar {
    border-top: 1px solid var(--ab-stroke);
    border-bottom: 1px solid var(--ab-stroke);
    padding: 1rem;
    max-width: 80rem;
    margin: 0 auto;
	position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    isolation: isolate;
	border-radius: 1.5rem;
	margin-top: 2.5rem;
}

.ab-catalog-toolbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .10), transparent 60%), radial-gradient(360px 240px at var(--mx, 50%) var(--my, 40%), rgba(16, 185, 129, .10), transparent 55%);
    opacity: .0;
    transition: opacity .18s ease;
    pointer-events: none;
    z-index: 1;
}

.ab-catalog-toolbar:hover::before {
    opacity: 1;
}

.ab-catalog-toolbar__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

/* Filter pills */
.ab-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ab-catalog-toolbar__right {
	display: flex;
    flex-direction: row;
	gap: 0.75rem;
}

.ab-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--ab-stroke);
    border-radius: var(--ab-radius-pill);
    background: rgba(255,255,255,.03);
    font-size: 0.875rem;
    line-height: 1.25rem;
	font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
    cursor: pointer;
}

.ab-pill:hover {
    border-color: var(--ab-stroke-h);
    color: var(--white);
	transform: translateY(-2px);
}

.ab-pill--active {
    border-color: rgba(16, 185, 129, .55);
    background: rgba(16, 185, 129, .10);
    color: var(--ab-accent);
    font-weight: 600;
}

/* Sort */
.ab-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
	font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
    border-radius: 1rem;
}

.ab-sort__label {
    font-size: 0.875rem;
    line-height: 1.25rem;
	font-weight: 600;
    color: rgba(234, 240, 255, .42);
    white-space: nowrap;
}

.ab-sort__wrap {
    position: relative;
}

.ab-sort__select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--ab-stroke);
    border-radius: 10px;
    color: var(--ab-text);
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 6px 22px 6px 12px;
    cursor: pointer;
    min-width: 106px;
}

.ab-sort__select:focus {
    outline: none;
    border-color: var(--ab-accent);
}

/* View toggle */
.ab-view-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
    border-radius: 1rem;
}

.ab-view-toggle__label {
    font-size: 0.875rem;
    line-height: 1.25rem;
	font-weight: 600;
    color: rgba(234, 240, 255, .42);
}

.ab-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
	padding-left: 0.75rem;
    padding-right: 0.75rem;
    border: 1px solid var(--ab-stroke);
    border-radius: 0.75rem;
    background: rgba(255,255,255,.03);
    color: var(--ab-muted);
    font-size: 0.875rem;
    line-height: 1.25rem;
	font-weight: 600;
    text-decoration: none;
    transition: var(--ab-transition);
	opacity: 0.7;	
}

.ab-view-btn:hover {
    border-color: var(--ab-stroke-h);
    color: var(--ab-text);
}

.ab-view-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .05);
}


.ab-view-btn--active {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, .05);
}

.ab-view-btn--reset {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.ab-view-btn--reset:hover {
	border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
	transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT LOOP WRAPPER
═══════════════════════════════════════════════════════════════ */
.ab-catalog-products {
	margin-top: 1.5rem;
}

/* Override WooCommerce ul.products */
.ab-catalog-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-catalog-products.list ul.products {
	 grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
    .ab-catalog-products ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .ab-catalog-products ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .ab-catalog-products ul.products { grid-template-columns: 1fr; }
}

/* List view overrides */
.ab-catalog-products ul.products.ab-list-view {
    grid-template-columns: 1fr;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD (grid)
═══════════════════════════════════════════════════════════════ */
.ab-product-card {
    position: relative;
    border-radius: var(--ab-radius);
}

.ab-product-card__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ab-bg-card);
    border: 1px solid var(--ab-stroke);
    border-radius: var(--ab-radius);
    overflow: hidden;
    transition: border-color var(--ab-transition), box-shadow var(--ab-transition);
    cursor: pointer;
}

.ab-product-card__inner:hover {
    border-color: var(--ab-stroke-h);
    box-shadow: var(--ab-shadow);
}

/* Badge */
.ab-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 6px;
}

.ab-badge--new  { background: #1e40af; color: #bfdbfe; }
.ab-badge--best { background: #78350f; color: #fde68a; }
.ab-badge--sale { background: #7f1d1d; color: #fca5a5; }

/* Image */
.ab-product-card__img-wrap {
    position: relative;
    background: rgba(255,255,255,.025);
    border-bottom: 1px solid var(--ab-stroke);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.ab-product-card__img-wrap img,
.ab-product-card__img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.ab-product-card__img-wrap img {
    object-fit: cover;
    transition: transform .25s ease;
}

.ab-product-card__inner:hover .ab-product-card__img-wrap img {
    transform: scale(1.04);
}

/* Status dot */
.ab-product-card__dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ab-accent);
    box-shadow: 0 0 0 3px rgba(52,211,153,.25);
}

/* Body */
.ab-product-card__body {
    padding: 14px 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-product-card__cat {
    font-size: 11px;
    color: var(--ab-muted2);
    text-transform: uppercase;
    letter-spacing: .6px;
}

.ab-product-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.ab-product-card__title a {
    color: var(--ab-text);
    text-decoration: none;
}

.ab-product-card__title a:hover {
    color: var(--ab-accent);
}

.ab-product-card__desc {
    font-size: 12px;
    color: var(--ab-muted);
    line-height: 1.5;
    margin: 0;
}

/* Tags */
.ab-product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.ab-product-card__tag {
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid var(--ab-stroke);
    border-radius: 6px;
    color: var(--ab-muted);
    background: rgba(255,255,255,.03);
}

/* Footer */
.ab-product-card__footer {
    padding: 12px 16px 14px;
    border-top: 1px solid var(--ab-stroke);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ab-product-card__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.ab-product-card__price-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ab-muted2);
    margin-bottom: 2px;
}

.ab-product-card__price .woocommerce-Price-amount,
.ab-product-list-item__price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--ab-text);
}

.ab-product-card__price ins {
    text-decoration: none;
}

.ab-product-card__price del {
    font-size: 13px;
    color: var(--ab-muted2);
}

.ab-product-card__actions {
    display: flex;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT LIST ITEM
═══════════════════════════════════════════════════════════════ */
.ab-product-list-item {
    border-radius: var(--ab-radius);
}

.ab-product-list-item__inner {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--ab-bg-card);
    border: 1px solid var(--ab-stroke);
    border-radius: var(--ab-radius);
    padding: 14px 16px;
    transition: border-color var(--ab-transition), box-shadow var(--ab-transition);
}

.ab-product-list-item__inner:hover {
    border-color: var(--ab-stroke-h);
    box-shadow: 0 8px 24px rgba(0,0,0,.30);
}

@media (max-width: 640px) {
    .ab-product-list-item__inner {
        grid-template-columns: 80px 1fr;
    }
    .ab-product-list-item__action {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.ab-product-list-item__img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(255,255,255,.025);
}

.ab-product-list-item__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-product-list-item__info {
    min-width: 0;
}

.product-text-block-inner {
	display: flex;
    align-items: flex-start;
    justify-content: space-between;
}



.ab-product-list-item__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.ab-product-list-item__title a {
    color: var(--ab-text);
    text-decoration: none;
}

.ab-product-list-item__title a:hover { color: var(--ab-accent); }

.ab-product-list-item__desc {
    font-size: 13px;
    color: var(--ab-muted);
    margin: 4px 0 6px;
    line-height: 1.5;
}

.ab-product-list-item__price .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--ab-text);
}

.ab-product-list-item__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 160px;
	text-align: right;
}

.ab-product-list-item__buttons {
    display: flex;
	margin-top: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   STOCK BADGE
═══════════════════════════════════════════════════════════════ */
.ab-stock {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ab-stock--in        { color: var(--ab-accent); }
.ab-stock--out       { color: var(--ab-red); }
.ab-stock--backorder { color: var(--ab-yellow); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 1rem;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .10);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
    white-space: nowrap;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.ab-btn--outline {
    border-color: var(--ab-stroke);
    background: rgba(255,255,255,.03);
    color: var(--ab-text);
}

.ab-btn--outline:hover {
    border-color: var(--ab-stroke-h);
    background: rgba(255,255,255,.07);
    color: var(--ab-text);
	transform: translateY(-2px);
}

.ab-btn--primary {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #07110c;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(16,185,129,.30);
}

.ab-btn--primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(16,185,129,.42);
    color: #07110c;
	transform: translateY(-2px);
}

.ab-btn--ghost {
    background: rgba(255,255,255,.04);
    border-color: var(--ab-stroke);
    color: var(--ab-text);
}

.ab-btn--ghost:hover {
    background: rgba(255,255,255,.08);
    border-color: var(--ab-stroke-h);
    color: var(--ab-text);
}

.ab-btn--sm {
    font-size: 16px;
    border-radius: 1rem;
    flex: 1;
}

.ab-btn--lg {
    font-size: 16px;
    border-radius: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════ */
.ab-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.ab-pagination ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-pagination ul li a,
.ab-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--ab-stroke);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    color: var(--ab-muted);
    font-size: 14px;
    text-decoration: none;
    transition: var(--ab-transition);
}

.ab-pagination ul li a:hover {
    border-color: var(--ab-stroke-h);
    color: var(--ab-text);
}

.ab-pagination ul li span.current {
    border-color: var(--ab-accent);
    background: rgba(52,211,153,.12);
    color: var(--ab-accent);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   INTEGRATORS CTA
═══════════════════════════════════════════════════════════════ */
.ab-integrators-cta {
	margin-top: 3.5rem;
}

.ab-integrators-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--ab-stroke);
    border-radius: 20px;
    padding: 28px 32px;
}

.ab-integrators-cta__eyebrow {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--ab-muted2);
    margin-bottom: 8px;
}

.ab-integrators-cta__title {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 700;
    color: var(--ab-text);
    margin: 0 0 8px;
}

.ab-integrators-cta__text {
    font-size: 14px;
    color: var(--ab-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
}

.ab-integrators-cta__right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

:root {
    --sp-bg:         #05070b;
    --sp-bg-card:    rgba(255,255,255,.045);
    --sp-stroke:     rgba(255,255,255,.10);
    --sp-stroke-h:   rgba(255,255,255,.20);
    --sp-text:       #eaf0ff;
    --sp-muted:      rgba(234,240,255,.60);
    --sp-muted2:     rgba(234,240,255,.36);
    --sp-accent:     #34d399;
    --sp-accent2:    #10b981;
    --sp-yellow:     #fbbf24;
    --sp-red:        #f87171;
    --sp-radius:     16px;
    --sp-radius-lg:  22px;
    --sp-transition: .16s ease;
}

/* ════════════════════════════════════════════════════════════════
   PAGE WRAPPER
════════════════════════════════════════════════════════════════ */
.ab-single-product {
    color: var(--sp-text);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

/* ════════════════════════════════════════════════════════════════
   BREADCRUMBS
════════════════════════════════════════════════════════════════ */
.ab-sp-breadcrumbs {
    padding: 0px 0 8px;
    font-size: 13px;
    color: var(--sp-muted2);
}

.ab-sp-breadcrumbs a {
    color: var(--sp-muted2);
    text-decoration: none;
}

.ab-sp-breadcrumbs a:hover {
    color: var(--sp-text);
}

.ab-sp-breadcrumbs .breadcrumb_last {
    color: var(--sp-muted);
}

/* ════════════════════════════════════════════════════════════════
   TOP LAYOUT: 7 / 5 grid
════════════════════════════════════════════════════════════════ */
.ab-sp-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 32px;
    align-items: start;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .ab-sp-layout { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   GALLERY COLUMN
════════════════════════════════════════════════════════════════ */

/* Main image */
.ab-sp-main-img {
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,.02);
    aspect-ratio: 4/3;
	max-width: 700px;
}

.ab-sp-main-img__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}

/* Thumbnails */
.ab-sp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.ab-sp-thumb {
    border: 1px solid var(--sp-stroke);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.02);
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1;
    transition: border-color var(--sp-transition), transform var(--sp-transition);
}

.ab-sp-thumb:hover {
    border-color: var(--sp-stroke-h);
    transform: translateY(-2px);
	background: transparent
}

.ab-sp-thumb--active {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 2px rgba(52,211,153,.25);
}

.ab-sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Feature cards */
.ab-sp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .ab-sp-features { grid-template-columns: 1fr; }
}

.ab-sp-feature-card {
    border: 1px solid var(--sp-stroke);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    padding: 14px 16px;
}

.ab-sp-feature-card__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--sp-muted2);
    margin-bottom: 4px;
}

.ab-sp-feature-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-text);
    line-height: 1.2;
}

.ab-sp-feature-card__desc {
    font-size: 12px;
    color: var(--sp-muted);
    margin-top: 3px;
    line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════════
   BUY CARD COLUMN
════════════════════════════════════════════════════════════════ */
.ab-sp-buy-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 901px) {
    .ab-sp-buy-col {
        position: sticky;
        top: 90px; /* adjust to your header height */
    }
}

/* Buy card container */
.ab-sp-buy-card {
    background: linear-gradient(180deg, rgba(20,24,32,.80), rgba(10,12,18,.90));
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius-lg);
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Header ── */
.ab-sp-buy-card__eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--sp-muted);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sp-stroke);
    border-radius: 99px;
    padding: 4px 12px;
    width: fit-content;
    margin-bottom: 8px;
}

.ab-sp-buy-card__eyebrow a {
    color: var(--sp-muted);
    text-decoration: none;
}

.ab-sp-buy-card__eyebrow a:hover {
    color: var(--sp-text);
}

.ab-sp-buy-card__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 8px;
    line-height: 1.15;
}

.ab-sp-buy-card__desc {
    font-size: 14px;
    color: var(--sp-muted);
    line-height: 1.6;
    margin: 0 0 8px;
}

.ab-sp-buy-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.ab-sp-stars { color: var(--sp-yellow); letter-spacing: 1px; }

.ab-sp-buy-card__meta-muted { color: var(--sp-muted); }
.ab-sp-buy-card__meta-dot   { color: var(--sp-muted2); }

/* ── Price block ── */
.ab-sp-price-block {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius);
    padding: 16px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.ab-sp-price-block__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--sp-muted2);
    margin-bottom: 4px;
}

.ab-sp-price-block__price .woocommerce-Price-amount,
#ab-sp-price-display .woocommerce-Price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--sp-text);
    text-shadow: 0 0 24px rgba(16,185,129,.2);
    letter-spacing: .3px;
}

.ab-sp-price-block__price del .woocommerce-Price-amount { font-size: 16px; color: var(--sp-muted2); }
.ab-sp-price-block__price ins { text-decoration: none; }

.ab-sp-price-block__vat {
    font-size: 12px;
    color: var(--sp-muted);
    margin-top: 2px;
}

.ab-sp-price-block__stock-label {
    font-size: 11px;
    color: var(--sp-muted2);
    text-align: right;
    margin-bottom: 4px;
}

.ab-sp-price-block__stock-val {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.ab-stock--in        { color: var(--sp-accent); }
.ab-stock--out       { color: var(--sp-red); }
.ab-stock--backorder { color: var(--sp-yellow); }

/* ── Variations ── */
.ab-sp-hidden-select { display: none !important; }

.ab-sp-var-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-sp-var-group__label {
    font-size: 13px;
    color: var(--sp-muted);
}

.ab-sp-var-group__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.ab-sp-var-opt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius);
    background: rgba(255,255,255,.03);
    cursor: pointer;
    text-align: left;
    transition: var(--sp-transition);
}

.ab-sp-var-opt:hover {
    border-color: var(--sp-stroke-h);
    background: rgba(255,255,255,.06);
}

.ab-sp-var-opt--active {
    border-color: var(--sp-accent) !important;
    background: rgba(52,211,153,.10) !important;
    box-shadow: 0 0 0 1px rgba(52,211,153,.5) inset,
                0 0 0 3px rgba(52,211,153,.12);
}

.ab-sp-var-opt__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-text);
}

.ab-sp-var-opt__hint {
    font-size: 12px;
    color: var(--sp-muted);
    margin-top: 2px;
}

.ab-sp-var-hint {
    font-size: 12px;
    color: var(--sp-muted2);
    min-height: 18px;
}

/* ── Qty stepper ── */
.ab-sp-qty-label {
    font-size: 13px;
    color: var(--sp-muted);
    margin-bottom: 8px;
}

.ab-sp-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--sp-stroke-h);
    border-radius: var(--sp-radius);
    overflow: hidden;
    background: rgba(255,255,255,.025);
}

.ab-sp-qty__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--sp-text);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--sp-transition);
    line-height: 1;
}

.ab-sp-qty__btn:hover { background: rgba(255,255,255,.06); }

.ab-sp-qty__input {
    flex: 1;
    height: 48px;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--sp-text);
    -moz-appearance: textfield;
}

.ab-sp-qty__input::-webkit-inner-spin-button,
.ab-sp-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ── CTA buttons ── */
.ab-sp-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
	margin-top: 12px;
}

.ab-sp-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: var(--sp-radius);
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #071510;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(16,185,129,.35);
    transition: filter var(--sp-transition), box-shadow var(--sp-transition);
    text-decoration: none;
    width: 100%;
}

.ab-sp-btn-cart:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 40px rgba(16,185,129,.48)!important;
    color: #071510;
	background: linear-gradient(135deg, #10b981, #34d399)!important;
}

.ab-sp-btn-cart:disabled {
    opacity: .45;
    cursor: not-allowed;
    filter: none;
    box-shadow: none;
}

.ab-sp-btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: var(--sp-radius);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sp-stroke);
    color: var(--sp-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sp-transition), border-color var(--sp-transition);
    width: 100%;
}

.ab-sp-btn-buy:hover {
    background: rgba(255,255,255,.08);
    border-color: var(--sp-stroke-h);
}

/* ── Trust badges ── */
.ab-sp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ab-sp-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    border: 1px solid var(--sp-stroke);
    border-radius: 12px;
    padding: 10px 8px;
    background: rgba(255,255,255,.02);
    font-size: 11px;
    color: var(--sp-muted);
    line-height: 1.3;
}

.ab-sp-trust__icon { font-size: 16px; }

/* ── Meta rows ── */
.ab-sp-meta-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ab-sp-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid var(--sp-stroke);
    font-size: 13px;
}

.ab-sp-meta-row__key { color: var(--sp-muted); }
.ab-sp-meta-row__val { color: var(--sp-text); font-weight: 600; text-align: right; }

/* ── Toast (inline in card) ── */
.ab-sp-toast {
    border: 1px solid var(--sp-stroke);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    padding: 14px 16px;
    margin-top: 4px;
}

.ab-sp-toast__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ab-sp-toast__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-text);
    margin-bottom: 2px;
}

.ab-sp-toast__text { font-size: 13px; color: var(--sp-muted); }

.ab-sp-toast__close {
    background: none;
    border: none;
    color: var(--sp-muted2);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 2px;
    flex-shrink: 0;
}

.ab-sp-toast__close:hover { color: var(--sp-text); }

/* ── Volume discount card ── */
.ab-sp-volume-card {
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius-lg);
    padding: 20px 24px;
    background: rgba(255,255,255,.025);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ab-sp-volume-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-text);
}

.ab-sp-volume-card__text {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.55;
}

.ab-sp-btn-kp {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: var(--sp-radius);
    background: var(--sp-accent2);
    color: #071510;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background var(--sp-transition);
}

.ab-sp-btn-kp:hover { background: var(--sp-accent); color: #071510; }

/* ════════════════════════════════════════════════════════════════
   TABS
════════════════════════════════════════════════════════════════ */
.ab-sp-tabs-wrap {
    margin-top: 48px;
}

.ab-sp-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--sp-stroke);
}

.ab-sp-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px 14px;
    font-size: 14px;
    color: var(--sp-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--sp-transition), border-color var(--sp-transition);
    margin-bottom: -1px;
    letter-spacing: .1px;
    font-weight: 500;
}

.ab-sp-tab-btn:hover { 
	color: var(--sp-text); 
	background: transparent
}

.ab-sp-tab-btn--active {
    color: var(--sp-text);
    font-weight: 600;
    border-bottom-color: var(--sp-accent);
}

.ab-sp-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 99px;
    background: rgba(255,255,255,.08);
    font-size: 11px;
    color: var(--sp-muted);
}

/* Tab panels */
.ab-sp-tab-panels { padding-top: 32px; }

.ab-sp-tab-panel--hidden { display: none !important; }

/* Override WooCommerce tab content typography */
.ab-sp-tab-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sp-text);
    margin-bottom: 16px;
}

.ab-sp-tab-panel p { color: var(--sp-muted); line-height: 1.7; }

.ab-sp-tab-panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    max-width: 700px;
}

.ab-sp-tab-panel table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.025);
}

.ab-sp-tab-panel table td {
    padding: 12px 16px;
    border-top: 1px solid var(--sp-stroke);
    color: var(--sp-muted);
}

.ab-sp-tab-panel table td:last-child {
    font-weight: 600;
    color: var(--sp-text);
}

/* Specifications */
.product-specifications table,
.woocommerce-product-attributes { width: 100%; }

/* Reviews override */
#reviews { color: var(--sp-text); }
#reviews input, #reviews textarea {
    background: rgba(255,255,255,.04) !important;
    border-color: var(--sp-stroke) !important;
    color: var(--sp-text) !important;
    border-radius: 10px;
}
#reviews .stars a { color: var(--sp-yellow); }
#reviews #submit {
    background: var(--sp-accent2);
    color: #071510;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    cursor: pointer;
}

/* ════════════════════════════════════════════════════════════════
   REQUEST КП SECTION
════════════════════════════════════════════════════════════════ */
.ab-sp-request {
    margin-top: 48px;
}

.ab-sp-request__inner {
    border: 1px solid var(--sp-stroke);
    border-radius: var(--sp-radius-lg);
    padding: 32px 36px;
    background: rgba(255,255,255,.025);
}

.ab-sp-request__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.ab-sp-request__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 6px;
}

.ab-sp-request__subtitle {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 0;
}

.ab-sp-request__chosen-wrap {
    font-size: 13px;
    color: var(--sp-muted);
    white-space: nowrap;
    padding-top: 4px;
}

.ab-sp-request__chosen-wrap strong {
    color: var(--sp-text);
}

.ab-sp-request__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .ab-sp-request__grid { grid-template-columns: 1fr; }
    .ab-sp-request__inner { padding: 20px 18px; }
}

.ab-sp-request__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-sp-request__field--full {
    grid-column: 1 / -1;
}

.ab-sp-request__field label {
    font-size: 13px;
    color: var(--sp-muted);
}

.ab-sp-request__field input,
.ab-sp-request__field textarea {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sp-stroke);
    border-radius: 12px;
    color: var(--sp-text);
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
    transition: border-color var(--sp-transition);
    font-family: inherit;
    resize: vertical;
}

.ab-sp-request__field input::placeholder,
.ab-sp-request__field textarea::placeholder {
    color: var(--sp-muted2);
}

.ab-sp-request__field input:focus,
.ab-sp-request__field textarea:focus {
    border-color: rgba(52,211,153,.5);
}

.ab-sp-request__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.ab-sp-request__footer .ab-sp-btn-cart {
    width: auto;
    padding: 0 32px;
    flex-shrink: 0;
}

.ab-sp-request__legal {
    font-size: 12px;
    color: var(--sp-muted2);
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   UPSELLS / RELATED
════════════════════════════════════════════════════════════════ */
.ab-single-product .upsells,
.ab-single-product .related {
    margin-top: 48px;
}

.ab-single-product .upsells h2,
.ab-single-product .related h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-text);
    margin-bottom: 20px;
}

/* reuse catalog grid card styles */
.ab-single-product .upsells ul.products,
.ab-single-product .related ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    .ab-single-product .upsells ul.products,
    .ab-single-product .related ul.products { grid-template-columns: repeat(2, 1fr); }
	
	.ab-catalog-toolbar__inner {
		flex-direction: column
	}
}

@media (max-width: 768px) { 

	.ab-catalog-toolbar__right {
		flex-direction: column
	}
	
	.ab-catalog-toolbar__right {
		width: 100%;
	}
	
	.ab-product-list-item__buttons {
		justify-content: center
	}
	
	.ab-sp-price-block__price .woocommerce-Price-amount, #ab-sp-price-display .woocommerce-Price-amount {
		font-size: 1.5rem
	}
	
}

@media (max-width: 640px) {
    .ab-product-list-item__inner {
        grid-template-columns: 1fr;
    }
	
	.ab-single-product {
		padding: 0 0px 35px;
	}
	
	.ab-sp-buy-card {
		padding: 15px 10px;
	}
	
	.ab-sp-volume-card {
		padding: 15px;
	}
}