/*
Theme Name: Plusho
Theme URI: https://plusho.com/
Description: Plusho - Premium WooCommerce + Elementor Theme. Pixel-matched to the Plusho design system. Full WooCommerce, Elementor Theme Builder, mega menus, AJAX cart, quickview, wishlists, compare, and product swatches support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Author: Plusho
Author URI: https://plusho.com/
Text Domain: plusho
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WooCommerce: true
Tags: woocommerce, elementor, e-commerce, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================
   DESIGN TOKEN CSS CUSTOM PROPERTIES
   (mirror the Elementor global colors from the source kit)
   ========================================================== */

:root {
    /* Brand colours */
    --plusho-primary:      #000000;   /* e-global-color-primary */
    --plusho-secondary:    #ffffff;   /* e-global-color-secondary */
    --plusho-accent:       #5fbd74;   /* e-global-color-accent (green) */
    --plusho-light:        #f1f1f1;
    --plusho-dark:         #1a1a1a;
    --plusho-border:       #e0e0e0;
    --plusho-text:         #333333;
    --plusho-text-muted:   #888888;
    --plusho-text-light:   #ffffff;   /* e-global-color-12d5431 */

    /* Typography */
    --plusho-font-main:    'Poppins', sans-serif;
    --plusho-font-alt:     'Manrope', sans-serif;

    /* Spacing & shape */
    --plusho-radius:       4px;
    --plusho-transition:   all 0.3s ease;

    /* Header */
    --plusho-header-height: 80px;
}

/* ==========================================================
   BASE RESET
   ========================================================== */

*,
*::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(--plusho-font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--plusho-text);
    background-color: var(--plusho-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* ==========================================================
   LAYOUT WRAPPERS
   ========================================================== */

.page-wrapper {
    position: relative;
    overflow: hidden;
}

.page-wrapper-inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* Container — matches Zank's 1540px max at >=1200 */
.container {
    width: 100%;
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Bootstrap-compatible container breakpoints */
@media (max-width: 1600px)  { .container { max-width: 1400px; } }
@media (max-width: 1440px)  { .container { max-width: 1200px; } }
@media (max-width: 1200px)  { .container { max-width: 960px; } }
@media (max-width: 1024px)  { .container { max-width: 720px; } }
@media (max-width: 767px)   { .container { max-width: 100%; padding-left: 20px; padding-right: 20px; } }

/* ==========================================================
   HEADER SPACER
   (prevents content shift under the sticky header)
   ========================================================== */

.header-spacer {
    height: var(--plusho-header-height, 80px);
}

/* ==========================================================
   PRELOADER
   ========================================================== */

#nt-preloader {
    background-color: var(--plusho-light);
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#nt-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader12 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    animation: loader12 1s linear alternate infinite;
    top: 50%;
    margin: -50px auto 0;
}

@keyframes loader12 {
    0%   { box-shadow: -60px 40px 0 2px #000, -30px 40px 0 0 rgba(0,0,0,.2), 0 40px 0 0 rgba(0,0,0,.2), 30px 40px 0 0 rgba(0,0,0,.2), 60px 40px 0 0 rgba(0,0,0,.2); }
    25%  { box-shadow: -60px 40px 0 0 rgba(0,0,0,.2), -30px 40px 0 2px #000, 0 40px 0 0 rgba(0,0,0,.2), 30px 40px 0 0 rgba(0,0,0,.2), 60px 40px 0 0 rgba(0,0,0,.2); }
    50%  { box-shadow: -60px 40px 0 0 rgba(0,0,0,.2), -30px 40px 0 0 rgba(0,0,0,.2), 0 40px 0 2px #000, 30px 40px 0 0 rgba(0,0,0,.2), 60px 40px 0 0 rgba(0,0,0,.2); }
    75%  { box-shadow: -60px 40px 0 0 rgba(0,0,0,.2), -30px 40px 0 0 rgba(0,0,0,.2), 0 40px 0 0 rgba(0,0,0,.2), 30px 40px 0 2px #000, 60px 40px 0 0 rgba(0,0,0,.2); }
    100% { box-shadow: -60px 40px 0 0 rgba(0,0,0,.2), -30px 40px 0 0 rgba(0,0,0,.2), 0 40px 0 0 rgba(0,0,0,.2), 30px 40px 0 0 rgba(0,0,0,.2), 60px 40px 0 2px #000; }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    font-size: 14px;
    font-weight: 600;
    left: -9999rem;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 0;
    z-index: 99999;
}
.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================
   SCROLL TO TOP
   ========================================================== */

.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--plusho-radius);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--plusho-transition);
    z-index: 999;
    border: none;
    font-size: 18px;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--plusho-accent);
}

/* ==========================================================
   HEADER OVERLAY (for mobile menu open state)
   ========================================================== */

.zank-header-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 8998;
    opacity: 0;
    visibility: hidden;
    transition: var(--plusho-transition);
}

.zank-header-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   WOOCOMMERCE GLOBAL OVERRIDES
   ========================================================== */

.zank-woocommerce-pagination ul {
    justify-content: center;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.zank-woocommerce-pagination ul li a,
.zank-woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--plusho-border);
    border-radius: var(--plusho-radius);
    font-size: 13px;
    font-weight: 500;
    transition: var(--plusho-transition);
}

.zank-woocommerce-pagination ul li span.current,
.zank-woocommerce-pagination ul li a:hover {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    border-color: var(--plusho-primary);
}

/* ==========================================================
   HEADER AREA
   ========================================================== */

/* Elementor topbar area */
.header-top-area.zank-elementor-before-header {
    position: relative;
    z-index: 100;
}

/* Primary sticky header */
.zank-header-default {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: var(--plusho-secondary);
    border-bottom: 1px solid var(--plusho-border);
    transition: box-shadow 0.3s ease;
}

.zank-header-default.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.zank-header-default .container {
    max-width: 1540px;
}

.zank-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--plusho-header-height, 80px);
}

.zank-header-top-left,
.zank-header-top-right {
    display: flex;
    align-items: center;
}

.zank-header-default-inner {
    display: flex;
    align-items: center;
}

.zank-header-top-left .zank-header-default-inner > div:not(:last-child) {
    margin-right: 15px;
}

.zank-header-top-right .zank-header-default-inner > div:not(:first-child) {
    margin-left: 15px;
}

/* ==========================================================
   HEADER ACTION BUTTONS (search, wishlist, compare, cart)
   ========================================================== */

.top-action-btn {
    margin-left: 15px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: var(--plusho-transition);
}

.top-action-btn:hover {
    color: var(--plusho-accent);
}

.top-action-btn .zank-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.top-action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================
   PRIMARY NAVIGATION
   ========================================================== */

.zank-header-top-menu-area > ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.zank-header-top-menu-area > ul > li.menu-item {
    height: var(--plusho-header-height, 80px);
    display: flex;
    align-items: center;
    position: relative;
}

.zank-header-top-menu-area > ul > li.menu-item > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
}

.zank-header-top-menu-area > ul > li.menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--plusho-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zank-header-top-menu-area > ul > li.menu-item:hover > a::after,
.zank-header-top-menu-area > ul > li.menu-item.active > a::after {
    transform: scaleX(1);
}

/* Dropdown chevron */
.nt-icon-up-chevron.dropdown-btn {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.menu-item:hover .nt-icon-up-chevron.dropdown-btn {
    transform: rotate(180deg);
}

/* Standard dropdown */
.submenu.depth_0 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--plusho-secondary);
    border: 1px solid var(--plusho-border);
    border-top: 2px solid var(--plusho-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 9001;
    padding: 8px 0;
}

.menu-item-has-children:hover > .submenu.depth_0 {
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--plusho-text);
    transition: var(--plusho-transition);
}

.submenu li a:hover {
    background: var(--plusho-light);
    color: var(--plusho-primary);
    padding-left: 24px;
}

.submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.submenu li:hover > .submenu {
    display: block;
}

/* Mega menu wrapper */
.item-shortcode-wrapper.submenu.has-el-template {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: var(--plusho-secondary);
    border: 1px solid var(--plusho-border);
    border-top: 2px solid var(--plusho-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 9001;
    padding: 24px;
}

.menu-item-mega-parent:hover .item-shortcode-wrapper.submenu {
    display: block;
}

/* ==========================================================
   MOBILE HEADER
   ========================================================== */

.zank-header-mobile {
    display: none;
    max-width: 530px;
}

.zank-header-mobile-sidebar {
    min-width: 80px;
}

.zank-header-mobile-sidebar-logo .nt-logo img {
    max-width: 80px;
}

@media (max-width: 1024px) {
    .zank-header-top-menu-area {
        display: none;
    }
    .zank-header-mobile {
        display: flex;
    }
}

/* ==========================================================
   BOTTOM MOBILE NAVIGATION
   ========================================================== */

.zank-bottom-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--plusho-secondary);
    border-top: 1px solid var(--plusho-border);
    z-index: 9998;
    padding: 0 10px;
}

@media (max-width: 767px) {
    .zank-bottom-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    body {
        padding-bottom: 60px;
    }
}

.zank-bottom-mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    flex: 1;
    color: var(--plusho-text);
}

.zank-bottom-mobile-nav .nav-item:hover,
.zank-bottom-mobile-nav .nav-item.active {
    color: var(--plusho-primary);
}

.zank-bottom-mobile-nav .nav-item svg,
.zank-bottom-mobile-nav .nav-item i {
    font-size: 18px;
    width: 20px;
    height: 20px;
}

/* ==========================================================
   SIDE PANELS BASE
   ========================================================== */

[class*="side-panel"] {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    background: var(--plusho-secondary);
}

[class*="side-panel"].open {
    transform: translateX(0);
}

/* ==========================================================
   MOBILE SLIDING MENU
   ========================================================== */

.zank-sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(85vw, 350px);
    background: var(--plusho-secondary);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px;
}

.zank-sidemenu.open {
    transform: translateX(0);
}

/* ==========================================================
   WOOCOMMERCE PRODUCT CARDS
   (base styles; detailed overrides in woocommerce-product-box-style.css)
   ========================================================== */

.zank-loop-product {
    position: relative;
    transition: var(--plusho-transition);
}

.zank-product-loop-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--plusho-radius);
}

.zank-product-thumb-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--plusho-light);
}

.zank-product-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.zank-product-loop-inner:hover .zank-product-thumb img {
    transform: scale(1.05);
}

/* Product labels (Sale!, Bestseller, discount %) */
.zank-product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zank-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    line-height: 1.6;
}

.zank-badge.badge-def,
.zank-label:not(.zank-discount) {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
}

.zank-label.zank-discount.zank-red {
    background: #e74c3c;
    color: #fff;
}

.badge-Bestseller {
    background: #599078 !important;
    color: #fff !important;
}

/* Product action buttons (wishlist, compare, quickview) */
.zank-product-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.zank-product-loop-inner:hover .zank-product-buttons {
    opacity: 1;
}

.zank-product-button {
    width: 36px;
    height: 36px;
    background: var(--plusho-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: var(--plusho-transition);
    color: var(--plusho-text);
}

.zank-product-button:hover {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
}

.zank-product-button svg {
    width: 16px;
    height: 16px;
}

/* Product info */
.zank-product-name a {
    font-size: 14px;
    font-weight: 600;
    color: var(--plusho-text);
    display: block;
    margin-top: 10px;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zank-product-name a:hover {
    color: var(--plusho-primary);
}

.zank-inline-two-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px 4px;
    gap: 8px;
}

/* Price */
.zank-price.price {
    font-size: 14px;
    font-weight: 700;
}

.zank-price .zank-primary-color.del {
    font-weight: 400;
    text-decoration: line-through;
    color: var(--plusho-text-muted);
    font-size: 12px;
    margin-right: 4px;
}

.zank-price .zank-secondary-color.ins {
    color: var(--plusho-primary);
}

/* Star rating */
.star-rating {
    font-size: 12px;
    overflow: hidden;
    position: relative;
    height: 1.1em;
    line-height: 1.1em;
    font-family: 'star';
    font-weight: 900;
}

.star-rating::before {
    content: "\53\53\53\53\53";
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #f1c40f;
}

/* Add to cart */
.zank-product-cart a,
.show-on-mobile a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--plusho-radius);
    transition: var(--plusho-transition);
    border: 1px solid var(--plusho-primary);
}

.zank-product-cart a:hover {
    background: transparent;
    color: var(--plusho-primary);
}

.show-on-mobile {
    display: none;
}

@media (max-width: 767px) {
    .show-on-mobile { display: block; }
}

/* ==========================================================
   FEATURES BAR
   ========================================================== */

.zank-features-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zank-features-icon .f-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.features-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.features-desc {
    font-size: 11px;
    color: var(--plusho-text-muted);
}

/* ==========================================================
   BANNER CARDS
   ========================================================== */

.zank-woo-banner-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--plusho-radius);
    cursor: pointer;
}

.zank-woo-banner-wrapper .zank-banner-image img {
    width: 100%;
    transition: transform 0.4s ease;
}

.zank-woo-banner-wrapper:hover .zank-banner-image img {
    transform: scale(1.05);
}

.zank-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.zank-banner-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--plusho-secondary);
    margin-bottom: 6px;
}

.zank-banner-desc {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.zank-banner-button {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--plusho-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 2px;
}

/* ==========================================================
   CATEGORY GRID
   ========================================================== */

.zank-category-grid .zank-category-item-inner {
    text-align: center;
}

.zank-category-link {
    display: block;
}

.zank-category-thumb {
    overflow: hidden;
    border-radius: var(--plusho-radius);
    margin-bottom: 10px;
}

.zank-category-thumb img {
    width: 100%;
    transition: transform 0.4s ease;
}

.zank-category-link:hover .zank-category-thumb img {
    transform: scale(1.05);
}

.zank-category-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================
   DEALS WIDGET
   ========================================================== */

.zank-product-deals .deals-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.zank-product-deals .title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.zank-product-deals .short-description {
    font-size: 12px;
    color: var(--plusho-text-muted);
    margin-top: 2px;
}

.zank-product-deals .view-all {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--plusho-primary);
    padding-bottom: 2px;
}

.deals-inner {
    background: var(--plusho-secondary);
    border: 1px solid var(--plusho-border);
    border-radius: var(--plusho-radius);
    overflow: hidden;
}

.deals-inner .thumb-wrapper {
    position: relative;
    overflow: hidden;
}

.deals-inner .deals-thumb img {
    width: 100%;
    transition: transform 0.4s ease;
}

.deals-inner:hover .deals-thumb img {
    transform: scale(1.05);
}

.deals-inner .details-wrapper {
    padding: 12px;
}

.deals-inner .title.deals-part a {
    font-size: 13px;
    font-weight: 700;
    color: var(--plusho-text);
}

.deals-inner .deals-price {
    font-size: 14px;
    font-weight: 700;
    margin: 6px 0;
}

/* Stock progress bar */
.stock-progress {
    height: 4px;
    background: var(--plusho-light);
    border-radius: 2px;
    overflow: hidden;
    margin: 8px 0 4px;
}

.stock-progressbar {
    height: 100%;
    background: var(--plusho-accent);
    border-radius: 2px;
    transition: width 0.8s ease;
}

.stock-details {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--plusho-text-muted);
}

/* ==========================================================
   MARQUEE / TICKER
   ========================================================== */

.zank-text-marquee .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
}

.zank-text-marquee .elementor-heading-title span {
    display: inline-block;
    animation: plusho-marquee 20s linear infinite;
}

@keyframes plusho-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================
   WIDGET LABEL (SALE badge floating)
   ========================================================== */

.zank-widget-label {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zank-yellow-bg { background: #f1c40f; color: #000; }
.zank-solid     { border: none; }
.zank-square    { border-radius: 0; }

/* ==========================================================
   BUTTON STYLES
   ========================================================== */

.zank-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--plusho-radius);
    cursor: pointer;
    transition: var(--plusho-transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.zank-btn-primary {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
    border-color: var(--plusho-primary);
}

.zank-btn-primary:hover {
    background: transparent;
    color: var(--plusho-primary);
}

.zank-btn-large {
    padding: 14px 28px;
    font-size: 13px;
}

.zank-btn-medium {
    padding: 10px 20px;
}

/* ==========================================================
   SWIPER / SLIDER OVERRIDES
   ========================================================== */

.zank-swiper-container { overflow: hidden; position: relative; }
.zank-swiper-wrapper   { display: flex; }

.zank-swiper-prev,
.zank-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: var(--plusho-transition);
    border: none;
}

.zank-swiper-prev { left: 16px; }
.zank-swiper-next { right: 16px; }

.zank-swiper-prev:hover,
.zank-swiper-next:hover {
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
}

.zank-swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
}

.zank-swiper-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--plusho-border);
    cursor: pointer;
    transition: var(--plusho-transition);
}

.zank-swiper-bullet.active {
    background: var(--plusho-primary);
    transform: scale(1.25);
}

/* Hero slider content */
.zank-slide-inner {
    position: relative;
    overflow: hidden;
}

.zank-slide-inner > img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.slide-item-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 480px;
}

@media (max-width: 880px) {
    .slide-item-content { left: 24px; max-width: 320px; }
}

@media (max-width: 767px) {
    .slide-item-content { left: 16px; right: 16px; max-width: 100%; text-align: center; }
}

.zank-slide-head {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--plusho-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) { .zank-slide-head { font-size: 28px; } }
@media (max-width: 767px)  { .zank-slide-head { font-size: 22px; } }

.zank-slide-text {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.zank-slide-link-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .zank-slide-link-wrapper { justify-content: center; }
}

/* ==========================================================
   BLOG
   ========================================================== */

.blog-posts-grid {
    display: grid;
    gap: 30px;
}

.blog-posts-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.blog-posts-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.blog-posts-grid.columns-1 { grid-template-columns: 1fr; }

@media (max-width: 1024px) { .blog-posts-grid.columns-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  {
    .blog-posts-grid.columns-3,
    .blog-posts-grid.columns-2 { grid-template-columns: 1fr; }
}

.entry-header .entry-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.entry-header .entry-meta {
    font-size: 12px;
    color: var(--plusho-text-muted);
    margin-bottom: 12px;
}

/* ==========================================================
   404 PAGE
   ========================================================== */

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

.error-404 h1 {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: var(--plusho-primary);
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 16px 0;
}

/* ==========================================================
   SEARCH RESULTS
   ========================================================== */

.search-results-header {
    margin-bottom: 24px;
}

/* ==========================================================
   LOADING SPINNER (AJAX)
   ========================================================== */

.ajax-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--plusho-border);
    border-top-color: var(--plusho-primary);
    border-radius: 50%;
    animation: plusho-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes plusho-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================
   HINT / TOOLTIP
   (mirrors hint.min.css basic behaviour inline to avoid double-load)
   ========================================================== */

[class*="hint--"] {
    position: relative;
    display: inline-block;
}

/* ==========================================================
   DARK SECTION OVERRIDES
   ========================================================== */

.bg-dark-section .zank-small-title,
.bg-dark-section .zank-product-loop-inner .terms-outline .zank-term .type-button {
    color: var(--plusho-text-light);
}

/* ==========================================================
   PRODUCT VARIATION SWATCHES
   ========================================================== */

.zank-variations-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.zank-small-title.label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--plusho-text-muted);
}

.zank-terms {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.zank-term .type-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--plusho-border);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--plusho-transition);
    white-space: nowrap;
}

.zank-term.selected .type-button,
.zank-term .type-button:hover {
    border-color: var(--plusho-primary);
    background: var(--plusho-primary);
    color: var(--plusho-secondary);
}

/* Hide native select — visible for screen readers only */
.zank-variations-items select {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.zank-reset-variations {
    font-size: 10px;
    color: var(--plusho-text-muted);
    cursor: pointer;
}

.zank-reset-variations:hover {
    color: var(--plusho-primary);
}

/* ==========================================================
   STOCK STATUS
   ========================================================== */

.zank-out-of-stock {
    color: #e74c3c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ==========================================================
   WOOCOMMERCE GENERAL FORM OVERRIDES
   ========================================================== */

.woocommerce form .form-row .required {
    visibility: visible;
}

/* ==========================================================
   UTILITY CLASSES
   ========================================================== */

.zank-flex        { display: flex; }
.zank-align-center{ align-items: center; }
.d-none           { display: none !important; }
.position-relative{ position: relative; }
.position-absolute-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
