/*
Theme Name: Unison
Theme URI: https://anantolab.com/unison
Author: Anantos Lab
Author URI: https://anantolab.com
Description: Pixel-perfect WooCommerce pharmacy theme — clone of Renix Care. Full theme options panel, mobile-first responsive, Bengali language support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unison
Tags: woocommerce, e-commerce, pharmacy, green, custom-logo, custom-menu, translation-ready
*/

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
    --c-primary: #5a8a1c;
    --c-primary-d: #4a7217;
    --c-primary-l: #6aab20;
    --c-red: #ed6666;
    --c-red-d: #d94f4f;
    --c-teal: #0d9488;
    --c-star: #f59e0b;
    --c-dark: #1e293b;
    --c-dark-2: #0f172a;
    --c-text: #1f2937;
    --c-text-m: #6b7280;
    --c-bg: #f1f5f9;
    --c-white: #ffffff;
    --c-border: #e5e7eb;

    --font: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-full: 9999px;
    --sh-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --sh-md: 0 4px 12px rgba(0, 0, 0, .10);
    --sh-lg: 0 8px 24px rgba(0, 0, 0, .12);
    --tr: all 0.22s ease;
    --max-w: 1280px;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tr)
}

a:hover {
    color: var(--c-primary)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

ul,
ol {
    list-style: none
}

button,
input,
select,
textarea {
    font-family: inherit
}

button {
    cursor: pointer
}

/* ================================================================
   3. UTILITIES
   ================================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--r-sm);
    font-size: .875rem;
    font-weight: 600;
    border: none;
    transition: var(--tr);
    cursor: pointer;
    line-height: 1
}

.btn-green {
    background: var(--c-primary);
    color: #fff
}

.btn-green:hover {
    background: var(--c-primary-d);
    color: #fff
}

.btn-red {
    background: var(--c-red);
    color: #fff
}

.btn-red:hover {
    background: var(--c-red-d);
    color: #fff
}

.btn-teal {
    background: var(--c-teal);
    color: #fff
}

.btn-teal:hover {
    opacity: .9;
    color: #fff
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 1.25rem
}

.section-badge {
    display: inline-block;
    width: 4px;
    height: 1.4rem;
    background: var(--c-primary);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle
}

.see-all-link {
    color: var(--c-primary);
    font-weight: 600;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: 4px
}

.see-all-link:hover {
    color: var(--c-primary-d)
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--c-star);
    font-size: .875rem
}

.star-rating .count {
    color: var(--c-text-m);
    font-size: .8rem;
    margin-left: 4px
}

/* ================================================================
   4. HEADER — pixel-perfect renixcare.com clone
   ================================================================ */
#site-header {
    background: var(--c-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--sh-sm);
    transition: box-shadow .3s;
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .13)
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px
}

.header-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1150px; /* Exact same max-width as the menu below */
    margin: 0 auto;
    width: 100%;
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #eee;
    min-height: 50px;
}

.hdr-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* — Logo — */
.hdr-logo {
    flex-shrink: 0;
    margin-right: 18px
}

.hdr-logo a {
    display: flex;
    align-items: center;
    gap: 0
}

.hdr-logo-img {
    height: 50px;
    width: auto
}

.hdr-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--c-primary);
    letter-spacing: -.5px
}

/* — Navigation — */
.hdr-nav {
    width: 100%
}

.hdr-nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Spread items to edges */
    gap: 10px;
    flex-wrap: wrap;
    height: auto;
    min-height: 50px;
    width: 100%;
    max-width: 1150px; /* Exact same max-width as header-top */
    margin: 0 auto;
}

.hdr-nav-list>li {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.hdr-nav-list li a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px; /* Increased padding for wider click area and look */
    font-size: .98rem; /* Slightly larger text */
    font-weight: 500;
    color: var(--c-text);
    transition: var(--tr);
    border-radius: var(--r-sm);
    white-space: nowrap;
    line-height: 1;
}

.hdr-nav-list li a:hover,
.hdr-nav-list li.hdr-active>a,
.hdr-nav-list li.current-menu-item>a {
    color: var(--c-red)
}

/* Dropdown Menu CSS */
.hdr-nav-list li.menu-item-has-children {
    position: relative;
    padding-right: 12px;
}

.hdr-nav-list li.menu-item-has-children::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--c-text-m);
}

.hdr-nav-list li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hdr-nav-list ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    padding: 10px 0;
    box-shadow: var(--sh-md);
    border-radius: var(--r-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--tr);
    z-index: 999;
    list-style: none;
}

.hdr-nav-list ul.sub-menu li {
    display: block;
}

.hdr-nav-list ul.sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: .95rem;
    font-weight: 400;
    color: var(--c-text);
    border-radius: 0;
}

.hdr-nav-list ul.sub-menu li a:hover {
    background: var(--c-bg);
    color: var(--c-primary);
}

/* Combo Offer — red pill, always inline */
.hdr-nav-list li.hdr-btn-combo,
.hdr-nav-list li.menu-item-combo-offer,
.hdr-nav-list li[class*="combo-offer"] {
    margin-left: 4px;
}

.hdr-nav-list li.hdr-btn-combo>a,
.hdr-nav-list li.menu-item-combo-offer>a,
.hdr-nav-list li[class*="combo-offer"]>a {
    background: var(--c-red);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: var(--r-full);
    font-size: 1.2rem;
    font-weight: 700;
}

.hdr-nav-list li.hdr-btn-combo>a:hover,
.hdr-nav-list li.menu-item-combo-offer>a:hover {
    background: var(--c-red-d);
    color: #fff !important;
}

/* Doctor — green pill, always inline */
.hdr-nav-list li.hdr-btn-doctor,
.hdr-nav-list li.menu-item-doctor,
.hdr-nav-list li[class*="menu-item-doctor"] {
    margin-left: 4px;
}

.hdr-nav-list li.hdr-btn-doctor>a,
.hdr-nav-list li.menu-item-doctor>a,
.hdr-nav-list li[class*="menu-item-doctor"]>a {
    background: var(--c-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: var(--r-full);
    font-size: 1.2rem;
    font-weight: 700;
}

.hdr-nav-list li.hdr-btn-doctor>a:hover,
.hdr-nav-list li.menu-item-doctor>a:hover {
    background: var(--c-primary-d);
    color: #fff !important;
}

/* — Search — */
.hdr-search {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

/* Mobile search row: JS-controlled toggle via inline style. Hidden by default. */
.hdr-mobile-search-row {
    display: none;
}

/* Mobile search icon button: hidden on desktop, shown on mobile */
.hdr-mobile-search-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--c-text);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hdr-mobile-search-btn svg {
    display: block;
}

.hdr-mobile-search-btn.active {
    color: var(--c-primary);
}

.hdr-search form {
    display: flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
    transition: border .2s, box-shadow .2s;
    width: 100%;
    max-width: 600px; /* Sensible fixed width like the second image */
}

.hdr-search form:focus-within {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(90, 138, 28, .12);
}

.hdr-search input {
    border: none;
    outline: none;
    padding: 9px 15px;
    font-size: .875rem;
    color: var(--c-text);
    flex: 1;
    background: transparent;
}

.hdr-search input::placeholder {
    color: #aaa
}

.hdr-search button {
    border: none;
    background: transparent;
    padding: 7px 10px;
    color: var(--c-text-m);
    display: flex;
    align-items: center;
    transition: var(--tr);
}

.hdr-search button:hover {
    color: var(--c-primary)
}

/* — Search Dropdown — */
.hdr-search-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hdr-search-wrap form {
    display: flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
    transition: border .2s, box-shadow .2s;
    width: 100%;
}

.hdr-search-wrap form:focus-within {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(90, 138, 28, .12);
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    z-index: 9999;
    overflow: hidden;
    animation: fadeSlideDown .15s ease;
}

.search-dropdown.active {
    display: block;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--c-text);
    transition: background .15s;
    border-bottom: 1px solid #f2f2f2;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f7faf0;
    color: var(--c-text);
}

.search-item-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f5f5f5;
    border: 1px solid #eee;
}

.search-item-img-placeholder {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #f0f4e8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-price {
    font-size: .8rem;
    color: var(--c-primary);
    font-weight: 700;
    margin-top: 2px;
}

.search-item-price del {
    color: #aaa;
    font-weight: 400;
    margin-right: 4px;
}

.search-no-result {
    padding: 18px 14px;
    text-align: center;
    color: #888;
    font-size: .875rem;
}

.search-loading {
    padding: 14px;
    text-align: center;
    color: #aaa;
    font-size: .82rem;
}

.search-see-all {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f7faf0;
    font-size: .825rem;
    font-weight: 600;
    color: var(--c-primary);
    border-top: 1px solid #e8f0d4;
}

.search-see-all:hover {
    background: #edf5d8;
    color: var(--c-primary-d);
}

/* — Cart — */
.hdr-cart {
    flex-shrink: 0;
    position: relative;
    margin-left: 12px;
    color: var(--c-text);
    display: flex;
    align-items: center;
    transition: var(--tr);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hdr-cart:hover {
    color: var(--c-primary)
}

.hdr-cart svg {
    width: 24px;
    height: 24px;
}

.hdr-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--c-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    border: 2px solid #fff;
}

/* — Hamburger — */
.hdr-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    margin-left: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.hdr-mobile-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--tr);
    transform-origin: center;
}

/* open state */
.hdr-mobile-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hdr-mobile-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hdr-mobile-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* — Pill Buttons (Combo Offer + Doctor) — always inline in flex row */
.hdr-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin: 0 6px;
}

.hdr-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: var(--r-full);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    transition: var(--tr);
    flex-shrink: 0;
}

.hdr-pill-red {
    background: var(--c-red);
    color: #fff !important;
}

.hdr-pill-red:hover {
    background: var(--c-red-d);
    color: #fff !important;
}

.hdr-pill-green {
    background: var(--c-primary);
    color: #fff !important;
}

.hdr-pill-green:hover {
    background: var(--c-primary-d);
    color: #fff !important;
}

/* ================================================================
   5. HERO SLIDER
   ================================================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #2d6a0a;
    line-height: 0
}

.hero-slider-inner {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1)
}

.hero-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0
}

.hero-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block
}

.hero-slide-content {
    display: none;
}

.hero-slide-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    color: #dff59a;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    font-family: 'Hind Siliguri', system-ui, sans-serif;
}

.hero-slide-content p {
    font-size: 1rem;
    margin-top: .5rem;
    color: rgba(255, 255, 255, .9)
}

.hero-slide-content .btn {
    margin-top: 1rem
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .45);
    border: none;
    cursor: pointer;
    transition: var(--tr);
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background: #fff;
    transform: scale(1.2)
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .28);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    z-index: 10;
    font-size: 1rem;
}

.slider-prev {
    left: 14px
}

.slider-next {
    right: 14px
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0, 0, 0, .55)
}

/* ================================================================
   6. CATEGORIES SECTION
   ================================================================ */
.categories-section {
    background: #fff;
    padding: 36px 0 28px
}

.categories-section .section-title {
    text-align: center
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* 7 items in one line */
    gap: 16px;
    margin-top: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--tr);
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 2px;
}

.category-card:hover {
    box-shadow: var(--sh-md)
}

.category-card-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #8bc34a;
    /* Matches the light green background of the uploaded images */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    /* Slightly larger icon */
    color: #fff;
    transition: var(--tr);
}

.category-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card span {
    font-size: .95rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 5px;
    flex-grow: 1;
}

.category-card:hover span {
    color: var(--c-primary);
}

/* ================================================================
   7. PRODUCTS TWO-COLUMN SECTION
   ================================================================ */
.products-section {
    padding: 30px 0 40px;
    background: #f8f9fa
}

.products-two-col {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px
}

/* Top Rated */
.top-rated-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.top-rated-list {
    display: flex;
    flex-direction: column
}

.top-rated-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 10px;
}

.section-badge {
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--c-primary);
}

.top-rated-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin: 0;
}

.top-rated-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    text-decoration: none;
    transition: var(--tr);
}

.top-rated-item:hover .top-rated-name {
    color: var(--c-primary)
}

.top-rated-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: var(--r-sm);
    background: var(--c-bg);
    flex-shrink: 0;
    padding: 4px
}

.top-rated-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-text);
    transition: var(--tr);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4
}

.top-rated-price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--c-text);
    margin-top: 2px
}

.top-rated-stars {
    color: var(--c-star);
    font-size: .75rem
}

/* Main grid col */
.main-products-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebebeb;
}

.main-products-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2e4a;
}

/* ================================================================
   8. PRODUCT GRID & CARDS
   ================================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.products-two-col .product-grid {
    grid-template-columns: repeat(4, 1fr);
}

#unaniProductGrid .product-card:nth-child(n+9) {
    display: none;
}

#unaniProductGrid.show-all .product-card:nth-child(n+9) {
    display: flex;
}

.product-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    overflow: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08)
}

.product-card-image {
    position: relative;
    background: #fff;
    padding: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease
}

.product-card:hover .product-card-image img {
    transform: scale(1.06)
}

.product-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px
}

.product-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    text-decoration: none;
}

.product-card-title:hover {
    color: var(--c-primary)
}

.product-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: .85rem;
    color: #f59e0b
}

.product-card-rating span {
    color: #555;
    font-size: .8rem;
    margin-left: 2px
}

.product-card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: #111
}

.price-original {
    font-size: .85rem;
    color: var(--c-red);
    text-decoration: line-through;
    opacity: 0.8
}

.product-card-discount-text {
    font-size: .85rem;
    color: #20b2aa;
    font-weight: 600;
    margin-top: 2px
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
    width: 100%;
    padding-top: 10px;
}

.product-card-actions .btn {
    padding: 8px 4px;
    font-size: .78rem;
    border-radius: 2px;
    white-space: nowrap;
    text-align: center;
}

/* ================================================================
   9. BEST SELLING SECTION
   ================================================================ */
.best-selling-section {
    padding: 28px 0 38px;
    background: var(--c-bg)
}

.best-selling-text-box {
    background: #fff;
    padding: 24px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md)
}

.best-selling-text-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-text)
}

.best-selling-links {
    font-size: .85rem;
    line-height: 1.8;
    color: var(--c-primary)
}

.best-selling-links a {
    color: var(--c-primary);
    font-weight: 600;
    text-decoration: none
}

.best-selling-links a:hover {
    text-decoration: underline
}

.visit-shop-links {
    font-size: .85rem;
    line-height: 1.8;
    color: var(--c-text-m);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--c-border)
}

.visit-shop-links strong {
    color: var(--c-text);
    font-weight: 700;
    margin-right: 6px
}

.visit-shop-links a {
    color: var(--c-text-m);
    text-decoration: none
}

.visit-shop-links a:hover {
    color: var(--c-primary);
    text-decoration: underline
}

/* ================================================================
   10. TRUST BADGES
   ================================================================ */
.trust-section {
    background: var(--c-bg);
    padding: 0 0 40px 0
}

.trust-container-inner {
    display: flex;
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05)
}

.trust-features-wrap {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    text-align: center;
    border-right: 1px solid var(--c-border);
    min-height: 130px
}

.trust-item:last-child {
    border-right: none
}

.trust-item-icon {
    font-size: 1.8rem;
    color: var(--c-primary);
    margin-bottom: 12px
}

.trust-item h4 {
    font-size: .85rem;
    font-weight: 400;
    color: var(--c-text);
    line-height: 1.4
}

.trust-app-wrap {
    width: 240px;
    background: var(--c-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px
}

.app-btn {
    background: #fff;
    color: var(--c-text);
    width: 80%;
    padding: 8px 0;
    text-align: center;
    border-radius: var(--r-sm);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--tr)
}

.app-btn:hover {
    background: var(--c-bg);
    color: var(--c-primary)
}


/* ================================================================
   11. FOOTER
   ================================================================ */
#site-footer {
    background: var(--c-dark);
    color: rgba(255, 255, 255, .82)
}

.footer-main {
    padding: 50px 0 30px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px
}

.footer-col-title {
    font-size: .78rem;
    font-weight: 700;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px
}

.footer-brand .footer-logo img {
    height: 34px;
    filter: brightness(0) invert(1)
}

.footer-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-primary-l)
}

.footer-brand p {
    font-size: .83rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 14px
}

.footer-brand-links a {
    display: block;
    font-size: .83rem;
    color: rgba(255, 255, 255, .65);
    padding: 4px 0;
    transition: var(--tr)
}

.footer-brand-links a:hover {
    color: var(--c-primary-l)
}

.footer-links-list a {
    display: block;
    font-size: .83rem;
    color: rgba(255, 255, 255, .65);
    padding: 5px 0;
    transition: var(--tr)
}

.footer-links-list a:hover {
    color: var(--c-primary-l)
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 13px
}

.footer-info-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, .65)
}

.footer-info-text {
    font-size: .83rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.55
}

.footer-bottom {
    background: var(--c-dark-2);
    padding: 15px 0
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.footer-social {
    display: flex;
    gap: 8px
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    transition: var(--tr)
}

.footer-social a.fb {
    background: #1877f2
}

.footer-social a.ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888)
}

.footer-social a.yt {
    background: #ff0000
}

.footer-social a:hover {
    opacity: .82;
    transform: translateY(-2px)
}

.footer-copyright {
    font-size: .8rem;
    color: var(--c-primary);
    font-weight: 600
}

.footer-payments {
    text-align: right
}

.footer-payments img {
    height: 35px;
    object-fit: contain
}

/* ================================================================
   12. WOOCOMMERCE OVERRIDES
   ================================================================ */
.unison-woo-wrap {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 30px;
    margin-bottom: 30px
}

.woocommerce-page .page-title,
.woocommerce-shop h1.page-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--c-red);
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}

.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important
}

.woocommerce-page ul.products li.product {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--tr);
    margin: 0 !important;
    float: none !important;
    width: auto !important
}

.woocommerce-page ul.products li.product:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px)
}

.woocommerce ul.products li.product .price {
    color: var(--c-text) !important;
    font-weight: 700 !important
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--c-primary) !important;
    color: #fff !important;
    border-radius: var(--r-sm) !important;
    font-weight: 600 !important;
    transition: var(--tr) !important
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--c-primary-d) !important;
    color: #fff !important
}

.woocommerce a.button.order-now-btn {
    background: var(--c-red) !important
}

.woocommerce a.button.order-now-btn:hover {
    background: var(--c-red-d) !important
}

/* Hide WooCommerce stock text */
.woocommerce .stock.in-stock,
.woocommerce-page .stock.in-stock,
p.stock.in-stock {
    display: none !important
}

/* Order Now button — same height & style as Add to Cart */
.single-product-add-to-cart .order-now-btn,
.woocommerce .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.button {
    height: 48px !important;
    padding: 0 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: var(--r-sm) !important;
    cursor: pointer !important;
    border: none !important;
    line-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Quantity wrapper — exact same height as buttons */
.single-product-add-to-cart .quantity,
.single-product-add-to-cart .qty-wrapper {
    height: 48px;
}

.single-product-add-to-cart .qty-wrapper {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--c-primary);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
}

.single-product-add-to-cart .qty-wrapper button {
    width: 42px;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 700;
    background: #f4f8f0;
    color: var(--c-primary);
    border: none;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-product-add-to-cart .qty-wrapper button:hover {
    background: var(--c-primary);
    color: #fff;
}

.single-product-add-to-cart .qty-wrapper input.qty {
    width: 54px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 2px solid var(--c-primary);
    border-right: 2px solid var(--c-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    outline: none;
    background: #fff;
}

/* Remove excess bottom margin below buttons area */
.single-product-add-to-cart {
    margin: 8px 0 0
}

.single-product-add-to-cart form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

/* ================================================================
   13. SINGLE PRODUCT
   ================================================================ */
.unison-single-product {
    display: flex;
    flex-direction: column;
    gap: 40px
}

.single-product-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start
}

.single-product-images {
    position: relative
}

.single-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ED6666;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2
}

.main-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 15px
}

.single-product-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto
}

.single-product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px
}

.single-product-thumbnails .thumb.active {
    border-color: var(--c-primary)
}

.single-product-summary {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.single-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2
}

.single-product-meta-lines p {
    margin: 0 0 8px;
    font-size: .95rem;
    color: #333
}

.single-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: .95rem
}

.single-product-rating span {
    color: #555;
    margin-left: 4px
}

.single-product-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0
}

.single-product-price-box .price-original {
    color: #ED6666;
    font-size: 1.1rem;
    text-decoration: line-through;
    font-weight: 500
}

.single-product-price-box .price-current {
    color: var(--c-primary);
    font-size: 1.4rem;
    font-weight: 700
}

.single-product-stock {
    color: var(--c-primary);
    font-weight: 600;
    font-size: .95rem
}

.single-product-add-to-cart {
    margin: 5px 0
}

.single-product-add-to-cart form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap
}

.single-product-app-banner {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: #333;
    max-width: 350px;
    margin-top: 10px
}

.app-banner-icon {
    color: var(--c-primary);
    font-size: 1.2rem
}

.single-product-app-banner a {
    color: var(--c-primary);
    text-decoration: underline;
    font-weight: 600
}

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0
}

.single-product-main-img {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 10px
}

.single-product-main-img img {
    width: 100%;
    height: 370px;
    object-fit: contain;
    background: var(--c-bg);
    padding: 20px
}

.single-product-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.single-product-thumbs img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border: 2px solid var(--c-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    background: var(--c-bg);
    padding: 4px;
    transition: var(--tr)
}

.single-product-thumbs img:hover,
.single-product-thumbs img.active {
    border-color: var(--c-primary)
}

.single-product-info h1 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3
}

.single-product-meta {
    font-size: .875rem;
    color: var(--c-text-m);
    margin-bottom: 6px
}

.single-product-meta a {
    color: var(--c-teal)
}

.single-product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--c-text);
    margin: 12px 0 8px
}

.single-product-stock {
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 14px
}

.single-product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

/* Old qty-wrapper — keep for fallback but override height */
.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow: hidden
}

.qty-wrapper button {
    width: 34px;
    height: 48px;
    background: var(--c-bg);
    border: none;
    font-size: 1rem;
    color: var(--c-text);
    transition: var(--tr)
}

.qty-wrapper button:hover {
    background: var(--c-primary);
    color: #fff
}

.qty-wrapper input {
    width: 46px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
    font-size: .875rem;
    font-weight: 600;
    outline: none
}

.product-tabs {
    margin-top: 38px
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--c-border)
}

.product-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-text-m);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--tr)
}

.product-tab-btn.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary)
}

.product-tab-content {
    padding: 18px 0;
    display: none;
    font-size: .875rem;
    line-height: 1.8
}

.product-tab-content.active {
    display: block
}

/* ================================================================
   14. GENERIC PAGE / BLOG / 404
   ================================================================ */
.page-wrap {
    padding: 36px 0 56px;
    min-height: 55vh
}

.post-entry-content {
    font-size: .9rem;
    line-height: 1.85;
    color: var(--c-text)
}

.post-entry-content h2,
.post-entry-content h3 {
    font-weight: 700;
    margin: 1.2em 0 .5em
}

.post-entry-content p {
    margin-bottom: 1em
}

.page-404-wrap {
    padding: 80px 20px;
    text-align: center
}

.page-404-icon {
    font-size: 5rem;
    margin-bottom: 18px
}

/* ================================================================
   15. RESPONSIVE — TABLET (≤ 1100px)
   ================================================================ */
@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr)
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px
    }

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

    .products-two-col {
        grid-template-columns: 220px 1fr
    }

    .hdr-search input {
        width: 135px
    }
}

/* ================================================================
   16. RESPONSIVE — TABLET PORTRAIT (≤ 900px)
   ================================================================ */
@media (max-width: 900px) {

    /* Header: hide nav, show hamburger */
    .hdr-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
        z-index: 999;
        padding: 8px 0 12px
    }

    .hdr-nav.open {
        display: block
    }

    .hdr-nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
        gap: 0;
    }

    .hdr-nav-list li {
        width: 100%
    }

    .hdr-nav-list li a {
        padding: 11px 8px;
        font-size: .9rem;
        border-radius: var(--r-sm);
        border-bottom: 1px solid #f3f4f6
    }

    .hdr-nav-list li:last-child a {
        border-bottom: none
    }

    .hdr-nav-list li.hdr-btn-combo>a,
    .hdr-nav-list li.menu-item-combo-offer>a,
    .hdr-nav-list li[class*="combo"]>a,
    .hdr-nav-list li.hdr-btn-doctor>a,
    .hdr-nav-list li.menu-item-doctor>a,
    .hdr-nav-list li[class*="doctor"]>a {
        display: inline-flex;
        margin: 6px 0;
        width: auto
    }

    .hdr-mobile-btn {
        display: flex
    }

    #site-header {
        position: relative
    }

    /* allow dropdown */

    /* Slider */
    .hero-slide img {
        height: 300px
    }

    .hero-slide-content h2 {
        font-size: 1.7rem
    }

    .hero-slide-content {
        left: 5%;
        max-width: 65%
    }

    /* Grids */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .products-two-col {
        grid-template-columns: 1fr
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

/* ================================================================
   17. RESPONSIVE — MOBILE (≤ 640px)
   ================================================================ */
@media (max-width: 640px) {
    :root {
        --max-w: 100%
    }

    /* Header compact */
    .header-inner {
        height: 52px
    }

    .hdr-logo-img {
        height: 34px
    }

    .hdr-logo-text {
        font-size: 1.2rem
    }

    .hdr-search {
        display: none
    }

    /* hide on mobile, use inside nav */
    .hdr-cart {
        margin-left: 8px
    }

    /* Hero */
    .hero-slide img {
        height: 220px
    }

    .hero-slide-content.hero-slider {
        position: relative;
        width: 100%;
        height: 420px;
        overflow: hidden;
        background: #000
    }

    .hero-slider-inner {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .hero-slide {
        flex: 0 0 100%;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-slide::before {
        content: none;
        /* No overlay */
    }

    .hero-slide-content {
        display: none;
        /* Hide HTML content since Renixcare uses baked-in image banners */
    }

    .slider-prev,
    .slider-next {
        font-size: .8rem
    }

    .slider-prev,
    .slider-next {
        display: none
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px
    }

    .category-card-icon {
        font-size: 1.4rem;
        padding: 10px
    }

    .category-card span {
        font-size: .68rem
    }

    /* Products */
    .products-section-inner {
        padding: 14px
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .product-card-body {
        padding: 8px 10px 10px
    }

    .product-card-title {
        font-size: .8rem
    }

    .product-card-actions {
        gap: 5px
    }

    .product-card-actions .btn {
        font-size: .72rem;
        padding: 6px 5px
    }

    /* Trust badges */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .trust-item-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem
    }

    .trust-item h4 {
        font-size: .82rem
    }

    .trust-item p {
        font-size: .72rem
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-main {
        padding: 32px 0 20px
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center
    }

    .footer-copyright {
        font-size: .72rem
    }

    /* WooCommerce */
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important
    }

    /* Single Product */
    .single-product-main-img img {
        height: 260px
    }

    .product-tabs-nav {
        overflow-x: auto
    }

    .product-tab-btn {
        white-space: nowrap;
        font-size: .8rem;
        padding: 8px 14px
    }

    /* Best selling */
    .best-selling-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }
}

/* ================================================================
   18. MOBILE NAV — Search inside mobile menu
   ================================================================ */
.hdr-mobile-search {
    display: none;
    padding: 10px 16px 6px;
    border-top: 1px solid var(--c-border);
    margin-top: 4px;
}

.hdr-mobile-search form {
    display: flex;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.hdr-mobile-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 12px;
    font-size: .875rem;
}

.hdr-mobile-search button {
    border: none;
    background: var(--c-primary);
    color: #fff;
    padding: 9px 14px;
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .hdr-mobile-search {
        display: block
    }
}

/* ================================================================
   19. SCROLLBAR (nice thin)
   ================================================================ */
::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8
}

/* Fix WC Grid clearfix */
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
    content: none !important;
}

/* ================================================================
   20. CART PAGE
   ================================================================ */
.woocommerce-cart .unison-woo-wrap,
.woocommerce-checkout .unison-woo-wrap {
    padding: 36px 0 60px
}

/* Cart table */
.woocommerce table.shop_table {
    border: 1px solid var(--c-border) !important;
    border-radius: var(--r-md) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff;
    width: 100%;
    overflow: hidden
}

.woocommerce table.shop_table th {
    background: var(--c-bg);
    color: var(--c-text);
    font-size: .82rem;
    font-weight: 700;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--c-border) !important
}

.woocommerce table.shop_table td {
    padding: 16px 18px;
    border-top: 1px solid var(--c-border) !important;
    vertical-align: middle;
    font-size: .9rem
}

.woocommerce table.shop_table td.product-name {
    font-weight: 600
}

.woocommerce table.shop_table td.product-name a {
    color: var(--c-text);
    text-decoration: none
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--c-primary)
}

.woocommerce table.shop_table td.product-thumbnail img {
    border-radius: var(--r-sm);
    border: 1px solid var(--c-border);
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: var(--c-bg);
    padding: 4px
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 700;
    color: var(--c-primary)
}

.woocommerce table.shop_table a.remove {
    color: var(--c-red) !important;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: var(--tr)
}

.woocommerce table.shop_table a.remove:hover {
    background: var(--c-red);
    color: #fff !important
}

/* Cart totals */
.woocommerce .cart-collaterals {
    margin-top: 30px
}

.woocommerce .cart_totals,
.woocommerce .cross-sells {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 24px;
    margin-bottom: 24px
}

.woocommerce .cart_totals h2,
.woocommerce .cross-sells h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--c-text)
}

.woocommerce .cart_totals table th {
    background: transparent;
    font-size: .875rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border) !important;
    width: 40%
}

.woocommerce .cart_totals table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border) !important;
    font-weight: 600
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-primary);
    border-bottom: none !important
}

.woocommerce .wc-proceed-to-checkout {
    padding-top: 16px
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: var(--c-primary) !important;
    color: #fff !important;
    border-radius: var(--r-sm) !important;
    transition: var(--tr) !important
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--c-primary-d) !important
}

/* Update cart button */
.woocommerce .cart .button[name="update_cart"] {
    background: transparent !important;
    color: var(--c-text) !important;
    border: 1px solid var(--c-border) !important;
    font-size: .875rem !important;
    padding: 10px 18px !important
}

.woocommerce .cart .button[name="update_cart"]:hover {
    border-color: var(--c-primary) !important;
    color: var(--c-primary) !important
}

/* Coupon area */
.woocommerce .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap
}

.woocommerce .coupon input#coupon_code {
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: .875rem;
    outline: none;
    transition: var(--tr)
}

.woocommerce .coupon input#coupon_code:focus {
    border-color: var(--c-primary)
}

.woocommerce .coupon .button {
    padding: 10px 18px !important;
    font-size: .875rem !important;
    background: var(--c-bg) !important;
    color: var(--c-text) !important;
    border: 1px solid var(--c-border) !important
}

.woocommerce .coupon .button:hover {
    border-color: var(--c-primary) !important;
    color: var(--c-primary) !important
}

/* Cart qty */
.woocommerce .quantity input.qty {
    width: 60px;
    height: 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    outline: none
}

/* ================================================================
   21. CHECKOUT PAGE
   ================================================================ */
.woocommerce-checkout #order_review_heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 16px
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.woocommerce form .form-row {
    margin-bottom: 16px
}

.woocommerce form .form-row label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px
}

.woocommerce form .form-row label .required {
    color: var(--c-red)
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: .9rem;
    color: var(--c-text);
    outline: none;
    transition: var(--tr);
    background: #fff;
    font-family: inherit
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(90, 138, 28, .1)
}

.woocommerce form .form-row textarea {
    min-height: 100px;
    resize: vertical
}

/* Checkout billing/shipping headers */
.woocommerce h3#order_review_heading,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    padding: 0 0 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--c-primary)
}

/* Checkout order table */
.woocommerce-checkout-review-order table.shop_table {
    border-radius: var(--r-md);
    border: 1px solid var(--c-border) !important;
    background: #fff
}

.woocommerce-checkout-review-order .order-total td {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-primary)
}

.woocommerce-checkout-review-order-table tbody tr td.product-name {
    font-weight: 600
}

.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 700;
    color: var(--c-text);
    padding: 10px 18px
}

.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 700;
    padding: 10px 18px
}

/* Place order button */
#place_order {
    width: 100%;
    padding: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    background: var(--c-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    cursor: pointer;
    transition: var(--tr) !important;
    letter-spacing: .02em
}

#place_order:hover {
    background: var(--c-primary-d) !important
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 20px;
    margin-top: 20px
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 16px;
    padding-bottom: 8px
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer
}

.woocommerce-checkout #payment .payment_box {
    background: var(--c-bg);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    margin-top: 10px;
    font-size: .875rem;
    color: var(--c-text-m)
}

/* Checkout notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-radius: var(--r-sm);
    margin: 16px 0;
    padding: 14px 18px;
    font-size: .9rem
}

.woocommerce-message {
    background: #f0fdf4;
    border-left: 4px solid var(--c-primary);
    color: #166534
}

.woocommerce-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af
}

.woocommerce-error {
    background: #fef2f2;
    border-left: 4px solid var(--c-red);
    color: #991b1b
}

/* Checkout responsive */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr
    }
}

/* ================================================================
   22. THANK YOU (Order Received) PAGE
   ================================================================ */
.woocommerce-order-received .entry-title,
.woocommerce-order-received h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 24px
}

.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, var(--c-primary) 0%, #4a7a10 100%);
    color: #fff;
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--r-md);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(90, 138, 28, .3)
}

.woocommerce-thankyou-order-received::before {
    content: "✓";
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: .9
}

.woocommerce-order-overview.order_details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden
}

.woocommerce-order-overview li {
    padding: 18px 20px;
    border-right: 1px solid var(--c-border);
    font-size: .875rem;
    color: var(--c-text-m)
}

.woocommerce-order-overview li:last-child {
    border-right: none
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: 1rem;
    color: var(--c-text);
    margin-top: 4px
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-primary);
    color: var(--c-text)
}

.woocommerce-order-details table.shop_table {
    border-radius: var(--r-md);
    border: 1px solid var(--c-border) !important;
    background: #fff;
    margin-bottom: 28px
}

.woocommerce-customer-details address {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 20px;
    font-size: .9rem;
    line-height: 1.8;
    color: var(--c-text)
}

@media (max-width: 640px) {
    .woocommerce-order-overview.order_details {
        grid-template-columns: repeat(2, 1fr)
    }

    .woocommerce-order-overview li:nth-child(2) {
        border-right: none
    }

    .woocommerce-order-overview li:nth-child(3) {
        border-right: 1px solid var(--c-border);
        border-bottom: none
    }

    .woocommerce-order-overview li:nth-child(4) {
        border-right: none;
        border-bottom: none
    }
}

/* ================================================================
   23. PAGINATION
   ================================================================ */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
    grid-column: 1/-1;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
}

.woocommerce-pagination ul li {
    display: inline-block;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--c-text);
    font-weight: 600;
    font-size: 15px;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

/* ================================================================
   23. SIMPLIFIED CHECKOUT STYLING (BD-focused)
   ================================================================ */

/* Checkout page wrapper */
.woocommerce-checkout #customer_details {
    margin-bottom: 30px
}

/* Billing section card */
.woocommerce-billing-fields {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--sh-sm);
}

/* Checkout heading with icon */
.woocommerce-billing-fields h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
    padding: 0 0 14px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--c-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-billing-fields h3::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--c-primary);
    font-size: .9rem;
}

/* Form row two-col */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48.5%;
    display: inline-block;
}

.woocommerce form .form-row-first {
    margin-right: 3%
}

.woocommerce form .form-row-wide {
    width: 100%;
    display: block
}

/* Input styling */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    height: 48px;
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 0 16px;
    font-size: .95rem;
    color: var(--c-text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    font-family: var(--font);
}

.woocommerce form .form-row textarea {
    height: 90px;
    padding: 12px 16px
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(90, 138, 28, .12);
    outline: none;
}

/* Phone prefix hint */
.woocommerce form #billing_phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a8a1c' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.95 12 19.79 19.79 0 0 1 1.88 3.4 2 2 0 0 1 3.85 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 8.91a16 16 0 0 0 6 6l.98-.98a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    padding-left: 42px;
}

/* Order notes card */
.woocommerce-additional-fields {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--sh-sm);
    margin-top: 20px;
}

.woocommerce-additional-fields h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--c-text-m);
    padding: 0 0 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}

/* Order review card */
#order_review {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--sh-sm);
    position: sticky;
    top: 20px;
}

#order_review_heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
    padding: 0 0 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--c-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

#order_review_heading::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--c-primary);
    font-size: .9rem;
}

/* Product rows in order review */
.woocommerce-checkout-review-order-table .cart_item td {
    padding: 12px 0 !important;
    border-top: 1px solid var(--c-border) !important;
    font-size: .9rem;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: var(--c-text)
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 700;
    color: var(--c-primary)
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-primary);
    padding: 14px 0 !important;
    border-top: 2px solid var(--c-primary) !important;
}

/* Payment section */
#payment {
    background: var(--c-bg);
    border-radius: var(--r-md);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--c-border);
}

#payment .payment_methods li {
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border)
}

#payment .payment_methods li:last-child {
    border-bottom: none
}

#payment .payment_methods li label {
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

#payment .payment_box {
    background: #fff;
    border-radius: var(--r-sm);
    padding: 12px 16px;
    margin-top: 10px;
    font-size: .85rem;
    color: var(--c-text-m);
    border: 1px solid var(--c-border);
}

/* Place Order */
#place_order {
    width: 100%;
    padding: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    background: var(--c-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-md) !important;
    cursor: pointer;
    transition: var(--tr) !important;
    letter-spacing: .03em;
    margin-top: 16px;
    box-shadow: 0 4px 14px rgba(90, 138, 28, .35) !important;
}

#place_order:hover {
    background: var(--c-primary-d) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(90, 138, 28, .4) !important;
}

#place_order::before {
    content: "\f058  ";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 4px;
}

/* Success message on thank you */
.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, var(--c-primary), #4a7a10);
    color: #fff;
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--r-lg);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 6px 24px rgba(90, 138, 28, .3);
}

/* Checkout layout: 2 columns */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0
}

.woocommerce-checkout #customer_details {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .woocommerce-checkout .checkout.woocommerce-checkout {
        display: grid;
        grid-template-columns: 1fr 420px;
        gap: 28px;
        align-items: start;
    }

    .woocommerce-checkout #customer_details {
        grid-column: 1;
        grid-row: 1
    }

    .woocommerce-checkout #order_review_heading {
        grid-column: 1;
        grid-row: 0
    }

    .woocommerce-checkout #order_review {
        grid-column: 2;
        grid-row: 1/4
    }
}

/* ================================================================
   24. ARCHIVE PRODUCT PAGE (Category / Shop)
   ================================================================ */
.unison-archive-wrap {
    background: #f4f6f4;
    padding: 12px 0 30px;
    min-height: 60vh;
}

.archive-two-col {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

/* Sidebar */
.archive-sidebar {
    position: sticky;
    top: 80px;
}

.archive-sidebar .top-rated-box {
    background: #fff;
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.archive-sidebar .top-rated-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 6px;
}

.archive-sidebar .top-rated-header h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.archive-sidebar .top-rated-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
    text-decoration: none;
    transition: var(--tr);
}

.archive-sidebar .top-rated-item:last-child {
    border-bottom: none;
}

.archive-sidebar .top-rated-item:hover .top-rated-name {
    color: var(--c-primary);
}

.archive-sidebar .top-rated-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 4px;
    background: #f6f6f6;
    flex-shrink: 0;
    padding: 4px;
    border: 1px solid #eee;
}

.archive-sidebar .top-rated-name {
    font-size: .8rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-sidebar .top-rated-stars {
    color: var(--c-star);
    font-size: .78rem;
}

.archive-sidebar .top-rated-price {
    font-size: .8rem;
    font-weight: 700;
    color: #111;
    margin-top: 2px;
}

/* Main Content Column */
.archive-main-col {
    width: 100%;
}

.archive-main-box {
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.archive-cat-title {
    text-align: center;
    color: var(--c-primary);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaf2e0;
}

.archive-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.archive-no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 40px;
    font-size: 1rem;
}

/* Pagination */
.page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.page-numbers li {
    display: inline-block;
}

.page-numbers li a,
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--c-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.page-numbers li span.current,
.page-numbers li a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .archive-two-col {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        display: none;
    }

    .archive-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .archive-product-grid {
        grid-template-columns: 1fr;
    }

    .archive-main-box {
        padding: 16px;
    }
}

/* ================================================================
   25. MINI CART POPUP
   ================================================================ */
.mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr);
}

.mini-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mini-cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mini-cart-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.mini-cart-head {
    background: #6a9c27;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.mini-cart-head button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.mini-cart-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    transition: opacity 0.2s;
}

.mini-cart-loading {
    text-align: center;
    color: #888;
    font-weight: 500;
}

.mini-cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.mini-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mc-img {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
}

.mc-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mc-info {
    flex: 1;
}

.mc-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mc-qty-price {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mc-qty-ctrls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-qty-btn {
    background: #6a9c27;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mc-qty-val {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 16px;
    text-align: center;
}

.mc-price-tot {
    font-weight: 700;
    color: #111;
    font-size: 0.95rem;
}

.mc-price-tot .amount {
    font-weight: 700;
}

.mc-remove {
    background: #f46a6a;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 15px;
}

.mini-cart-item:last-child .mc-remove {
    bottom: 0;
}

.mini-cart-totals {
    border-top: 2px solid #333;
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.mini-cart-totals strong {
    color: #111;
}

.mini-cart-totals span {
    color: var(--c-primary);
    font-weight: 800;
}

.mini-cart-foot {
    padding: 15px 20px;
    background: #f9f9f9;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
}

.mini-cart-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--tr);
}

.mini-cart-btn-dark {
    background: #2b323c;
    color: #fff;
}

.mini-cart-btn-dark:hover {
    background: #1a1e24;
    color: #fff;
}

.mini-cart-btn-green {
    background: #6a9c27;
    color: #fff;
}

.mini-cart-btn-green:hover {
    background: #5a8a1c;
    color: #fff;
}


/* ================================================================
   26. CHECKOUT PAGE & WOOCOMMERCE CONTAINERS
   ================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.page-wrap {
    width: 100%;
}

.custom-checkout-layout {
    margin: 0;
    width: 100% !important;
}

.unison-container {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 30px;
    width: 100%;
    clear: both;
    display: block;
}

.woocommerce-billing-fields>h3 {
    display: none !important;
}

.woocommerce-privacy-policy-text {
    display: none !important;
}

/* Force WooCommerce fields to take full width of container */
form.woocommerce-checkout.custom-checkout-layout {
    width: 100% !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
}

.woocommerce-checkout form .form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    width: 100% !important;
    display: block !important;
}

#customer_details {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.woocommerce-billing-fields {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.checkout-col-left,
.checkout-col-right {
    width: 100%;
    min-width: 0;
}

.checkout-section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section-title h3 i {
    color: var(--c-primary);
}

.checkout-billing-box,
.checkout-summary-box {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.checkout-summary-box {
    position: sticky;
    top: 100px;
}

/* Custom Order Review Table */
.custom-review-table {
    width: 100%;
    border: none;
    margin: 0;
}

.crt-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #555;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: .9rem;
    text-transform: uppercase;
}

.crt-body {
    margin-top: 15px;
}

.crt-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.crt-item-details {
    display: flex;
    gap: 15px;
    flex: 1;
}

.crt-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 3px;
    background: #fff;
}

.crt-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crt-info {
    flex: 1;
}

.crt-name {
    font-weight: 600;
    font-size: .95rem;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.3;
}

.crt-name strong {
    color: var(--c-primary);
    font-size: 0.85rem;
}

.crt-remove-item {
    font-size: .8rem;
    color: #e55;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
}

.crt-remove-item:hover {
    color: #d00;
    text-decoration: underline;
}

.crt-item-total {
    font-weight: 700;
    color: #111;
    margin-left: 15px;
}

.crt-footer {
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.crt-footer>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

.crt-shipping {
    flex-direction: column;
    align-items: flex-start !important;
}

.crt-shipping ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    width: 100%;
}

.crt-shipping ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 5px;
}

.crt-total-final {
    border-top: 2px solid #222;
    padding-top: 20px;
    margin-top: 10px;
}

.crt-total-final span:first-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.crt-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-primary);
}

/* WooCommerce standard overrides for checkout */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
}

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

#payment ul.payment_methods li {
    margin-bottom: 0 !important;
}

#payment div.payment_box {
    background: #f9f9f9 !important;
    border-radius: 6px;
    box-shadow: none !important;
    margin-bottom: 10px !important;
}

#payment div.payment_box::before {
    border-bottom-color: #f9f9f9 !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    border: none !important;
}

.woocommerce-checkout #payment .place-order .button {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    background: var(--c-primary);
    color: #fff;
    transition: var(--tr);
    margin-top: 5px;
}

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

/* Responsive Checkout */
@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-summary-box {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {

    .checkout-billing-box,
    .checkout-summary-box {
        padding: 20px;
    }
}

/* ================================================================
   27. THANK YOU / ORDER RECEIVED PAGE — UNISON CUSTOM
   ================================================================ */

.unison-thankyou-wrap {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 20px 60px;
    font-family: var(--f-body);
}

/* ── SUCCESS BANNER ── */
.unison-ty-success-banner {
    background: linear-gradient(135deg, #2c7a3e 0%, #4caf50 100%);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 40px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.unison-ty-success-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.unison-ty-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.unison-ty-success-icon svg {
    width: 36px;
    height: 36px;
}

.unison-ty-success-text {
    flex: 1;
}

.unison-ty-success-text h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.unison-ty-success-text p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: .95rem;
}

.unison-ty-continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, border-color .2s;
    text-decoration: none;
    flex-shrink: 0;
}

.unison-ty-continue-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* ── OVERVIEW CARDS ── */
.unison-ty-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.unison-ty-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.unison-ty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.unison-ty-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-primary);
    border-radius: 0 0 14px 14px;
}

.unison-ty-card-total::after {
    background: linear-gradient(90deg, var(--c-primary), #66bb6a);
}

.unison-ty-card-icon {
    font-size: 1.5rem;
}

.unison-ty-card-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #999;
    font-weight: 600;
}

.unison-ty-card-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
}

.unison-ty-card-total .unison-ty-card-value {
    color: var(--c-primary);
    font-size: 1.25rem;
}

/* ── SECTION ── */
.unison-ty-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    overflow: hidden;
    margin-bottom: 20px;
}

.unison-ty-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f8f0 100%);
    border-bottom: 1px solid #eef0f3;
}

.unison-ty-section-header svg {
    color: var(--c-primary);
    flex-shrink: 0;
}

.unison-ty-section-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

/* Order table inside section */
.unison-ty-section .woocommerce-table--order-details {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.unison-ty-section .woocommerce-table--order-details thead th {
    background: transparent !important;
    padding: 12px 24px !important;
    font-size: .82rem !important;
    color: #888 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.unison-ty-section .woocommerce-table--order-details tbody td {
    padding: 16px 24px !important;
    border-bottom: 1px dashed #f5f5f5 !important;
    vertical-align: middle !important;
    font-size: .95rem !important;
}

.unison-ty-section .woocommerce-table--order-details tfoot tr th,
.unison-ty-section .woocommerce-table--order-details tfoot tr td {
    padding: 12px 24px !important;
    border-top: 1px solid #f0f0f0 !important;
    background: #fafafa !important;
    font-size: .9rem !important;
}

.unison-ty-section .woocommerce-table--order-details tfoot tr:last-child th,
.unison-ty-section .woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--c-primary) !important;
    background: #f0f8f1 !important;
    border-top: 2px solid var(--c-primary) !important;
}

/* ── ADDRESS BOX ── */
.unison-ty-address-body {
    padding: 22px 24px;
}

.unison-ty-address-body p {
    margin: 0 0 8px;
    font-size: .95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unison-ty-address-body p:last-child {
    margin-bottom: 0;
}

/* ── FAILED STATE ── */
.unison-ty-failed {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.unison-ty-failed-icon {
    width: 70px;
    height: 70px;
    background: #fee;
    color: #e55;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.unison-ty-failed h2 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.unison-ty-failed p {
    color: #777;
    margin-bottom: 25px;
}

.unison-ty-failed-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.unison-ty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: .2s;
}

.unison-ty-btn-primary {
    background: var(--c-primary);
    color: #fff;
}

.unison-ty-btn-primary:hover {
    background: var(--c-primary-d);
    color: #fff;
}

.unison-ty-btn-outline {
    background: #fff;
    color: #444;
    border: 2px solid #ddd;
}

.unison-ty-btn-outline:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* ── HIDE DEFAULT WC SECTIONS (on thank you page only, not checkout) ── */
.unison-thankyou-wrap+.woocommerce-customer-details {
    display: none !important;
}

.unison-ty-section .woocommerce-order-details__title {
    display: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .unison-ty-success-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .unison-ty-overview {
        grid-template-columns: 1fr 1fr;
    }

    .unison-ty-continue-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .unison-ty-overview {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce order received wrapper — does not need max-width (our template handles it) */
.woocommerce-order-received .page-wrap .unison-woo-wrap {
    width: 100%;
}

/* ================================================================
   BREADCRUMB — Single Product Page
   ================================================================ */
.unison-breadcrumb {
    margin: 0 0 10px 0;
    padding: 6px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .825rem;
    color: var(--c-text-m);
    font-weight: 500;
    transition: color .18s;
    white-space: nowrap;
}

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

.breadcrumb-item a svg {
    opacity: .7;
    flex-shrink: 0;
}

.breadcrumb-sep {
    font-size: .875rem;
    color: #ccc;
    padding: 0 6px;
    user-select: none;
}

.breadcrumb-current {
    font-size: .825rem;
    color: var(--c-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

@media (max-width: 600px) {
    .breadcrumb-current {
        max-width: 160px;
    }
}

/* ================================================================
   SINGLE PRODUCT PAGE
   ================================================================ */
.single-product-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.single-product-images {
    position: relative;
}

.single-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.main-product-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    margin-bottom: 12px;
}

.single-product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single-product-thumbnails .thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .2s;
}

.single-product-thumbnails .thumb.active,
.single-product-thumbnails .thumb:hover {
    border-color: var(--c-primary);
}

.single-product-summary {
    padding-top: 10px;
}

.single-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--c-text);
}

.single-product-price {
    font-size: 1.4rem;
    color: var(--c-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.single-product-price del {
    color: #999;
    font-size: 1.1rem;
    font-weight: 400;
    margin-right: 8px;
}

.single-product-short-desc {
    font-size: .95rem;
    color: var(--c-text-m);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ── WOOCOMMERCE REVIEWS STYLING ── */
#reviews {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--c-border);
}

#reviews h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce-Reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.woocommerce-Reviews .commentlist li {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
}

.woocommerce-Reviews .commentlist img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}

.woocommerce-Reviews .comment-text {
    margin-left: 63px;
}

.woocommerce-Reviews .comment-text p {
    margin: 10px 0 0;
    color: var(--c-text-m);
    font-size: .95rem;
    line-height: 1.5;
}

.woocommerce-Reviews .meta {
    font-size: .85rem;
    color: #888;
    margin: 0;
}

.woocommerce-Reviews .meta strong {
    color: var(--c-text);
    font-size: 1rem;
    display: inline-block;
    margin-right: 5px;
}

.woocommerce-Reviews .star-rating {
    float: right;
    color: var(--c-primary);
    font-size: .85rem;
}

#review_form_wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

#review_form_wrapper .comment-reply-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.comment-form-rating {
    margin-bottom: 15px;
}

.comment-form-rating .stars a {
    color: var(--c-primary);
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    margin-bottom: 15px;
    font-family: inherit;
}

#review_form input[type="submit"] {
    background: var(--c-primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

#review_form input[type="submit"]:hover {
    background: var(--c-primary-d);
}

/* ================================================================
   ARCHIVE & SEARCH PAGES
   ================================================================ */
.archive-two-col {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    margin: 40px 0;
}

.archive-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    align-self: start;
}

.top-rated-header h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--c-primary);
    padding-bottom: 10px;
    display: inline-block;
}

.top-rated-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--c-text);
}

.top-rated-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.top-rated-title {
    font-size: .85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.top-rated-price {
    font-size: .85rem;
    color: var(--c-primary);
    font-weight: 700;
}

.archive-main-content .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Search Banner */
.search-results-banner {
    text-align: center;
    padding: 40px 20px;
    background: #f7faf0;
    border-radius: 12px;
    margin: 30px 0;
}

.search-results-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 8px;
}

.search-results-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.search-results-heading span {
    color: var(--c-primary);
}

.search-results-count {
    color: #888;
    font-size: .95rem;
    margin-bottom: 20px;
}

.search-results-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid var(--c-border);
}

.search-results-form input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    outline: none;
}

.search-results-form button {
    border: none;
    background: var(--c-primary);
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.search-result-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--tr);
}

.search-result-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.src-card-img-link {
    position: relative;
    display: block;
    height: 200px;
    background: #f9f9f9;
}

.src-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.src-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
}

.src-card-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--c-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.src-badge-post {
    background: #3b82f6;
}

.src-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.src-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.src-card-title a {
    color: var(--c-text);
    text-decoration: none;
}

.src-card-price {
    font-size: 1.1rem;
    color: var(--c-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.src-card-excerpt {
    font-size: .85rem;
    color: var(--c-text-m);
    margin-bottom: 12px;
    flex: 1;
}

.src-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
}

.src-card-btn:hover {
    color: var(--c-primary-d);
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
}

.search-no-results-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.search-no-results h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.search-no-results p {
    color: var(--c-text-m);
    margin-bottom: 25px;
}

.search-no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ================================================================
   WOOCOMMERCE MY ACCOUNT PAGE
   ================================================================ */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    overflow: hidden;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f0f0f0;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--c-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--tr);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f7faf0;
    color: var(--c-primary);
    padding-left: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--c-border);
}

.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--c-text);
}

.woocommerce-account .woocommerce-MyAccount-content mark {
    background: transparent;
    font-weight: 700;
    color: var(--c-primary);
}

.woocommerce-account fieldset {
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0 20px;
    background: #fdfdfd;
}

.woocommerce-account fieldset legend {
    font-weight: 700;
    padding: 0 10px;
    color: var(--c-text);
}

.woocommerce-account .woocommerce-Address-title h3 {
    display: inline-block;
}

.woocommerce-account .woocommerce-Address-title a {
    float: right;
    font-size: .85rem;
    color: var(--c-primary);
    text-decoration: none;
}

/* ================================================================
   GLOBAL RESPONSIVE STYLES
   ================================================================ */
@media (max-width: 1024px) {

    /* Header */
    .hdr-search {
        display: none;
    }

    /* Show mobile search instead if implemented */
    .hdr-nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Search Results */
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Archive */
    .archive-two-col {
        grid-template-columns: 220px 1fr;
    }

    .archive-main-content .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* ── Header: keep single row on mobile ── */
    .header-top {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 0;
        height: auto;
        align-items: center;
    }

    /* Hide desktop search bar on mobile (mobile row replaces it) */
    .hdr-search {
        display: none;
    }

    /* Show mobile search icon button on mobile */
    .hdr-mobile-search-btn {
        display: flex;
    }

    /* Mobile Search Row — shown/hidden by JS toggle */
    .hdr-mobile-search-row {
        width: 100%;
        padding: 8px 16px 10px;  /* 16px left/right so it doesn't touch screen edge */
        background: var(--c-white);
        border-top: 1px solid var(--c-border);
        box-sizing: border-box;
    }

    .hdr-mobile-search-wrap {
        position: relative;
        width: 100%;
    }

    .hdr-mobile-search-wrap form {
        display: flex;
        align-items: center;
        background: #fff;
        border: 2px solid var(--c-primary);
        border-radius: 10px;
        overflow: hidden;
        height: 44px;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 2px 8px rgba(90,138,28,0.10);
        transition: box-shadow 0.2s;
    }

    .hdr-mobile-search-wrap form:focus-within {
        box-shadow: 0 2px 14px rgba(90,138,28,0.22);
    }

    .hdr-mobile-search-wrap input[type="search"] {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0 14px;
        font-size: 0.95rem;
        outline: none;
        height: 100%;
        color: var(--c-text);
        min-width: 0;
    }

    .hdr-mobile-search-wrap input[type="search"]::placeholder {
        color: #aaa;
        font-size: 0.9rem;
    }

    .hdr-mobile-search-wrap button[type="submit"] {
        background: var(--c-primary);
        border: none;
        width: 46px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .hdr-mobile-search-wrap button[type="submit"]:hover {
        background: var(--c-primary-d, #4a7a10);
    }

    .hdr-mobile-search-wrap button[type="submit"] svg {
        stroke: #fff;
        width: 18px;
        height: 18px;
    }

    /* Hide native clear button on mobile to save space */
    .hdr-mobile-search-wrap input[type="search"]::-webkit-search-decoration,
    .hdr-mobile-search-wrap input[type="search"]::-webkit-search-cancel-button,
    .hdr-mobile-search-wrap input[type="search"]::-webkit-search-results-button,
    .hdr-mobile-search-wrap input[type="search"]::-webkit-search-results-decoration {
        -webkit-appearance: none;
    }

    .hdr-mobile-search-wrap .search-dropdown {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
    }

    /* Hide pill buttons on mobile (save space) */
    .hdr-pills {
        display: none;
    }

    /* Show hamburger button on mobile */
    .hdr-mobile-btn {
        display: flex;
    }

    /* Logo stays left, shrinks if needed */
    .hdr-logo {
        margin-right: 0;
        flex-shrink: 1;
    }

    .hdr-logo-text {
        font-size: 1.2rem;
    }

    .hdr-actions {
        width: 100%;
        justify-content: center;
    }

    /* Hide header bottom nav space on mobile but keep it in DOM so absolute menu shows */
    .header-bottom {
        height: 0;
        min-height: 0;
        border: none;
        padding: 0;
        margin: 0;
    }

    /* ── Product grid: 2 columns on mobile ── */
    .product-grid,
    .products-two-col .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Stack the two-column layout on mobile */
    .products-two-col {
        grid-template-columns: 1fr;
    }

    /* Hide top-rated sidebar on mobile */
    .top-rated-box {
        display: none;
    }

    /* ── Trust section: wrap on mobile ── */
    .trust-container-inner {
        flex-direction: column;
    }

    .trust-features-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--c-border);
        padding: 18px 10px;
        min-height: unset;
    }

    .trust-item:nth-child(2n) {
        border-left: 1px solid var(--c-border);
    }

    .trust-item:last-child,
    .trust-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }

    .trust-app-wrap {
        width: 100%;
        flex-direction: row;
        padding: 14px 20px;
        gap: 16px;
    }

    /* Single Product */
    .single-product-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .single-product-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .single-product-title {
        font-size: 1.5rem;
    }

    /* ── Single Product: Qty + Add to Cart + Order Now in ONE LINE ── */
    .single-product-add-to-cart form.cart,
    .single-product-add-to-cart {
        flex-wrap: nowrap !important;
        gap: 6px !important;
        align-items: center;
        width: 100%;
    }

    /* Shrink quantity wrapper on mobile */
    .single-product-add-to-cart .quantity,
    .single-product-add-to-cart .qty-wrapper {
        height: 40px !important;
        flex-shrink: 0;
    }

    .single-product-add-to-cart .qty-wrapper button {
        width: 32px !important;
    }

    .single-product-add-to-cart .qty-wrapper input.qty {
        width: 38px !important;
        font-size: 0.9rem !important;
    }

    /* Shrink Add to Cart + Order Now buttons on mobile */
    .single-product-add-to-cart .order-now-btn,
    .woocommerce .single_add_to_cart_button,
    .woocommerce .single_add_to_cart_button.button {
        height: 40px !important;
        line-height: 40px !important;
        padding: 0 12px !important;
        font-size: 0.85rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        white-space: nowrap;
    }


    .archive-two-col {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        display: none;
    }

    /* Hide sidebar on mobile */
    .archive-main-content .products {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Search Results */
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-results-heading {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* ── Section spacing reduction on mobile ── */
    .categories-section {
        padding: 16px 0 12px;
    }
    .products-section {
        padding: 14px 0 16px;
    }
    .best-selling-section {
        padding: 14px 0 16px;
    }
    .trust-section {
        padding: 0 0 16px;
    }
    .hero-slider {
        margin-bottom: 0;
    }
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {

    /* Products Grid: 2 columns on small phones too */
    .product-grid,
    .products-two-col .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .archive-main-content .products,
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust: 2x2 grid */
    .trust-features-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        margin-bottom: 20px;
    }
}


/* Success notice banner */
.woocommerce-order-received .woocommerce-notice--success,
p.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
    color: #fff !important;
    padding: 22px 30px !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    border: none !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 18px rgba(76, 175, 80, 0.3) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

p.woocommerce-thankyou-order-received::before {
    content: "✓";
    background: rgba(255, 255, 255, 0.25);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Order overview summary cards */
ul.woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 35px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 15px !important;
    background: transparent !important;
    border: none !important;
}

ul.woocommerce-order-overview li {
    background: #fff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    border-left: 4px solid var(--c-primary) !important;
    font-weight: normal !important;
}

ul.woocommerce-order-overview li::before {
    display: none !important;
}

ul.woocommerce-order-overview li strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

ul.woocommerce-order-overview li span,
ul.woocommerce-order-overview li time {
    font-size: .82rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details li.woocommerce-order-overview__order {
    border-left-color: #4caf50 !important;
}

ul.woocommerce-order-overview li.woocommerce-order-overview__total strong {
    color: var(--c-primary);
    font-size: 1.3rem;
}

/* Order details / items table on thank you page */
.woocommerce-order-details {
    margin-top: 30px;
}

.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-customer-details .woocommerce-column__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    padding: 15px 20px;
    background: #f8f9ff;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid var(--c-primary);
    margin: 0;
}

.woocommerce-table--order-details {
    width: 100% !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 0 0 10px 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-table--order-details thead th {
    background: #f8f9ff !important;
    padding: 12px 20px !important;
    font-size: .85rem !important;
    color: #555 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
    border-bottom: 1px solid #eef0f3 !important;
}

.woocommerce-table--order-details tbody tr td {
    padding: 16px 20px !important;
    border-bottom: 1px dashed #f0f0f0 !important;
    vertical-align: middle !important;
}

.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
    padding: 12px 20px !important;
    border-top: 1px solid #eef0f3 !important;
    background: #fafafa;
    font-size: .95rem !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--c-primary) !important;
    background: #f0f8f0 !important;
}