/*
Theme Name: Novique Essentials
Theme URI: https://formio.in/
Author: Formio
Author URI: https://formio.in/
Description: Novique Essentials custom WooCommerce theme. Developed by Formio.
Version: 1.0.0
Text Domain: novique-essentials
*/

/* Core Tailwind Resets & Global Styles will be added here or via build process */
body {
    font-family: 'tk-stratum-1-web-n9', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Global scrollbar polish */
html {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: #f8fafc;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border: 2px solid #f8fafc;
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* Ensure product lightbox overlays header/top banner */
.pswp,
.pswp__bg,
.pswp__scroll-wrap,
.pswp__ui,
.pswp__caption,
.pswp__top-bar,
.pswp__button {
    z-index: 10050 !important;
}

/* Global mobile overflow guard */
@media (max-width: 991px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    #top-inquiry-banner,
    #site-header,
    #header-search-bar,
    #primary-navigation,
    #primary,
    .site-main,
    .shop-archive-container,
    .single-product-container,
    .woocommerce,
    .tinv-wishlist.woocommerce {
        max-width: 100vw !important;
        overflow-x: clip !important;
    }

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}
}

/* Global loader (centered overlay) */
.manthan-global-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

.manthan-global-loader .spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e5e7eb;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: manthan-spin 0.8s linear infinite;
}

body.is-global-loading .manthan-global-loader {
    opacity: 1;
    pointer-events: auto;
}

@keyframes manthan-spin {
    to {
        transform: rotate(360deg);
    }
}

/* WooCommerce Button Overrides */
.add_to_cart_button,
.product_type_simple,
.product_type_variable,
.product_type_external {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
    text-decoration: none !important;
}

/* Stretched Link Utility */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    content: "";
}

/* Amazon Layout Styles */
.product-highlights ul {
    list-style: disc !important;
    padding-left: 1.25rem !important;
    margin-top: 1rem !important;
    color: #4b5563;
}

.product-highlights li {
    margin-bottom: 0.5rem !important;
}

/* Purchase Box Styling */
.purchase-actions .cart .button {
    width: 100% !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.purchase-actions .single_add_to_cart_button {
    background: #FFD814 !important;
    /* Amazon Yellow */
    color: #0F1111 !important;
}

.purchase-actions .single_add_to_cart_button:hover {
    background: #F7CA00 !important;
}

/* Quantity input styling inside purchase box */
.purchase-actions div.quantity {
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #f8fafc !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.purchase-actions .quantity input {
    background: transparent !important;
    border: none !important;
    font-weight: bold !important;
}

/* Amazon Layout Styles Overrides */
.amazon-layout {
    font-family: "tk-stratum-1-web-n9", "Amazon Ember", Arial, sans-serif !important;
}

.woocommerce-product-gallery {
    display: flex !important;
    gap: 15px !important;
    flex-direction: row-reverse !important;
}

.woocommerce-product-gallery .flex-control-nav {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 60px !important;
    padding: 0 !important;
}

.woocommerce-product-gallery .flex-control-nav li {
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-nav li img {
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 2px !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
}

.woocommerce-product-gallery .flex-control-nav li img.flex-active,
.woocommerce-product-gallery .flex-control-nav li img:hover {
    border-color: #e67e22 !important;
    box-shadow: 0 0 4px rgba(230, 126, 34, 0.5) !important;
}

/* Purchase Box & Form Overrides */
.purchase-actions .single_add_to_cart_button {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
    color: #0F1111 !important;
    border-radius: 20px !important;
}

.purchase-actions .single_add_to_cart_button:hover {
    background: #F7CA00 !important;
    border-color: #F2C200 !important;
}

.purchase-actions .button.alt {
    background: #FFA41C !important;
    border: 1px solid #FF8F00 !important;
    color: #0F1111 !important;
    border-radius: 20px !important;
}

.purchase-actions .button.alt:hover {
    background: #FA8914 !important;
}

/* Breadcrumb refinement */
.woocommerce .woocommerce-breadcrumb {
    margin: 2rem auto !important;
    padding: 0 1.5rem !important;
    color: #94a3b8 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    line-height: 1 !important;
    text-transform: uppercase;
}

.woocommerce-breadcrumb a {
    color: #0f172a !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em !important;
}

.woocommerce-breadcrumb a:hover {
    color: #f43f5e !important;
}

/* Truncate long product names in breadcrumbs */
.woocommerce-breadcrumb .breadcrumb_last,
.nve-breadcrumb .woocommerce-breadcrumb .breadcrumb_last {
    display: inline-block;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

@media (max-width: 991px) {
    .woocommerce-breadcrumb .breadcrumb_last,
    .nve-breadcrumb .woocommerce-breadcrumb .breadcrumb_last {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .woocommerce-breadcrumb .breadcrumb_last,
    .nve-breadcrumb .woocommerce-breadcrumb .breadcrumb_last {
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* ========================================================================== 
   PAGE HERO HEADERS (CART / WISHLIST / MY ACCOUNT / STANDARD PAGES)
   ========================================================================== */
body.page #primary.site-main.container {
    padding-top: 1rem !important;
}

body.page #primary.site-main article>.entry-header {
    margin: 0 0 1.4rem !important;
    padding: 1.1rem 0 0.95rem !important;
    border-bottom: 1px solid #e2e8f0;
}

body.page #primary.site-main article>.entry-header h1 {
    margin: 0 !important;
    max-width: 100%;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
}

/* Support WooCommerce archive titles if enabled on any page/template */
body.woocommerce .woocommerce-products-header {
    margin: 0 auto 1.4rem !important;
    padding: 0 0 0.9rem !important;
    border-bottom: 1px solid #e2e8f0;
}

body.woocommerce .woocommerce-products-header__title.page-title {
    margin: 0 !important;
    font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
}

@media (max-width: 991px) {
    body.page #primary.site-main article>.entry-header {
        margin-bottom: 1rem !important;
        padding: 0.85rem 0 0.75rem !important;
    }
}

/* Star Rating Overrides */
.star-rating {
    font-size: 14px !important;
    width: 5.4em !important;
    color: #FFA41C !important;
}

/* Single product trust strip - mobile first */
.amazon-trust-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-top: 12px !important;
    margin-top: 8px !important;
    border-top: 1px solid #e5e7eb !important;
}

.amazon-trust-badges .badge-item {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    text-align: left !important;
    padding: 8px 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

.amazon-trust-badges .badge-item > div {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
}

.amazon-trust-badges .badge-item svg {
    width: 15px !important;
    height: 15px !important;
}

.amazon-trust-badges .badge-item span {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

@media (min-width: 768px) {
    .amazon-trust-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .amazon-trust-badges .badge-item {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 10px !important;
    }
}

/* Quantity hidden/minimized in Amazon Buy box */
.purchase-actions .quantity {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #F0F2F2 !important;
    border: 1px solid #D5D9D9 !important;
    padding: 2px 10px !important;
    border-radius: 8px !important;
    width: fit-content !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
}

/* Tabs */
/* Tabs section moved to minimalist refinement area at bottom of file */

/* ==========================================================================
   SIDE CART DRAWER - PREMIUM UI
   ========================================================================== */

#side-cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    background: #ffffff !important;
    z-index: 100001 !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12) !important;
    transform: translateX(100.1%) !important;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

#side-cart-drawer.is-open {
    transform: translateX(0) !important;
}

#side-cart-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px);
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.45s ease !important;
}

#side-cart-overlay.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.side-cart-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.side-cart-header {
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.side-cart-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-cart-count-badge {
    background: #fb7185;
    color: #fff;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

#close-side-cart {
    background: #f8fafc;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#close-side-cart:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

#close-side-cart svg {
    width: 20px;
    height: 20px;
}

/* Scroll Area */
.side-cart-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.side-cart-content-wrapper::-webkit-scrollbar {
    width: 4px;
}

.side-cart-content-wrapper::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* WooCommerce List Items */
.woocommerce-mini-cart {
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-mini-cart-item {
    display: flex !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    gap: 12px !important;
    align-items: flex-start !important;
    position: relative;
    list-style: none !important;
}

.mini-cart-item-image {
    width: 72px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.mini-cart-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.mini-cart-item-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.woocommerce-mini-cart-item:hover .mini-cart-item-image img {
    transform: scale(1.03);
}

.mini-cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mini-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.mini-cart-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    padding-right: 28px;
}

.mini-cart-item-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.mini-cart-item-title a:hover {
    color: #4f46e5;
}

.mini-cart-item-header .remove {
    position: absolute !important;
    top: 16px !important;
    right: 0px !important;
    font-size: 18px !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.mini-cart-item-header .remove:hover {
    color: #ef4444 !important;
    background: #fee2e2 !important;
}

.mini-cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.mini-cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

/* Quantity Controls in Drawer */
.mini-cart-quantity-controls {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 2px 6px;
    gap: 6px;
    height: 28px;
}

.mini-cart-quantity-controls .qty-btn {
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s;
    box-shadow: none;
}

.mini-cart-quantity-controls .qty-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mini-cart-quantity-controls .qty-number {
    padding: 0 4px;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    min-width: 14px;
    text-align: center;
}

/* Footer Section of Drawer */
.side-cart-footer {
    padding: 16px 20px 20px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.02);
}

.woocommerce-mini-cart__total {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-mini-cart__total strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
}

.woocommerce-mini-cart__total .amount {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce-mini-cart__buttons .button {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.woocommerce-mini-cart__buttons .checkout {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15) !important;
}

.woocommerce-mini-cart__buttons .checkout:hover {
    background: #4f46e5 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.2) !important;
}

.woocommerce-mini-cart__buttons a:not(.checkout) {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.woocommerce-mini-cart__buttons a:not(.checkout):hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

/* Empty State */
.woocommerce-mini-cart__empty-message {
    padding: 60px 0;
    text-align: center;
    color: #64748b;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.woocommerce-mini-cart__empty-message::before {
    content: '\f290';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 48px;
    color: #e2e8f0;
    display: block;
}

/* Loading State */
.widget_shopping_cart_content.blockUI.blockOverlay::before {
    display: none !important;
}

.widget_shopping_cart_content {
    position: relative;
}

.widget_shopping_cart_content.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 480px) {
    #side-cart-drawer {
        max-width: 100% !important;
    }

    .side-cart-header,
    .side-cart-content-wrapper,
    .side-cart-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Card Hover Effects - Re-adding lost styles */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image-link img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.cart-count-badge.hidden,
.hidden {
    display: none !important;
}

/* --- Standard Page Styling --- */
.site-main {
    min-height: 60vh !important;
}

.entry-content {
    color: #4b5563 !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
}

.entry-content h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.prose-indigo a {
    color: #4f46e5 !important;
    text-decoration: underline !important;
}

.prose-indigo a:hover {
    color: #4338ca !important;
}

#side-wishlist-drawer {
    /* Reuses .side-drawer logic if I refactor, but for now explicit */
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    background: #fff !important;
    z-index: 100001 !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1) !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}

#side-wishlist-drawer.is-open {
    transform: translateX(0) !important;
}

#side-wishlist-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s ease !important;
}

#side-wishlist-overlay.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Wishlist Badge Styling */
.wishlist-count-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #ec4899 !important;
    /* Pink for wishlist */
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 99px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    border: 2px solid #fff !important;
}

/* TI Wishlist Table Overrides for Drawer */
/* --- Dedicated Wishlist Page Premium Styling --- */
.tinv-wishlist.woocommerce {
    max-width: 1200px !important;
    margin: 30px auto !important;
    /* Reduced top margin */
    padding: 0 20px !important;
    font-family: 'tk-stratum-1-web-n9', sans-serif !important;
}

/* Cleanup Headings and Spacing */
.tinv-wishlist .tinv-header h2 {
    display: none !important;
    /* Hide 'Default wishlist' subtitle */
}

.tinv-wishlist .tinv-header {
    margin-bottom: 20px !important;
    /* Reduce spacing before table */
    padding-top: 0 !important;
}

/* Adjust main page title spacing for Wishlist only */
.page-template-default.wishlist-page header.entry-header,
.tinv-wishlist.woocommerce~header.entry-header {
    margin-bottom: 15px !important;
}

.tinv-wishlist.woocommerce header.entry-header h1 {
    margin-bottom: 10px !important;
    font-weight: 950 !important;
    color: #0d0d0d !important;
}

/* Logout / Clear link styling */
.tinvwl-content-upper .tinv-wishlist-clear,
.tinv-wishlist.woocommerce .tinvwl-content-upper a {
    color: #f43f5e !important;
    /* Exact Brand Rose */
    font-size: 11px !important;
    font-weight: 950 !important;
    /* Premium Weight */
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.tinv-wishlist.woocommerce .tinvwl-content-upper a:hover {
    color: #0d0d0d !important;
    transform: translateX(3px);
}

.tinv-wishlist.woocommerce .tinvwl-table-manage-list table {
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.tinv-wishlist.woocommerce thead th {
    background: #fdf2f4 !important;
    /* Very Light Rose tint */
    padding: 12px 20px !important;
    /* Reduced height */
    font-size: 10px !important;
    /* Smaller, subtler font */
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #4b5563 !important;
    /* Professional muted gray */
    border-bottom: 2px solid #f1f5f9 !important;
}

.tinv-wishlist.woocommerce tbody td {
    padding: 24px 20px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f8fafc !important;
}

.tinv-wishlist.woocommerce .product-thumbnail {
    width: 120px !important;
}

.tinv-wishlist.woocommerce .product-thumbnail img {
    width: 100px !important;
    height: 125px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.tinv-wishlist.woocommerce .product-thumbnail:hover img {
    transform: scale(1.08) rotate(1.5deg) !important;
}

.tinv-wishlist.woocommerce .product-name a {
    font-size: 17px !important;
    font-weight: 950 !important;
    color: #0d0d0d !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    line-height: 1.3 !important;
}

.tinv-wishlist.woocommerce .product-name a:hover {
    color: #f43f5e !important;
    /* Brand Rose */
}

.tinv-wishlist.woocommerce tbody .product-price {
    font-weight: 950 !important;
    color: #0d0d0d !important;
    font-size: 16px !important;
}

/* Add to Cart Button (Sync with Shop CTAs) */
.tinv-wishlist.woocommerce td.product-action .button.alt,
.tinv-wishlist.woocommerce .tinvwl_add_to_cart {
    background: #FFD814 !important;
    /* Amazon/Novique Yellow */
    color: #0F1111 !important;
    border-radius: 20px !important;
    padding: 12px 24px !important;
    font-weight: 950 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: all 0.3s ease !important;
    border: 1px solid #FCD200 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(213, 217, 217, .5) !important;
}

.tinv-wishlist.woocommerce td.product-action .button.alt:hover,
.tinv-wishlist.woocommerce .tinvwl_add_to_cart:hover {
    background: #F7CA00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(213, 217, 217, .8) !important;
}

.tinv-wishlist.woocommerce .product-remove button {
    background: #fef2f2 !important;
    color: #f43f5e !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    cursor: pointer !important;
}

.tinv-wishlist.woocommerce .product-remove button:hover {
    background: #f43f5e !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Bulk Action Buttons (Sync with Home Page Dark CTAs) */
.tinv-wishlist.woocommerce .tinvwl-to-right.look_in .button {
    background: #0d0d0d !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 14px 28px !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-left: 12px !important;
}

.tinv-wishlist.woocommerce .tinvwl-to-right.look_in .button:hover {
    background: #f43f5e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.2) !important;
}

/* --- Social Sharing Buttons (Sync with Pinkish Highlights) --- */
.tinv-wishlist.woocommerce .tinvwl-social-share {
    margin-top: 60px !important;
    text-align: center !important;
    padding: 50px !important;
    background: #ffffff !important;
    border-radius: 32px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

.tinv-wishlist.woocommerce .tinvwl-social-share p {
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    color: #0d0d0d !important;
    margin-bottom: 30px !important;
}

.tinv-wishlist.woocommerce .tinvwl-social-share ul {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}

.tinv-wishlist.woocommerce .tinvwl-social-share ul li a {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f9fafb !important;
    border-radius: 50% !important;
    color: #0d0d0d !important;
    font-size: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}

.tinv-wishlist.woocommerce .tinvwl-social-share ul li a:hover {
    background: #f43f5e !important;
    color: #ffffff !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25) !important;
}

/* Empty Wishlist State (Main Wishlist Page) */
#primary .tinv-wishlist.woocommerce>p.cart-empty.woocommerce-info {
    margin: 24px auto 18px !important;
    max-width: 760px !important;
    padding: 24px 28px 24px 72px !important;
    border-radius: 22px !important;
    border: 1px solid #ffd7de !important;
    background: linear-gradient(135deg, #fff5f7 0%, #fff1f4 100%) !important;
    color: #111827 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.35 !important;
    box-shadow: 0 16px 40px rgba(244, 63, 94, 0.08) !important;
    position: relative !important;
}

#primary .tinv-wishlist.woocommerce>p.cart-empty.woocommerce-info::before {
    content: "\2661" !important;
    position: absolute !important;
    left: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #e11d48 !important;
    background: #ffe4ea !important;
    box-shadow: inset 0 0 0 1px #fecdd3 !important;
}

#primary .tinv-wishlist.woocommerce>p.return-to-shop {
    margin: 0 auto 10px !important;
    max-width: 760px !important;
}

#primary .tinv-wishlist.woocommerce>p.return-to-shop .button.wc-backward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24) !important;
}

#primary .tinv-wishlist.woocommerce>p.return-to-shop .button.wc-backward:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.3) !important;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .tinv-wishlist.woocommerce .tinvwl-table-manage-list table thead {
        display: none !important;
    }

    .tinv-wishlist.woocommerce .tinvwl-table-manage-list table tr {
        display: block !important;
        padding: 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 20px !important;
        margin-bottom: 20px !important;
        border: 1px solid #f1f5f9 !important;
    }

    .tinv-wishlist.woocommerce .tinvwl-table-manage-list table td {
        display: block !important;
        width: 100% !important;
        padding: 10px 0 !important;
        text-align: center !important;
        border: none !important;
    }

    .tinv-wishlist.woocommerce .product-thumbnail img {
        margin: 0 auto !important;
    }

    #primary .tinv-wishlist.woocommerce>p.cart-empty.woocommerce-info {
        padding: 20px 20px 20px 62px !important;
        font-size: 18px !important;
        border-radius: 18px !important;
    }

    #primary .tinv-wishlist.woocommerce>p.cart-empty.woocommerce-info::before {
        left: 18px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
    }

    #primary .tinv-wishlist.woocommerce>p.return-to-shop .button.wc-backward {
        width: 100% !important;
        max-width: 320px !important;
    }
}

/* --- Premium Product Card CSS --- */
.product-card {
    will-change: transform, shadow;
}

.product-card:hover .woocommerce-template-loop-product-thumbnail img {
    transform: scale(1.1);
}

.woocommerce-template-loop-product-thumbnail img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Floating Wishlist Button Refinement */
.tinv-wishlist {
    max-width: 1200px !important;
    margin: 0px auto !important;
    padding: 0px 3px !important;
}

.wishlist-button-wrapper .tinv-wraper {
    display: block !important;
    position: static !important;
}

.wishlist-button-wrapper {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 50 !important;
}

/* Consolidate Wishlist Icon Styling */
.wishlist-button-wrapper .tinvwl_add_to_wishlist_button {
    width: 42px !important;
    height: 42px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1a1a1a !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Consolidate Wishlist Icon Styling - SVG VERSION FOR RELIABILITY */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button {
    width: 42px !important;
    height: 42px !important;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1a1a1a !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
}

.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button:hover {
    background: #fff !important;
    color: #fb7185 !important;
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 8px 25px rgba(251, 113, 133, 0.25) !important;
}

/* Force Heart SVG on ::before and hide any font glyphs/i tags */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin: 0 !important;
    /* Reset any potential margins */
}

/* Hide i tags to prevent centering issues */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button i {
    display: none !important;
}

/* Filled State - FORCE FILLED HEART SVG */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button.tinvwl-product-make-remove::before,
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button.tinv-wishlist-added::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fb7185'%3E%3Cpath d='M11.645 20.91l-.007-.003-.022-.012a15.247 15.247 0 01-.383-.218 25.18 25.18 0 01-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0112 5.052 5.5 5.5 0 0116.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 01-4.244 3.17 15.247 15.247 0 01-.383.219l-.022.012-.007.004-.003.001a.752.752 0 01-.704 0l-.003-.001z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Hide any remaining font glyphs or close icons */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button::after,
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button i::before,
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button i::after {
    display: none !important;
}

/* Specifically hide anything that isn't the heart icon inside that button */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button * {
    display: none !important;
}

/* Hide TI Wishlist Text and Tooltips in Loop */
.product-card .tinvwl-tooltip,
.product-card .tinvwl_add_to_wishlist-text,
.product-card .tinvwl_already_on_wishlist-text,
.product-card .tinv-wishlist-clear,
.product-card .tinvwl-loop-add-to-wishlist span,
.product-card .tinvwl_add_to_wishlist-text,
.product-card .tinvwl_remove_from_wishlist-text {
    display: none !important;
}

/* Force hide any raw text and ensure only ::before shows */
.wishlist-button-wrapper a.tinvwl_add_to_wishlist_button {
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
}

/* Add to Cart Square Button Refinement - FORCE CENTERING */
.product-card .add-to-cart-wrapper .add_to_cart_button {
    display: flex !important;
    flex-direction: row !important;
    /* Override global column layout */
    justify-content: center !important;
    align-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background: #111827 !important;
    /* Premium Dark */
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.product-card .add-to-cart-wrapper .add_to_cart_button:hover {
    background: #4f46e5 !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3) !important;
}

.product-card .add-to-cart-wrapper .add_to_cart_button::before {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin: 0 !important;
}

/* Price Highlight */
.product-card .product-price ins {
    text-decoration: none !important;
    color: #1a1a1a !important;
}

.product-card .product-price del {
    font-size: 0.8em !important;
    color: #9ca3af !important;
    margin-right: 6px !important;
}

/* Badge Refinements */
.product-card .backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.wishlist-button-wrapper .tinvwl-loop-add-to-wishlist span {
    display: none !important;
    /* Hide "Add to Wishlist" text in loop */
}

.wishlist-button-wrapper .tinvwl-loop-add-to-wishlist i {
    font-size: 20px !important;
    color: #374151 !important;
}

.wishlist-button-wrapper .tinvwl-loop-add-to-wishlist:hover i {
    color: #ef4444 !important;
}

/* --- Global AJAX refinements --- */
/* Hide the automatically injected "View cart" link after AJAX add-to-cart */
.added_to_cart.wc-forward {
    display: none !important;
}

/* Hide WooCommerce notices on single product page for cleaner AJAX feel */
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-error {
    display: none !important;
}

/* Hide global "added to cart" style notices, keep errors visible */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
    display: none !important;
}

/* ==========================================================================
   NOVIQUE - Single Product V5 Editorial Bold
   =========================================================================== */

:root {
    --nve-accent: #b91c1c;
    --nve-ink: #0a0a0a;
    --nve-surface: #fafafa;
    --nve-strip-w: 56px;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nve-slide-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes nve-slide-left {
    from {
        opacity: 0;
        transform: translateX(36px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---- Outer article ---- */
article.nve-product {
    background: #fff;
}

/* ---- Hero Band ---- */
.nve-hero {
    display: grid;
    grid-template-columns: var(--nve-strip-w) 1fr;
    min-height: 92vh;
}

@media (min-width: 1024px) {
    .nve-hero {
        grid-template-columns: var(--nve-strip-w) 55% 1fr;
    }
}

/* ---- Accent strip ---- */
.nve-accent-strip {
    background: var(--nve-ink);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2.5rem;
    writing-mode: vertical-rl;
    position: relative;
    z-index: 2;
}

.nve-strip-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    transform: rotate(180deg);
    user-select: none;
}

/* ---- Image panel ---- */
.nve-image-panel {
    position: relative;
    background: transparent;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .nve-image-panel {
        position: sticky;
        top: 0;
        height: 100vh;
        align-self: start;
    }
}

@media (max-width: 1023px) {
    .nve-image-panel {
        grid-column: 2 / 3;
        min-height: 55vw;
    }
}

.nve-image-stage {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nve-image-stage .woocommerce-product-gallery {
    opacity: 1 !important;
    margin: 0 auto !important;
    height: auto !important;
    width: 100% !important;
    max-width: 520px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.nve-image-stage .woocommerce-product-gallery__wrapper {
    height: auto !important;
}

.nve-image-stage .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    margin: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    background: #f8fafc;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.nve-image-stage .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    max-height: 420px;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 10px !important;
    display: block !important;
    transition: transform 0.35s ease !important;
}

.nve-image-panel:hover .nve-image-stage img {
    transform: scale(1.02) !important;
}

/* Floating pill thumbnails */
.nve-image-stage .flex-control-thumbs {
    position: static !important;
    transform: none !important;
    display: flex !important;
    gap: 8px !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 12px 0 0 !important;
    justify-content: center !important;
    z-index: 10 !important;
    list-style: none !important;
    margin: 0 !important;
}

.nve-image-stage .flex-control-thumbs li {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    opacity: 0.75 !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
}

.nve-image-stage .flex-control-thumbs li:hover,
.nve-image-stage .flex-control-thumbs li.flex-active-slide {
    opacity: 1 !important;
    box-shadow: 0 0 0 2px var(--nve-accent) !important;
}

.nve-image-stage .flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Sale badge */
.nve-image-panel .onsale {
    position: absolute !important;
    top: 1.25rem !important;
    left: 1.25rem !important;
    right: auto !important;
    background: var(--nve-accent) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    z-index: 20 !important;
    box-shadow: 0 4px 14px -4px rgba(185, 28, 28, .5) !important;
}

/* Category chip */
.nve-category-chip {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(10, 10, 10, .85);
    color: rgba(255, 255, 255, .82);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    z-index: 20;
    backdrop-filter: blur(12px);
    animation: nve-slide-up 0.55s var(--ease-spring) 0.35s both;
}

/* ---- Details panel ---- */
.nve-details-panel {
    background: #fff;
    animation: nve-slide-left 0.7s var(--ease-spring) 0.1s both;
}

@media (max-width: 1023px) {
    .nve-details-panel {
        grid-column: 1 / 3;
    }
}

.nve-details-inner {
    padding: 3.5rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    max-width: 540px;
}

@media (max-width: 1023px) {
    .nve-details-inner {
        padding: 2.5rem 1.5rem 3rem;
        max-width: 100%;
    }
}

/* Breadcrumb */
.nve-breadcrumb .woocommerce-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 0 1.75rem !important;
    padding: 0 !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #9ca3af !important;
    line-height: 1 !important;
}

@media (max-width: 768px) {
    .nve-breadcrumb .woocommerce-breadcrumb {
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
        font-size: 0.58rem !important;
        letter-spacing: 0.08em !important;
        line-height: 1.4 !important;
    }

    .nve-breadcrumb .woocommerce-breadcrumb a,
    .nve-breadcrumb .woocommerce-breadcrumb span {
        white-space: normal !important;
        word-break: break-word !important;
    }
}

.nve-breadcrumb .woocommerce-breadcrumb a {
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.nve-breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--nve-ink) !important;
}

@media (max-width: 767px) {
    .woocommerce .woocommerce-breadcrumb {
        margin: 1rem 0 0.9rem !important;
        padding: 0 16px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.06em !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .nve-breadcrumb .woocommerce-breadcrumb {
        display: block !important;
        margin: 0 0 1rem !important;
        padding: 0 16px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.08em !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }
}

/* Title */
.nve-title-block {
    margin-bottom: 1rem;
    animation: nve-slide-up 0.6s var(--ease-spring) 0.18s both;
}

.nve-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(2rem, 3.2vw, 3rem) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: var(--nve-ink) !important;
    margin: 0 0 0.6rem !important;
}

/* Rating */
.nve-rating-row .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
}

.nve-rating-row .star-rating {
    color: #eab308 !important;
    font-size: 0.82rem !important;
}

.nve-rating-row .woocommerce-review-link {
    font-size: 0.72rem !important;
    color: #9ca3af !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Price */
.nve-price-block {
    margin: 0 0 1.5rem;
    animation: nve-slide-up 0.6s var(--ease-spring) 0.26s both;
}

.nve-price-block .price {
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    color: var(--nve-ink) !important;
    letter-spacing: -0.04em !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.nve-price-block .price del {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    color: #d1d5db !important;
    letter-spacing: 0 !important;
}

.nve-price-block .price ins {
    text-decoration: none !important;
    color: var(--nve-accent) !important;
}

/* Short desc */
.nve-short-desc {
    font-size: 0.93rem !important;
    line-height: 1.8 !important;
    color: #6b7280 !important;
    margin: 0 0 1.5rem !important;
    animation: nve-slide-up 0.6s var(--ease-spring) 0.32s both;
}

.nve-short-desc p {
    margin: 0 !important;
}

/* Divider */
.nve-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #e5e7eb 70%, transparent);
    margin: 0.25rem 0 1.5rem;
}

/* ---- Cart area ---- */
.nve-cart-area {
    animation: nve-slide-up 0.6s var(--ease-spring) 0.4s both;
}

.nve-cart-area .variations {
    width: 100% !important;
    margin-bottom: 1.25rem !important;
    border-spacing: 0 !important;
}

.nve-cart-area .variations td,
.nve-cart-area .variations th {
    padding: 0 0 0.75rem !important;
    border: none !important;
}

.nve-cart-area .variations label {
    font-size: 0.63rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #374151 !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

.nve-cart-area .variations select {
    width: 100% !important;
    height: 50px !important;
    border-radius: 0.75rem !important;
    border: 1.5px solid #e5e7eb !important;
    padding: 0 40px 0 16px !important;
    font-size: 0.93rem !important;
    font-weight: 600 !important;
    color: var(--nve-ink) !important;
    background-color: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: border-color 0.25s !important;
}

.nve-cart-area .variations select:focus {
    border-color: var(--nve-ink) !important;
    outline: none !important;
}

.nve-cart-area .cart {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
}

/* Quantity */
.nve-cart-area .quantity {
    display: inline-flex !important;
    align-items: center !important;
    background: #f3f4f6 !important;
    border-radius: 0.85rem !important;
    padding: 4px !important;
    height: 56px !important;
    border: 1.5px solid #e5e7eb !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
}

.nve-cart-area .qty-btn {
    width: 44px !important;
    height: 44px !important;
    border: none !important;
}

/* ==========================================================================
   AMAZON HIGH-FIDELITY RECONSTRUCTION (PHASE 4 - HARDENED)
   ========================================================================== */

.single-product-container {
    background: #fff !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    color: #0F1111 !important;
    max-width: 1500px !important;
    padding-top: 5px !important;
}

/* Force Hidden Elements */
.onsale,
.summary .price,
.woocommerce-product-rating+.price,
.product-trust-features,
.payment-badges {
    display: none !important;
}

/* Hide default WooCommerce stock text (use custom stock badge instead) */
.single-product .stock,
.single-product .woocommerce-variation-availability,
.single-product .woocommerce-variation-availability .stock {
    display: none !important;
}

/* --- Gallery & Thumbnails (Card-style, horizontal thumbs) --- */
.sticky-gallery {
    top: 10px;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
}

.woocommerce-product-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 !important;
    position: relative !important;
    order: 1 !important;
}

.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12) !important;
    z-index: 6 !important;
}

.flex-control-nav.flex-control-thumbs {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    order: 2 !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
}

.woocommerce-product-gallery .flex-control-nav li {
    width: auto !important;
}

.flex-control-thumbs li {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 0 !important;
    border: 1px solid #D5D9D9 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    list-style: none !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
}

@media (max-width: 768px) {
    .sticky-gallery {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .woocommerce-product-gallery {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .flex-control-nav.flex-control-thumbs {
        flex-direction: row !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 8px !important;
    }

    .flex-control-thumbs li {
        width: 54px !important;
        height: 54px !important;
        border-radius: 6px !important;
    }

    .nve-image-stage {
        padding: 20px 16px 12px;
    }

    .nve-image-stage .woocommerce-product-gallery__image {
        min-height: 280px;
        padding: 8px;
    }

    .nve-image-stage .woocommerce-product-gallery img {
        max-height: 320px;
    }
}

.flex-control-thumbs li img.flex-active {
    box-shadow: 0 0 0 2px #E77600 !important;
    border-color: #E77600 !important;
}

/* --- Center Column --- */
.product_title {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 400 !important;
    color: #0F1111 !important;
    margin-bottom: 2px !important;
}

.brand-link a {
    color: #007185 !important;
    font-size: 14px !important;
}

/* --- Buy Box Actions (Hard Force) --- */
.purchase-box {
    border: 1px solid #D5D9D9 !important;
    border-radius: 8px !important;
    padding: 18px !important;
    background: #fff !important;
    position: relative !important;
    /* For stock badge */
}

/* RE-STYLE QUANTITY DROPDOWN */
.amazon-qty-dropdown-wrapper {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
}

.amazon-qty-select-field {
    width: 70px !important;
    height: 30px !important;
    background: #F0F2F2 !important;
    border: 1px solid #D5D9D9 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
    padding: 0 8px !important;
    outline: none !important;
}

.amazon-qty-select-field:focus {
    border-color: #E77600 !important;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, .5) !important;
}

/* STACK THE BUTTONS PROPERLY */
.amazon-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.purchase-box .add-to-cart-form-wrapper form.cart {
    margin: 0 !important;
    width: 100% !important;
}

.purchase-box .add-to-cart-form-wrapper form.cart .quantity {
    display: none !important;
}

.purchase-box .add-to-cart-form-wrapper form.cart .single_add_to_cart_button {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    border-radius: 20px !important;
    color: #0F1111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 32px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
}

.purchase-box .add-to-cart-form-wrapper form.cart .single_add_to_cart_button.loading {
    opacity: .75 !important;
    cursor: wait !important;
}

/* PRIMARY ACTION: ADD TO CART */
.amazon-add-to-cart-btn {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    border-radius: 20px !important;
    color: #0F1111 !important;
    font-size: 13px !important;
    height: 32px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
}

.purchase-box .single_add_to_cart_button:hover {
    background: #F7CA00 !important;
    border-color: #F2C200 !important;
}

/* SECONDARY ACTION: BUY NOW */
.amazon-buy-now-btn {
    background: #FFA41C !important;
    border: 1px solid #FF8F00 !important;
    border-radius: 20px !important;
    color: #0F1111 !important;
    font-size: 13px !important;
    height: 32px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
}

.amazon-buy-now-btn:hover {
    background: #FA8900 !important;
    border-color: #E67A00 !important;
}

/* TERTIARY ACTION: WISHLIST (Bottom Footer) */
.wishlist-action-row {
    margin-top: 5px !important;
}

/* DARK THEME WISHLIST BUTTON */
.purchase-box .tinv-wraper a.tinvwl_add_to_wishlist_button {
    background: #131921 !important;
    /* Amazon Dark Gray/Black */
    border: 1px solid #131921 !important;
    border-radius: 20px !important;
    /* Matches primary buttons */
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 32px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15) !important;
    transition: background 0.2s !important;
}

.purchase-box .tinv-wraper a.tinvwl_add_to_wishlist_button:hover {
    background: #232f3e !important;
}

/* Hide default icons/i tags */
.purchase-box .tinvwl_add_to_wishlist_button i,
.purchase-box .tinvwl_add_to_wishlist_button::before,
.purchase-box .tinvwl_add_to_wishlist_button::after {
    display: none !important;
}

/* CUSTOM SVG ICONS FOR STATES */
.purchase-box .tinv-wraper a.tinvwl_add_to_wishlist_button::before {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    content: "" !important;
}

/* State: Add to Watchlist (Outline Heart) */
.purchase-box .tinvwl_add_to_wishlist_button:not(.tinvwl-product-in-list)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z' /%3E%3C/svg%3E") !important;
}

/* State: Remove from Watchlist (Filled Heart) */
.purchase-box .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.645 20.91l-.007-.003-.022-.012a15.247 15.247 0 01-.383-.218 25.18 25.18 0 01-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0112 5.052 5.5 5.5 0 0116.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 01-4.244 3.17 15.247 15.247 0 01-.383.219l-.022.012-.007.004-.003.001a.752.752 0 01-.704 0l-.003-.001z'/%3E%3C/svg%3E") !important;
}

/* TEXT VISIBILITY LOGIC */
.purchase-box .tinvwl_add_to_wishlist_button .tinvwl-action-add,
.purchase-box .tinvwl_add_to_wishlist_button .tinvwl-action-remove {
    display: none !important;
}

.purchase-box .tinvwl_add_to_wishlist_button:not(.tinvwl-product-in-list) .tinvwl-action-add {
    display: block !important;
}

.purchase-box .tinvwl_add_to_wishlist_button.tinvwl-product-in-list .tinvwl-action-remove {
    display: block !important;
}

/* Hide the duplicate wishlist button that appears inside the form (Sandwich fix) */
.add-to-cart-form-wrapper .tinv-wraper {
    display: none !important;
}

/* Amazon-style Main Price Display (Center Column) */
.amazon-main-price {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

.amazon-main-price .text-4xl {
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

.amazon-main-price .text-sm {
    font-size: 14px !important;
}

/* Amazon-style Modern Product Tabs */
/* Amazon-style Modern Product Tabs - FORCE RESET */
.woocommerce div.product .woocommerce-tabs,
.tabs-container .woocommerce-tabs {
    margin-top: 2rem !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.tabs-container .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
    border-bottom: 2px solid #f3f4f6 !important;
    background: transparent !important;
    overflow: visible !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.tabs-container .woocommerce-tabs ul.tabs::before,
.tabs-container .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.tabs-container .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 0 1rem 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.tabs-container .woocommerce-tabs ul.tabs li::before,
.tabs-container .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.tabs-container .woocommerce-tabs ul.tabs li a {
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.tabs-container .woocommerce-tabs ul.tabs li.active a {
    color: #111827 !important;
    font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after,
.tabs-container .woocommerce-tabs ul.tabs li.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: #111827 !important;
    border-radius: 99px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a,
.tabs-container .woocommerce-tabs ul.tabs li:hover a {
    color: #111827 !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 2rem 0 !important;
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2:first-of-type,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel h2:first-of-type {
    display: none !important;
}

.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description p {
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Custom short description (rich text) */
.product-short-description,
.product-short-description p {
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.product-short-description p {
    margin: 0 0 1rem 0 !important;
}

.product-short-description ul,
.product-short-description ol {
    margin: 0 0 1rem 0 !important;
    padding-left: 1.25rem !important;
}

.product-short-description li {
    margin: 0 0 0.5rem 0 !important;
}

.product-short-description table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.product-short-description th,
.product-short-description td {
    padding: 8px 10px !important;
    border: 1px solid #e5e7eb !important;
    text-align: left !important;
    vertical-align: top !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel p,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel p {
    margin: 0 0 1rem 0 !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel ul,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel ol,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel ul,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel ol {
    margin: 0 0 1rem 0 !important;
    padding-left: 1.25rem !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel li,
.tabs-container .woocommerce-tabs .woocommerce-Tabs-panel li {
    margin: 0 0 0.5rem 0 !important;
}


/* Amazon-style Modern Review Form - FORCE RESET */
.woocommerce #review_form #respond {
    background: #f9fafb !important;
    padding: 2.5rem !important;
    border-radius: 1.5rem !important;
    border: 1px solid #f3f4f6 !important;
    margin-top: 2rem !important;
}

.woocommerce #review_form #respond textarea#comment {
    width: 100% !important;
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    font-size: 15px !important;
    color: #111827 !important;
    min-height: 180px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.woocommerce #review_form #respond textarea#comment:focus {
    border-color: #111827 !important;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05) !important;
}

.woocommerce #review_form #respond .form-submit input[type="submit"] {
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    border-radius: 99px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.woocommerce #reviews .woocommerce-noreviews {
    background: #f9fafb !important;
    padding: 3rem !important;
    border-radius: 1rem !important;
    color: #6b7280 !important;
    font-size: 15px !important;
    text-align: center !important;
    border: 1px dashed #d1d5db !important;
}

@media (max-width: 767px) {
    .woocommerce #review_form #respond {
        padding: 1.25rem !important;
        border-radius: 1rem !important;
    }

    .woocommerce #review_form #respond p {
        margin-bottom: 0.85rem !important;
    }

    .woocommerce #review_form #respond textarea#comment {
        min-height: 130px !important;
        padding: 0.9rem !important;
        border-radius: 0.85rem !important;
        font-size: 15px !important;
    }

    .woocommerce #review_form #respond .comment-form-rating .stars {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.25rem !important;
        margin: 0 !important;
        float: none !important;
    }

    .woocommerce #review_form #respond .comment-form-rating {
        display: block !important;
    }

    .woocommerce #review_form #respond .comment-form-rating label {
        display: block !important;
        width: 100% !important;
        margin: 0 0 0.45rem 0 !important;
        float: none !important;
    }

    .woocommerce #review_form #respond .comment-form-rating .stars a {
        float: none !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .woocommerce #review_form #respond .form-submit {
        margin-bottom: 0 !important;
    }

    .woocommerce #review_form #respond .form-submit input[type="submit"] {
        width: auto !important;
        min-width: 120px !important;
        padding: 0.8rem 1.4rem !important;
        font-size: 15px !important;
        line-height: 1.1 !important;
    }
}

/* About this item - Premium Amazon-style display */
.product-about-this-item h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F1111 !important;
    margin-bottom: 12px !important;
}

.product-about-this-item .short-description-content ul {
    list-style: disc !important;
    padding-left: 18px !important;
    margin-bottom: 0 !important;
}

.product-about-this-item .short-description-content ul li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #0F1111 !important;
    margin-bottom: 8px !important;
}

.product-about-this-item .short-description-content ul li::marker {
    color: #565959 !important;
}


/* Pricing logic */
.amazon-price .currency-symbol {
    color: #565959 !important;
    font-size: 13px !important;
    top: 5px !important;
}

.amazon-price span.text-3xl {
    color: #B12704 !important;
}

/* Mobile Integrity */
@media (max-width: 768px) {
    .sticky-gallery {
        flex-direction: column !important;
    }

    .flex-control-nav.flex-control-thumbs {
        flex-direction: row !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   NOVIQUE - Shop Archive Modern UI V1
   =========================================================================== */

.shop-archive-container {
    background-color: #ffffff;
}

/* Sidebar Styling */
.shop-sidebar-content .widget {
    margin-bottom: 3rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.shop-sidebar-content .widget:last-child {
    border-bottom: none !important;
}

.shop-sidebar-content .widget-title,
.shop-sidebar-content h2.widget-title {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
}

/* WooCommerce Native Filters Styling */
.shop-sidebar-content .woocommerce-widget-layered-nav ul,
.shop-sidebar-content .product-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.shop-sidebar-content .woocommerce-widget-layered-nav li,
.shop-sidebar-content .product-categories li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.25rem 0 !important;
}

.shop-sidebar-content .woocommerce-widget-layered-nav li a,
.shop-sidebar-content .product-categories li a {
    font-size: 0.875rem !important;
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
}

.shop-sidebar-content .woocommerce-widget-layered-nav li:hover a,
.shop-sidebar-content .product-categories li:hover a {
    color: #4f46e5 !important;
    padding-left: 4px !important;
}

.shop-sidebar-content .count {
    font-size: 0.7rem !important;
    background: #f9fafb !important;
    color: #9ca3af !important;
    padding: 2px 8px !important;
    border-radius: 99px !important;
    font-weight: 600 !important;
}

/* Price Filter Widget Customization */
.woocommerce .widget_price_filter .ui-slider,
.wc-block-price-filter .wc-block-price-filter__range-input-wrapper {
    background: #f3f4f6 !important;
    height: 4px !important;
    border: none !important;
    margin: 1rem 0 2.5rem 0 !important;
    position: relative !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.wc-block-price-filter .wc-block-price-filter__range-input-progress {
    background: #111827 !important;
    border-radius: 4px !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.wc-block-price-filter .wc-block-price-filter__range-input-handle {
    background: #ffffff !important;
    border: 2px solid #111827 !important;
    width: 20px !important;
    height: 20px !important;
    top: -8px !important;
    margin-left: -10px !important;
    /* Perfect centering for 20px handle */
    cursor: pointer !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease !important;
    outline: none !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle:hover,
.wc-block-price-filter .wc-block-price-filter__range-input-handle:hover {
    transform: scale(1.1) !important;
    background: #f9fafb !important;
}

.woocommerce .widget_price_filter .price_slider_amount {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    background: #111827 !important;
    color: #fff !important;
    border-radius: 99px !important;
    padding: 7px 18px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    transition: all 0.3s ease !important;
    width: fit-content !important;
    margin: 0 !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button:hover {
    background: #4f46e5 !important;
    transform: translateY(-2px) !important;
}

.woocommerce .widget_price_filter .price_label {
    font-size: 0.813rem !important;
    color: #111827 !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.woocommerce .widget_price_filter .price_label span {
    font-weight: 800 !important;
    color: #111827 !important;
}

/* Sort & Result Count Bar */
.custom-ordering-wrapper select {
    appearance: none !important;
    background: transparent !important;
    border: 1px solid #e5e7eb !important;
    padding: 8px 32px 8px 16px !important;
    border-radius: 12px !important;
    font-size: 0.813rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    cursor: pointer !important;
    outline: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"%236b7280\" stroke-width=\"2.5\"%3E%3Cpath stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M19.5 8.25l-7.5 7.5-7.5-7.5\" /%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
}

.custom-ordering-wrapper select:focus {
    border-color: #111827 !important;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05) !important;
}

/* Pagination Styling */
.woocommerce-pagination {
    margin-top: 5rem !important;
}

.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li a {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    background: #f9fafb !important;
    color: #374151 !important;
}

.woocommerce-pagination ul.page-numbers li a:hover {
    background: #111827 !important;
    color: #ffffff !important;
}

/* --- Novique Global Section Headings --- */
.nv-section-head {
    margin-bottom: 60px;
}

.nv-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #f43f5e;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    background: rgba(244, 63, 94, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
}

.nv-title {
    font-family: 'tk-stratum-1-web-n9', sans-serif;
    font-size: 48px;
    font-weight: 950;
    color: #0d0d0d;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.nv-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

.nv-view-all {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.nv-view-all:hover {
    color: #f43f5e;
    transform: translateX(5px);
}

/* --- Track Order Page Premium UI --- */
.track_order {
    max-width: 700px !important;
    margin: 60px auto !important;
    padding: 50px !important;
    background: #ffffff !important;
    border-radius: 2.5rem !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

.track_order p {
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 35px !important;
    text-align: center !important;
}

.track_order .form-row {
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
}

.track_order .form-row label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.track_order .form-row input.input-text {
    width: 100% !important;
    padding: 16px 20px !important;
    border-radius: 1.25rem !important;
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #111 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: auto !important;
}

.track_order .form-row input.input-text:focus {
    background-color: #fff !important;
    border-color: #fb7185 !important;
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.1) !important;
    outline: none !important;
}

.track_order .button {
    width: 100% !important;
    background: #111 !important;
    color: white !important;
    padding: 20px !important;
    border-radius: 1.25rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-size: 13px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    display: block !important;
}

.track_order .button:hover {
    background: #fb7185 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(251, 113, 133, 0.2) !important;
}

.track_order .button:active {
    transform: translateY(0) !important;
}

/* Woo Messages on Tracking Page */
.page-template-default .woocommerce-error,
.page-template-default .woocommerce-message,
.page-template-default .woocommerce-info {
    max-width: 700px !important;
    margin: 20px auto !important;
    border-radius: 1.5rem !important;
    border: none !important;
    padding: 20px 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .track_order {
        padding: 30px 20px !important;
        margin: 40px 15px !important;
        border-radius: 1.75rem !important;
    }
}

.woocommerce-pagination ul.page-numbers li span.current {
    background: #111827 !important;
    color: #ffffff !important;
}/* ========================================================================== 
   MY ACCOUNT - LOGIN & REGISTRATION PREMIUM UI
   ========================================================================== */
.nv-login-registration-wrapper {
    animation: fadeIn 0.8s ease-out;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nv-tab-pane {
    display: none;
}

.nv-tab-pane.active {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.nv-tab-btn {
    outline: none !important;
}

.nv-login-registration-wrapper input[type="text"],
.nv-login-registration-wrapper input[type="email"],
.nv-login-registration-wrapper input[type="password"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

.nv-login-registration-wrapper button[type="submit"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nv-login-registration-wrapper button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nv-login-registration-wrapper .py-4\.5 {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
}


/* ========================================================================== 
   CHECKOUT PAGE - BRAND ALIGNED PREMIUM UI
   ========================================================================== */
body.woocommerce-checkout {
    background: #fafafa;
}

body.woocommerce-checkout .woocommerce {
    width: min(1200px, 94%);
    margin: 56px auto 90px;
}

body.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 22px;
}

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
    border: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    color: #4b5563 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

/* Hide checkout error list (keep field-level validation styles) */
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message {
    display: none !important;
}

/* Hard hide any checkout notice lists that render outside the wrapper */
body.woocommerce-checkout ul.woocommerce-error,
body.woocommerce-checkout ul.woocommerce-message,
body.woocommerce-checkout ul.woocommerce-info,
body.woocommerce-checkout .woocommerce > ul.woocommerce-error,
body.woocommerce-checkout .woocommerce > ul.woocommerce-message,
body.woocommerce-checkout .woocommerce > ul.woocommerce-info {
    display: none !important;
}

/* ==========================================================================
   ORDER RECEIVED / THANK YOU PAGE - CLEAN PREMIUM UI
   ========================================================================== */
body.woocommerce-order-received {
    background: #f8fafc;
}

body.woocommerce-order-received .woocommerce {
    width: min(1100px, 94%);
    margin: 48px auto 90px;
}

body.woocommerce-order-received .woocommerce-order {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    grid-template-areas:
        "notice notice"
        "overview overview"
        "details customer";
    gap: 18px;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
    grid-area: notice;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

body.woocommerce-order-received .woocommerce-order-overview {
    grid-area: overview;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    align-items: stretch;
    width: 100%;
    justify-content: start;
}

body.woocommerce-order-received .woocommerce-order-overview li {
    margin: 0 !important;
    padding: 14px 16px !important;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
    position: relative;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 calc(33.333% - 8px);
    min-width: 220px;
}

body.woocommerce-order-received .woocommerce-order-overview li:empty {
    display: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.woocommerce-order-received .woocommerce-order-overview li + li {
    border-left: none;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

body.woocommerce-order-received .woocommerce-order-details {
    grid-area: details;
}

body.woocommerce-order-received .woocommerce-customer-details {
    grid-area: customer;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details h2 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table {
    border: 1px solid #eef2f7 !important;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td {
    padding: 12px 14px !important;
    font-size: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th {
    background: #fdf2f4;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800 !important;
    color: #0f172a;
}

body.woocommerce-order-received .woocommerce-customer-details address {
    margin: 0;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.7;
    font-weight: 500;
}

body.woocommerce-order-received .woocommerce-customer-details address br {
    display: block;
    content: "";
    margin-top: 6px;
}

body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
    display: none !important;
}

body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email::before,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone::before {
    font-size: 14px;
    line-height: 1;
    color: #64748b;
}

@media (max-width: 767px) {
    body.woocommerce-order-received .woocommerce {
        width: calc(100% - 24px);
        margin: 26px auto 60px;
    }

    body.woocommerce-order-received .woocommerce-order {
        grid-template-columns: 1fr;
        grid-template-areas:
            "notice"
            "overview"
            "details"
            "customer";
    }

    body.woocommerce-order-received .woocommerce-order-overview {
        display: flex;
    }

    body.woocommerce-order-received .woocommerce-order-overview li {
        flex: 1 1 calc(50% - 8px);
        min-width: 160px;
    }

    body.woocommerce-order-received .woocommerce-order-details,
    body.woocommerce-order-received .woocommerce-customer-details,
    body.woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 18px;
        border-radius: 16px;
    }
}

body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
    grid-template-areas: "details summary";
    gap: 28px;
    align-items: start;
}

body.woocommerce-checkout form.checkout #customer_details {
    grid-area: details;
}

body.woocommerce-checkout form.checkout #order_review_heading,
body.woocommerce-checkout form.checkout #order_review {
    grid-area: summary;
}

body.woocommerce-checkout form.checkout #order_review_heading {
    display: none !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout #order_review {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

body.woocommerce-checkout #customer_details .col-2 {
    margin-top: 22px;
}

body.woocommerce-checkout #order_review {
    position: sticky;
    top: 110px;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
    margin: 0 0 20px;
    font-family: 'tk-stratum-1-web-n9', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(18px, 2vw, 24px);
    color: #0d0d0d;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

body.woocommerce-checkout .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-checkout .form-row.form-row-wide,
body.woocommerce-checkout .woocommerce-additional-fields .form-row,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #shipping_country_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1;
}

body.woocommerce-checkout .form-row label {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #0d0d0d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .form-row textarea {
    border: 1px solid #e2e8f0 !important;
    background: #f9fafb !important;
    color: #111827 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    min-height: 50px;
    font-size: 14px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

body.woocommerce-checkout .form-row textarea {
    min-height: 118px;
    resize: vertical;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .form-row textarea:focus {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14) !important;
    background: #ffffff !important;
    outline: none !important;
}

body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

body.woocommerce-checkout #order_review_heading {
    margin-bottom: 12px;
}

body.woocommerce-checkout #order_review .shop_table {
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 18px !important;
}

body.woocommerce-checkout #order_review .shop_table th,
body.woocommerce-checkout #order_review .shop_table td {
    border-top: 1px solid #f8fafc !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
}

body.woocommerce-checkout #order_review .shop_table thead th {
    border-top: 0 !important;
    background: #fdf2f4;
    color: #0d0d0d;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.woocommerce-checkout #order_review .cart-subtotal td,
body.woocommerce-checkout #order_review .order-total td {
    font-weight: 800;
    color: #0d0d0d;
}

body.woocommerce-checkout #payment {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    overflow: hidden;
}

body.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #f8fafc !important;
    padding: 10px 14px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    padding: 8px 6px !important;
}

body.woocommerce-checkout #payment .payment_methods .woocommerce-info {
    margin: 6px 0 2px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid #fde68a !important;
    background: #fffbeb !important;
    color: #7c2d12 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment .payment_methods .woocommerce-info::before {
    content: none !important;
    display: none !important;
}

body.woocommerce-checkout #payment div.payment_box {
    background: #f9fafb !important;
    color: #4b5563 !important;
    border-radius: 12px !important;
    margin: 8px 0 0 !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #f9fafb !important;
}

body.woocommerce-checkout #payment .place-order {
    padding: 18px 16px 16px !important;
}

body.woocommerce-checkout #place_order {
    width: 100% !important;
    border: none !important;
    border-radius: 999px !important;
    background: #f43f5e !important;
    color: #ffffff !important;
    padding: 16px 22px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.28) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

body.woocommerce-checkout #place_order:hover {
    background: #e11d48 !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.32) !important;
}

body.woocommerce-checkout #place_order:active {
    transform: translateY(0);
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout .payment_method_paypal .about_paypal {
    color: #6b7280 !important;
    font-size: 12px !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a,
body.woocommerce-checkout .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .payment_method_paypal .about_paypal {
    color: #f43f5e !important;
}

body.woocommerce-checkout #order_review .woocommerce-form-coupon-toggle {
    display: none !important;
}

body.woocommerce-checkout #order_review .woocommerce-form-coupon-toggle .woocommerce-info {
    margin: 0 !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 14px !important;
    background: #fdf2f4 !important;
    color: #4b5563 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    padding: 12px 14px !important;
}

body.woocommerce-checkout #order_review .woocommerce-form-coupon {
    margin: 10px 0 18px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    border: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    display: block !important;
}

@media (max-width: 991px) {
    body.woocommerce-checkout .woocommerce {
        width: min(100%, 96%);
        margin: 34px auto 64px;
    }

    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.woocommerce-checkout form.checkout #customer_details,
    body.woocommerce-checkout form.checkout #order_review_heading,
    body.woocommerce-checkout form.checkout #order_review {
        grid-area: auto;
    }

    body.woocommerce-checkout #order_review {
        position: static;
    }
}

@media (max-width: 640px) {
    body.woocommerce-checkout #customer_details .col-1,
    body.woocommerce-checkout #customer_details .col-2,
    body.woocommerce-checkout #order_review {
        padding: 20px;
        border-radius: 18px;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}
/* ========================================================================== 
   CHECKOUT FORM REFINEMENT - V2
   ========================================================================== */
body.woocommerce-checkout #customer_details {
    display: grid;
    gap: 22px;
}

body.woocommerce-checkout #customer_details .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    margin: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    position: relative;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3::after,
body.woocommerce-checkout .woocommerce-shipping-fields h3::after,
body.woocommerce-checkout .woocommerce-additional-fields h3::after {
    content: "";
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.35), rgba(244, 63, 94, 0));
}

body.woocommerce-checkout .woocommerce-input-wrapper {
    width: 100%;
}

body.woocommerce-checkout .form-row .required {
    color: #f43f5e !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout .form-row .optional {
    color: #9ca3af !important;
    font-size: 10px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
    width: 100% !important;
}

body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #shipping_phone_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1;
}

body.woocommerce-checkout .form-row input::placeholder,
body.woocommerce-checkout .form-row textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

body.woocommerce-checkout .form-row select {
    cursor: pointer;
    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='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    padding-right: 40px !important;
    appearance: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f9fafb !important;
    display: flex !important;
    align-items: center !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111827 !important;
    line-height: 1 !important;
    padding-left: 16px !important;
    padding-right: 38px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
}

body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14) !important;
    background: #fff !important;
}

body.woocommerce-checkout #ship-to-different-address {
    margin: 6px 0 2px !important;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

body.woocommerce-checkout #ship-to-different-address .woocommerce-form__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0d0d0d;
}

body.woocommerce-checkout .woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #f43f5e;
}

@media (max-width: 991px) {
    body.woocommerce-checkout #customer_details .col2-set {
        grid-template-columns: 1fr;
    }
}

/* Checkout mobile hardening (prevents overflow and improves touch layout) */
@media (max-width: 767px) {
    body.woocommerce-checkout .woocommerce {
        width: calc(100% - 24px) !important;
        margin: 22px auto 46px !important;
    }

    body.woocommerce-checkout form.checkout {
        display: block !important;
    }

    body.woocommerce-checkout #customer_details .col-1,
    body.woocommerce-checkout #customer_details .col-2,
    body.woocommerce-checkout #order_review {
        padding: 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
        overflow: hidden !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout #customer_details .col2-set {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.woocommerce-checkout .form-row,
    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout .form-row input.input-text,
    body.woocommerce-checkout .form-row select,
    body.woocommerce-checkout .form-row textarea,
    body.woocommerce-checkout .select2-container,
    body.woocommerce-checkout .select2-container--default .select2-selection--single {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-checkout #order_review .shop_table {
        width: 100% !important;
        table-layout: fixed !important;
        display: table !important;
    }

    body.woocommerce-checkout #order_review .shop_table th,
    body.woocommerce-checkout #order_review .shop_table td {
        padding: 11px 10px !important;
        font-size: 13px !important;
        word-break: break-word !important;
    }

    body.woocommerce-checkout #order_review .shop_table .product-total,
    body.woocommerce-checkout #order_review .shop_table .product-name {
        width: auto !important;
    }

    body.woocommerce-checkout #order_review .woocommerce-form-coupon {
        padding: 12px !important;
    }

    body.woocommerce-checkout #order_review .woocommerce-form-coupon p {
        margin: 0 0 10px !important;
    }

    body.woocommerce-checkout #order_review .woocommerce-form-coupon .form-row-first,
    body.woocommerce-checkout #order_review .woocommerce-form-coupon .form-row-last {
        width: 100% !important;
        float: none !important;
        margin: 0 0 10px !important;
    }

    body.woocommerce-checkout #order_review .woocommerce-form-coupon .button {
        width: 100% !important;
    }

    body.woocommerce-checkout #payment ul.payment_methods {
        padding: 8px 10px !important;
    }

    body.woocommerce-checkout #payment ul.payment_methods li label {
        display: inline !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        word-break: break-word !important;
    }

    body.woocommerce-checkout #payment div.payment_box {
        margin-top: 8px !important;
        padding: 10px !important;
        font-size: 13px !important;
    }

    body.woocommerce-checkout #payment .place-order {
        padding: 14px 10px 12px !important;
    }

    body.woocommerce-checkout #place_order {
        width: 100% !important;
        min-height: 50px !important;
        padding: 14px 16px !important;
        font-size: 11px !important;
        letter-spacing: 0.11em !important;
    }

    body.woocommerce-checkout {
        overflow-x: hidden !important;
    }
}
