:root {
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-subtle: #9ca3af;
    --accent-black: #000000;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--accent-black);
    color: #ffffff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header & Navbar */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2.5rem;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    gap: 1.5rem;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--accent-black);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-black);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    display: none;
    z-index: 200;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-black);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-search {
    position: relative;
    width: 240px;
}

.header-search input {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem 0.55rem 2.2rem;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.header-search input:focus {
    border-color: var(--accent-black);
    background: #ffffff;
}

.header-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    fill: var(--text-muted);
}

/* Minimal SVG Icons */
.svg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--bg-light);
    border-color: var(--text-main);
}

.btn-black {
    background: var(--accent-black);
    color: #ffffff;
    border: 1px solid var(--accent-black);
}

.btn-black:hover {
    background: #27272a;
    color: #ffffff;
    border-color: #27272a;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--accent-black);
    color: var(--accent-black);
}

.btn-outline:hover {
    background: var(--accent-black);
    color: #ffffff;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
}

/* Cart Button */
.cart-btn {
    position: relative;
    padding: 0.55rem 1rem;
    background: var(--accent-black);
    color: #ffffff;
    border: none;
}

.cart-badge {
    background: #ffffff;
    color: var(--accent-black);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Minimal Hero Section */
.hero-section {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 4.5rem 3.5rem;
    margin: 2rem 0 3.5rem 0;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--accent-black);
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Section Title */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--accent-black);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    border-color: var(--accent-black);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
}

.price-val {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-black);
}

.price-currency {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* STANDALONE PRODUCT PAGE - STRICT 50/50 DESKTOP LAYOUT WITHOUT OVERLAP */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin: 2.5rem 0 4rem 0;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.gallery-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main-frame {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1/1;
    max-height: 520px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-item {
    width: 75px;
    height: 75px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    cursor: pointer;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.thumb-item:hover, .thumb-item.active {
    opacity: 1;
    border-color: var(--accent-black);
}

/* Detail Right Summary */
.detail-summary {
    width: 100%;
}

.detail-summary h1 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.detail-vendor {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-black);
}

.option-select-group {
    margin-bottom: 1.5rem;
}

.option-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.option-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.opt-pill {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.opt-pill:hover, .opt-pill.active {
    border-color: var(--accent-black);
    background: var(--accent-black);
    color: #ffffff;
}

.quantity-picker {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: var(--bg-light);
    border: none;
    padding: 0.65rem 1rem;
    font-weight: 800;
    cursor: pointer;
}

.qty-btn:hover { background: #e5e7eb; }

.qty-num {
    width: 45px;
    text-align: center;
    font-weight: 800;
    border: none;
    outline: none;
    font-size: 0.95rem;
}

/* TABBED SECTION */
.product-tabs-container {
    margin-top: 3.5rem;
    margin-bottom: 4rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.tab-nav-row {
    display: flex;
    gap: 2.5rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-nav-item {
    font-size: 1rem;
    font-weight: 700;
    color: #6b7280;
    background: none;
    border: none;
    padding-bottom: 0.85rem;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-nav-item:hover, .tab-nav-item.active {
    color: var(--accent-black);
}

.tab-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-black);
}

.tab-content-pane {
    display: none;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
}

.tab-content-pane.active {
    display: block;
}

/* Policy Pages Layout */
.policy-page {
    max-width: 850px;
    margin: 2.5rem auto 5rem auto;
    padding: 2.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.policy-page h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-black);
    padding-bottom: 0.75rem;
    text-transform: uppercase;
}

.policy-page h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 1.75rem 0 0.75rem 0;
}

.policy-page p, .policy-page ul {
    margin-bottom: 1.25rem;
    color: #374151;
}

.policy-page ul {
    padding-left: 1.5rem;
}

/* Drawer Cart */
.cart-drawer-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
}

.cart-drawer-mask.active { display: block; }

.cart-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-drawer-mask.active .cart-drawer-panel {
    transform: translateX(0);
}

.cart-drawer-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-body {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-drawer-foot {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
}

/* Checkout 2-Column */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin: 2rem 0 5rem 0;
}

@media (max-width: 850px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 2rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Radio Card minimal COD */
.payment-card-cod {
    border: 1.5px solid var(--accent-black);
    background: var(--bg-light);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-black);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS, OVERFLOW PREVENTIONS & TEXT SIZE CONTROLS
   ========================================================================== */

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure text in headings and paragraphs breaks cleanly, NOT header items */
p, h1, h2, h3, h4, h5, h6, .description-body, .product-title {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Header & Navigation Fix: Prevent vertical character wrapping */
.brand-logo,
.nav-link,
.nav-menu,
.nav-menu li,
.announcement-bar,
.btn,
.header-actions,
.header-inner {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Header Icon Cart Button with Red Count Badge */
.nav-icon-item.cart-icon-btn {
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: var(--accent-black, #000);
    transition: var(--transition);
}

.nav-icon-item.cart-icon-btn i {
    font-size: 1.5rem;
    line-height: 1;
}

.nav-icon-item.cart-icon-btn .count-box {
    position: absolute;
    top: -2px;
    right: -6px;
    background: #e21b1b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Mobile Header Responsiveness */
@media (max-width: 991px) {
    .header-inner {
        flex-wrap: nowrap !important;
        padding: 0.75rem 1rem !important;
        row-gap: 0 !important;
    }

    .brand-logo {
        font-size: 1.2rem !important;
        font-weight: 900 !important;
    }

    /* Hide horizontal menu on mobile since sandwich hamburger menu is present */
    .nav-menu {
        display: none !important;
    }

    .nav-link {
        font-size: 0.8rem !important;
        padding: 4px 0 !important;
    }

    .header-actions {
        order: 2;
        gap: 10px !important;
    }

    .header-search {
        width: 130px !important;
    }

    .header-search input {
        padding: 0.4rem 0.5rem 0.4rem 1.8rem !important;
        font-size: 0.75rem !important;
    }

    .header-actions .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    /* Body padding on mobile to account for fixed bottom toolbar */
    body {
        padding-bottom: 65px !important;
    }
}

@media (max-width: 575px) {
    .header-search {
        width: 100px !important;
    }
    .announcement-bar {
        font-size: 0.68rem !important;
        padding: 0.4rem 0.5rem !important;
    }
}

/* 1. Shop Page Mobile 2-Grid Layout */
@media (max-width: 767px) {
    .tf-grid-layout.tf-col-4,
    .tf-grid-layout.tf-col-3,
    .tf-grid-layout.tf-col-2,
    .tf-grid-layout,
    .grid-layout,
    .wrapper-shop {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .card-product-info {
        padding-top: 8px !important;
    }

    .card-product-info .title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
    }

    .card-product-info .price {
        font-size: 0.85rem !important;
    }

    .tf-control-layout {
        display: none !important;
    }
}

/* 2. Title & Heading Controls (Fixes giant text issue) */
.tf-product-info-title h3,
.tf-product-info-title h1,
.tf-product-info-title h2,
.product-title,
.detail-summary h1 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 0.5rem !important;
}

@media (min-width: 768px) {
    .tf-product-info-title h3,
    .tf-product-info-title h1,
    .detail-summary h1 {
        font-size: 1.65rem !important;
    }
}

/* 3. Shopify HTML Content & Specifications Styling (Fixes giant SPECIFICATIONS heading) */
.description-body,
.tab-pane-custom,
.widget-content-tab,
.product-tabs-container {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.description-body h1,
.description-body h2,
.description-body h3,
.tab-pane-custom h1,
.tab-pane-custom h2,
.tab-pane-custom h3,
.widget-content-tab h1,
.widget-content-tab h2,
.widget-content-tab h3,
.product-tabs-container h1,
.product-tabs-container h2,
.product-tabs-container h3 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    margin-top: 1rem !important;
    margin-bottom: 0.6rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    word-break: break-word !important;
}

.description-body h4,
.description-body h5,
.description-body h6,
.tab-pane-custom h4,
.tab-pane-custom h5,
.tab-pane-custom h6,
.widget-content-tab h4,
.widget-content-tab h5,
.widget-content-tab h6,
.product-tabs-container h4,
.product-tabs-container h5,
.product-tabs-container h6 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.4rem !important;
}

.description-body img,
.tab-pane-custom img,
.widget-content-tab img {
    max-width: 100% !important;
    height: auto !important;
}

.description-body table,
.tab-pane-custom table,
.widget-content-tab table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
}

/* Fixed Bottom Sticky ATC Bar */
.sticky-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9989 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border-light, #e5e5e5) !important;
    padding: 10px 0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* 4. Fixed Mobile Bottom Navigation Toolbar (Shop, Search, Account, Wishlist, Cart) */
.tf-toolbar-bottom {
    display: none !important;
}

@media (max-width: 991px) {
    .tf-toolbar-bottom {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 9990 !important;
        background-color: #ffffff !important;
        border-top: 1px solid #e5e7eb !important;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .tf-toolbar-bottom .toolbar-item {
        flex: 1 0 20% !important;
        text-align: center !important;
        position: relative !important;
        margin: 0 !important;
    }

    .tf-toolbar-bottom .toolbar-item a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        width: 100% !important;
        text-decoration: none !important;
        color: #111827 !important;
        padding: 4px 0 !important;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon {
        position: relative !important;
        display: inline-block !important;
        line-height: 1 !important;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon i {
        font-size: 1.25rem !important;
        color: #111827 !important;
        transition: var(--transition);
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon .toolbar-count {
        position: absolute !important;
        top: -6px !important;
        right: -10px !important;
        width: 18px !important;
        height: 18px !important;
        background-color: #e21b1b !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-label {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-top: 3px !important;
        color: #111827 !important;
        letter-spacing: 0.2px !important;
    }

    .tf-toolbar-bottom .toolbar-item.active a .toolbar-label,
    .tf-toolbar-bottom .toolbar-item.active a .toolbar-icon i {
        color: #000000 !important;
        font-weight: 900 !important;
    }

    /* Stack product page sticky add-to-cart bar above bottom toolbar on mobile */
    .sticky-bottom-bar {
        bottom: 60px !important;
    }

    body.product-page {
        padding-bottom: 135px !important;
    }
}

/* 5. Tab Menu Navigation Mobile Responsiveness */
@media (max-width: 767px) {
    .widget-menu-tab,
    .tab-nav-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding-bottom: 8px !important;
        margin-bottom: 20px !important;
    }

    .widget-menu-tab .item-title,
    .tab-nav-item {
        white-space: nowrap !important;
        font-size: 0.85rem !important;
        margin-left: 0 !important;
        padding-bottom: 6px !important;
    }

    .tf-breadcrumb-list {
        font-size: 0.8rem !important;
    }

    .tf-product-info-price .price-on-sale {
        font-size: 1.4rem !important;
    }
}

/* ==========================================================================
   NEW ENHANCEMENTS: SQUARE THUMBNAILS, CART ACTIONS, WHOLESALE & POLICIES
   ========================================================================== */

/* 1. Universal Square 1:1 Image Thumbnails Across Home, Shop & Detail Pages */
.card-product .product-img,
.card-product-wrapper .product-img,
.card-product .img-product,
.card-product .img-hover,
.card-product-wrapper img,
.collection-image img,
.tf-product-media-thumbs .swiper-slide .item,
.tf-product-media-thumbs img,
.thumbs-slider .item img,
.thumb-item {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    width: 100% !important;
}

.tf-product-media-main .swiper-slide,
.tf-product-media-main .item,
.tf-product-media-main img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

.tf-product-media-thumbs .swiper-slide {
    width: 75px !important;
    height: 75px !important;
    border-radius: var(--radius-sm, 4px);
    overflow: hidden;
    border: 1px solid var(--border-light, #e5e7eb);
    transition: var(--transition, all 0.2s ease);
}

.tf-product-media-thumbs .swiper-slide-thumb-active,
.tf-product-media-thumbs .swiper-slide:hover {
    border-color: #000000 !important;
    opacity: 1 !important;
}

/* 2. Toast Notification UI */
.toast-notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-notification {
    background: #111827;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    border-left: 4px solid #10b981;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-notification .toast-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Badge Pulse / Pop Animation */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.45); background-color: #10b981 !important; }
    100% { transform: scale(1); }
}

.badge-pop {
    animation: badgePop 0.45s ease-in-out;
}

/* 3. Wholesale Price & MOQ Box */
.wholesale-moq-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.wholesale-moq-box i {
    color: #2563eb;
    font-size: 1.1rem;
}

/* 4. Quick Checkout Button */
.btn-quick-checkout {
    width: 100%;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-quick-checkout:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 5. Delay Coupon Guarantee Banner */
.delay-coupon-box {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #873800;
    line-height: 1.45;
}

.delay-coupon-box strong {
    color: #d46b08;
}

/* 6. Admin Passcode Lock Screen */
.admin-lock-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.admin-lock-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e7eb);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.admin-lock-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.75rem;
    color: #111827;
}

.admin-passcode-input {
    width: 100%;
    height: 52px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 800;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin: 1.25rem 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.admin-passcode-input:focus {
    border-color: #000000;
}


