/* 
--------------------------------------------------------------------------------
SINGLE PRODUCT PAGE PREMIUM REFINEMENTS
--------------------------------------------------------------------------------
*/

.v-wc-wrapper {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 2rem 15px !important;
}

.single-product div.product {
    margin-bottom: 3rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
}

/* Noua clasa wrapper pentru coloanele principale (galerie + detalii) */
.v-product-main-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
}

/* Stiluri de latime standard si responsive pentru galerie, prezervand exact comportamentul original */
.woocommerce-product-gallery {
    flex: 0 0 500px !important;
    max-width: 500px !important;
    width: 100% !important;
    position: relative !important;
}

@media (min-width: 992px) {
    .woocommerce-product-gallery {
        position: sticky !important;
        top: 200px !important; /* Spatiu generos de 200px pentru a sta complet sub orice sticky header */
        z-index: 99 !important;
        align-self: start !important;
        height: fit-content !important;
    }
}

@media (max-width: 991px) {
    .v-product-main-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    .woocommerce-product-gallery {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    .woocommerce-product-gallery img {
        max-width: 100% !important;
        height: auto !important;
    }
}




.summary.entry-summary {
    flex: 1 !important;
    min-width: 300px !important;
    font-size: 1.0625rem !important;
    line-height: 1.6 !important;
}

/* Star Rating Yellow */
.star-rating {
    color: #ffc107 !important;
    font-size: 0.875rem !important;
}

.star-rating::before {
    color: #e0e0e0 !important;
}

.single-product .star-rating {
    margin: 0.5rem 0 1.5rem 0 !important;
}

/* Manual Gallery Arrows Styles */
.v-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    width: 44px;
    height: 44px;
    background: white;
    color: var(--v-color-primary);
    border: none;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
}

.woocommerce-product-gallery:hover .v-gallery-arrow {
    opacity: 1;
}

.v-gallery-arrow:hover {
    background: var(--v-color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.v-gallery-arrow.v-prev {
    left: 15px;
}

.v-gallery-arrow.v-next {
    right: 15px;
}

/* Zoom Trigger Positioning */
.woocommerce-product-gallery__trigger {
    top: auto !important;
    right: 20px !important;
    bottom: 120px !important;
    /* Move above thumbnails */
    left: auto !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Thumbnail Navigation */
.v-thumb-nav-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.v-thumb-arrow {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--v-color-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.v-thumb-arrow:hover {
    background: var(--v-color-primary);
    color: white;
}

.flex-control-thumbs {
    flex: 1;
}

/* Photoswipe (Lightbox) Navigation */
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    margin: 0 10px !important;
}

/* Gallery Navigation Arrows (Flexslider) */
.woocommerce-product-gallery .flex-direction-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-product-gallery .flex-direction-nav a {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 101 !important;
    width: 44px !important;
    height: 44px !important;
    background: white !important;
    color: var(--v-color-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    text-indent: 0 !important;
    /* Reset WC defaults */
}

.woocommerce-product-gallery .flex-direction-nav a::before {
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev {
    left: 15px !important;
}

.woocommerce-product-gallery .flex-direction-nav .flex-next {
    right: 15px !important;
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
    content: "‹" !important;
}

.woocommerce-product-gallery .flex-direction-nav .flex-next::before {
    content: "›" !important;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: var(--v-color-primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Photoswipe (Lightbox) Navigation */
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    margin: 0 10px !important;
}

/* Gallery Thumbnails Slider */
.flex-control-thumbs {
    display: flex !important;
    gap: 12px !important;
    margin-top: 20px !important;
    padding: 10px 2px !important;
    list-style: none !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: var(--v-color-primary);
    border-radius: 10px;
}

.flex-control-thumbs li {
    flex: 0 0 80px !important;
    height: 80px !important;
    cursor: pointer;
}

.flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover {
    border-color: var(--v-color-primary) !important;
    opacity: 1 !important;
    transform: translateY(-2px);
}

/* Swatches UI */
.variations .label {
    display: none !important;
}

.v-attribute-selector-wrapper select {
    display: none !important;
}

.v-swatches-header {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--v-color-black);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.v-selected-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--v-color-primary);
    padding: 4px 0;
    margin-top: 4px;
    font-size: 0.9375rem;
}

.v-selected-swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 2px solid var(--v-color-primary);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.v-selected-text {
    white-space: nowrap;
}

.v-swatches-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.v-swatch {
    cursor: pointer;
    border: 2px solid var(--v-color-border);
    transition: all 0.2s ease;
    background: white;
    border-radius: 4px;
}

.v-swatch:hover {
    border-color: var(--v-color-primary);
}

.v-swatch.selected {
    border-color: var(--v-color-primary);
    box-shadow: 0 0 0 1px var(--v-color-primary);
}

.v-swatch-color {
    width: 38px;
    height: 38px;
}

.v-swatch-box {
    padding: 8px 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.v-swatch-box svg {
    width: 16px;
    height: 16px;
    color: var(--v-color-primary);
    opacity: 0.9;
    flex-shrink: 0;
}

/* Add to Cart */
.single-product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    margin: 0.5rem 0 !important;
    width: 100% !important;
}

.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
}

.added_to_cart {
    display: none !important;
}

.quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--v-color-bg-light);
    border: 1px solid var(--v-color-border);
    border-radius: var(--v-radius-md);
    padding: 2px;
    height: 62px !important;
    min-width: 140px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.quantity .qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: var(--v-color-black) !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

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

.v-qty-btn {
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--v-color-black);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.v-qty-btn:hover {
    background: rgba(var(--v-color-primary-rgb), 0.05);
    color: var(--v-color-primary);
}

.single_add_to_cart_button {
    background-color: var(--v-color-primary) !important;
    color: white !important;
    height: 62px !important;
    padding: 0 2rem !important;
    border-radius: var(--v-radius-md) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex: 1 !important;
    font-size: 1.125rem !important;
    letter-spacing: 0.5px;
    margin: 0 !important;
}

.single_add_to_cart_button:hover {
    background-color: var(--v-color-primary-hover) !important;
    box-shadow: 0 8px 20px rgba(var(--v-color-primary-rgb), 0.3);
    transform: translateY(-2px);
}

.single_add_to_cart_button:active {
    transform: translateY(0);
}

.single_add_to_cart_button::before {
    content: "";
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

/* Variation Price Display */
.woocommerce-variation {
    background: #fdfdfd;
    padding: 0.5rem 0.75rem;
    border-radius: var(--v-radius-md);
    margin: 0.5rem 0 !important;
    border: 1px solid var(--v-color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    text-align: center;
    width: 100% !important;
}

/* Remove any inner dashed borders from variation price display */
.woocommerce-variation>div,
.woocommerce-variation .price {
    border: none !important;
    outline: none !important;
}

.woocommerce-variation-price {
    margin-top: 10px;
}

.woocommerce-variation-price .price {
    font-size: 1.75rem !important;
    color: var(--v-color-primary) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.reset_variations {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--v-color-text-muted);
    text-decoration: none;
    padding: 2px 10px;
    border: 1px solid var(--v-color-border);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.reset_variations:hover {
    background: var(--v-color-border);
    color: var(--v-color-black);
}

.woocommerce-variation .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v-color-primary);
}

.woocommerce-variation-price .price::before {
    content: "Prețul pentru produsul selectat este:";
    display: block !important;
    font-size: 0.75rem !important;
    color: var(--v-color-text-muted) !important;
    margin-bottom: 0.25rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-variation-price .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: #f8f9fa;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    border: 1px dashed var(--v-color-primary);
}

.quantity input {
    height: 54px !important;
    border: 1px solid var(--v-color-border) !important;
    border-radius: 4px !important;
    padding: 0 15px !important;
    margin-right: 15px !important;
    width: 80px !important;
}

/* Sticky Sections Nav */
.v-stacked-nav {
    position: sticky;
    top: 180px;
    /* Offset to sit below the new taller header */
    z-index: 99;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 2px solid var(--v-color-primary);
    padding: 0.75rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.v-stacked-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.v-stacked-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
}

.v-stacked-nav ul li {
    display: flex;
    align-items: center;
}

.v-stacked-nav ul li:not(:last-child)::after {
    content: "";
    height: 16px;
    width: 1px;
    background-color: var(--v-color-border);
    margin: 0 2rem;
}

.v-stacked-nav a {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--v-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.v-stacked-nav a:hover {
    color: var(--v-color-primary);
    background: rgba(0, 96, 223, 0.05);
}

.v-stacked-nav a.active {
    color: white;
    background: var(--v-color-primary);
    box-shadow: 0 2px 8px rgba(0, 96, 223, 0.3);
}

.v-product-section {
    margin-bottom: 4rem;
    scroll-margin-top: 260px;
    line-height: 1.6;
    color: #374151;
}

.v-section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--v-color-primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

/* WP Content Formatting for Description */
.v-product-section p {
    margin-bottom: 1.25rem;
}

.v-product-section ul,
.v-product-section ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.v-product-section li {
    margin-bottom: 0.5rem;
}

.v-product-section h2,
.v-product-section h3,
.v-product-section h4 {
    color: var(--v-color-black);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.v-product-section img {
    border-radius: 12px;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

.v-product-section blockquote {
    border-left: 4px solid var(--v-color-primary);
    padding-left: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
}

/* Related Products (Matching Archive) */

/* Related Products (Matching Archive) */
.related.products {
    border-top: 1px solid var(--v-color-border);
    padding-top: 5rem;
    margin-top: 5rem;
}

.related.products h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
}

/* Unified Product Cards — Archive & Related */
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
    border: 1px solid var(--v-color-border) !important;
    border-radius: var(--v-radius-lg) !important;
    padding: 12px 10px 0 10px !important;
    text-align: center !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    overflow: hidden !important;
}

ul.products li.product .v-product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}

ul.products li.product:hover {
    border-color: var(--v-color-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

ul.products li.product img {
    margin-bottom: 0.5rem !important;
    flex-shrink: 0;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .product-title {
    margin-bottom: 0.1rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    min-height: 4.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    width: 100%;
    color: var(--v-color-black);
}

.v-title-highlight {
    color: var(--v-color-primary);
}

/* Archive Product Grid */
.woocommerce:not(.single-product) ul.products,
.woocommerce-page:not(.single-product) ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}

/* Sorting Dropdown Styling */
.woocommerce-ordering {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    background-color: white !important;
    border: 1px solid var(--v-color-border) !important;
    border-radius: 8px !important;
    padding: 10px 40px 10px 16px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--v-color-black) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    min-width: 160px;
    outline: none !important;
}

.woocommerce-ordering select:hover {
    border-color: var(--v-color-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.woocommerce-ordering select:focus {
    border-color: var(--v-color-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--v-color-primary-rgb), 0.1);
}

/* Align Filter Trigger and Sorting on ONE LINE */
.woocommerce-before-shop-loop {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    /* Force single line */
    gap: 10px !important;
    margin-bottom: 2rem !important;
    background: #f8fafc !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    border: 1px solid var(--v-color-border) !important;
}

.woocommerce-before-shop-loop::before,
.woocommerce-before-shop-loop::after {
    content: none !important;
    display: none !important;
}

.woocommerce-result-count {
    margin: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--v-color-text-muted) !important;
    white-space: nowrap !important;
}

.v-filter-trigger {
    background: white !important;
    color: var(--v-color-black) !important;
    border: 1px solid var(--v-color-border) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.v-filter-trigger:hover {
    border-color: var(--v-color-primary) !important;
    color: var(--v-color-primary) !important;
    background: #f0f7ff !important;
}

.v-filter-trigger svg {
    width: 18px;
    height: 18px;
}

ul.products>*:not(li.product) {
    display: none !important;
}

/* Color Swatches in Product Cards (Archive & Related) */
.v-color-swatches-wrapper {
    min-height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.25rem 0;
}

ul.products li.product .v-color-swatches {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

ul.products li.product .v-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid var(--v-color-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

ul.products li.product .v-color-swatch:hover {
    border-color: var(--v-color-primary);
    transform: scale(1.1);
}

ul.products li.product .v-color-more {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid var(--v-color-border);
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

ul.products li.product .v-color-more:hover {
    background: var(--v-color-primary);
    color: white;
    border-color: var(--v-color-primary);
}

/* Rating and Reviews in Product Cards */
.v-rating-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 0.25rem !important;
    min-height: 1.25rem !important;
    width: 100% !important;
}

ul.products li.product .star-rating {
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle;
    float: none !important;
}

.v-review-count {
    font-size: 0.75rem !important;
    color: var(--v-color-text-muted) !important;
    vertical-align: middle !important;
    display: inline-block !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

ul.products li.product .price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--v-color-primary) !important;
    margin-top: auto !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

ul.products li.product .price del {
    color: #ef4444 !important;
    font-size: 0.8125rem !important;
    margin-right: 8px !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    display: inline-block !important;
}

ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--v-color-primary) !important;
    font-weight: 800 !important;
}

ul.products li.product .price ins .woocommerce-Price-amount {
    text-decoration: none !important;
}

ul.products li.product .price * {
    text-decoration: none !important;
}

ul.products li.product .button {
    margin-top: auto !important;
    background-color: var(--v-color-primary) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: block !important;
}

ul.products li.product .button:hover {
    background-color: var(--v-color-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Comments & Reviews Section */
.v-meta-section,
.v-product-section:has(.woocommerce-reviews) {
    background: white;
}

/* Reviews Form */
#review_form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--v-color-border);
    margin: 2rem 0;
}

#review_form h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Comment Form Styling */
#respond textarea {
    border: 1px solid var(--v-color-border) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-family: inherit !important;
    min-height: 120px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
    border: 1px solid var(--v-color-border) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    height: 44px;
}

#respond .comment-form-rating label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#respond .woocommerce-form__label-for-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#respond .comment-form-rating .stars {
    display: flex;
    gap: 0.5rem;
}

#respond .comment-form-rating .stars a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #ffc107;
    font-size: 1.25rem;
    text-decoration: none;
    border: 2px solid var(--v-color-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

#respond .comment-form-rating .stars a:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

#respond #submit {
    background-color: var(--v-color-primary) !important;
    color: white !important;
    border: none !important;
    padding: 12px 32px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.875rem !important;
}

#respond #submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Comments List */
.woocommerce-Reviews {
    margin-top: 3rem;
}

.woocommerce-Reviews h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Reviews / Comments List */
ol.commentlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

@media (max-width: 768px) {
    ol.commentlist {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

ol.commentlist li.comment {
    background: white;
    border: 1px solid var(--v-color-border);
    border-radius: var(--v-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

ol.commentlist li.comment:hover {
    border-color: var(--v-color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.comment-text {
    background: transparent;
    padding: 0;
    margin: 1rem 0 0 0;
    border: none;
}

.comment-text p {
    color: var(--v-color-text);
    line-height: 1.6;
    margin: 0;
}

.comment-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--v-color-black);
    margin-bottom: 0.5rem;
}

.comment-author cite {
    font-style: normal;
}

.comment-meta {
    font-size: 0.8125rem;
    color: var(--v-color-text-muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-author-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.star-rating {
    margin: 0;
}

.verified {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

/* Review Pagination */
.woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex !important;
    border: none !important;
    gap: 8px;
}

.woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: white;
    border: 1px solid var(--v-color-border);
    color: var(--v-color-black);
    font-weight: 600;
    transition: all 0.2s ease;
}

.woocommerce-pagination ul li span.current {
    background: var(--v-color-primary) !important;
    color: white !important;
    border-color: var(--v-color-primary) !important;
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--v-color-primary);
    color: var(--v-color-primary);
    background: rgba(var(--v-color-primary-rgb), 0.05);
}

@media (max-width: 1200px) {

    .related.products ul.products,
    .woocommerce:not(.single-product) ul.products,
    .woocommerce-page:not(.single-product) ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {

    .related.products ul.products,
    .woocommerce:not(.single-product) ul.products,
    .woocommerce-page:not(.single-product) ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {

    .related.products ul.products,
    .woocommerce:not(.single-product) ul.products,
    .woocommerce-page:not(.single-product) ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px !important;
        padding: 0 5px !important;
    }
}

/**
 * Product Information Tabs
 */
.woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 3rem !important;
    border-bottom: 1px solid var(--v-color-border) !important;
    padding: 0 !important;
    margin: 4rem 0 2rem 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
    content: none !important;
}

.woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 1rem 0 !important;
    font-family: var(--v-font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    color: var(--v-color-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--v-color-primary) !important;
}

.woocommerce-tabs ul.tabs li.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--v-color-primary) !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 2rem 0 !important;
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
    color: var(--v-color-text) !important;
}

/* Global Force for Flush Buttons in Product Cards */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
ul.products li.product .button {
    margin: 10px -10px 0 -10px !important;
    width: calc(100% + 20px) !important;
    border-radius: 0 0 12px 12px !important;
    padding: 15px 5px !important;
    display: block !important;
    margin-bottom: 0 !important;
}


/* Force hide any invisible text or elements after the button */
ul.products li.product .button~* {
    display: none !important;
}

/* Hide variation info text that might be injected */
.woocommerce-loop-product__info,
.v-variation-info {
    display: none !important;
}


/* Ensure the button is always at the very bottom of the flex card */
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product>* {
    order: 2 !important;
}

ul.products li.product .woocommerce-loop-product__link,
ul.products li.product a:first-child {
    order: 1 !important;
}

ul.products li.product .button {
    order: 10 !important;
    margin-bottom: 0 !important;
}


/* Nuclear Fix for Card Bottom Space: Remove all card padding and use child padding */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* Add internal padding to content elements only */
ul.products li.product>a:first-child,
ul.products li.product .v-rating-wrapper,
ul.products li.product .v-color-swatches-wrapper,
ul.products li.product .price,
ul.products li.product .v-product-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

ul.products li.product>a:first-child,
ul.products li.product .v-product-content:first-child {
    padding-top: 12px !important;
}

/* Button now fills the bottom perfectly */
ul.products li.product .button {
    margin: 10px 0 0 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    /* Button will be clipped by cards overflow:hidden */
    padding: 15px 5px !important;
}


/* Final Stability Fix for Card Footer Alignment */
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product .v-product-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Move margin-top:auto to the content container to push the button down */
ul.products li.product .v-product-content {
    margin-bottom: 0 !important;
}

ul.products li.product .button {
    margin-top: auto !important;
    /* Ensure it is always at the bottom */
    margin-bottom: -1px !important;
    /* Slight overlap to prevent sub-pixel gaps */
}

/* Remove any potential pseudo-element clearing that adds height */
ul.products li.product::after {
    content: none !important;
    display: none !important;
}


/* BULLETPROOF ABSOLUTE POSITIONING FOR BUTTONS */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    position: relative !important;
    padding-bottom: 65px !important;
    /* Fixed space for the button */
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product .button {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 0 12px 12px !important;
    z-index: 5 !important;
}

/* Ensure nothing else sits below the button */
ul.products li.product::after {
    display: none !important;
}


/* Final Force: Shop Toolbar Container Flex */
.v-shop-toolbar-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    background: #f8fafc !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    border: 1px solid var(--v-color-border) !important;
    margin-bottom: 2rem !important;
    gap: 15px !important;
}

/* Remove the individual styling from children if they have it */
.v-shop-toolbar-container .woocommerce-before-shop-loop {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.v-shop-toolbar-container .woocommerce-ordering {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .v-shop-toolbar-container {
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .v-shop-toolbar-container .woocommerce-result-count {
        display: none !important;
        /* Hide results count on mobile to save space */
    }
}


/* Mobile Specific Compact Toolbar */
@media (max-width: 480px) {
    .v-shop-toolbar-container {
        padding: 6px 10px !important;
        gap: 5px !important;
    }

    .v-filter-trigger {
        padding: 8px 10px !important;
        font-size: 0.7rem !important;
    }

    .v-filter-trigger span {
        display: none !important;
        /* Hide text if needed, but we can try just smaller */
    }

    .woocommerce-ordering select {
        min-width: 130px !important;
        padding: 8px 25px 8px 10px !important;
        font-size: 0.7rem !important;
    }
}


/* Re-order and Vertical Alignment Fix for Toolbar */
.v-shop-toolbar-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Order: 1. Filter, 2. Count, 3. Sort */
.v-filter-trigger {
    order: 1 !important;
}

.woocommerce-result-count {
    order: 2 !important;
    flex-grow: 1 !important;
    text-align: center !important;
}

.woocommerce-ordering {
    order: 3 !important;
}

/* Vertical Alignment Polish */
.v-shop-toolbar-container>* {
    height: 42px !important;
    /* Uniform height for all 3 components */
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.v-filter-trigger svg {
    margin-top: -1px;
    /* Micro-adjustment for icon */
}

@media (max-width: 768px) {
    .woocommerce-result-count {
        display: none !important;
        /* Keep only Filter and Sort on mobile */
    }
}


/* Responsive Toolbar Cleanup */
@media (max-width: 768px) {
    .v-hide-mobile {
        display: none !important;
    }

    .v-filter-trigger {
        padding: 8px 10px !important;
    }

    .woocommerce-ordering select {
        max-width: 140px !important;
        /* Prevent overflow */
        min-width: 0 !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 400px) {
    .v-shop-toolbar-container {
        padding: 6px 8px !important;
        gap: 5px !important;
    }

    .woocommerce-ordering select {
        max-width: 120px !important;
        font-size: 0.65rem !important;
    }

    .v-filter-trigger {
        font-size: 0.65rem !important;
    }
}


/* Final Pixel-Perfect Height Match */
.v-filter-trigger,
.woocommerce-ordering select {
    height: 38px !important;
    line-height: 38px !important;
    box-sizing: border-box !important;
}

.v-filter-trigger {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-ordering select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}


/* Left-aligned Mobile Toolbar */
@media (max-width: 768px) {
    .v-shop-toolbar-container {
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .v-filter-trigger,
    .woocommerce-ordering {
        flex: 0 0 auto !important;
    }
}

/* 
--------------------------------------------------------------------------------
ESTIMATED DELIVERY STYLING
--------------------------------------------------------------------------------
*/

.v-delivery-estimate-wrapper {
    margin: 1.5rem 0;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    max-width: 100%;
}

.v-delivery-estimate-wrapper:hover {
    border-color: var(--v-color-primary);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 96, 223, 0.08);
    transform: translateY(-1px);
}

.v-delivery-estimate-wrapper::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230060df' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

/* Plugin class selectors */
.edw-estimated-delivery {
    margin: 0 !important;
    font-size: 0.9375rem !important;
    color: #475569 !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    font-family: var(--v-font-body), sans-serif !important;
}

.edw-date {
    color: var(--v-color-primary) !important;
    font-weight: 700 !important;
    display: inline-block;
    padding: 0 4px;
}

/* Mobile Specific Optimizations */
@media (max-width: 768px) {
    .v-delivery-estimate-wrapper {
        display: flex !important;
        /* Full width on mobile */
        margin: 1rem 0 1.5rem 0;
        padding: 10px 14px;
        border-radius: 10px;
        gap: 10px;
    }

    .edw-estimated-delivery {
        font-size: 0.875rem !important;
    }

    .v-delivery-estimate-wrapper::before {
        width: 20px;
        height: 20px;
    }
}

/* For cart and checkout integration if the plugin displays there */
.cart-collaterals .edw-estimated-delivery,
.woocommerce-checkout-review-order-table .edw-estimated-delivery {
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-top: 5px !important;
    font-size: 0.8125rem !important;
    display: inline-block;
}

/* 
--------------------------------------------------------------------------------
PRODUCT BADGES ROW (DELIVERY + CALCULATOR)
--------------------------------------------------------------------------------
*/

.v-product-badges-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0 2rem 0;
    flex-wrap: wrap;
}

.v-product-badges-row .v-delivery-estimate-wrapper,
.v-product-badges-row .v-calc-trigger-wrapper {
    margin: 0 !important;
}

/* Calculator Trigger Button Styling */
.v-calc-modal-trigger {
    background-color: #333 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.5px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.v-calc-modal-trigger:hover {
    background-color: var(--v-color-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.v-calc-modal-trigger svg {
    margin-right: 0 !important;
    /* Reset inline style margin if needed */
}

/* Mobile Alignment & Centering */
@media (max-width: 768px) {
    .v-product-badges-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .v-calc-trigger-wrapper,
    .v-delivery-estimate-wrapper {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .v-calc-modal-trigger {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

/* 
--------------------------------------------------------------------------------
MOBILE PRODUCT ACCORDIONS
--------------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        position: relative;
    }

    .v-stacked-nav {
        display: none !important;
    }

    .v-stacked-info-wrapper {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        clear: both !important;
        background: #fff;
        border-top: 1px solid #f1f5f9;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Prevent any internal element from pushing width */
    .v-stacked-info-wrapper * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .v-product-section {
        margin-bottom: 0 !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        background: #ffffff;
        overflow: hidden;
        scroll-margin-top: 100px;
        border-radius: 0 !important;
        width: 100% !important;
    }

    .v-section-title {
        font-family: var(--v-font-heading);
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
        padding: 1.15rem 1.25rem !important;
        background: #ffffff;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: none !important;
        transition: background-color 0.3s ease, color 0.3s ease;
        color: var(--v-color-black);
        letter-spacing: -0.2px;
    }

    .v-product-section.active .v-section-title {
        background: #f8fafc;
        color: var(--v-color-primary);
    }

    .v-section-title::after {
        content: "";
        width: 18px;
        height: 18px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231434CB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        opacity: 0.6;
    }

    .v-product-section.active .v-section-title::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    .v-section-content {
        display: none;
        padding: 0 1.25rem 1.5rem 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.7;
        background: #f8fafc;
        color: #4b5563;
        width: 100% !important;
    }

    .v-section-content img {
        border-radius: 12px;
        margin: 1.25rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        max-width: 100%;
        height: auto;
    }

    .v-section-content p,
    .v-section-content div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100% !important;
    }

    .v-section-content table {
        width: 100% !important;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet/Desktop Nav Polish */
@media (max-width: 1200px) {
    .v-stacked-nav {
        top: 140px !important;
        padding: 0.5rem 0 !important;
    }

    .v-stacked-nav ul {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        padding: 0 1rem !important;
    }

    .v-stacked-nav ul li:not(:last-child)::after {
        display: none !important;
        /* Hide dividers to save space */
    }

    .v-stacked-nav a {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
}


/* 
--------------------------------------------------------------------------------
CART PAGE REFINEMENTS
--------------------------------------------------------------------------------
*/

.woocommerce-cart .v-wc-wrapper {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.woocommerce-cart-form {
    flex: 1;
    min-width: 320px;
}

.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1.5rem;
}

.woocommerce-cart-form__contents thead {
    display: none;
    /* Hide headers for a cleaner look */
}

.woocommerce-cart-form__cart-item {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.woocommerce-cart-form__cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.woocommerce-cart-form__cart-item td {
    padding: 1.5rem !important;
    border: 1px solid #f1f5f9;
    border-width: 1px 0;
}

.woocommerce-cart-form__cart-item td:first-child {
    border-left: 1px solid #f1f5f9;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.woocommerce-cart-form__cart-item td:last-child {
    border-right: 1px solid #f1f5f9;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Product Image */
.product-thumbnail img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 12px;
}

/* Product Name & Meta */
.product-name a {
    font-weight: 700 !important;
    color: var(--v-color-black) !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
}

.product-name .variation {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #64748b;
}

.product-name .variation dt {
    font-weight: 600;
    margin-right: 5px;
}

/* Price & Subtotal */
.product-price,
.product-subtotal {
    font-weight: 700 !important;
    color: var(--v-color-primary) !important;
}

/* Remove Button */
.product-remove a {
    color: #ef4444 !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef2f2;
}

.product-remove a:hover {
    background: #ef4444;
    color: #fff !important;
}

/* Coupon & Actions */
.actions {
    padding: 2rem 0 !important;
    background: transparent !important;
    border: none !important;
}

.coupon {
    display: flex !important;
    gap: 10px;
}

.coupon input {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 1.5rem !important;
    height: 50px !important;
    min-width: 200px;
}

.coupon button,
.actions [name='update_cart'] {
    height: 50px !important;
    border-radius: 12px !important;
    padding: 0 2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.coupon button {
    background: var(--v-color-black) !important;
    color: #fff !important;
}

/* Totals Sidebar */
.cart-collaterals {
    flex: 0 0 400px;
    width: 100%;
}

.cart_totals {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 140px;
}

.cart_totals h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    color: var(--v-color-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop_table_responsive {
    width: 100%;
}

.cart-subtotal th,
.order-total th {
    text-align: left;
    color: #64748b;
    font-weight: 600;
}

.cart-subtotal td,
.order-total td {
    text-align: right;
    font-weight: 700;
}

.order-total td {
    font-size: 1.5rem !important;
    color: var(--v-color-primary) !important;
}

.wc-proceed-to-checkout {
    margin-top: 2rem;
}

.checkout-button {
    width: 100% !important;
    height: 65px !important;
    background: var(--v-color-primary) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(var(--v-color-primary-rgb), 0.3);
    transition: all 0.3s ease !important;
}

.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--v-color-primary-rgb), 0.4);
}

@media (max-width: 992px) {
    .woocommerce-cart .woocommerce {
        flex-direction: column;
    }

    .cart-collaterals {
        flex: 1;
        position: static;
    }

    .woocommerce-cart-form__contents,
    .woocommerce-cart-form__contents tbody,
    .woocommerce-cart-form__cart-item,
    .woocommerce-cart-form__cart-item td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .woocommerce-cart-form__cart-item td {
        border: none !important;
        padding: 0.5rem 1.5rem !important;
    }

    .woocommerce-cart-form__cart-item td:first-child {
        padding-top: 2rem !important;
    }

    .woocommerce-cart-form__cart-item td:last-child {
        padding-bottom: 2rem !important;
        border-radius: 16px !important;
    }

    .product-thumbnail img {
        margin: 0 auto;
    }

    .coupon {
        flex-direction: column;
    }

    .coupon input {
        width: 100% !important;
    }
}


/* Specific overrides for Cart Page Quantity */
.woocommerce-cart-form__contents .quantity {
    height: 45px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
}

.woocommerce-cart-form__contents .v-qty-btn {
    width: 32px !important;
}

.woocommerce-cart-form__contents .qty {
    width: 40px !important;
    font-size: 1rem !important;
}

/* Empty Cart Styling */
.cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cart-empty::before {
    content: '??';
    display: block;
    font-size: 5rem;
    margin-bottom: 2rem;
}

.return-to-shop {
    margin-top: 2rem;
}

.return-to-shop .button {
    background: var(--v-color-primary) !important;
    color: #fff !important;
    padding: 1.25rem 3rem !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
}

.return-to-shop .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--v-color-primary-rgb), 0.3);
}

/* Fix for responsive table layout */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        gap: 2rem;
    }

    .cart_totals {
        padding: 1.5rem;
    }

    .woocommerce-cart-form__cart-item td.product-thumbnail {
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
    }
}


/* Update Cart Button Styling */
.actions button[name='update_cart'] {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.actions button[name='update_cart']:not(:disabled):hover {
    background: var(--v-color-black) !important;
    color: #fff !important;
    border-color: var(--v-color-black) !important;
}

.actions button[name='update_cart']:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Cart Page Header */
.woocommerce-cart .entry-title {
    text-align: center;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 3rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--v-color-black);
}

.woocommerce-cart .entry-header {
    background: #f8fafc;
    padding: 4rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid #e2e8f0;
}


/* 
--------------------------------------------------------------------------------
FIXES FOR CART PAGE
--------------------------------------------------------------------------------
*/

/* Layout - Hide cross-sells from the side and move them below if needed */
.woocommerce-cart .woocommerce {
    display: block !important;
    /* Stack them for better control */
}

.woocommerce-cart-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 3rem;
}

/* Redefine two-column for main content vs sidebar only */
@media (min-width: 992px) {
    .v-cart-main-content {
        display: flex;
        gap: 3rem;
        align-items: flex-start;
    }

    .woocommerce-cart-form {
        flex: 1;
    }

    .cart-collaterals {
        flex: 0 0 400px !important;
    }
}

/* Ensure cross-sells go below the form */
.cross-sells {
    width: 100% !important;
    margin-top: 4rem !important;
    clear: both;
}

/* Cart Item Styling Refinement */
.woocommerce-cart-form__contents {
    border-spacing: 0 10px !important;
}

.woocommerce-cart-form__cart-item td {
    border: none !important;
    vertical-align: middle !important;
    background: #fff;
}

/* Product Remove Button */
.product-remove {
    width: 50px;
    text-align: center;
}

.product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    background: #fff0f0 !important;
    color: #ff4d4d !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.product-remove a.remove:hover {
    background: #ff4d4d !important;
    color: #fff !important;
}

/* Product Thumbnail */
.product-thumbnail {
    width: 120px;
}

.product-thumbnail img {
    border: 1px solid #f1f5f9;
}

/* Product Info */
.product-name {
    text-align: left !important;
}

.product-name a {
    display: block;
    margin-bottom: 8px;
}

/* Quantity Field in Cart */
.woocommerce-cart-form__cart-item .quantity {
    display: inline-flex !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 40px !important;
    min-width: 100px !important;
    padding: 0 5px;
}

.woocommerce-cart-form__cart-item .quantity input.qty {
    width: 40px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    font-weight: 600;
}

/* Totals Box Refinement */
.cart_totals {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    padding: 2rem !important;
}

.cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.cart_totals th,
.cart_totals td {
    padding: 15px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    border-bottom: none !important;
    padding-top: 25px !important;
}

.cart_totals td {
    text-align: right !important;
}

/* Shipping Methods in Totals */
#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    text-align: left !important;
}

#shipping_method li {
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    font-size: 0.85rem;
}

#shipping_method input {
    margin-top: 3px !important;
}

.woocommerce-shipping-destination {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
    text-align: left;
}

.shipping-calculator-button {
    font-size: 0.85rem !important;
    color: var(--v-color-primary) !important;
    font-weight: 600 !important;
}


/* Cross Sells (Compatible Products) Styling */
.cross-sells h2 {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase;
    text-align: left;
}

.cross-sells ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 992px) {
    .cross-sells ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Ensure the cart form and totals are in a container that allows the flex layout */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
    float: none !important;
}

/* Fix for checkout flow buttons */
.wc-proceed-to-checkout .checkout-button {
    margin-top: 15px;
}


/* Refine Totals Table and Shipping */
.cart_totals .shop_table {
    border: none !important;
}

.cart_totals .shop_table tr th,
.cart_totals .shop_table tr td {
    padding: 20px 0 !important;
    border-top: none !important;
}

.cart_totals .shop_table .cart-subtotal th,
.cart_totals .shop_table .cart-subtotal td {
    border-bottom: 1px solid #f1f5f9 !important;
}

.cart_totals .shipping td {
    vertical-align: top !important;
}

#shipping_method {
    margin-top: 5px !important;
}

#shipping_method li {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px !important;
}

#shipping_method li:has(input:checked) {
    border-color: var(--v-color-primary);
    background: #fff;
    box-shadow: 0 4px 12px rgba(var(--v-color-primary-rgb), 0.05);
}

.woocommerce-shipping-totals h3 {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
}

/* Fix product subtotal alignment in cart form */
.product-price,
.product-quantity,
.product-subtotal {
    text-align: center !important;
}

/* Ensure the cart page doesn't have a sidebar if Woodmart or another theme is trying to add it */
.woocommerce-cart #secondary {
    display: none !important;
}

.woocommerce-cart #primary {
    width: 100% !important;
    flex: 0 0 100% !important;
}


/* Cross-sells Section spacing */
.cross-sells {
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
}


/* 2-Column Layout for Cart Page */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 !important;
        width: auto !important;
    }

    .woocommerce-cart .cart-collaterals {
        flex: 0 0 380px !important;
        width: 380px !important;
        margin: 0 !important;
    }
}

/* End of File Cleanup */


/* Unified Recommendation System Active via functions.php */


/* Modern Cart Implementation End */




/* Hide default cross-sells if we are using per-product alerts */
.woocommerce-cart .cross-sells {
    display: none !important;
}


/* Hide Price/Subtotal columns in Cart Table */
.woocommerce-cart-form__contents th.product-price,
.woocommerce-cart-form__contents th.product-subtotal,
.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart-form__contents td.product-subtotal {
    display: none !important;
}

/* Style Unit Price under product name */
.v-cart-unit-price {
    font-size: 0.9rem;
    color: var(--v-color-primary);
    font-weight: 700;
    margin-top: 8px;
    background: #f0f7ff;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Remove stray colon from variations */
.variation dt::after {
    content: "" !important;
}



/* Theme Customizations Active via functions.php */


.cart_totals .order-total td {
    font-size: 1.25rem !important;
}




.cart_totals {
    border-radius: 20px !important;
    padding: 30px !important;
    background: #fff !important;
}

.cart_totals .shop_table tr th {
    width: 40% !important;
}

.cart_totals .order-total td {
    font-size: 1.4rem !important;
}


/* WooCommerce Notices Styling */
.woocommerce-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 25px !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-info {
    border-left: 4px solid var(--v-color-primary) !important;
}
.woocommerce-error {
    border-left: 4px solid #ef4444 !important;
}
.woocommerce-message {
    border-left: 4px solid #10b981 !important;
}

/* Coupon Notice Specific */
.woocommerce-form-coupon-toggle .woocommerce-info {
    border-left: none !important;
    border-radius: 16px !important;
    padding: 20px 25px 20px 60px !important;
    font-weight: 500 !important;
    position: relative !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    content: "🎟️" !important;
    position: absolute !important;
    left: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.25rem !important;
    display: block !important;
    margin: 0 !important;
}

.woocommerce-form-coupon-toggle .showcoupon {
    color: #f97316 !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    text-decoration: none !important;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
    text-decoration: underline !important;
}

/* Checkout Coupon Form */
form.checkout_coupon {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 25px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 30px !important;
}

form.checkout_coupon p {
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

form.checkout_coupon p.form-row-first {
    width: 65% !important;
}

form.checkout_coupon p.form-row-last {
    width: calc(35% - 15px) !important;
    margin-left: 15px !important;
}


form.checkout_coupon input.input-text {
    width: 100% !important;
    height: 48px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 15px !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}

form.checkout_coupon input.input-text:focus {
    border-color: var(--v-color-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 96, 223, 0.1) !important;
}

form.checkout_coupon button.button {
    height: 48px !important;
    border-radius: 10px !important;
    background: #1e293b !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0 25px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

form.checkout_coupon button.button:hover {
    background: #f97316 !important;
    transform: translateY(-2px) !important;
}




/* End of Vopsinel Theme Styles */


/* Cleanup Step 2 */


/* Cleanup Step 3 */


/* Cleanup Step 4 */



/* Cleanup Step 5 */


/* Cleanup Step 6.1 */



/* Cleanup Step 6.2 */


/* Cleanup Step 7 */



/* Cleanup Step 8 */



/* Cleanup Step 9 */



/* Cleanup Step 10 */



/* Cleanup Step 11 */



/* -----------------------------------------------------------------------------
   MODERN MOBILE CART REBUILD
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Hide table headers and labels */
    .woocommerce-cart-form__contents thead,
    .woocommerce-cart-form__cart-item td::before {
        display: none !important;
    }

    .woocommerce-cart-form__cart-item {
        display: block !important;
        background: #fff !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        position: relative !important;
        border: 1px solid #f1f5f9 !important;
        overflow: hidden !important;
    }

    .woocommerce-cart-form__cart-item td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
    }

    /* Position X on the TOP-RIGHT, away from the image */
    .product-remove {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 10 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .product-remove a.remove {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        background: #f1f5f9 !important;
        color: #94a3b8 !important;
        border-radius: 50% !important;
        font-size: 14px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        line-height: 1 !important;
    }

    .product-remove a.remove:hover {
        background: #fee2e2 !important;
        color: #ef4444 !important;
    }

    .product-thumbnail {
        float: left !important;
        width: 70px !important;
        margin-right: 15px !important;
        margin-bottom: 10px !important;
    }

    .product-thumbnail img {
        width: 70px !important;
        height: 70px !important;
        object-fit: contain !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
    }

    .product-name {
        padding-top: 5px !important;
    }

    .product-name a {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #111827 !important;
        line-height: 1.3 !important;
    }

    /* Details and Variations Cleanup */
    .variation {
        clear: both !important;
        margin-top: 10px !important;
        display: block !important;
        font-size: 0.85rem !important;
        color: #64748b !important;
    }

    .variation dt,
    .variation dd {
        display: inline !important;
        margin: 0 !important;
    }

    /* Remove colons and labels like 'Produs:' */
    .variation dt {
        display: none !important;
    }

    /* Quantity and Price alignment */
    .product-quantity {
        clear: both !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .product-quantity .quantity {
        width: 110px !important;
    }
}

/* DESKTOP - Restore image width */
@media (min-width: 992px) {
    .product-thumbnail {
        width: 120px !important;
        min-width: 120px !important;
    }

    .product-thumbnail img {
        width: 100px !important;
        height: auto !important;
    }
}

/* MINIMIZE CART HEADER SPACING & STYLIZE TITLE */
.woocommerce-cart .entry-header {
    margin-bottom: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    text-align: center !important;
}

.woocommerce-cart .entry-title {
    margin: 0 !important;
    padding: 0 0 8px 0 !important;
    line-height: 1.1 !important;
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #1a1a1a !important;
    display: inline-block !important;
    border-bottom: 3px solid #f97316 !important;
    /* Brand accent under title */
}

/* FORCE SIDE-BY-SIDE CART LAYOUT - DESKTOP */
@media (min-width: 992px) {

    .woocommerce-cart #content .woocommerce,
    .woocommerce-cart .woocommerce {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 40px !important;
        width: 100% !important;
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .woocommerce-cart .woocommerce-cart-form {
        flex: 0 0 55% !important;
        width: 55% !important;
        margin: 0 !important;
    }

    .woocommerce-cart .cart-collaterals {
        flex: 0 0 42% !important;
        width: 42% !important;
        margin: 0 !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        float: none !important;
    }

    /* TIGHTEN LABELS COLUMN */
    .woocommerce-cart .cart_totals table th {
        width: 25% !important;
        /* Narrower labels */
        text-align: left !important;
        padding-left: 0 !important;
    }

    .woocommerce-cart .cart_totals table td {
        width: 75% !important;
        /* More space for values/inputs */
        text-align: right !important;
    }
}




/* FORCE X TO TOP-RIGHT ON MOBILE */
@media (max-width: 768px) {
    .woocommerce-cart-form__contents tr td.product-remove {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        /* Override any left position */
        display: block !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        z-index: 20 !important;
    }

    .woocommerce-cart-form__contents tr td.product-remove a.remove {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        background: #fee2e2 !important;
        /* Light red background */
        color: #ef4444 !important;
        /* Red X */
        border-radius: 50% !important;
        font-size: 16px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
        text-decoration: none !important;
    }

}


/* UNIFY CHECKOUT BUTTONS COLORS */
.woocommerce-cart .checkout-button,
.woocommerce-cart .v-fast-btn-secondary,
.woocommerce-cart .wc-forward {
    background-color: #f97316 !important;
    color: #fff !important;
}

.woocommerce-cart .checkout-button:hover {
    background-color: #ea580c !important;
}

/* HIDE WOOCOMMERCE NOTICES COMPLETELY ON CART PAGE */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-notice {
    display: none !important;
}


/* ==========================================================================
   SHOPIFY-STYLE CHECKOUT LAYOUT (VOPSINEL THEME)
   ========================================================================== */



/* PREVENT HORIZONTAL SCROLL ON CHECKOUT */
.woocommerce-checkout {
    overflow-x: hidden !important;
}

.v-wc-wrapper {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (min-width: 992px) {

    /* Main Layout Container */
    .woocommerce-checkout form.checkout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 20px 0 !important;
        box-sizing: border-box !important;
    }

    /* Left Column Container (Billing + Shipping) */
    .woocommerce-checkout #customer_details {
        float: left !important;
        width: calc(47% - 15px) !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
    }

    /* Right Column (Order Review) */
    .woocommerce-checkout #order_review {
        float: right !important;
        width: calc(53% - 15px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        position: sticky !important;
        top: 100px !important;
        box-sizing: border-box !important;
    }
}









/* Premium Field Styling */
.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-checkout label {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    display: block !important;
    color: #334155 !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    padding: 12px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
    font-size: 1rem !important;
    width: 100% !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus {
    border-color: #f97316 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
    outline: none !important;
}

/* Order Review Box Styling */
#order_review {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

/* Table in Order Review */
.woocommerce-checkout-review-order-table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 10px 0 !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 500 !important;
    color: #475569 !important;
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: right !important;
}

/* Payment Methods Section */
#payment {
    background: #f8fafc !important;
    border-radius: 15px !important;
    padding: 20px !important;
    border: 1px solid #f1f5f9 !important;
}

#payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
}

#payment ul.payment_methods li {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s ease !important;
}

#payment ul.payment_methods li:hover {
    border-color: #cbd5e1 !important;
}

#payment ul.payment_methods li input {
    margin-right: 15px !important;
}

/* Final Place Order Button */
.woocommerce-checkout #place_order {
    background-color: #f97316 !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    border: none !important;
    margin-top: 20px !important;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2) !important;
    transition: all 0.3s ease !important;
}

.woocommerce-checkout #place_order:hover {
    background-color: #ea580c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3) !important;
}

/* Responsive Fixes for Checkout */
@media (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        display: block !important;
    }

    .woocommerce-checkout #customer_details {
        float: none !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .woocommerce-checkout #order_review {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 30px !important;
    }
}


/* Checkout Section Cards */
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-additional-fields {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important; /* Force borders and padding to fit inside 100% width */
}

/* Ensure the left column starts at exact same height as the right one */
.woocommerce-checkout .col-1 {
    margin-top: 0 !important;
}

.woocommerce-checkout .col2-set {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout h3 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    color: #1e293b !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
}

/* Fix for the right column spacing */
@media (min-width: 992px) {
    #order_review {
        margin-top: 0 !important;
    }
}


/* Hide Redundant Checkout Heading */
.woocommerce-checkout #order_review_heading {
    display: none !important;
}

/* Order Review Product Styling */
.v-checkout-product-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    text-align: left !important;
}

.v-checkout-product-thumb {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    background: #f1f5f9 !important;
    border-radius: 12px !important;
    padding: 4px !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.v-checkout-product-info {
    flex: 1 !important;
}

.v-product-name {
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.v-product-meta {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
}

/* Order Review Totals Styling */
.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 500 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: right !important;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.1rem !important;
    color: #f97316 !important;
    border-top: 2px solid #f1f5f9 !important;
    padding-top: 15px !important;
}



/* ==========================================================================
   PIXEL-PERFECT CHECKOUT ALIGNMENT
   ========================================================================== */

.v-wc-wrapper {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    /* Don't cut shadows */
}



/* Align inner titles horizontally */
.woocommerce-checkout h3,
.woocommerce-checkout-review-order-table thead th {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 10px !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
}

/* Product List & Thumbnails Cleanup (No Borders) */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table tr {
    border: none !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout-review-order-table tr:last-child {
    border-bottom: none !important;
}

.v-checkout-product-thumb {
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.v-checkout-product-thumb img {
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

.v-product-name {
    display: block !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
}

.v-product-meta {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-top: 3px !important;
}


/* Hide ONLY redundant WooCommerce elements (direct children of TD) */
.woocommerce-checkout-review-order-table td>.product-quantity,
.woocommerce-checkout-review-order-table td>.variation,
.woocommerce-checkout-review-order-table td>dl.variation {
    display: none !important;
}

/* Ensure attributes INSIDE our custom meta remain visible */
.v-product-meta .variation,
.v-product-meta dl.variation {
    display: inline !important;
}

.v-attr-list dt,
.v-attr-list dd,
.v-attr-list p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

.v-attr-list dd::after {
    content: " • ";
    /* Use a dot as a cleaner separator */
    margin: 0 5px;
    color: #cbd5e1 !important;
}

.v-attr-list dd:last-child::after {
    content: "";
}

.v-attr-list {
    margin-bottom: 2px !important;
    display: block !important;
}

/* Premium Payment Methods Styling - FIXED ALIGNMENT */
#payment ul.payment_methods li {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s ease !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    /* Vertically center radio and text */
}

#payment ul.payment_methods li:hover {
    border-color: #f97316 !important;
    background: #fffaf7 !important;
}

#payment ul.payment_methods li input[type="radio"] {
    margin: 0 15px 0 0 !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    accent-color: #f97316 !important;
}

#payment ul.payment_methods li label {
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-grow: 1 !important;
}

/* Style for the new manual title */
#v-order-review-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 15px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* Ensure payment description takes full width below */
#payment div.payment_box {
    width: 100% !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-top: 15px !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    border: 1px solid #f1f5f9 !important;
    position: relative !important;
}


.v-date-attr {
    display: none !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
    margin-top: 8px !important;
    font-weight: 500 !important;
}


.woocommerce-checkout-review-order-table tr:last-child .v-date-attr {
    display: block !important;
}

/* Premium Invoice Toggle & Company Fields Styling */
#billing_invoice_type_field {
    background: #fffaf7 !important;
    border: 1px dashed #f97316 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    transition: all 0.2s ease !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#billing_invoice_type_field:hover {
    background: #fff7f2 !important;
    border-color: #ea580c !important;
}

#billing_invoice_type_field label.checkbox {
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: flex-start !important; /* Align checkbox with the first line of text */
    gap: 12px !important;
    line-height: 1.4 !important;
}

#billing_invoice_type_field label .optional {
    display: none !important; /* Hide redundant "(opțional)" text */
}

#billing_invoice_type_field input[type="checkbox"] {
    margin: 0 !important;
    margin-top: 2px !important; /* Nudge checkbox to align perfectly with the first line of text */
    width: 20px !important;
    height: 20px !important;
    accent-color: #f97316 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important; /* Prevent checkbox from squeezing on mobile */
}

/* Hide Company Fields by Default to Prevent Flickering */
#billing_company_field,
#billing_wooccm11_field,
#billing_wooccm12_field {
    display: none;
}

/* Desktop and Mobile Helper Visibility Classes */
.v-desktop-only {
    display: inline !important;
}
.v-mobile-only {
    display: none !important;
}

/* Responsive Fixes for Coupon & Fields on Mobile */
@media (max-width: 768px) {
    /* Responsive helper overrides */
    .v-desktop-only {
        display: none !important;
    }
    .v-mobile-only {
        display: inline !important;
    }

    /* Keep Coupon Input and Button side-by-side on a single line on mobile */
    form.checkout_coupon {
        padding: 15px !important;
    }

    form.checkout_coupon p.form-row-first {
        width: 65% !important;
        margin: 0 !important;
        display: inline-block !important;
        float: left !important;
    }
    
    form.checkout_coupon p.form-row-last {
        width: calc(35% - 10px) !important;
        margin-left: 10px !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
        float: left !important;
    }

    /* Clearfix for coupon form container */
    form.checkout_coupon::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    /* Reduce Coupon Toggle padding on mobile to save vertical space and force single-line */
    .woocommerce-form-coupon-toggle .woocommerce-info {
        padding: 15px 15px 15px 42px !important;
        font-size: 0.875rem !important; /* 14px */
        white-space: nowrap !important; /* Strictly enforce single-line */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .woocommerce-form-coupon-toggle .woocommerce-info::before {
        left: 12px !important;
        font-size: 1.15rem !important;
    }

    /* Checkbox Label font size on mobile */
    #billing_invoice_type_field label.checkbox {
        font-size: 0.95rem !important;
    }
}

/* Select2 Dropdown Premium Styling */
.select2-dropdown {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

.select2-search--dropdown {
    padding: 10px 12px 8px 12px !important;
    background-color: #ffffff !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #f97316 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1) !important;
}

/* Results & Options styling */
.select2-results__options {
    max-height: 250px !important;
}

.select2-results__option {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    transition: all 0.15s ease !important;
}

/* Highlighted (hovered) option */
.select2-results__option--highlighted[aria-selected] {
    background-color: #f97316 !important;
    color: #ffffff !important;
}

/* Selected option */
.select2-results__option[aria-selected="true"] {
    background-color: #fff7f2 !important;
    color: #ea580c !important;
    font-weight: 600 !important;
}

/* Scrollbar for select2 results dropdown */
.select2-results__options::-webkit-scrollbar {
    width: 6px !important;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Ship to a different address Premium Checkbox Card */
#ship-to-different-address {
    background: #fffaf7 !important;
    border: 1px dashed #f97316 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-top: 30px !important;
    margin-bottom: 25px !important;
    transition: all 0.2s ease !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    
    /* Overriding default h3 styling rules */
    font-size: 1rem !important;
    font-weight: normal !important;
    border-bottom: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

#ship-to-different-address:hover {
    background: #fff7f2 !important;
    border-color: #ea580c !important;
}

#ship-to-different-address label.checkbox {
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: flex-start !important; /* Top-line alignment */
    gap: 12px !important;
    line-height: 1.4 !important;
    width: 100% !important;
}

#ship-to-different-address input[type="checkbox"] {
    margin: 0 !important;
    margin-top: 2px !important; /* Align with first line of text */
    width: 20px !important;
    height: 20px !important;
    accent-color: #f97316 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

/* Mobile font override to match other checkbox card */
@media (max-width: 768px) {
    #ship-to-different-address label.checkbox {
        font-size: 0.95rem !important;
    }
}

/* End of Vopsinel Theme Styles */