.woocommerce-store-notice {
    background: var(--ecom-primary);
    color: #fff;
    text-align: center;
    padding: 8px var(--ecom-space-md);
    font-size: 0.8125rem;
}

.woocommerce-store-notice__dismiss-link {
    color: rgba(255, 255, 255, 0.8);
    margin-left: var(--ecom-space-sm);
}

.woocommerce-breadcrumb {
    font-size: 0.8125rem;
    color: var(--ecom-text-light);
    margin-bottom: var(--ecom-space-lg);
    padding: var(--ecom-space-sm) 0;
}

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

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce-result-count {
    font-size: 0.8125rem;
    color: var(--ecom-text-light);
    margin-bottom: var(--ecom-space-md);
}

.woocommerce-ordering {
    margin-bottom: var(--ecom-space-md);
}

.woocommerce-ordering select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.8125rem;
    font-family: var(--ecom-font);
    background-color: var(--ecom-bg);
    color: var(--ecom-text);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-height: 44px;
}

ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ecom-space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.products li.product {
    margin: 0;
    padding: 0;
    position: relative;
}

.single-product .ecom-single-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ecom-space-lg);
}

.single-product .ecom-single-product-gallery,
.single-product .ecom-single-product-summary,
.single-product .ecom-single-product-aside {
    min-width: 0;
}

.single-product div.product {
    display: block;
}

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

.single-product #content div.product div.images,
.single-product div.product div.images,
.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.single-product .woocommerce-product-gallery__image {
    border-radius: var(--ecom-radius);
    overflow: hidden;
    background: var(--ecom-bg-gray);
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    display: block;
}

.single-product .woocommerce-product-gallery__wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: var(--ecom-space-sm);
}

.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
    display: none;
}

.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    min-width: 100%;
    scroll-snap-align: start;
}

.single-product .woocommerce-product-gallery-trigger {
    position: absolute;
    top: var(--ecom-space-md);
    right: var(--ecom-space-md);
    width: 44px;
    height: 44px;
    background: var(--ecom-bg);
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.single-product .summary {
    padding: 0;
}

.single-product .product_title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--ecom-space-sm);
}

.single-product .price {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--ecom-primary);
    margin-bottom: var(--ecom-space-lg);
}

.single-product .price del {
    font-size: 0.75em;
    color: var(--ecom-text-lighter);
    font-weight: 400;
}

.single-product .price ins {
    text-decoration: none;
}

.single-product .woocommerce-product-details__short-description {
    color: var(--ecom-text-light);
    font-size: 0.875rem;
    margin-bottom: var(--ecom-space-lg);
    line-height: 1.6;
}

.single-product .cart {
    margin-bottom: var(--ecom-space-lg);
}

.single-product .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    overflow: hidden;
    margin-right: var(--ecom-space-sm);
}

.single-product .quantity .qty {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--ecom-border);
    border-right: 1px solid var(--ecom-border);
    font-size: 0.875rem;
    font-family: var(--ecom-font);
    padding: 8px 4px;
    min-height: 44px;
    -moz-appearance: textfield;
}

.single-product .quantity .qty::-webkit-inner-spin-button,
.single-product .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.single-product .quantity .qty-button {
    width: 36px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ecom-bg-gray);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--ecom-text);
    transition: background var(--ecom-transition);
}

.single-product .quantity .qty-button:hover {
    background: var(--ecom-border);
}

.single-product .single_add_to_cart_button {
    min-height: 44px;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--ecom-primary);
    color: #fff;
    border: none;
    border-radius: var(--ecom-radius);
    cursor: pointer;
    transition: background var(--ecom-transition);
}

.single-product .single_add_to_cart_button:hover {
    background: var(--ecom-primary-dark);
}

.single-product .woocommerce-product-meta {
    font-size: 0.8125rem;
    color: var(--ecom-text-light);
    margin-bottom: var(--ecom-space-lg);
    padding-top: var(--ecom-space-md);
    border-top: 1px solid var(--ecom-border);
}

.single-product .woocommerce-product-meta .sku_wrapper,
.single-product .woocommerce-product-meta .posted_in {
    display: block;
    margin-bottom: 4px;
}

.single-product .woocommerce-tabs {
    margin-top: var(--ecom-space-xl);
}

.single-product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--ecom-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    white-space: nowrap;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ecom-text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--ecom-transition);
}

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

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: var(--ecom-space-lg) 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ecom-text-light);
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ecom-text);
    margin-bottom: var(--ecom-space-md);
}

.single-product .related.products {
    margin-top: var(--ecom-space-2xl);
    padding-top: var(--ecom-space-xl);
    border-top: 1px solid var(--ecom-border);
}

.single-product .related.products > h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--ecom-space-lg);
}

.woocommerce-cart-form {
    width: 100%;
}

.woocommerce-cart-form table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart-form table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ecom-text-light);
    padding: var(--ecom-space-sm) var(--ecom-space-md);
    border-bottom: 2px solid var(--ecom-border);
}

.woocommerce-cart-form table td {
    padding: var(--ecom-space-md);
    border-bottom: 1px solid var(--ecom-border);
    vertical-align: middle;
}

.woocommerce-cart .woocommerce-cart-form .product-remove {
    text-align: center;
}

.woocommerce-cart .woocommerce-cart-form .product-remove a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border-radius: var(--ecom-radius-full);
    background: var(--ecom-bg-gray);
    color: var(--ecom-danger);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--ecom-transition);
}

.woocommerce-cart .woocommerce-cart-form .product-remove a:hover {
    background: var(--ecom-danger);
    color: #fff;
}

.woocommerce-cart .woocommerce-cart-form .product-remove a .ecom-remove-icon {
    width: 18px;
    height: 18px;
    margin: auto;
    flex-shrink: 0;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--ecom-radius);
}

.woocommerce-cart-form .product-name a {
    color: var(--ecom-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.woocommerce-cart-form .product-name a:hover {
    color: var(--ecom-primary);
}

.woocommerce-cart-form .product-name .variation {
    font-size: 0.75rem;
    color: var(--ecom-text-light);
    margin-top: 4px;
}

.woocommerce-cart-form .qty {
    width: 60px;
    text-align: center;
    padding: 6px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
    min-height: 36px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    background: var(--ecom-bg-light);
    border-radius: var(--ecom-radius);
    padding: var(--ecom-space-lg);
    border: 1px solid var(--ecom-border);
}

.cart-collaterals .cart_totals h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--ecom-space-md);
    padding-bottom: var(--ecom-space-sm);
    border-bottom: 1px solid var(--ecom-border);
}

.cart-collaterals .cart_totals table {
    width: 100%;
}

.cart-collaterals .cart_totals th {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ecom-text-light);
    padding: 8px 0;
}

.cart-collaterals .cart_totals td {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ecom-text);
    padding: 8px 0;
    text-align: right;
}

.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ecom-primary);
    border-top: 2px solid var(--ecom-border);
    padding-top: var(--ecom-space-md);
}

.ecom-cart-page-wrap {
    margin-bottom: 40px;
}

.ecom-cart-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--ecom-space-xl);
}

.ecom-cart-row > .woocommerce-cart-form,
.ecom-cart-row > .cart-collaterals {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
}

.woocommerce-checkout .entry-header {
    display: none !important;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    margin-bottom: 20px !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
    width: 100% !important;
}

.woocommerce-page.woocommerce-checkout #payment div.form-row,
.woocommerce.woocommerce-checkout #payment div.form-row {
    padding: 0 !important;
}

.woocommerce-checkout .form-row select.is-loading {
    background-image: none !important;
}

.woocommerce-checkout .ecom-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ecom-space-xl);
    align-items: start;
}

.woocommerce-checkout .ecom-checkout-customer,
.woocommerce-checkout .ecom-checkout-order {
    min-width: 0;
}

.woocommerce-checkout .ecom-checkout-customer .col2-set {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout .ecom-checkout-customer .col2-set .col-1,
.woocommerce-checkout .ecom-checkout-customer .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-checkout .ecom-checkout-customer .col2-set::before,
.woocommerce-checkout .ecom-checkout-customer .col2-set::after {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--ecom-space-md);
    padding-bottom: var(--ecom-space-sm);
    border-bottom: 1px solid var(--ecom-border);
}

.woocommerce-checkout .form-row {
    margin-bottom: var(--ecom-space-md);
}

.woocommerce-checkout .form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ecom-text);
    margin-bottom: 4px;
}

.woocommerce-checkout .form-row label .required {
    color: var(--ecom-danger);
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
    font-family: var(--ecom-font);
    color: var(--ecom-text);
    background: var(--ecom-bg);
    min-height: 44px;
    transition: border-color var(--ecom-transition);
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--ecom-primary);
    box-shadow: 0 0 0 3px var(--ecom-primary-light);
}

.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select {
    border-color: var(--ecom-danger);
}

.woocommerce-checkout .ecom-checkout-order #order_review,
.woocommerce-checkout .ecom-checkout-order .shop_table,
.woocommerce-checkout .ecom-checkout-order #payment {
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout #order_review_heading {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: var(--ecom-space-md);
}

.woocommerce-checkout #payment {
    background: var(--ecom-bg-light);
    border-radius: var(--ecom-radius);
    border: 1px solid var(--ecom-border);
    padding: var(--ecom-space-lg);
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--ecom-space-lg);
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: var(--ecom-space-md);
    background: var(--ecom-bg);
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    margin-bottom: var(--ecom-space-sm);
}

.woocommerce-checkout #payment ul.payment_methods label {
    display: inline-flex;
    align-items: center;
    gap: var(--ecom-space-sm);
    font-weight: 600;
    cursor: pointer;
}

.woocommerce-checkout #payment .place-order {
    padding: 0;
}

.woocommerce-checkout #payment .place-order .button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--ecom-primary);
    color: #fff;
    border: none;
    border-radius: var(--ecom-radius);
    cursor: pointer;
    min-height: 52px;
    transition: background var(--ecom-transition);
    font-family: var(--ecom-font);
}

.woocommerce-checkout #payment .place-order .button:hover {
    background: var(--ecom-primary-dark);
}

.woocommerce-info,
.woocommerce-message {
    background: var(--ecom-primary-light);
    border-top: 3px solid var(--ecom-primary);
    padding: var(--ecom-space-md) var(--ecom-space-lg);
    margin-bottom: var(--ecom-space-lg);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
}

.woocommerce-error {
    background: #fef2f2;
    border-top: 3px solid var(--ecom-danger);
    padding: var(--ecom-space-md) var(--ecom-space-lg);
    margin-bottom: var(--ecom-space-lg);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    gap: var(--ecom-space-xs);
    justify-content: center;
    list-style: none;
    padding: var(--ecom-space-xl) 0 0;
    margin: 0;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ecom-text);
    text-decoration: none;
    transition: all var(--ecom-transition);
}

.woocommerce-pagination ul.page-numbers li a:hover {
    background: var(--ecom-primary);
    border-color: var(--ecom-primary);
    color: #fff;
}

.woocommerce-pagination ul.page-numbers li span.current {
    background: var(--ecom-primary);
    border-color: var(--ecom-primary);
    color: #fff;
}

.star-rating {
    color: var(--ecom-primary);
}

.woocommerce-product-search {
    display: flex;
}

.woocommerce-product-search .search-field {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius) 0 0 var(--ecom-radius);
    font-size: 0.875rem;
    min-height: 44px;
    font-family: var(--ecom-font);
}

.woocommerce-product-search button {
    padding: 8px 16px;
    background: var(--ecom-primary);
    color: #fff;
    border: 1px solid var(--ecom-primary);
    border-radius: 0 var(--ecom-radius) var(--ecom-radius) 0;
    cursor: pointer;
    min-height: 44px;
}

/* =========================================================================
   Single product: enhanced summary blocks
   ========================================================================= */

.single-product .product_title {
    font-size: clamp(1.25rem, 2.75vw, 1.625rem);
    line-height: 1.3;
}

.single-product .price {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: var(--ecom-space-md);
}

.single-product .ecom-product-code {
    font-size: 0.8125rem;
    color: var(--ecom-text-light);
    margin-bottom: var(--ecom-space-md);
    padding-bottom: var(--ecom-space-md);
    border-bottom: 1px solid var(--ecom-border);
}

.single-product .ecom-product-code__label {
    font-weight: 600;
}

.single-product .ecom-product-code__value {
    color: var(--ecom-text);
    font-weight: 500;
}

.single-product .ecom-qty-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ecom-text);
    margin-right: var(--ecom-space-sm);
}

/* Buy Now button */
.single-product .ecom-buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ecom-space-xs);
    min-height: 44px;
    padding: 10px 24px;
    margin-left: var(--ecom-space-xs);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--ecom-font);
    background: black !important;
    color: #fff;
    border: 1px solid black !important;
    border-radius: var(--ecom-radius);
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    transition: background var(--ecom-transition), border-color var(--ecom-transition), opacity var(--ecom-transition);
}

.single-product .ecom-buy-now-btn:hover {
    background: rgb(24, 22, 22) !important;
    border-color: black !important;
    color: #fff;
}

.single-product .ecom-buy-now-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.25);
}

.single-product .ecom-buy-now-btn__icon {
    flex-shrink: 0;
}

.single-product .ecom-buy-now-btn--disabled,
.single-product .ecom-buy-now-btn--disabled:hover {
    background: var(--ecom-bg-gray);
    border-color: var(--ecom-border);
    color: var(--ecom-text-lighter);
    cursor: not-allowed;
    opacity: 0.65;
}

/* Hotline box */
.single-product .ecom-hotline-box {
    margin: var(--ecom-space-lg) 0;
    padding: var(--ecom-space-md) var(--ecom-space-lg);
    border: 1px solid var(--ecom-border);
    border-left: 3px solid var(--ecom-primary);
    border-radius: var(--ecom-radius);
    background: var(--ecom-bg-light);
}

.single-product .ecom-hotline-box__heading {
    display: flex;
    align-items: center;
    gap: var(--ecom-space-sm);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ecom-text);
    margin-bottom: var(--ecom-space-sm);
}

.single-product .ecom-hotline-box__icon {
    color: var(--ecom-primary);
    flex-shrink: 0;
}

.single-product .ecom-hotline-box__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ecom-space-sm);
}

.single-product .ecom-hotline-box__number {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ecom-primary-dark);
    background: var(--ecom-bg);
    border: 1px solid var(--ecom-primary);
    border-radius: var(--ecom-radius);
    text-decoration: none;
    transition: background var(--ecom-transition), color var(--ecom-transition);
}

.single-product .ecom-hotline-box__number:hover {
    background: var(--ecom-primary);
    color: #fff;
}

/* Trust badges (sidebar) */
.single-product .ecom-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    /* padding: var(--ecom-space-md) var(--ecom-space-lg); */
    /* border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius); */
    /* background: var(--ecom-bg-light); */
}

.single-product .ecom-trust-badges__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--ecom-space-md);
    padding: var(--ecom-space-md);
    border-bottom: 1px solid var(--ecom-primary);
}

/* .single-product .ecom-trust-badges__item:last-child {
    border-bottom: none;
} */

.single-product .ecom-trust-badges__icon {
    color: var(--ecom-primary);
    display: flex;
    flex-shrink: 0;
}

.single-product .ecom-trust-badges__text {
    font-size: 0.8125rem;
    color: var(--ecom-text);
    line-height: 1.4;
    font-weight: 500;
}

/* Variation dropdowns */
.single-product .variations {
    width: 100%;
    margin-bottom: var(--ecom-space-md);
    border: none;
}

.single-product .variations td {
    padding: var(--ecom-space-xs) 0;
    border: none;
    vertical-align: middle;
}

.single-product .variations td.label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ecom-text);
    padding-right: var(--ecom-space-md);
    width: 1%;
    white-space: nowrap;
}

.single-product .variations select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
    font-family: var(--ecom-font);
    background-color: var(--ecom-bg);
    color: var(--ecom-text);
    appearance: none;
    min-height: 44px;
    min-width: 200px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color var(--ecom-transition);
}

.single-product .variations select:focus {
    outline: none;
    border-color: var(--ecom-primary);
    box-shadow: 0 0 0 3px var(--ecom-primary-light);
}

.single-product .single_variation_wrap {
    margin-bottom: var(--ecom-space-md);
}

/* Column-wise summary cart layout (title, price, qty, variations, buttons) */
.single-product form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--ecom-space-md);
    margin-bottom: var(--ecom-space-lg);
}

.single-product .single_variation_wrap,
.single-product .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    flex-direction: column;
    gap: var(--ecom-space-md);
}

.single-product .ecom-quantity-row {
    display: flex;
    align-items: center;
    gap: var(--ecom-space-sm);
}

.single-product .ecom-quantity-row .quantity {
    margin-right: 0;
}

.single-product .ecom-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ecom-space-sm);
}

.single-product .ecom-cart-actions .ecom-quantity-row {
    flex: 0 0 100%;
}

.single-product .ecom-cart-actions .single_add_to_cart_button,
.single-product .ecom-cart-actions .ecom-buy-now-btn {
    flex: 1 1 0;
    margin-left: 0;
}

/* =========================================================================
   Generic WooCommerce buttons - match theme primary color
   Overrides default WooCommerce purple/blue button styles
   ========================================================================= */

.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce a.added_to_cart,
.woocommerce .button,
.woocommerce .button.alt,
.woocommerce #review_form #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ecom-space-xs);
    font-family: var(--ecom-font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    min-height: 42px;
    border-radius: var(--ecom-radius);
    background: var(--ecom-primary);
    color: #fff !important;
    border: 2px solid var(--ecom-primary);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    transition: background var(--ecom-transition), border-color var(--ecom-transition);
    -webkit-font-smoothing: antialiased;
}

.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.added_to_cart:hover,
.woocommerce .button:hover,
.woocommerce .button.alt:hover,
.woocommerce #review_form #respond input#submit:hover {
    background: var(--ecom-primary-dark);
    border-color: var(--ecom-primary-dark);
    color: #fff !important;
    text-decoration: none;
}

.woocommerce a.button.wc-forward,
.woocommerce .button.wc-forward {
    background: var(--ecom-primary);
    border-color: var(--ecom-primary);
    color: #fff !important;
}

.woocommerce a.button.wc-forward:hover,
.woocommerce .button.wc-forward:hover {
    background: var(--ecom-primary-dark);
    border-color: var(--ecom-primary-dark);
}

.woocommerce a.showcoupon {
    color: var(--ecom-primary);
}

.woocommerce a.button.alt.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
    background: var(--ecom-bg-gray) !important;
    color: var(--ecom-text-lighter) !important;
    border-color: var(--ecom-border) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* =========================================================================
   Single product: Reviews section
   ========================================================================= */

.single-product #reviews {
    font-family: var(--ecom-font);
}

.single-product #reviews h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ecom-text);
    margin-bottom: var(--ecom-space-md);
}

/* Review rating summary */
.single-product .woocommerce-reviews-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ecom-text);
    margin-bottom: var(--ecom-space-md);
}

.single-product .woocommerce-noreviews {
    background: var(--ecom-bg-light);
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    padding: var(--ecom-space-md);
    font-size: 0.875rem;
    color: var(--ecom-text-light);
}

/* Review list */
.single-product #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--ecom-space-lg);
}

.single-product #comments ol.commentlist li {
    padding: var(--ecom-space-md) 0;
    border-bottom: 1px solid var(--ecom-border);
    margin: 0;
}

.single-product #comments ol.commentlist li:last-child {
    border-bottom: none;
}

.single-product #comments .comment_container {
    display: flex;
    gap: var(--ecom-space-md);
    align-items: flex-start;
}

.single-product #comments .comment-text {
    flex: 1;
    min-width: 0;
}

.single-product #comments .avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.single-product #comments .meta {
    font-size: 0.875rem;
    color: var(--ecom-text);
    margin-bottom: 4px;
}

.single-product #comments .meta strong {
    font-weight: 700;
    color: var(--ecom-text);
}

.single-product #comments .meta .woocommerce-review__dash,
.single-product #comments .meta time {
    color: var(--ecom-text-light);
    font-weight: 400;
}

.single-product #comments .description {
    font-size: 0.875rem;
    color: var(--ecom-text-light);
    line-height: 1.7;
    margin-top: var(--ecom-space-xs);
}

.single-product #comments .description p {
    margin: 0 0 var(--ecom-space-xs);
}

/* Star ratings inside reviews */
.single-product #comments .star-rating {
    float: none;
    margin-bottom: 4px;
    font-size: 0.875rem;
    color: var(--ecom-primary);
}

/* Review form wrapper */
.single-product #review_form_wrapper {
    margin-top: var(--ecom-space-lg);
    padding-top: var(--ecom-space-lg);
    border-top: 1px solid var(--ecom-border);
}

.single-product #review_form {
    background: var(--ecom-bg-light);
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    padding: var(--ecom-space-lg);
}

.single-product .comment-reply-title,
.single-product #reply-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ecom-text);
    margin-bottom: var(--ecom-space-md);
    padding-bottom: var(--ecom-space-sm);
    border-bottom: 1px solid var(--ecom-border);
    font-family: var(--ecom-font);
}

.single-product .comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--ecom-space-md);
}

.single-product .comment-form .comment-form-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ecom-space-sm);
}

.single-product .comment-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ecom-text);
    margin-bottom: 4px;
    font-family: var(--ecom-font);
}

.single-product .comment-form p.stars {
    margin: 0;
}

.single-product .comment-form p.stars a {
    color: var(--ecom-primary);
    border-color: var(--ecom-primary);
}

.single-product .comment-form input[type="text"],
.single-product .comment-form input[type="email"],
.single-product .comment-form input[type="url"],
.single-product .comment-form input[type="tel"],
.single-product .comment-form textarea,
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"],
.single-product #review_form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ecom-border);
    border-radius: var(--ecom-radius);
    font-size: 0.875rem;
    font-family: var(--ecom-font);
    color: var(--ecom-text);
    background: var(--ecom-bg);
    min-height: 44px;
    transition: border-color var(--ecom-transition), box-shadow var(--ecom-transition);
}

.single-product .comment-form textarea,
.single-product #review_form textarea {
    min-height: 120px;
    resize: vertical;
}

.single-product .comment-form input:focus,
.single-product .comment-form textarea:focus,
.single-product #review_form input:focus,
.single-product #review_form textarea:focus {
    outline: none;
    border-color: var(--ecom-primary);
    box-shadow: 0 0 0 3px var(--ecom-primary-light);
}

.single-product .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: var(--ecom-space-sm);
    font-size: 0.8125rem;
    color: var(--ecom-text-light);
}

.single-product .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--ecom-primary);
}

.single-product .comment-form .form-submit {
    margin: 0;
}

.single-product .comment-form .submit,
.single-product #review_form #respond .submit,
.single-product #review_form input#submit {
    width: auto;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--ecom-font);
    background: var(--ecom-primary);
    color: #fff !important;
    border: 2px solid var(--ecom-primary);
    border-radius: var(--ecom-radius);
    min-height: 44px;
    cursor: pointer;
    transition: background var(--ecom-transition), border-color var(--ecom-transition);
}

.single-product .comment-form .submit:hover,
.single-product #review_form #respond .submit:hover,
.single-product #review_form input#submit:hover {
    background: var(--ecom-primary-dark);
    border-color: var(--ecom-primary-dark);
}

.add_payment_method .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout {
    padding: 1em 0 0;
    text-align: right;
}

.add_payment_method .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout .checkout-button,
.add_payment_method .wc-proceed-to-checkout a,
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce-checkout .wc-proceed-to-checkout a {
    margin-top: 1em;
}

/* Hide the "Update cart" button: quantity changes via the +/- buttons
   (which click this button programmatically to recalculate the cart). */
.woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

/* =========================================================================
   My Account
   ========================================================================= */

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus {
    color: var(--ecom-primary);
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--ecom-primary);
}

.woocommerce-account .woocommerce-MyAccount-content a:hover,
.woocommerce-account .woocommerce-MyAccount-content a:focus {
    color: var(--ecom-primary-dark);
}
