/*
 Theme Name:   Rednivar LR
 Theme URI:    https://example.com/rednivar-lr
 Description:  GeneratePress Child Theme
 Author:       Rednivar
 Author URI:   https://example.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  rednivar-lr
*/

/* ============ BRAND THEME ============ */
:root {
    --brand-bg: #F5F6F8;
    --brand-dark: #0F172A;
    --brand-green: #10B981;
    --brand-cyan: #06B6D4;
}
body {
    background: var(--brand-bg);
    color: var(--brand-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
::selection { background: var(--brand-green); color: #fff; }

/* ============ FONT WEIGHTS & SIZES ============ */
.fw-extrabold { font-weight: 800 !important; }
.fw-black { font-weight: 900 !important; }
.fs-7 { font-size: 0.75rem !important; }
.fs-8 { font-size: 0.625rem !important; }
.fs-8x { font-size: 0.8rem !important; }
.fs-sm { font-size: 0.875rem !important; }
.fs-lg { font-size: 1.125rem !important; }
.fs-p { font-size: 1rem !important; }
@media (min-width: 576px) { .fs-p { font-size: 1.125rem !important; } }

.fs-hero { font-size: 2.25rem !important; line-height: 1.1 !important; }
@media (min-width: 576px) { .fs-hero { font-size: 3rem !important; } }
@media (min-width: 992px) { .fs-hero { font-size: 3.75rem !important; } }

.fs-icon-lg { font-size: 3.75rem !important; }

/* ============ LETTER SPACING ============ */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* ============ LINE HEIGHTS ============ */
.lh-110 { line-height: 1.1 !important; }
.leading-relaxed { line-height: 1.625 !important; }

/* ============ TEXT COLORS ============ */
.text-brand-dark { color: var(--brand-dark) !important; }
.text-brand-green { color: var(--brand-green) !important; }
.text-brand-cyan { color: var(--brand-cyan) !important; }
.text-brand-dark-20 { color: rgba(15, 23, 42, 0.2) !important; }
.text-slate-300 { color: #CBD5E1 !important; }
.text-slate-400 { color: #94A3B8 !important; }
.text-slate-500 { color: #64748B !important; }
.text-slate-600 { color: #475569 !important; }
.text-gray-400 { color: #9CA3AF !important; }
.text-gray-500 { color: #6B7280 !important; }
.text-gray-600 { color: #4B5563 !important; }
.text-blue-600 { color: #2563EB !important; }
.text-blue-700 { color: #1D4ED8 !important; }
.text-cyan-500 { color: #06B6D4 !important; }
.text-cyan-600 { color: #0891B2 !important; }
.text-emerald-500 { color: #10B981 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-rose-500 { color: #F43F5E !important; }
.text-rose-600 { color: #E11D48 !important; }
.text-purple-500 { color: #A855F7 !important; }
.text-purple-600 { color: #9333EA !important; }
.text-indigo-500 { color: #6366F1 !important; }
.text-orange-500 { color: #F97316 !important; }
.text-orange-600 { color: #EA580C !important; }
.text-teal-700 { color: #0F766E !important; }
.text-amber-500 { color: #F59E0B !important; }

/* ============ BACKGROUND COLORS ============ */
.bg-brand-dark { background: var(--brand-dark) !important; }
.bg-brand-green { background: var(--brand-green) !important; }
.bg-brand-cyan { background: var(--brand-cyan) !important; }
.bg-slate-50 { background: #F8FAFC !important; }
.bg-slate-100 { background: #F1F5F9 !important; }
.bg-slate-800-80 { background: rgba(30, 41, 59, 0.8) !important; }
.bg-slate-900 { background: var(--brand-dark) !important; }
.bg-gray-100 { background: #F3F4F6 !important; }
.bg-gray-50 { background: #F9FAFB !important; }
.bg-emerald-50 { background: #ECFDF5 !important; }
.bg-emerald-100 { background: #D1FAE5 !important; }
.bg-emerald-500 { background: #10B981 !important; }
.bg-blue-50 { background: #EFF6FF !important; }
.bg-blue-100 { background: #DBEAFE !important; }
.bg-blue-600 { background: #2563EB !important; }
.bg-amber-500 { background: #F59E0B !important; }
.bg-cyan-50 { background: #ECFEFF !important; }
.bg-cyan-100 { background: #CFFAFE !important; }
.bg-purple-50 { background: #FAF5FF !important; }
.bg-orange-50 { background: #FFF7ED !important; }
.bg-orange-100 { background: #FFEDD5 !important; }
.bg-orange-600 { background: #EA580C !important; }
.bg-teal-50 { background: #F0FDFA !important; }
.bg-teal-100 { background: #CCFBF1 !important; }
.bg-teal-600 { background: #0D9488 !important; }
.bg-rose-50 { background: #FFF1F2 !important; }
.bg-rose-100 { background: #FFE4E6 !important; }

/* ============ BORDER COLORS ============ */
.border-gray-50 { border-color: #F9FAFB !important; }
.border-gray-100 { border-color: #F3F4F6 !important; }
.border-gray-200 { border-color: #E5E7EB !important; }
.border-slate-700 { border-color: #334155 !important; }
.border-slate-700-50 { border-color: rgba(51, 65, 85, 0.5) !important; }
.border-slate-800 { border-color: #1E293B !important; }
.border-orange-100 { border-color: #FFEDD5 !important; }
.border-blue-100 { border-color: #DBEAFE !important; }
.border-teal-100 { border-color: #CCFBF1 !important; }
.border-dashed { border-style: dashed !important; }
.border-emerald-100 { border-color: #D1FAE5 !important; }

/* ============ RADIUS ============ */
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2 { border-radius: 0.25rem !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }

/* ============ SHADOWS ============ */
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(226, 232, 240, 0.8) !important; }

/* ============ SPACING HELPERS ============ */
.gap-8 { gap: 2rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.p-8 { padding: 2rem !important; }
.p-35 { padding: 0.875rem !important; }
.py-25 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.px-25 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.py-15 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.px-15 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
@media (min-width: 992px) { .py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; } }
.mx-lg-0 { margin-left: 0 !important; margin-right: 0 !important; }

/* ============ HEIGHTS ============ */
.h-40 { height: 10rem !important; }
.h-44 { height: 11rem !important; }
.h-56 { height: 14rem !important; }

/* ============ POSITION HELPERS ============ */
.top-05 { top: 0.5rem !important; }
.left-05 { left: 0.5rem !important; }
.right-05 { right: 0.5rem !important; }
.minus-top-2 { top: -0.5rem !important; }
.minus-right-3 { right: -0.75rem !important; }
.z-10 { z-index: 10 !important; }
.z-50 { z-index: 50 !important; }

/* ============ MAX WIDTHS ============ */
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-xl { max-width: 36rem !important; }

/* ============ CUSTOM LG = 1024px BREAKPOINT (matches Tailwind lg) ============ */
@media (min-width: 1024px) {
    .col-tlg-3 { flex: 0 0 auto; width: 25%; max-width: 25%; }
    .col-tlg-6 { flex: 0 0 auto; width: 50%; max-width: 50%; }
}

/* ============ SCROLL ============ */
.custom-scrollbar::-webkit-scrollbar { height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #E2E8F0; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #10B981; border-radius: 10px; }
.scroll-mt { scroll-margin-top: 6rem; }

/* ============ ANNOUNCEMENT BAR ============ */
.bg-announce { background: linear-gradient(90deg, var(--brand-dark), #1E293B, var(--brand-dark)); }
.ping-dot { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; }
.ping-dot .ping {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%; background: var(--brand-green); opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-dot .core { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand-green); }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

/* ============ HEADER ============ */
.glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 60px; width: auto; }
.search-box {
    border: 1px solid #E5E7EB; background: #F3F4F6; border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within { border-color: var(--brand-green); box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.2); }
.search-mobile-input {
    border: 1px solid #E5E7EB; background: #F3F4F6; border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-mobile-input:focus-within { border-color: var(--brand-green); box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.2); }

@media (min-width: 1031px) {
    .search-desk { display: flex !important; }
    .search-icon-btn { display: none !important; }
}
@media (max-width: 1030px) {
    .search-desk { display: none !important; }
    .search-icon-btn { display: inline-flex !important; }
}
@media (max-width: 640px) {
    .search-icon-btn { display: inline-flex !important; }
}

.nav-hover { color: inherit; transition: color 0.2s; text-decoration: none; }
.nav-hover:hover { color: var(--brand-green) !important; }
.icon-btn {
    background: transparent; border: 0; color: inherit; font-size: 1.125rem;
    padding: 0; transition: color 0.2s; font-weight: 500;
}
.icon-btn:hover { color: var(--brand-green); }
.search-icon-btn:hover, .search-icon-btn:focus,
#searchToggleBtn:hover, #searchToggleBtn:focus,
#searchCloseBtn:hover, #searchCloseBtn:focus,
#paltech-cart-toggle:hover, #paltech-cart-toggle:focus {
    background-color: transparent;
    color: var(--brand-green);
}

/* ---- SIDE CART DRAWER ---- */
.paltech-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.paltech-cart-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.paltech-cart-drawer {
    position: fixed;
    top: 2.1875rem;
    right: 1.25rem;
    bottom: 2.1875rem;
    z-index: 9999;
    width: min(420px, calc(100vw - 2.5rem));
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .18);
    transform: translateX(115%);
    transition: transform .3s ease;
}
.paltech-cart-drawer.is-open {
    transform: translateX(0);
}
.paltech-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #F1F5F9;
}
.paltech-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}
.paltech-cart-footer {
    display: flex;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #F1F5F9;
}
.paltech-cart-btn {
    flex: 1;
    text-align: center;
    padding: .65rem 1rem;
    border-radius: .625rem;
    font-size: .8125rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.paltech-cart-btn-ghost {
    border: 1px solid #E2E8F0;
    color: #0F172A;
    background: #fff;
}
.paltech-cart-btn-ghost:hover {
    border-color: #16B95B;
    color: #16B95B;
    background: #F0FDF4;
}
.paltech-cart-btn-solid {
    background: #16B95B;
    color: #fff;
}
.paltech-cart-btn-solid:hover {
    background: #0F172A;
    color: #fff;
}
.paltech-cart-drawer .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.paltech-cart-drawer .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}
.paltech-cart-drawer .woocommerce-mini-cart-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 .6rem;
    margin: 0 0 .5rem;
    padding: .5rem 0 .6rem;
    border-bottom: 1px dashed #E2E8F0;
}
.paltech-cart-drawer .woocommerce-mini-cart-item a:not(.remove) {
    order: 1;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .7rem;
    line-height: 1.35;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
}
.paltech-cart-drawer .woocommerce-mini-cart-item a:not(.remove):hover {
    color: #16B95B;
}
.paltech-cart-drawer .woocommerce-mini-cart-item a img {
    width: 48px;
    height: 48px;
    max-width: none;
    object-fit: cover;
    border-radius: .5rem;
    flex-shrink: 0;
    float: none;
    margin: 0;
}
.paltech-cart-drawer .woocommerce-mini-cart-item a.remove {
    order: 2;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: -2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #CBD5E1;
    font-size: .75rem;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.paltech-cart-drawer .woocommerce-mini-cart-item a.remove:hover {
    color: #fff;
    background: #EF4444;
}
.paltech-cart-drawer .woocommerce-mini-cart-item .quantity {
    order: 3;
    flex-basis: 100%;
    margin: .2rem 0 0 calc(48px + .6rem);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.5;
    color: #94A3B8;
}
.paltech-cart-drawer .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount {
    color: #0F172A;
    font-weight: 700;
}
.paltech-cart-drawer .variation {
    order: 2;
    flex-basis: 100%;
    margin: .15rem 0 0 calc(48px + .6rem);
    font-size: .7rem;
    color: #64748B;
}
.paltech-cart-drawer .woocommerce-mini-cart__total,
.paltech-cart-drawer .woocommerce-mini-cart__buttons {
    margin-top: auto;
}
.paltech-cart-drawer .woocommerce-mini-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: .75rem 0 .25rem;
    border-top: 1px solid #F1F5F9;
    font-size: .8rem;
    font-weight: 700;
    color: #0F172A;
}
.paltech-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #16B95B;
}
.paltech-cart-drawer .woocommerce-mini-cart__buttons {
    display: none;
}
.paltech-cart-drawer .woocommerce-mini-cart__empty-message {
    padding: 2rem 0;
    text-align: center;
    color: #94A3B8;
}
.paltech-cart-drawer .woocommerce-mini-cart__buttons a.button {
    width: 100%;
    text-align: center;
}

/* ---- PRIMARY NAV MENU ---- */
#menu-primary-menu li a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}
#menu-primary-menu li a:hover,
#menu-primary-menu li.current-menu-item a,
#menu-primary-menu li.current_page_item a,
#menu-primary-menu li.current-menu-ancestor a {
    color: #26BF8C;
}

/* Dropdown sub-menus */
#menu-primary-menu > li { position: relative; }
#menu-primary-menu .sub-menu,
#menu-primary-menu .sub-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 12px 0 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}
#menu-primary-menu .sub-menu .sub-menu { top: -9px; left: calc(100% + 4px); }
#menu-primary-menu > li:hover > .sub-menu,
#menu-primary-menu > li:focus-within > .sub-menu,
#menu-primary-menu .sub-menu li:hover > .sub-menu,
#menu-primary-menu .sub-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
#menu-primary-menu .sub-menu li { position: relative; padding: 0; margin: 0; }
#menu-primary-menu .sub-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #0F172A;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
#menu-primary-menu .sub-menu a:hover,
#menu-primary-menu .sub-menu li.current-menu-item > a,
#menu-primary-menu .sub-menu li.current_page_item > a,
#menu-primary-menu .sub-menu li.current-menu-ancestor > a {
    background: #ECFDF5;
    color: #26BF8C;
}

/* Arrow caret on items that have a sub-menu */
#menu-primary-menu .menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.625rem;
    margin-left: 6px;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s;
}
#menu-primary-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ---- MOBILE NAVIGATION PANEL (mobile only) ---- */
#menuToggleBtn {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}
#menuToggleBtn:hover,
#menuToggleBtn:focus,
#menuToggleBtn:active {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}
@media (max-width: 991.98px) {
    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
        background: #ffffff;
        border-bottom: 1px solid #E5E7EB;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
        padding: 8px 13px 16px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        animation: pal-menu-slide 0.25s ease;
    }
    @keyframes pal-menu-slide {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .header-nav.open { display: flex !important; }

    #menu-primary-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
        width: 100%;
    }
    #menu-primary-menu > li a { padding: 10px 4px; }
    #menu-primary-menu > li > a { display: block; font-size: 0.95rem; }
    #menu-primary-menu > li.current-menu-item > a { color: #26BF8C; }

    /* Sub-menus: closed by default, tap parent to open */
    #menu-primary-menu .sub-menu {
        display: none;
        position: static;
        top: auto;
        left: auto;
        visibility: visible;
        opacity: 1;
        transform: none;
        min-width: 0;
        margin: 0;
        padding: 4px 0 6px 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        border-left: 2px solid #E5E7EB;
    }
    #menu-primary-menu .menu-item-has-children.menu-open > .sub-menu {
        display: block;
    }
    #menu-primary-menu .menu-item-has-children.menu-open > a::after {
        transform: rotate(180deg);
    }
    #menu-primary-menu .sub-menu a {
        white-space: normal;
        padding: 10px;
        font-size: 0.85rem;
        color: #475569;
        border-radius: 6px;
    }
    #menu-primary-menu .sub-menu a:hover,
    #menu-primary-menu .sub-menu li.current-menu-item > a {
        color: #26BF8C;
        background: #ECFDF5;
    }
}

/* ============ HERO ============ */
.gradient-text {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-green));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-glow { background: linear-gradient(45deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2)); filter: blur(72px); }
.group:hover .group-icon { transform: scale(1.1); }
.group-icon { transition: transform 0.3s; }

/* ============ CARDS & BUTTONS ============ */
.card-hover { transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s; }
.card-hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.3) !important;
}
.card-hover-cyan { transition: box-shadow 0.3s, border-color 0.3s; }
.card-hover-cyan:hover { border-color: rgba(6, 182, 212, 0.4) !important; }

.btn-brand-green {
    background-color: var(--brand-green); border-color: var(--brand-green); color: #fff;
    font-weight: 700; border-radius: 0.75rem; transition: all 0.2s ease;
}
.btn-brand-green:hover {
    background-color: #059669; border-color: #059669; color: #fff;
    transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
}

.btn-hero { padding: 1rem 2rem; font-weight: 700; border-radius: 0.75rem !important; }

.btn-dark-cart {
    background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
    font-weight: 700; border-radius: 0.75rem; transition: all 0.2s ease;
}
.btn-dark-cart:hover,
.btn-dark-cart:focus,
.btn-dark-cart:active,
a.btn-dark-cart.added {
    background-color: var(--brand-green); border-color: var(--brand-green); color: #fff;
}
.btn-dark-cart:focus {
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .25);
}

/* View cart link that appears after AJAX add-to-cart */
a.added_to_cart.wc-forward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    margin-top: .5rem;
    padding: .5rem .9rem;
    border: 1px solid #BFEBD2;
    border-radius: .75rem;
    background: #F0FDF4;
    color: #16B95B;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
a.added_to_cart.wc-forward:hover {
    background: #16B95B;
    color: #fff;
}

.btn-buy {
    background-color: var(--brand-green); border-color: var(--brand-green); color: #fff;
    font-weight: 700; font-size: 0.75rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.btn-buy:hover { background-color: #059669; border-color: #059669; color: #fff; }

.btn-cyan {
    background-color: var(--brand-cyan); border-color: var(--brand-cyan); color: #fff;
    font-weight: 700; font-size: 0.75rem; padding: 0.625rem 1.25rem; border-radius: 0.75rem;
    transition: all 0.2s ease;
}
.btn-cyan:hover { background-color: #0891B2; border-color: #0891B2; color: #fff; }

/* Keep WC Cart/Checkout blocks inside the content area */
body .wp-block-woocommerce-cart.alignwide,
body .wp-block-woocommerce-checkout.alignwide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

/* ---- PREMIUM CART PAGE (WooCommerce Blocks) ---- */
body .wp-block-woocommerce-cart {
    font-size: .875rem;
    color: #475569;
}
body .wp-block-woocommerce-cart .wc-block-cart {
    align-items: flex-start;
}
body .wp-block-woocommerce-cart .wc-block-cart__main {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem .75rem;
}
body .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 6.25rem;
    align-self: flex-start;
}
body .wp-block-woocommerce-cart .wc-block-cart-items__header {
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: .5rem;
}
body .wp-block-woocommerce-cart .wc-block-cart-items__row {
    align-items: center;
    column-gap: 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px dashed #E2E8F0;
}
body .wp-block-woocommerce-cart .wc-block-cart-item__image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: .75rem;
}
body .wp-block-woocommerce-cart .wc-block-components-product-name {
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0F172A;
}
body .wp-block-woocommerce-cart .wc-block-components-product-price,
body .wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
    font-size: .875rem;
    font-weight: 700;
    color: #0F172A;
}
body .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
    color: #94A3B8;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}
body .wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #EF4444;
}
body .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid #E2E8F0;
    border-radius: .625rem;
    background: #fff;
    overflow: hidden;
}
body .wp-block-woocommerce-cart .wc-block-components-quantity-selector button {
    color: #94A3B8 !important;
    transition: color .2s ease, background .2s ease;
}
body .wp-block-woocommerce-cart .wc-block-components-quantity-selector button:hover {
    color: #16B95B !important;
    background: #F0FDF4 !important;
}
body .wp-block-woocommerce-cart .wc-block-cart__totals-title {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0F172A;
    margin-bottom: .5rem;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-item {
    padding: .5rem 0;
    color: #475569;
    font-weight: 600;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-item__value {
    font-weight: 700;
    color: #0F172A;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-footer-item::before {
    border-top: 1px solid #E2E8F0;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 1rem;
    color: #0F172A;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.25rem;
    color: #16B95B;
}
body .wp-block-woocommerce-cart .wc-block-cart__submit-button,
body .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link) {
    background: #16B95B;
    border: 0;
    border-radius: .625rem;
    color: #fff;
    font-weight: 700;
    padding: .75rem 1.25rem;
    transition: background .2s ease, transform .2s ease;
}
body .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
body .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    background: #0F172A;
    color: #fff;
    transform: translateY(-1px);
}
body .wp-block-woocommerce-cart .wc-block-components-panel__button {
    color: #16B95B;
    font-size: .8125rem;
    font-weight: 700;
}
body .wp-block-woocommerce-cart .wc-block-components-panel__button span:first-child {
    border-color: #16B95B;
    color: #16B95B;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    border: 1px solid #E2E8F0;
    border-radius: .625rem;
    padding: .6rem .875rem;
    font-size: .8125rem;
    color: #0F172A;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
    outline: 0;
    border-color: #16B95B;
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .2);
}
body .wp-block-woocommerce-cart .wc-block-cart__payment-options {
    font-size: .75rem;
    color: #64748B;
}
@media (max-width: 991.98px) {
    body .wp-block-woocommerce-cart .wc-block-cart__main {
        padding: 1.25rem 0;
    }
    body .wp-block-woocommerce-cart .wc-block-cart__sidebar {
        position: static;
    }
    body .wp-block-woocommerce-cart .wc-block-cart-items {
        table-layout: fixed;
        width: 100%;
        min-width: 0;
    }
    body .wp-block-woocommerce-cart .wc-block-cart-items__header-image {
        width: 64px;
    }
    body .wp-block-woocommerce-cart .wc-block-cart-item__total {
        width: 92px;
    }
    body .wp-block-woocommerce-cart .wc-block-cart-item__product,
    body .wp-block-woocommerce-cart .wc-block-cart-items__header-product {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
body .wp-block-woocommerce-cart .wc-block-components-empty-state {
    background: #fff;
    border: 1px dashed #CBD5E1;
    border-radius: 1rem;
    padding: 3rem 1.5rem;
}
body .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 2.5rem 1rem;
}
body .wp-block-woocommerce-cart .with-empty-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
}
body .wp-block-woocommerce-cart .with-empty-cart-icon::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.15rem;
    color: #16B95B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 9999px;
    margin-bottom: 0;
}
body .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator {
    max-width: 10rem;
    margin: 1.75rem auto;
    border-color: #E2E8F0 !important;
}
body .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.with-empty-cart-icon) {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0F172A;
    margin: 0 0 1.5rem;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    justify-self: stretch;
    align-self: stretch;
    margin: 0;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: .875rem .875rem 1.25rem;
    text-align: left;
    transition: box-shadow .25s ease, transform .25s ease;
}
@media (max-width: 991.98px) {
    body .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
@media (max-width: 575.98px) {
    body .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: 1fr;
    }
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
    position: relative;
    display: block;
    color: inherit;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
    border-radius: .75rem;
    overflow: hidden;
    margin-bottom: .875rem;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .3s ease;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link:hover .wc-block-grid__product-image img {
    transform: scale(1.04);
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0F172A;
    margin-bottom: .5rem;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
    font-size: .875rem;
    font-weight: 700;
    color: #0F172A;
    text-align: left;
    margin-bottom: .75rem;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del {
    color: #94A3B8;
    font-weight: 600;
    font-size: .75rem;
    margin-right: .375rem;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins {
    text-decoration: none;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins .woocommerce-Price-amount {
    color: #16B95B;
    font-weight: 700;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link .wc-block-grid__product-onsale {
    position: absolute;
    top: 6px;
    left: 6px;
    right: auto;
    z-index: 1;
    display: inline-block;
    width: auto;
    max-width: none;
    background: #16B95B;
    color: #fff;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .625rem;
    border-radius: 9999px;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid .wp-block-button__link {
    width: 100%;
    display: block;
    text-align: center;
    background: #16B95B;
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    border-radius: .625rem;
    padding: .625rem 1rem;
    transition: background .2s ease;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid .wp-block-button__link:hover {
    background: #0F172A;
    color: #fff;
}
body .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .added_to_cart {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: .375rem;
}

/* ---- PREMIUM CHECKOUT PAGE (WooCommerce Blocks) ---- */
body .wp-block-woocommerce-checkout {
    font-size: .875rem;
    color: #475569;
    --wp-components-color-accent: #16B95B;
    --wp-components-color-accent-hover: #0F172A;
    --wp-components-color-accent-text: #fff;
    --wc-block-accent-color: #16B95B;
}
body .wp-block-woocommerce-checkout .wc-block-checkout {
    align-items: flex-start;
}
body .wp-block-woocommerce-checkout .wc-block-components-main {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
}
body .wp-block-woocommerce-checkout .wc-block-components-sidebar {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 6.25rem;
    align-self: flex-start;
}
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block,
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block,
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-shipping-method-block,
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-terms-block {
    margin-bottom: 1.5rem;
}
body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-payment-block {
    margin-top: 1.5rem;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading-container {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: .625rem;
    border-bottom: 1px solid #E5E7EB;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading-container::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3rem;
    height: 3px;
    border-radius: 9999px;
    background: #16B95B;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
    font-size: .875rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: .02em;
}
body .wp-block-woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
    color: #16B95B;
    font-weight: 700;
    font-size: .8125rem;
    cursor: pointer;
    transition: color .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-components-address-form__address_2-toggle:hover {
    color: #0F172A;
}
body .wp-block-woocommerce-checkout h2,
body .wp-block-woocommerce-checkout h3 {
    font-weight: 800;
    color: #0F172A;
}
body .wp-block-woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input {
    border-color: #E2E8F0;
    border-radius: .625rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus {
    outline: 0;
    border-color: #16B95B;
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .2);
}
body .wp-block-woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__select {
    border: 1px solid #E2E8F0;
    border-radius: .625rem;
    padding: .625rem 2.5rem .625rem .875rem;
    color: #0F172A;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__select:focus {
    outline: 0;
    border-color: #16B95B;
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .2);
}
body .wp-block-woocommerce-checkout .wc-block-components-radio-control__option {
    border: 1px solid #E2E8F0;
    border-radius: .75rem;
    margin-bottom: .625rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-components-radio-control__option:hover {
    border-color: #A7F3D0;
}
body .wp-block-woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option[aria-checked="true"] {
    border-color: #16B95B;
    background: #F0FDF4;
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .15);
}
body .wp-block-woocommerce-checkout .wc-block-components-radio-control__label,
body .wp-block-woocommerce-checkout .wc-block-components-payment-method-label {
    font-weight: 700;
    color: #0F172A;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0F172A;
    margin-bottom: .5rem;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
    border-bottom: 1px dashed #E2E8F0;
    padding: .875rem 0;
    column-gap: .875rem;
    align-items: flex-start;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image {
    margin-top: 8px;
    position: relative;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border-radius: .625rem;
    overflow: hidden;
    background: #F1F5F9;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description {
    min-width: 0;
    overflow-wrap: anywhere;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description > div {
    font-size: .8125rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
}
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    font-size: .8125rem;
    font-weight: 700;
    color: #0F172A;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-item {
    padding: .75rem 0;
    color: #475569;
    font-weight: 600;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item {
    padding: 1rem 0 .5rem;
    margin-top: .5rem;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-item__value {
    font-weight: 700;
    color: #0F172A;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item::before {
    border-top: 1px solid #E2E8F0;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    color: #0F172A;
    font-weight: 800;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #16B95B;
    font-size: 1.125rem;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    border: 1px solid #E2E8F0;
    border-radius: .625rem;
    padding: .6rem .875rem;
    font-size: .8125rem;
    color: #0F172A;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
    outline: 0;
    border-color: #16B95B;
    box-shadow: 0 0 0 3px rgba(22, 185, 91, .2);
}
body .wp-block-woocommerce-checkout .wc-block-components-panel__button {
    color: #16B95B;
    font-size: .8125rem;
    font-weight: 700;
}
body .wp-block-woocommerce-checkout .wc-block-components-panel__button span:first-child {
    border-color: #16B95B;
    color: #16B95B;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: #16B95B;
    border: 0;
    border-radius: .625rem;
    color: #fff;
    font-weight: 700;
    padding: .875rem 1.25rem;
    transition: background .2s ease, transform .2s ease;
}
body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: #0F172A;
    color: #fff;
    transform: translateY(-1px);
}
@media (max-width: 991.98px) {
    body .wp-block-woocommerce-checkout .wc-block-components-sidebar {
        position: static;
    }
    body .wp-block-woocommerce-checkout .wc-block-components-main {
        padding: 1.25rem .875rem;
    }
}

.btn-select {
    border: 1px solid var(--brand-dark); color: var(--brand-dark); background: transparent;
    font-weight: 700; font-size: 0.75rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.btn-select:hover { background-color: var(--brand-dark); color: #fff; }

.quick-chip {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 0.75rem;
    color: var(--brand-dark); font-weight: 700; white-space: nowrap;
    padding: 0.625rem 1.25rem; font-size: 0.875rem; text-decoration: none;
    transition: border-color 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.quick-chip:hover { border-color: var(--brand-dark); color: var(--brand-dark); }

.chip-green { background: #ECFDF5; color: var(--brand-green); }
.chip-green:hover { background: #D1FAE5; color: var(--brand-green); }
.chip-blue { background: #EFF6FF; color: #2563EB; }
.chip-blue:hover { background: #DBEAFE; color: #2563EB; }
.chip-cyan { background: #ECFEFF; color: var(--brand-cyan); }
.chip-cyan:hover { background: #CFFAFE; color: var(--brand-cyan); }
.chip-purple { background: #FAF5FF; color: #9333EA; }
.chip-purple:hover { background: #F3E8FF; color: #9333EA; }
.chip-orange { background: #FFF7ED; color: #EA580C; }
.chip-orange:hover { background: #FFEDD5; color: #EA580C; }
.chip { border: 0; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600; padding: 0.375rem 0.75rem; transition: background 0.2s; }

/* GeneratePress overrides */
body .site-content { padding: 0; }
body .container, body .site-footer, body .site-header { max-width: none; }
#content.site-content > .container { width: auto; max-width: none; padding: 0; }

/* ============ WOOCOMMERCE ============ */
.woocommerce ul.products { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.woocommerce ul.products li.product {
    float: none; width: calc(25% - 1.125rem) !important; margin: 0 !important;
    padding: 1.25rem; background: #fff; border: 1px solid #F3F4F6; border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}
@media (max-width: 991.98px) {
    .woocommerce ul.products li.product { width: calc(50% - 0.75rem) !important; }
}
@media (max-width: 575.98px) {
    .woocommerce ul.products li.product { width: 100% !important; }
}

.woocommerce ul.products li.product a img {
    border-radius: 0.75rem; margin-bottom: 0.75rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem; font-weight: 700; color: var(--brand-dark); padding: 0; margin: 0.5rem 0;
}
.woocommerce ul.products li.product .price {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem !important;
    font-weight: 800; color: var(--brand-dark) !important; margin-top: auto; padding-top: 0.75rem;
}
.woocommerce ul.products li.product .price del { color: #9CA3AF !important; font-weight: 400; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button {
    background-color: var(--brand-dark) !important; color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    font-size: 0.875rem; border-radius: 0.75rem; padding: 0.625rem 1rem;
    margin-top: 0.75rem; transition: all 0.2s ease;
}
.woocommerce ul.products li.product .button:hover {
    background-color: var(--brand-green) !important; color: #fff !important;
}
.woocommerce ul.products li.product .star-rating { color: #F59E0B; }
.woocommerce ul.products li.product .onsale {
    background-color: var(--brand-green) !important; border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif; padding: 0.25rem 0.75rem; line-height: 1.4;
}

/* sorting / result bar */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; color: #64748B;
}
.woocommerce .woocommerce-ordering select {
    border: 1px solid #E5E7EB; border-radius: 0.75rem; padding: 0.5rem 0.75rem;
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background: #ECFDF5 !important; border-top-color: var(--brand-green) !important;
    color: var(--brand-dark) !important; font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 0.75rem;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before { color: var(--brand-green) !important; }
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button {
    background-color: var(--brand-green) !important; color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif; border-radius: 0.75rem;
}

/* pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: 0; font-family: 'Plus Jakarta Sans', sans-serif;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin-right: 0.375rem; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-radius: 0.75rem; border: 1px solid #E5E7EB !important; color: var(--brand-dark);
    min-width: 2.5rem; text-align: center; transition: all 0.2s ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--brand-green) !important; border-color: var(--brand-green) !important;
    color: #fff !important;
}

/* ============ SHOP ARCHIVE ============ */
.paltech-shop-page { padding: 0.5rem; }
.paltech-shop-layout { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 2rem; }
.paltech-shop-filters {
    align-self: start; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto;
    padding: 1.5rem; background: #fff; border: 1px solid #E5E7EB; border-radius: 0.75rem;
}
.paltech-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.25rem; }
.paltech-filter-heading h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--brand-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.paltech-filter-heading .dashicons { color: var(--brand-green); font-size: 1rem; }
.paltech-filter-heading a { color: #64748B; font-size: 0.6875rem; font-weight: 700; }
.paltech-filter-heading a:hover { color: var(--brand-green); }
.paltech-filter-group { margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid #F1F5F9; }
.paltech-filter-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.paltech-filter-group h3 { margin: 0 0 0.75rem; color: var(--brand-dark); font-size: 0.8125rem; font-weight: 700; }
.paltech-category-list { margin: 0; padding: 0; list-style: none; }
.paltech-category-list li { margin: 0 0 0.5rem; }
.paltech-category-list li.cat-item { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.paltech-category-list li.cat-item > a { display: block; }
.paltech-category-list a, .paltech-stock-filter a { display: flex; justify-content: space-between; gap: 0.5rem; color: #475569; font-size: 0.8125rem; }
.paltech-category-list a:hover, .paltech-stock-filter a:hover { color: var(--brand-green); }
.paltech-category-list .count { color: #94A3B8; font-size: 0.6875rem; }
.paltech-price-fields { display: flex; align-items: center; gap: 0.5rem; }
.paltech-price-fields input { box-sizing: border-box; width: 100%; min-width: 0; padding: 0.5rem 0.625rem; border: 1px solid #E5E7EB; border-radius: 0.5rem; color: var(--brand-dark); font-size: 0.75rem; }
.paltech-price-fields input:focus { outline: 0; border-color: var(--brand-green); }
.paltech-price-form button { width: 100%; margin-top: 0.625rem; padding: 0.625rem; border: 0; border-radius: 0.5rem; background: var(--brand-green); color: #fff; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.paltech-price-form button:hover { background: #059669; }
.paltech-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.paltech-filter-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0; border: 0; background: transparent; color: var(--brand-dark); font-family: inherit; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: color 0.2s ease; }
.paltech-filter-toggle:hover { color: var(--brand-green); }
.paltech-filter-toggle .dashicons { color: var(--brand-green); font-size: 1rem; }
.paltech-shop-toolbar .woocommerce-result-count { margin: 0; color: #64748B; font-size: 0.875rem; font-weight: 600; }
.paltech-shop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.paltech-shop-toolbar .woocommerce-ordering select { min-width: 11rem; background: #fff; }
.paltech-shop-results ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.paltech-shop-results ul.products::before, .paltech-shop-results ul.products::after { display: none; }
.paltech-shop-results ul.products li.product { width: auto !important; min-width: 0; margin: 0 !important; padding: 0.75rem; border-radius: 0.75rem; overflow: hidden; }
.paltech-shop-results ul.products li.product a img { width: 100%; height: 12.5rem; object-fit: cover; background: #F1F5F9; }
.paltech-shop-results ul.products li.product .woocommerce-loop-product__title { min-height: 2.35rem; }
.paltech-shop-results ul.products li.product .button { width: 100%; text-align: center; }
.paltech-shop-results .woocommerce-info { margin-top: 0; }

/* DEMO: category thumbnail (start) - remove later with archive-product.php demo block */
.paltech-shop-results .cat-featured-image { margin-bottom: 1.5rem; }
.paltech-shop-results .cat-featured-image img { width: 100%; max-height: 20rem; object-fit: cover; border-radius: 0.75rem; }
/* DEMO: category thumbnail (end) */

@media (max-width: 1199.98px) {
    .paltech-shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .paltech-shop-page { padding: 1.5rem 1rem 3rem; }
    .paltech-shop-layout { grid-template-columns: 1fr; }
    .paltech-shop-filters { position: static; max-height: none; display: block; padding: 0.75rem 1rem; margin-bottom: 1rem; }
    .paltech-shop-filters .paltech-filter-body { display: none; }
    .paltech-shop-filters.is-open .paltech-filter-body { display: block; }
    .paltech-filter-toggle { padding: 8px 16px; border-radius: 0.5rem; background: var(--brand-green); color: #fff; font-size: 0.8125rem; font-weight: 800; letter-spacing: normal; text-transform: none; }
    .paltech-filter-toggle:hover { background: #059669; color: #fff; }
    .paltech-filter-toggle .dashicons { color: #fff; }
    .paltech-shop-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .paltech-shop-toolbar { align-items: flex-start; flex-direction: column; }
    .paltech-shop-toolbar .woocommerce-ordering, .paltech-shop-toolbar .woocommerce-ordering select { width: 100%; }
    .paltech-shop-results ul.products { grid-template-columns: 1fr; }
}

/* widget price filter */
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: var(--brand-green) !important;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: #E5E7EB !important; }

/* shop page woocommerce */
#main{
  margin-top: 0rem;
}

/* ============ PRODUCT THUMB ============ */
.product-thumb {
    width: 100%;
    height: 18rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ OWL CAROUSEL (HERO BANNER) ============ */
.owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-carousel .item img {
    max-height: 13.5rem;
}
.brand-carousel .owl-nav button.owl-prev,
.brand-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55) !important;
    color: #fff !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.brand-carousel .owl-nav button.owl-prev { left: -1.6rem; }
.brand-carousel .owl-nav button.owl-next { right: -1.6rem; }
.brand-carousel .owl-nav button:hover {
    background: var(--brand-green) !important;
}

/* ============ BACK TO TOP ============ */
.back-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: all 0.25s;
    cursor: pointer;
}
.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-top:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.5);
}

/* =========================
   PALTECH FOOTER (new design)
========================= */

/* ---- TRUST SECTION ---- */
.footer-trust {
    background: #ffffff;
    padding: 32px 0;
    border-bottom: 1px solid #e5e7eb;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 30px;
    border-right: 1px solid #dce2e8;
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #16b95b;
    color: #ffffff;
    font-size: 25px;
}
.trust-item h6 { margin: 0 0 5px; color: #102b50; font-size: 16px; font-weight: 700; }
.trust-item p { margin: 0; color: #64748b; font-size: 14px; }

/* ---- MAIN FOOTER ---- */
.footer-main { background: #071d38; color: #ffffff; padding: 65px 0 0; }

/* ---- LOGO ---- */
.paltech-logo { font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: -2px; color: #ffffff; }
.paltech-logo span { color: #25d366; }
.paltech-logo-img { max-height: 64px; width: auto; display: block; border-radius: 6px; }
.footer-tagline { margin-top: 8px; color: #ffffff; font-size: 13px; font-weight: 600; }
.footer-tagline span { color: #25d366; margin: 0 5px; }
.footer-description { margin-top: 25px; color: #cbd5e1; font-size: 15px; line-height: 1.7; max-width: 320px; }

/* ---- HEADINGS ---- */
.footer-heading { color: #ffffff; font-size: 20px; font-weight: 700; margin-bottom: 25px; }

/* ---- BRAND LINKS ---- */
.brand-links { padding: 0; margin: 0; list-style: none; }
.brand-links li { margin-bottom: 18px; }
.brand-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}
.brand-links a span { font-size: 18px; line-height: 1; color: #25d366; transition: transform 0.3s; }
.brand-links a:hover { color: #25d366; }
.brand-links a:hover span { color: #25d366; }

/* ---- SUPPORT ---- */
.support-box { margin-bottom: 35px; }
.support-item { display: flex; gap: 15px; margin-bottom: 23px; }
.support-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border: 2px solid #25d366;
    color: #25d366;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.support-item small { display: block; color: #a9b8c9; font-size: 13px; margin-bottom: 3px; }
.support-item strong { display: block; color: #ffffff; font-size: 15px; }
.support-item a { color: #ffffff; text-decoration: none; }

/* ---- VERIFICATION ---- */
.verification-title { margin-bottom: 20px; }
.verification { display: flex; gap: 18px; }
.verification > div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 18px;
    border-right: 1px solid #36516d;
}
.verification > div:last-child { border-right: 0; }
.verification span { color: #25d366; font-size: 24px; }
.verification small { color: #dbe4ed; font-size: 12px; line-height: 1.4; }

/* ---- SOCIAL ---- */
.social-links { display: flex; gap: 12px; margin-bottom: 35px; }
.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #071d38;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
    transition: 0.3s;
}
.social-links a:hover { background: #25d366; color: #ffffff; transform: translateY(-3px); }

/* ---- GREEN CARD ---- */
.green-card {
    border: 1px solid #25d366;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    gap: 18px;
    background: rgba(37, 211, 102, 0.03);
}
.green-icon { font-size: 38px; }
.green-card h6 { margin: 0 0 4px; color: #ffffff; font-size: 18px; }
.green-card strong { color: #25d366; font-size: 16px; }
.green-card p { margin: 10px 0 0; color: #b9c7d6; font-size: 13px; line-height: 1.5; }

/* ---- BOTTOM FOOTER ---- */
.popular-wrap { padding-top: 28px; margin-top: 18px; border-top: 1px solid #29445f; }
.popular-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.popular-label i { color: #25d366; font-size: 13px; }
.popular-label small {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
}
.popular-searches .chip {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid #334155;
    border-radius: 50rem;
    color: #cbd5e1;
    padding: 0.4rem 0.95rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}
.popular-searches .chip:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-1px);
}
.footer-bottom {
    margin-top: 55px;
    padding: 25px 0;
    border-top: 1px solid #29445f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.copyright { color: #b9c7d6; font-size: 14px; }
.copyright strong { color: #ffffff; }
.payment-methods { display: flex; align-items: center; gap: 10px; }
.payment {
    background: #ffffff;
    color: #1d3557;
    border-radius: 5px;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 800;
}
.visa { color: #1c3d8c; }
.mastercard { color: #d64040; }
.rupay { color: #143b91; }
.secure-payment {
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid #486078;
    color: #cbd5e1;
    font-size: 14px;
}

/* ---- FOOTER RESPONSIVE ---- */
@media (max-width: 991px) {
    .trust-item { border-right: 0; border-bottom: 1px solid #e5e7eb; }
    .footer-main { padding-top: 50px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .payment-methods { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .footer-trust { padding: 20px 0; }
    .trust-item { padding: 15px 10px; }
    .paltech-logo { font-size: 36px; }
    .footer-main { padding-top: 40px; }
    .footer-heading { margin-bottom: 18px; }
    .verification { flex-direction: column; gap: 12px; }
    .verification > div { border-right: 0; }
    .footer-bottom { margin-top: 35px; }
    .secure-payment { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; }
}

/* status dot (unused placeholder kept for parity with HTML) */
.status-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #35dc72;
    border-radius: 50%;
    margin-right: 6px;
}

/* Load More button */
.paltech-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 0;
}
.paltech-load-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #16B95B;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 46px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    min-width: 200px;
    box-shadow: 0 10px 24px -8px rgba(22, 185, 91, .55);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.paltech-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px rgba(22, 185, 91, .6);
    background: #0F172A;
    color: #fff;
}
.paltech-load-more-btn:active {
    transform: translateY(0);
}
.paltech-load-more-btn:focus-visible {
    outline: 3px solid rgba(22, 185, 91, .4);
    outline-offset: 2px;
}
.paltech-load-more-btn .paltech-lm-icon {
    font-size: 15px;
    transition: transform .25s ease;
}
.paltech-load-more-btn:hover .paltech-lm-icon {
    transform: translateY(3px);
}
.paltech-load-more-btn.is-loading {
    cursor: wait;
    pointer-events: none;
    opacity: .85;
}
.paltech-load-more-btn.is-loading .paltech-lm-icon {
    transform: none;
    animation: paltech-lm-spin .9s linear infinite;
}
@keyframes paltech-lm-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Filters sidebar – clean */
.paltech-filter-heading h2 {
    margin: 0;
}
.paltech-filter-heading a {
    text-decoration: none;
}
.paltech-filter-heading a:hover {
    color: var(--brand-green, #16B95B);
}
.paltech-filter-group {
    border-bottom: 0;
    padding-bottom: 0;
}
.paltech-category-list li {
    margin: 0 0 .5rem;
}
.paltech-category-list li.cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.paltech-category-list li.cat-item > a {
    display: block;
}
.paltech-category-list a,
.paltech-stock-filter a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: #475569;
    font-size: .8125rem;
    text-decoration: none;
}
.paltech-category-list a:hover,
.paltech-stock-filter a:hover {
    color: var(--brand-green, #16B95B);
}
.paltech-category-list .count {
    color: #94A3B8;
    font-size: .6875rem;
    white-space: nowrap;
    margin-left: auto;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1.25rem;
    padding: 10px 16px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 10px;
    font-size: .8125rem;
    line-height: 1.6;
    color: #94A3B8;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #16B95B;
}

/* No products found → random suggestions */
.paltech-suggestions {
    margin-top: 1.5rem;
}
.paltech-suggestions-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
}

/* No products found – compact empty state */
.paltech-no-products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 12px 18px;
    margin-bottom: .5rem;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: .75rem;
}
.paltech-no-products-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FDF4;
    border-radius: 999px;
    color: #16B95B;
    font-size: 14px;
    flex-shrink: 0;
}
.paltech-no-products-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    color: #0F172A;
}
.paltech-no-products-text {
    margin: 0;
    font-size: .75rem;
    line-height: 1.6;
    color: #64748B;
}
.paltech-no-products-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    padding: 7px 16px;
    background: #16B95B;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s ease;
}
.paltech-no-products-btn:hover {
    background: #0F172A;
    color: #fff;
}
@media (max-width: 575.98px) {
    .paltech-no-products {
        flex-wrap: nowrap;
        padding: 10px 14px;
        gap: 8px;
    }
    .paltech-no-products-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .paltech-no-products-title {
        font-size: .82rem;
        flex: 1;
        min-width: 0;
    }
    .paltech-no-products-text {
        display: none;
    }
    .paltech-no-products-btn {
        padding: 6px 12px;
        font-size: .72rem;
        gap: .3rem;
    }
}

/* Header search icon hover feedback */
.search-desk button[type="submit"] {
    transition: transform .15s ease;
}
.search-desk button[type="submit"]:hover {
    transform: scale(1.15);
}
.search-desk button[type="submit"]:hover i {
    color: #16B95B !important;
}
.search-desk button[type="submit"]:active {
    transform: scale(.9);
}

/* ── Order Received / Thank You Page ─────────────────────────── */
body .woocommerce-order {
    max-width: 760px;
    width: 100%;
    margin: 0 auto !important;
    padding: 2rem 1rem 3rem;
}

/* Success hero */
body .woocommerce-order .woocommerce-notice--success {
    position: relative;
    background: linear-gradient(135deg, #F0FDF4 0%, #E7F9EE 100%);
    color: #065F46;
    border: 1px solid #BBF7D0;
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .01em;
    margin-bottom: 2rem;
    box-shadow: 0 12px 30px -14px rgba(22, 185, 91, .35);
    display: block;
}
body .woocommerce-order .woocommerce-notice--success::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2rem;
    color: #16B95B;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto .9rem;
    background: #fff;
    border: 1px solid #BBF7D0;
    border-radius: 9999px;
    box-shadow: 0 6px 16px -6px rgba(22, 185, 91, .4);
}

/* ── Order Overview (stat cards) ─────────────────────────────── */
body .woocommerce-order .woocommerce-order-overview {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: .75rem !important;
    margin: 0 0 2rem;
    list-style: none;
}
body .woocommerce-order .woocommerce-order-overview li {
    position: relative;
    background: #F8FAFC;
    border: 1px solid #F1F5F9 !important;
    border-radius: 12px;
    padding: .85rem .9rem .85rem 3rem;
    margin: 0 !important;
    display: block;
    list-style: none;
}
body .woocommerce-order .woocommerce-order-overview li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
    color: #16B95B;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 8px;
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__order::before {
    content: "\f15c";
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__date::before {
    content: "\f133";
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__email::before {
    content: "\f0e0";
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__total::before {
    content: "\f155";
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__payment-method::before {
    content: "\f09d";
}
body .woocommerce-order .woocommerce-order-overview li strong {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94A3B8;
    margin-bottom: .3rem;
}
body .woocommerce-order .woocommerce-order-overview li strong {
    color: #94A3B8;
}
body .woocommerce-order .woocommerce-order-overview li .woocommerce-Price-amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
}
body .woocommerce-order .woocommerce-order-overview li:not(:has(strong strong)) .order,
body .woocommerce-order .woocommerce-order-overview li .woocommerce-Price-amount,
body .woocommerce-order .woocommerce-order-overview li strong ~ *,
body .woocommerce-order .woocommerce-order-overview li strong:last-child span {
    color: #0F172A;
}
body .woocommerce-order .woocommerce-order-overview li strong:not(.woocommerce-order-overview__method) {
    font-weight: 700;
}
body .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__total .woocommerce-Price-amount {
    color: #16B95B;
}

body .woocommerce-order > p:not(.woocommerce-notice) {
    text-align: center;
    color: #64748B;
    font-size: .85rem;
    margin: -1rem 0 2rem;
}

/* ── Order Details Section ───────────────────────────────────── */
body .woocommerce-order .woocommerce-order-details {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
body .woocommerce-order .woocommerce-order-details__title {
    position: relative;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0F172A;
    margin: 0 0 1.25rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #E5E7EB;
}
body .woocommerce-order .woocommerce-order-details__title::after,
body .woocommerce-order .woocommerce-customer-details .woocommerce-column__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3rem;
    height: 3px;
    background: #16B95B;
    border-radius: 2px;
}
body .woocommerce-order .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
    margin: 4px 0 0;
}
body .woocommerce-order .woocommerce-table--order-details thead th {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94A3B8;
    padding: .65rem .75rem;
    background: #F8FAFC;
    border: none;
    text-align: left;
}
body .woocommerce-order .woocommerce-table--order-details thead th:first-child {
    border-radius: 8px 0 0 8px;
}
body .woocommerce-order .woocommerce-table--order-details thead th:last-child {
    text-align: right;
    border-radius: 0 8px 8px 0;
}
body .woocommerce-order .woocommerce-table--order-details tbody td {
    padding: 1rem .75rem;
    color: #0F172A;
    font-weight: 600;
    border-bottom: 1px dashed #E2E8F0;
    vertical-align: top;
}
body .woocommerce-order .woocommerce-table--order-details tbody td:last-child {
    text-align: right;
}
body .woocommerce-order .woocommerce-table--order-details tbody td a {
    color: #0F172A;
    text-decoration: none;
    font-weight: 700;
}
body .woocommerce-order .woocommerce-table--order-details tbody td a:hover {
    color: #16B95B;
}
body .woocommerce-order .woocommerce-table--order-details .product-quantity {
    font-weight: 400;
    color: #64748B;
    font-size: .85rem;
}
body .woocommerce-order .woocommerce-table--order-details tfoot th {
    font-size: .85rem;
    font-weight: 600;
    color: #64748B;
    padding: .6rem .75rem;
    text-align: left;
}
body .woocommerce-order .woocommerce-table--order-details tfoot td {
    padding: .6rem .75rem;
    text-align: right;
    color: #0F172A;
    font-weight: 600;
}
body .woocommerce-order .woocommerce-table--order-details tfoot tr th,
body .woocommerce-order .woocommerce-table--order-details tfoot tr td {
    border-top: 1px solid #F1F5F9;
}
body .woocommerce-order .woocommerce-table--order-details tfoot tr:last-child th,
body .woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
    padding-top: 1rem;
    padding-bottom: .4rem;
    border-top-color: #E5E7EB;
    font-size: 1.1rem;
    font-weight: 800;
    color: #16B95B;
}

/* ── Billing Address ─────────────────────────────────────────── */
body .woocommerce-order .woocommerce-customer-details {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1.5rem;
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-column__title {
    position: relative;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0F172A;
    margin: 0 0 1.25rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #E5E7EB;
}
body .woocommerce-order .woocommerce-customer-details address {
    font-style: normal;
    color: #334155;
    line-height: 1.95;
    font-size: .9rem;
    margin-top: .5rem;
    padding: 1rem 1.25rem;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 14px;
}
body .woocommerce-order .woocommerce-customer-details address::first-line {
    font-weight: 800;
    color: #0F172A;
    font-size: 1rem;
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--phone,
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--email {
    font-size: .85rem;
    color: #64748B;
    padding: .7rem 0 0;
    margin: .7rem 0 0;
    border-top: 1px dashed #E2E8F0;
    display: flex;
    align-items: center;
    gap: .65rem;
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--email {
    margin-bottom: 0;
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--phone::before,
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--email::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .65rem;
    color: #16B95B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 8px;
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--email::before {
    content: "\f0e0";
}
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--phone::before,
body .woocommerce-order .woocommerce-customer-details .woocommerce-customer-details--email::before {
    position: static;
    margin-left: 0;
    margin-right: 0;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    body .woocommerce-order {
        padding: 1.5rem .75rem 2.5rem;
    }
    body .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: .75rem !important;
    }
}
@media (max-width: 479.98px) {
    body .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: minmax(0, 1fr);
    }
}




/* ============ MY ACCOUNT UI — UPDATE SAFE ============ */
body.woocommerce-account .site-content {
    background: #F5F6F8;
}

body.woocommerce-account .woocommerce {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px;
    padding: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 3px 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 15px;
    border-radius: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #10B981;
    color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 284px);
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    color: #334155;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-top: 0;
    color: #0F172A;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-MyAccount-content table {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-content th {
    background: #F8FAFC;
    color: #0F172A;
}

body.woocommerce-account .woocommerce-MyAccount-content td,
body.woocommerce-account .woocommerce-MyAccount-content th {
    padding: 13px 15px;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce form button.button {
    border: 0;
    border-radius: 9px;
    background: #10B981;
    color: #fff;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce form button.button:hover {
    background: #059669;
    color: #fff;
}

body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce form label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-account .woocommerce form input.input-text,
body.woocommerce-account .woocommerce form select,
body.woocommerce-account .woocommerce form textarea {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #CBD5E1;
    border-radius: 9px;
    background: #fff;
}

body.woocommerce-account .woocommerce form input:focus,
body.woocommerce-account .woocommerce form select:focus,
body.woocommerce-account .woocommerce form textarea:focus {
    border-color: #10B981;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .14);
}

@media (max-width: 767px) {
    body.woocommerce-account .woocommerce {
        padding: 28px 14px 48px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
        box-sizing: border-box;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 18px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px 16px;
    }

    body.woocommerce-account .woocommerce form.login,
    body.woocommerce-account .woocommerce form.register {
        padding: 20px 16px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* My Account dashboard text UI */
body.woocommerce-account .woocommerce-MyAccount-content {
    line-height: 1.7;
}

body.woocommerce-account .woocommerce-MyAccount-content > p {
    margin: 0 0 18px;
    color: #64748B;
    font-size: 15px;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    padding: 22px 24px;
    margin-bottom: 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    color: #334155;
    font-size: 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type strong {
    color: #0F172A;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    max-width: 720px;
    padding: 20px 22px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content > p a {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content > p a:hover {
    color: #047857;
    border-bottom-color: #10B981;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid #A7F3D0;
    border-top: 0;
    border-radius: 12px;
    background: #ECFDF5 !important;
    color: #065F46 !important;
    font-size: 14px;
    line-height: 1.5;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
    flex-shrink: 0;
    color: #059669 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 8px;
    background: #10B981 !important;
    color: #FFFFFF !important;
    font-size: 12px;
}

@media (max-width: 575px) {
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
        order: 3;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
    body.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
        padding: 16px;
    }
}

/* My Account > Addresses */

body.woocommerce-account .woocommerce-Address {
    width: auto;
    margin: 0;
    padding: 22px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #CBD5E1;
}

body.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0;
    color: #0F172A;
    font-size: 17px;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-Address-title .edit {
    flex-shrink: 0;
    padding: 7px 11px;
    border-radius: 8px;
    background: #ECFDF5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

body.woocommerce-account .woocommerce-Address-title .edit:hover {
    background: #10B981;
    color: #fff;
}

body.woocommerce-account .woocommerce-Address address {
    margin: 18px 0 0;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-style: normal;
    line-height: 1.95;
}

body.woocommerce-account .woocommerce-Address address::first-line {
    color: #0F172A;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 767px) {
    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.woocommerce-account .woocommerce-Address {
        padding: 18px;
    }

    body.woocommerce-account .woocommerce-Address-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* My Account > View Order */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    padding: 16px 20px;
    margin-bottom: 22px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    color: #166534;
    font-size: 14px;
    font-weight: 600;
}

body.woocommerce-account .woocommerce-MyAccount-content mark {
    padding: 3px 7px;
    border-radius: 5px;
    background: #DCFCE7;
    color: #166534;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
    margin: 0 0 20px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
    color: #0F172A;
    font-size: 17px;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-order-details__title::after,
body.woocommerce-account .woocommerce-column__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 3px;
    border-radius: 4px;
    background: #10B981;
}

body.woocommerce-account .woocommerce-order-details table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

body.woocommerce-account .woocommerce-order-details thead th {
    padding: 11px 12px;
    background: #F8FAFC;
    color: #64748B;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce-order-details thead th:first-child {
    border-radius: 8px 0 0 8px;
}

body.woocommerce-account .woocommerce-order-details thead th:last-child {
    border-radius: 0 8px 8px 0;
    text-align: right;
}

body.woocommerce-account .woocommerce-order-details tbody td,
body.woocommerce-account .woocommerce-order-details tfoot th,
body.woocommerce-account .woocommerce-order-details tfoot td {
    padding: 15px 12px;
    border-bottom: 1px dashed #E2E8F0;
    color: #334155;
    font-size: 14px;
}

body.woocommerce-account .woocommerce-order-details tbody td:last-child,
body.woocommerce-account .woocommerce-order-details tfoot td {
    text-align: right;
}

body.woocommerce-account .woocommerce-order-details tbody a {
    color: #0F172A;
    font-weight: 700;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-order-details tbody a:hover {
    color: #059669;
}

body.woocommerce-account .woocommerce-order-details .product-quantity {
    color: #64748B;
    font-size: 13px;
    font-weight: 600;
}

body.woocommerce-account .woocommerce-order-details tfoot th {
    text-align: left;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-order-details tfoot tr:last-child td {
    border-bottom: 0;
    color: #059669;
    font-size: 16px;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-customer-details address {
    margin: 0;
    padding: 17px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-style: normal;
    line-height: 1.9;
}

body.woocommerce-account .woocommerce-customer-details address::first-line {
    color: #0F172A;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-customer-details--email {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px dashed #CBD5E1;
    color: #64748B;
    font-size: 13px;
}

body.woocommerce-account .woocommerce-customer-details--email::before {
    content: "\f0e0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: #ECFDF5;
    color: #059669;
    font-size: 11px;
}

@media (max-width: 575px) {
    body.woocommerce-account .woocommerce-order-details,
    body.woocommerce-account .woocommerce-customer-details {
        padding: 18px 14px;
    }

    body.woocommerce-account .woocommerce-order-details {
        overflow-x: auto;
    }

    body.woocommerce-account .woocommerce-order-details table {
        min-width: 520px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
        font-size: 13px;
    }
}



/* pdf   */


.paltech-order-pdf-action {
    margin-top: 18px;
    text-align: right;
}

.paltech-pdf-button {
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: #10B981;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.paltech-pdf-button:hover {
    background: #059669;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    body .woocommerce-order,
    body .woocommerce-order * {
        visibility: visible !important;
    }

    body .woocommerce-order {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .paltech-order-pdf-action {
        display: none !important;
    }
}


/* hide name  */

#account_display_name , #account_display_name_description{
    display: none;
}


/* template shopbycategory */

/* Shop by Category */


/* Shop by Category */
.paltech-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.paltech-category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.paltech-category-image {
    display: block;
    width: 100%;
    height: 180px; /* yahan height kam/jyada karein */
    overflow: hidden;
    background: #f1f5f9;
}

.paltech-category-image img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform .35s ease;
}

.paltech-category-card:hover .paltech-category-image img {
    transform: scale(1.06);
}

.paltech-category-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 48px 17px 17px;
}

.paltech-category-content strong {
    font-size: 16px;
    font-weight: 800;
}

.paltech-category-content small {
    color: #64748b;
    font-size: 12px;
}

.paltech-category-arrow {
    position: absolute;
    right: 17px;
    bottom: 19px;
    color: #059669;
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .paltech-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .paltech-category-image {
        height: 160px;
    }
}

@media (max-width: 575px) {
    .paltech-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .paltech-category-image {
        height: 120px;
    }

    .paltech-category-content {
        padding: 13px 34px 14px 13px;
    }

    .paltech-category-content strong {
        font-size: 14px;
    }

    .paltech-category-arrow {
        right: 12px;
        bottom: 15px;
    }
}