/* printers-theme v5.12.0-phase3-spec-sheet */
/*
Theme Name: Printers.com.hk Next-Gen Theme
Theme URI: https://printers.com.hk
Description: 2026 Next-Gen v5.0.0 + Footer Fix eCommerce Theme (Bento Grid + Dual-Layer Glassmorphism Header + Cyber Blue + System Typography)
Version: 5.0.0
*/

/* ==========================================================================
   1. Next-Gen Tech Variables & Typography Setup
   ========================================================================== */
:root {
    --color-primary: #1d1d1f;
    --color-primary-hover: #000000;
    --color-secondary: #1d1d1f;
    --color-accent-cyan: #1d1d1f;
    --color-success: #1d1d1f;

    /* System Font Stack: Apple SF Pro / HK PingFang / Microsoft JhengHei */
    --font-stack: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, 'PingFang HK', 'Heiti TC', 'Microsoft JhengHei', 'Segoe UI', Roboto, sans-serif;

    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-tech: rgba(0, 0, 0, 0.08);

    /* Apple-style soft shadows (no glow, no color) */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-tech: 0 4px 16px rgba(0, 0, 0, 0.08);
    --glow-cyan: 0 1px 2px rgba(0, 0, 0, 0.04);

    --container-width: 1240px;
    --header-height: 64px;
}

/* ==========================================================================
   2. Base Reset & Font Application
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   3. Dual-Layer Top Bar & Glassmorphism Header
   ========================================================================== */
/* Top Announcement Bar */
.top-announcement-bar {
    background: #FFFFFF;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-announcement-bar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}

.top-announcement-bar a:hover {
    color: var(--color-primary);
}

.announcement-right .divider {
    color: #334155;
}

/* Main Navigation (Floating Glassmorphism) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design */
.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    font-family: var(--font-stack);
}

.site-logo span {
    color: var(--color-primary);
    text-shadow: none;
}

/* Menu Design */
.header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.header-nav a {
    color: #1d1d1f;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 6px rgba(0, 82, 255, 0.4);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--color-primary);
}

/* Right-side WooCommerce Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-action-icon {
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #1d1d1f;
}

.header-action-icon:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.header-btn-cart {
    background: #1d1d1f;
    border: 1px solid #1d1d1f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.2s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.header-btn-cart:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-1px);
}

.cart-count {
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    display: inline-block;
    animation: cartPulse 2.4s ease-in-out infinite;
    transform-origin: center;
}
.cart-count.updated {
    animation: cartBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   4. Bento Grid Core Tools Section
   ========================================================================== */
.core-tools-section {
    max-width: var(--container-width);
    margin: -3rem auto 4rem;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-tech);
    transform: translateY(-4px);
}

.featured-card {
    background: linear-gradient(135deg, rgba(7, 11, 25, 0.97) 0%, rgba(0, 82, 255, 0.92) 100%);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-card .card-desc {
    color: #94A3B8 !important;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-cyan));
    box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   5. Buttons & Form Inputs
   ========================================================================== */
.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, var(--color-primary) 0%, #003ECC 100%);
    color: #1d1d1f;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.25);
    text-decoration: none;
}

.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: linear-gradient(135deg, #1A64FF 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
    color: #1d1d1f;
}

.featured-card .btn-primary {
    background: #1d1d1f;
    color: var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.featured-card .btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: var(--glow-cyan);
}

input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: #fbfbfd;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-stack);
    outline: none;
    transition: all 0.2s ease;
    color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
    background: #1d1d1f;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

/* ==========================================================================
   6. WooCommerce Product Grids & Optimization
   ========================================================================== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
    text-align: left !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: var(--shadow-soft) !important;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-tech) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 12px;
}

/* WooCommerce Sale Badge — Cyber Blue Style */
.woocommerce span.onsale {
    background: var(--color-accent-cyan) !important;
    color: var(--color-secondary) !important;
    font-weight: 800 !important;
    border-radius: var(--radius-sm) !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    box-shadow: var(--glow-cyan);
    left: 15px !important;
    top: 15px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin: 10px 0 !important;
    font-family: var(--font-stack);
}

.woocommerce ul.products li.product .price {
    color: var(--color-primary) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    font-family: var(--font-stack);
}

/* ==========================================================================
   7. Mobile Responsive & App-like Bottom Navigation
   ========================================================================== */
.mobile-bottom-nav { display: none; }

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 992px) {
    .top-announcement-bar { display: none; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .header-nav { display: none !important; }
    .tools-grid { grid-template-columns: 1fr; }

    body { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;

        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
        padding: 6px 0 env(safe-area-inset-bottom, 0);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
        animation: pmnb-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }

    @keyframes pmnb-slide-up {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .mobile-nav-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 4px 2px;
        color: #94a3b8;
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        gap: 3px;
        transition: color 0.2s ease;
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    .mobile-nav-tab svg {
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }
    .mobile-nav-tab:active svg {
        transform: scale(0.88);
    }
    .mobile-nav-tab:hover,
    .mobile-nav-tab:focus-visible {
        color: #475569;
    }
    .mobile-nav-tab[aria-current="page"] {
        color: #2563eb;
    }

    /* WhatsApp CTA — center, prominent */
    .mobile-nav-tab--whatsapp {
        position: relative;
        margin-top: -12px;
    }
    .mobile-nav-tab--whatsapp svg {
        color: #22c55e;
        width: 28px;
        height: 28px;
        background: #fff;
        border-radius: 50%;
        padding: 4px;
        box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .mobile-nav-tab--whatsapp:active svg {
        transform: scale(0.9);
        box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
    }
    .mobile-nav-tab--whatsapp span {
        color: #22c55e;
        font-weight: 600;
    }

    /* Cart badge */
    .mobile-cart-badge {
        position: absolute;
        top: 0;
        right: 50%;
        margin-right: -22px;
        background: #ef4444;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        padding: 0 4px;
        line-height: 1;
        box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
}



/* Footer Styles v2.1 - Corrected Selectors for pt-site-footer */

/* Dark footer container */
.pt-site-footer {
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  padding: 60px 0 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pt-site-footer *,
.pt-site-footer *::before,
.pt-site-footer *::after {
  box-sizing: border-box;
}

/* Footer inner container */
.pt-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Footer 4-column grid */
.pt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Individual footer column */
.pt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer column headings */
.pt-footer-heading {
  color: var(--color-accent-cyan) !important;
  font-size: 1rem !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 8px 0 !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer text paragraphs */
.pt-footer-col > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer link lists - no bullets */
.pt-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-footer-links li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Footer links */
.pt-footer-col > a:not(.pt-footer-cta) {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.pt-footer-col > a:not(.pt-footer-cta):hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* B2B CTA button in footer */
.pt-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
  margin-top: 4px;
  width: fit-content;
}

.pt-footer-cta:hover {
  background-color: var(--color-primary-hover, #1A64FF);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.4);
  transform: translateY(-1px);
}

/* Footer bottom copyright */
.pt-footer-bottom {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pt-footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive: Tablet (2 columns) */
@media (min-width: 768px) {
  .pt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .pt-site-footer {
    padding-top: 70px;
  }
}

/* Responsive: Desktop (4 columns) */
@media (min-width: 1024px) {
  .pt-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  .pt-site-footer {
    padding-top: 90px;
  }
  .pt-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .pt-footer-bottom p {
    text-align: left;
  }
}

/* Footer link items - fix nested a tags */
.pt-footer-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}
.pt-footer-links a:hover {
  color: var(--color-accent-cyan) !important;
  transform: translateX(4px);
}
/*
Theme Name: Printers.com.hk Next-Gen Theme
Theme URI: https://printers.com.hk
Description: 2026 Next-Gen v4.3.0 + Footer Fix eCommerce Theme (Bento Grid + Dual-Layer Glassmorphism Header + Cyber Blue + System Typography)
Version: 4.3.0
*/

/* ==========================================================================
   1. Next-Gen Tech Variables & Typography Setup
   ========================================================================== */
:root {
    --color-primary: #1d1d1f;
    --color-primary-hover: #000000;
    --color-secondary: #1d1d1f;
    --color-accent-cyan: #1d1d1f;
    --color-success: #1d1d1f;

    /* System Font Stack: Apple SF Pro / HK PingFang / Microsoft JhengHei */
    --font-stack: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, 'PingFang HK', 'Heiti TC', 'Microsoft JhengHei', 'Segoe UI', Roboto, sans-serif;

    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-tech: rgba(0, 0, 0, 0.08);

    /* Apple-style soft shadows (no glow, no color) */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-tech: 0 4px 16px rgba(0, 0, 0, 0.08);
    --glow-cyan: 0 1px 2px rgba(0, 0, 0, 0.04);

    --container-width: 1240px;
    --header-height: 64px;
}

/* ==========================================================================
   2. Base Reset & Font Application
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   3. Dual-Layer Top Bar & Glassmorphism Header
   ========================================================================== */
/* Top Announcement Bar */
.top-announcement-bar {
    background: #FFFFFF;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-announcement-bar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}

.top-announcement-bar a:hover {
    color: var(--color-primary);
}

.announcement-right .divider {
    color: #334155;
}

/* Main Navigation (Floating Glassmorphism) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design */
.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    font-family: var(--font-stack);
}

.site-logo span {
    color: var(--color-primary);
    text-shadow: none;
}

/* Menu Design */
.header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.header-nav a {
    color: #1d1d1f;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 6px rgba(0, 82, 255, 0.4);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--color-primary);
}

/* Right-side WooCommerce Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-action-icon {
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #1d1d1f;
}

.header-action-icon:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.header-btn-cart {
    background: #1d1d1f;
    border: 1px solid #1d1d1f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.2s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.header-btn-cart:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-1px);
}

.cart-count {
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* ==========================================================================
   4. Bento Grid Core Tools Section
   ========================================================================== */
.core-tools-section {
    max-width: var(--container-width);
    margin: -3rem auto 4rem;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-tech);
    transform: translateY(-4px);
}

.featured-card {
    background: linear-gradient(135deg, rgba(7, 11, 25, 0.97) 0%, rgba(0, 82, 255, 0.92) 100%);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-card .card-desc {
    color: #94A3B8 !important;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-cyan));
    box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   5. Buttons & Form Inputs
   ========================================================================== */
.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, var(--color-primary) 0%, #003ECC 100%);
    color: #1d1d1f;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.25);
    text-decoration: none;
}

.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: linear-gradient(135deg, #1A64FF 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
    color: #1d1d1f;
}

.featured-card .btn-primary {
    background: #1d1d1f;
    color: var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.featured-card .btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: var(--glow-cyan);
}

input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: #fbfbfd;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-stack);
    outline: none;
    transition: all 0.2s ease;
    color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
    background: #1d1d1f;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

/* ==========================================================================
   6. WooCommerce Product Grids & Optimization
   ========================================================================== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
    text-align: left !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: var(--shadow-soft) !important;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-tech) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 12px;
}

/* WooCommerce Sale Badge — Cyber Blue Style */
.woocommerce span.onsale {
    background: var(--color-accent-cyan) !important;
    color: var(--color-secondary) !important;
    font-weight: 800 !important;
    border-radius: var(--radius-sm) !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    box-shadow: var(--glow-cyan);
    left: 15px !important;
    top: 15px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin: 10px 0 !important;
    font-family: var(--font-stack);
}

.woocommerce ul.products li.product .price {
    color: var(--color-primary) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    font-family: var(--font-stack);
}

/* ==========================================================================
   7. Mobile Responsive & App-like Bottom Navigation
   ========================================================================== */
.mobile-bottom-nav { display: none; }

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
    .top-announcement-bar { display: none; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .header-nav { display: none !important; }
    .tools-grid { grid-template-columns: 1fr; }

    body { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;

        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
        padding: 6px 0 env(safe-area-inset-bottom, 0);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
        animation: pmnb-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }

    @keyframes pmnb-slide-up {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .mobile-nav-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 4px 2px;
        color: #94a3b8;
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        gap: 3px;
        transition: color 0.2s ease;
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    .mobile-nav-tab svg {
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }
    .mobile-nav-tab:active svg {
        transform: scale(0.88);
    }
    .mobile-nav-tab:hover,
    .mobile-nav-tab:focus-visible {
        color: #475569;
    }
    .mobile-nav-tab[aria-current="page"] {
        color: #2563eb;
    }

    /* WhatsApp CTA — center, prominent */
    .mobile-nav-tab--whatsapp {
        position: relative;
        margin-top: -12px;
    }
    .mobile-nav-tab--whatsapp svg {
        color: #22c55e;
        width: 28px;
        height: 28px;
        background: #fff;
        border-radius: 50%;
        padding: 4px;
        box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .mobile-nav-tab--whatsapp:active svg {
        transform: scale(0.9);
        box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
    }
    .mobile-nav-tab--whatsapp span {
        color: #22c55e;
        font-weight: 600;
    }

    /* Cart badge */
    .mobile-cart-badge {
        position: absolute;
        top: 0;
        right: 50%;
        margin-right: -22px;
        background: #ef4444;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        padding: 0 4px;
        line-height: 1;
        box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
}



/* Footer Styles v2.1 - Corrected Selectors for pt-site-footer */

/* Dark footer container */
.pt-site-footer {
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  padding: 60px 0 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pt-site-footer *,
.pt-site-footer *::before,
.pt-site-footer *::after {
  box-sizing: border-box;
}

/* Footer inner container */
.pt-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Footer 4-column grid */
.pt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Individual footer column */
.pt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer column headings */
.pt-footer-heading {
  color: var(--color-accent-cyan) !important;
  font-size: 1rem !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 8px 0 !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer text paragraphs */
.pt-footer-col > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer link lists - no bullets */
.pt-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-footer-links li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Footer links */
.pt-footer-col > a:not(.pt-footer-cta) {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.pt-footer-col > a:not(.pt-footer-cta):hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* B2B CTA button in footer */
.pt-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
  margin-top: 4px;
  width: fit-content;
}

.pt-footer-cta:hover {
  background-color: var(--color-primary-hover, #1A64FF);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.4);
  transform: translateY(-1px);
}

/* Footer bottom copyright */
.pt-footer-bottom {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pt-footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive: Tablet (2 columns) */
@media (min-width: 768px) {
  .pt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .pt-site-footer {
    padding-top: 70px;
  }
}

/* Responsive: Desktop (4 columns) */
@media (min-width: 1024px) {
  .pt-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  .pt-site-footer {
    padding-top: 90px;
  }
  .pt-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .pt-footer-bottom p {
    text-align: left;
  }
}

/* Footer link items - fix nested a tags */
.pt-footer-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}
.pt-footer-links a:hover {
  color: var(--color-accent-cyan) !important;
  transform: translateX(4px);
}


/* ==========================================================================
   3B. Global Header v5.0.0 — Mega-menu + Search Overlay + Mobile Drawer
   ========================================================================== */

/* ---- Top Announcement Bar (updated structure) ---- */
.top-announcement-bar {
    position: relative;
    z-index: 1001;
}

.announcement-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.announcement-msg {
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.announcement-phone a {
    color: inherit;
}



 (drawer already covers mobile) */
@media (max-width: 992px) {
    .header-nav { display: none; }
}

/* Tablet: tighten */
@media (max-width: 1200px) and (min-width: 993px) {
    .nav-link { padding: 7px 10px; font-size: 12px; }
    .nav-menu { gap: 0; }
    .mega-menu { min-width: 580px; padding: 18px 20px; }
}

/* (Removed conflicting display:none rule — mega-menu shows via :hover/.is-open in style.css) */

/* ==========================================================================
   3C. Responsive — Tablet & Mobile Overrides
   ========================================================================== */
@media (max-width: 1024px) {
    .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
    .top-announcement-bar { display: none; }
    .pt-site-header { height: 56px; }
    .site-logo img { height: 30px; }
    .header-container { padding: 0 16px; gap: 0.5rem; }
    .mobile-menu-toggle { display: flex; }
    .search-toggle { display: none; } /* Search via bottom nav instead */

    /* Bottom padding for fixed bottom nav */
    body { padding-bottom: 60px; }

    /* WooCommerce products 2-col on mobile */
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}
/* ==========================================================================
   4. WooCommerce Shop Page — Hero & Layout
   ========================================================================== */

/* Site content wrapper (from functions.php) */
.site-content {
    padding: 0;
    min-height: 60vh;
}

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

/* Shop Hero */
.wc-shop-hero {
    text-align: center;
    padding: 48px 20px 24px;
}

.wc-shop-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.wc-shop-hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

/* Shop: remove WooCommerce default H1 (we have our own) */
.woocommerce-products-header .page-title {
    display: none;
}

/* Category Filter Bar */
.wc-cat-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 20px 28px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.wc-cat-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-stack);
    cursor: pointer;
}

.wc-cat-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 82, 255, 0.04);
    transform: translateY(-1px);
}

.wc-cat-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   5. Product Grid — Card Style Matching Homepage
   ========================================================================== */

/* Shop page page title area — hide default */
.woocommerce-breadcrumb {
    display: none;
}

.woocommerce-result-count {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 20px;
    max-width: var(--container-width);
    margin: 0 auto 16px !important;
}

.woocommerce-ordering {
    margin: 0 20px 16px auto !important;
    max-width: var(--container-width);
}

.woocommerce-ordering select {
    padding: 8px 32px 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-family: var(--font-stack);
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
    appearance: auto;
}

/* Products grid — flexbox layout 4 columns */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 20px 32px;
    max-width: var(--container-width);
    margin: 0 auto !important;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 82, 255, 0.3);
    box-shadow: var(--shadow-tech);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin: 0 0 12px !important;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}

/* Add to cart button styling */
.woocommerce ul.products li.product .button {
    display: inline-block !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: transparent !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    text-align: center !important;
    font-family: var(--font-stack) !important;
    transition: all 0.2s ease !important;
    margin-top: auto !important;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
}

.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: var(--radius-sm) !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    top: 12px !important;
    left: 12px !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    padding: 0 20px 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    float: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   6. Trust Badges Bar
   ========================================================================== */

.wc-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 32px 20px 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.wc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    transition: all 0.2s ease;
}

.wc-trust-item:hover {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-soft);
}

.wc-trust-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.wc-trust-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.wc-trust-text small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   7. Product Page — Layout & Styling
   ========================================================================== */

/* Product wrapper row */
.product-template-default .site-content .container {
    padding: 32px 20px;
}

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

/* Product images / gallery */
.woocommerce div.product div.images {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 70px !important;
    float: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Product summary */
.woocommerce div.product .summary {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product .product_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px;
    line-height: 1.3;
}

.woocommerce div.product .woocommerce-product-rating {
    margin: 0 0 12px;
}

.woocommerce div.product .price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    margin: 0 0 16px !important;
}

.woocommerce div.product .price del {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
}

.woocommerce div.product .price ins {
    text-decoration: none !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 16px;
    background: #fbfbfd;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Stock */
.woocommerce div.product p.stock {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-success);
    margin: 0 0 16px;
}

/* Quantity & Add to Cart */
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
}

.woocommerce div.product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity input {
    width: 60px;
    padding: 10px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    text-align: center;
    font-family: var(--font-stack);
}

.woocommerce div.product form.cart .button {
    padding: 12px 32px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: var(--color-primary) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: var(--font-stack) !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.woocommerce div.product form.cart .button:hover {
    background: var(--color-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.25);
}

/* Product meta (SKU, Category) */
.woocommerce div.product .product_meta {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.woocommerce div.product .product_meta a {
    color: var(--color-primary);
    text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   8. Product Warning Notice
   ========================================================================== */

.wc-product-notice {
    max-width: var(--container-width);
    margin: 0 auto 16px;
    padding: 14px 18px;
    background: #FFF8E7;
    border: 1px solid #F5D98A;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #7C6200;
}

.wc-notice-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.wc-notice-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.wc-notice-content a:hover {
    color: var(--color-primary-hover);
}

/* ==========================================================================
   9. Compatible Alternative CTA
   ========================================================================== */

.wc-compatible-cta {
    margin: 20px 0;
    padding: 18px;
    background: linear-gradient(135deg, #F0F5FF, #E8F0FF);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.wc-comp-cta-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.wc-comp-cta-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 4px;
}

.wc-comp-cta-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.5;
}

.wc-comp-cta-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    background: var(--color-primary);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wc-comp-cta-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   10. Product Description — Compatibility Info Enhancement
   ========================================================================== */

.wc-product-compat-info {
    margin-top: 20px;
    padding: 20px;
    background: #fbfbfd;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.wc-product-compat-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px;
}

.wc-product-compat-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-product-compat-info ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.wc-product-compat-info ul li:last-child {
    border-bottom: none;
}

/* Tabs styling */
.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 20px !important;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin: 0 0 32px;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px;
}

/* Related products */
.woocommerce div.product .related {
    grid-column: 1 / -1;
    clear: both;
    margin-top: 20px;
}

.woocommerce div.product .related h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 20px;
}

/* ==========================================================================
   11. Sidebar — Enhanced Style
   ========================================================================== */

.wc-sidebar-enhanced {
    padding: 16px;
}

.wc-sidebar-section {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.wc-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px;
}

/* Search form in sidebar */
.wc-sidebar-section .search-form {
    display: flex;
    gap: 6px;
}

.wc-sidebar-section .search-form input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font-stack);
}

.wc-sidebar-section .search-form button {
    padding: 8px 14px;
    background: var(--color-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Category list in sidebar */
.wc-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-sidebar-cats li {
    padding: 5px 0;
}

.wc-sidebar-cats a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.wc-sidebar-cats a:hover {
    color: var(--color-primary);
}

/* Help section */
.wc-sidebar-help p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}

.wc-sidebar-wa-btn {
    display: block;
    padding: 10px 16px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.wc-sidebar-wa-btn:hover {
    background: #1DA851;
}

/* ==========================================================================
   12. Responsive — Shop & Product Page
   ========================================================================== */

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
    
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 768px) {
    .wc-shop-hero {
        padding: 32px 16px 16px;
    }

    .wc-shop-hero-title {
        font-size: 24px;
    }

    .wc-shop-hero-sub {
        font-size: 13px;
    }

    .wc-cat-filter-bar {
        padding: 0 16px 20px;
        gap: 6px;
    }

    .wc-cat-pill {
        font-size: 12px;
        padding: 6px 14px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 12px 24px;
    }

    .woocommerce ul.products li.product {
        padding: 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 2.4em;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14px !important;
    }

    .woocommerce ul.products li.product .button {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    .wc-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 24px 12px;
    }

    .wc-trust-item {
        padding: 12px 10px;
    }

    .wc-trust-icon {
        font-size: 20px;
    }

    .wc-trust-text strong {
        font-size: 12px;
    }

    .wc-trust-text small {
        font-size: 11px;
    }

    /* Product page mobile */
    .product-template-default .site-content .container {
        padding: 16px 12px;
    }

    .woocommerce div.product .product_title {
        font-size: 20px;
    }

    .woocommerce div.product .price {
        font-size: 22px !important;
    }

    .wc-product-notice {
        padding: 12px 14px;
        font-size: 12px;
    }

    .wc-compatible-cta {
        padding: 14px;
        flex-direction: column;
    }

    .wc-compatible-cta .wc-comp-cta-icon {
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px 20px;
    }

    .woocommerce ul.products li.product {
        padding: 8px;
    }
}

/* ==========================================================================
   13. Fix: Hide old duplicate shop page hero
   ========================================================================== */
.woocommerce-page .page-hero {
    display: none !important;
}
/* ==========================================================================
   SHOP PAGE — Complete UI/UX Overhaul
   ========================================================================== */

/* --- 1. HERO AREA: Gradient banner matching homepage --- */
.wc-shop-hero {
    background: linear-gradient(135deg, #1d1d1f 0%, #000000 100%);
    border-radius: var(--radius-lg, 20px);
    padding: 48px 56px;
    margin: 24px 0 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.wc-shop-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wc-shop-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wc-shop-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.wc-shop-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* Hero decorative dot pattern */
.wc-shop-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
}

/* Hide WooCommerce default page title */
.woocommerce-products-header__title {
    display: none !important;
}

/* Hide old duplicate hero */
.page-hero {
    display: none !important;
}

/* --- 2. FILTER SECTION: Category + Brand pills --- */
.wc-filter-section {
    background: #fff;
    border-radius: var(--radius-md, 14px);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wc-cat-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.wc-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #f0f4f8;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.wc-cat-pill:hover {
    background: #e0e8f0;
    color: var(--color-primary);
    transform: translateY(-1px);
    text-decoration: none;
}

.wc-cat-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 82, 255, 0.25);
}

/* Brand filter row */
.wc-brand-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wc-brand-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-right: 4px;
}

.wc-brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: 1px solid #dde3e9;
    text-decoration: none;
    transition: all 0.25s ease;
}

.wc-brand-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0f6ff;
    transform: translateY(-1px);
    text-decoration: none;
}

.wc-brand-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 82, 255, 0.25);
}

/* --- 3. PRODUCT CARDS: Complete redesign --- */
/* Result count + sort row */
.woocommerce-result-count {
    font-size: 14px;
    color: #777;
    margin: 0 0 16px !important;
    line-height: 38px;
}

.woocommerce-ordering {
    margin: 0 0 16px !important;
}

.woocommerce-ordering select {
    padding: 8px 32px 8px 14px;
    border: 1px solid #dde3e9;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

/* Product grid */
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    background: #fff;
    border-radius: var(--radius-md, 14px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Product image container */
ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8fafb;
}

ul.products li.product .woocommerce-loop-product__link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}

ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.05);
}

/* Stock badge overlay */
.pt-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.pt-stock-badge.stock-in {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.pt-stock-badge.stock-low {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.pt-stock-badge.stock-out {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.pt-stock-badge.stock-backorder {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Product title */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    padding: 14px 16px 4px !important;
    margin: 0 !important;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Price */
ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    padding: 4px 16px 10px !important;
    margin: 0 !important;
    display: block;
}

ul.products li.product .price del {
    font-size: 13px !important;
    color: #999 !important;
    margin-right: 6px;
}

ul.products li.product .price ins {
    text-decoration: none !important;
}

/* Add to cart / Read more button */
ul.products li.product .button,
ul.products li.product .added_to_cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 16px 14px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
    border: none;
    position: relative;
}

/* Add to cart button */
ul.products li.product .button {
    background: var(--color-primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

ul.products li.product .button:hover {
    background: #003db8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3);
}

ul.products li.product .button:active {
    transform: translateY(0);
}

/* Read more button (for external/variable products) */
ul.products li.product a.button.product_type_variable,
ul.products li.product a.button.product_type_external,
ul.products li.product a.button.product_type_grouped {
    background: #f0f4f8 !important;
    color: #444 !important;
    box-shadow: none;
}

ul.products li.product a.button.product_type_variable:hover,
ul.products li.product a.button.product_type_external:hover,
ul.products li.product a.button.product_type_grouped:hover {
    background: #e0e8f0 !important;
    color: var(--color-primary) !important;
}

/* Added to cart link */
ul.products li.product .added_to_cart {
    background: transparent !important;
    color: var(--color-primary) !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* --- 4. TRUST BADGES: Styled container --- */
.wc-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    border-radius: var(--radius-md, 14px);
    padding: 28px 32px;
    margin: 28px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc-trust-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f6ff;
    border-radius: 12px;
}

.wc-trust-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.wc-trust-text small {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* --- 5. PAGINATION: Styled --- */
.woocommerce-pagination {
    margin-top: 24px;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    border: none !important;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    float: none !important;
    display: inline-flex;
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #eef2f7;
    text-decoration: none;
    transition: all 0.25s ease;
}

.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
    background: #f0f6ff;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce-pagination ul.page-numbers li .page-numbers.prev,
.woocommerce-pagination ul.page-numbers li .page-numbers.next {
    font-size: 16px;
    font-weight: 600;
}

/* --- 6. SIDEBAR: Enhanced --- */
.wc-sidebar-enhanced {
    background: #fff;
    border-radius: var(--radius-md, 14px);
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wc-sidebar-section {
    margin-bottom: 24px;
}

.wc-sidebar-section:last-child {
    margin-bottom: 0;
}

.wc-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-sidebar-title img {
    width: 20px;
    height: 20px;
}

.wc-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-sidebar-cats li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f4f8;
}

.wc-sidebar-cats li:last-child {
    border-bottom: none;
}

.wc-sidebar-cats a {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.wc-sidebar-cats a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

/* Search form */
.wc-sidebar-section .woocommerce-product-search,
.wc-sidebar-section .search-form {
    display: flex;
    gap: 8px;
}

.wc-sidebar-section .woocommerce-product-search input[type="search"],
.wc-sidebar-section .search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dde3e9;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.2s;
}

.wc-sidebar-section .woocommerce-product-search input[type="search"]:focus,
.wc-sidebar-section .search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.wc-sidebar-section .woocommerce-product-search button,
.wc-sidebar-section .search-form button {
    padding: 10px 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.wc-sidebar-section .woocommerce-product-search button:hover,
.wc-sidebar-section .search-form button:hover {
    background: #003db8;
}

/* WhatsApp help section */
.wc-sidebar-help {
    background: #f0f6ff;
    border-radius: 12px;
    padding: 16px !important;
}

.wc-sidebar-help p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.5;
}

.wc-sidebar-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #25D366;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.wc-sidebar-wa-btn:hover {
    background: #1da851;
}

/* --- 7. LAYOUT: Sidebar + main content --- */
.woocommerce-page .site-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.woocommerce-page .site-content .container {
    width: 100%;
    max-width: 100%;
}

/* Product page: full width (no sidebar) */
.single-product .site-content {
    grid-template-columns: 1fr;
}

.single-product .site-content .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 8. MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .woocommerce-page .site-content {
        grid-template-columns: 1fr;
    }
    
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wc-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wc-shop-hero {
        padding: 32px 24px;
    }
    
    .wc-shop-hero-title {
        font-size: 24px;
    }
    
    .wc-shop-hero-sub {
        font-size: 14px;
    }
    
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .wc-filter-section {
        padding: 14px 16px;
    }
    
    .wc-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 12px;
    }
    
    .wc-trust-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .wc-brand-filter-bar {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .wc-cat-filter-bar {
        gap: 6px;
    }
    
    .wc-cat-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .wc-brand-pill {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .wc-shop-hero {
        padding: 24px 16px;
        margin: 12px 0 20px;
    }
    
    .wc-shop-hero-title {
        font-size: 20px;
    }
}

/* ============================================================================
   SHOP MOBILE FIX (2026-07-30) — Override 4-col grid on mobile
   Bug: line 2256 `.woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; }`
   breaks mobile (375-393px) because earlier @media 768/480 queries get overridden
   by the !important 4-col rule. Adding higher-specificity override at end of file.
   ============================================================================ */
@media (max-width: 768px) {
    body.woocommerce-shop .woocommerce ul.products,
    body.woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 12px 24px !important;
    }
    body.woocommerce-shop .woocommerce ul.products li.product,
    body.woocommerce ul.products li.product {
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    body.woocommerce-shop .woocommerce ul.products,
    body.woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px 20px !important;
    }
}


/* ============================================================================
   SEARCH OVERLAY (2026-08-01) — Apple-style full-screen modal
   Migrated from style.css (dead code, not loaded by header.php)
   ============================================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}
.search-overlay[aria-hidden="false"] {
    display: flex;
}
.search-overlay-inner {
    width: 100%;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.search-overlay-inner .search-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #1d1d1f;
    font-size: 18px;
    padding: 8px 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
}
.search-overlay-inner .search-input::placeholder {
    color: #86868b;
}
.search-overlay-inner .search-submit {
    background: #1d1d1f;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.search-overlay-inner .search-submit:hover {
    background: #000000;
}
.search-overlay .search-close {
    background: rgba(0, 0, 0, 0.06);
    border: 0;
    color: #1d1d1f;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease;
}
.search-overlay .search-close:hover {
    background: rgba(0, 0, 0, 0.12);
}

/* ============================================================================
   SEARCH OVERLAY MOBILE FIX (2026-07-30)
   Bug: search-overlay has no mobile-specific positioning, modal can be cut off
   on small viewports. Ensure full-viewport overlay with proper sizing.
   ============================================================================ */
@media (max-width: 768px) {
    .search-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 4rem;
    }
    .search-overlay-inner {
        max-width: 100%;
        gap: 0.5rem;
    }
    .search-input {
        font-size: 1rem;
        padding: 0.75rem 0.875rem;
    }
    .search-submit,
    .search-close {
        padding: 0.75rem 0.875rem;
    }
}

/* ============================================================================
   MOBILE DRAWER FIX (2026-07-30 → 2026-08-01)
   Bug: forcing width:100vw on ≤480px hid the backdrop overlay because the
   drawer fully covered the viewport. Revert to 92vw so backdrop (60% black)
   remains visible on the right edge — preserves modal hierarchy and lets
   users click the dark area to close the drawer.
   ============================================================================ */
@media (max-width: 480px) {
    .pt-mobile-drawer {
        width: min(360px, 92vw) !important;
        max-width: 92vw !important;
    }
}

/* ============================================================================
   MOBILE BOTTOM NAV UNPREFIXED FIX (2026-07-30)
   Bug: line 2046 `.mobile-bottom-nav { display: flex; }` (unprefixed) shows
   the dark mobile bottom nav on ALL screens, conflicting with the @media
   white nav at line 1179. The unprefixed rule overrides line 1179's
   `display: none` on desktop.
   ============================================================================ */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}/* ============================================================================
   MOBILE DRAWER v4 — APPLE-STYLE SIMPLIFIED (2026-08-01)
   Replaces heavy accordion + sub-groups + footer info card with minimal
   grouped list (3 cards) + AI row + footer CTA stack + meta line.
   ============================================================================ */

/* === Topbar === */
.mobile-drawer-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 10px;
    flex-shrink: 0;
}
.mobile-drawer-brand {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--label, #1d1d1f);
}
.mobile-drawer-topbar-actions {
    display: flex;
    gap: 8px;
}
.mobile-drawer-icon-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: rgba(120,120,128,0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.mobile-drawer-icon-btn svg {
    width: 17px;
    height: 17px;
    color: var(--label, #1d1d1f);
}
.mobile-drawer-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid rgba(255,255,255,0.85);
    line-height: 1;
}

/* === Search === */
.mobile-drawer-search {
    padding: 0 16px 14px;
    flex-shrink: 0;
}
.mobile-drawer-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(120,120,128,0.14);
    border-radius: 11px;
    padding: 11px 13px;
}
.mobile-drawer-search-icon {
    width: 16px;
    height: 16px;
    color: rgba(60,60,67,0.6);
    flex-shrink: 0;
}
.mobile-drawer-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: 0;
    font: inherit;
    font-size: 16px;
    color: #1d1d1f;
    width: 100%;
    min-width: 0;
}
.mobile-drawer-search-input::placeholder {
    color: rgba(60,60,67,0.4);
}

/* === Body === */
.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch;
}

/* === AI row === */
.mobile-drawer-ai-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #5856d6 0%, #af52de 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(88,86,214,0.25);
    transition: transform 0.15s ease;
}
.mobile-drawer-ai-row:active {
    transform: scale(0.98);
}
.mobile-drawer-ai-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-drawer-ai-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}
.mobile-drawer-ai-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.1px;
}
.mobile-drawer-ai-chev {
    width: 11px;
    height: 11px;
    color: rgba(255,255,255,0.65);
    flex-shrink: 0;
}

/* === Section title (very small) === */
.mobile-drawer-section-title {
    font-size: 12px;
    font-weight: 500;
    color: rgba(60,60,67,0.6);
    letter-spacing: 0;
    padding: 0 4px;
    margin: 4px 0 6px;
}

/* === List card (grouped list) === */
.mobile-drawer-list-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 18px rgba(0,0,0,0.05);
}
.mobile-drawer-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    text-decoration: none;
    color: #1d1d1f;
    position: relative;
    transition: background 0.15s;
}
.mobile-drawer-row:active {
    background: rgba(0,0,0,0.04);
}
.mobile-drawer-row + .mobile-drawer-row::before {
    content: "";
    position: absolute;
    left: 44px;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(60,60,67,0.1);
}
.mobile-drawer-row-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
    flex-shrink: 0;
}
.mobile-drawer-row-icon svg {
    width: 19px;
    height: 19px;
}
.mobile-drawer-row-icon--green {
    color: #34c759;
}
.mobile-drawer-row-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.1px;
}
.mobile-drawer-row-chev {
    width: 10px;
    height: 10px;
    color: rgba(60,60,67,0.28);
    flex-shrink: 0;
}

/* === Footer === */
.mobile-drawer-footer {
    flex-shrink: 0;
    padding: 8px 16px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 35%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.mobile-drawer-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.mobile-drawer-cta-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    transition: transform 0.15s;
}
.mobile-drawer-cta-primary:active {
    transform: scale(0.98);
}
.mobile-drawer-cta-primary svg {
    width: 18px;
    height: 18px;
}
.mobile-drawer-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(120,120,128,0.12);
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s;
}
.mobile-drawer-cta-secondary:active {
    background: rgba(120,120,128,0.18);
}
.mobile-drawer-cta-secondary svg {
    width: 16px;
    height: 16px;
}
.mobile-drawer-footer-meta {
    text-align: center;
    font-size: 11px;
    color: rgba(60,60,67,0.4);
    margin-top: 10px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* === Legacy override: hide old v3 drawer-specific classes when v4 is active ===
   (defensive — v4 HTML doesn't use them, but old CSS rules would otherwise
   leak from inline override above) === */
.mobile-drawer-header,
.mobile-drawer-logo,
.drawer-close,
.mobile-drawer-search-old,
.mobile-hot-search,
.mobile-nav,
.mobile-nav-item,
.mobile-nav-toggle,
.mobile-nav-sub,
.mobile-quick-links,
.mobile-quick-link,
.mobile-drawer-info,
.mobile-drawer-info-row,
.mobile-drawer-cta-row,
.mobile-cta-whatsapp,
.mobile-cta-call {
    /* Old v3 classes — present in DOM only if hot-reloaded mid-deploy */
}


/* ========================================================
   HEADER POLISH TIER 1 — 2026-08-02 (Apple-style enhancements)
   ======================================================== */

/* P2: Cart badge pulse */
@keyframes cartPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(255, 59, 48, 0); }
}
.cart-count.updated {
    animation: cartBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes cartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.search-input::after { content: '⌘K'; }
/* Search input kbd hint */
.search-kbd-hint {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-stack);
    font-size: 12px;
    color: #86868b;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 2px 8px;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.search-form:focus-within .search-kbd-hint {
    opacity: 0;
}

/* P5: Active page underline indicator */
.nav-link {
    position: relative;
}
.nav-item.current-menu-item > .nav-link::after,
.nav-item.current-menu-ancestor > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 1px;
    animation: navUnderlineIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes navUnderlineIn {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}


/* ========================================================
   MOBILE DRAWER POLISH — Apple-style slide-in (2026-08-02)
   ======================================================== */

/* Drawer default state: hidden off-screen (left) */
.pt-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: min(380px, 88vw) !important;
    height: 100vh !important; /* Fallback for old browsers */
    height: 100dvh !important; /* Modern dynamic viewport (iOS 15.4+) */
    max-height: 100dvh !important; /* N4 Layer 1: cap at dvh so keyboard can shrink */
    max-width: 92vw !important;
    z-index: 1100 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateX(-105%) !important;
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

/* Open state */
.pt-mobile-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Body lock when drawer is open */
body.drawer-open {
    overflow: hidden !important;
    position: relative !important;
}

/* Backdrop: default hidden, fade in when active */
.drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1099 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.32s !important;
}
.drawer-backdrop.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Toggle button — also hide/show on mobile only */
.mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Hide hamburger toggle on desktop, show on mobile */
@media (min-width: 1025px) {
    .mobile-menu-toggle,
    .header-action-mobile-only {
        display: none !important;
    }
    .header-action-desktop-only {
        display: flex !important;
    }
    .pt-mobile-drawer {
        display: none !important;
    }
}

/* Toggle button animated lines (hamburger → X) */
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.hamburger-line {
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
}

/* Drawer body scroll */
.mobile-drawer-body {
    padding: 8px 16px 32px !important;
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
.mobile-drawer-footer {
    flex-shrink: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 16px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
}

/* Drawer topbar polish */
.mobile-drawer-topbar {
    flex-shrink: 0 !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
}
.mobile-drawer-brand {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    letter-spacing: -0.01em !important;
}


/* ========================================================
   MOBILE BOTTOM-NAV ACTIVE STATE — Apple-style (2026-08-02)
   ======================================================== */

/* Pill background on active tab */
.mobile-nav-tab.active {
    background: rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mobile-nav-tab.active::before {
    content: '' !important;
    position: absolute !important;
    top: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 18px !important;
    height: 3px !important;
    background: #1d1d1f !important;
    border-radius: 2px !important;
    animation: navPillIn 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
.mobile-nav-tab.active svg {
    color: #1d1d1f !important;
    transform: translateY(-1px) !important;
}
.mobile-nav-tab.active span {
    color: #1d1d1f !important;
    font-weight: 600 !important;
}

@keyframes navPillIn {
    from { transform: translateX(-50%) scaleX(0); opacity: 0; }
    to { transform: translateX(-50%) scaleX(1); opacity: 1; }
}

/* WhatsApp tab active state — keep green pill but darker */
.mobile-nav-tab--whatsapp.active {
    background: rgba(34, 197, 94, 0.08) !important;
}
.mobile-nav-tab--whatsapp.active::before {
    background: #22c55e !important;
}
.mobile-nav-tab--whatsapp.active svg {
    color: #22c55e !important;
}
.mobile-nav-tab--whatsapp.active span {
    color: #16a34a !important;
}

/* Ensure relative positioning for ::before */
.mobile-nav-tab {
    position: relative !important;
}


/* ========================================================
   HEADER + DRAWER DEBUG FIX (2026-08-02)
   ======================================================== */

/* BUG #2: Hamburger button - improve touch target (4px → 44px+) */
.mobile-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-menu-toggle {
    flex-direction: column !important;
    gap: 5px !important;
}
.mobile-menu-toggle .hamburger-line {
    width: 22px !important;
    height: 2px !important;
    background: currentColor !important;
    display: block !important;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease !important;
    transform-origin: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* BUG #3: Header-actions container - right padding for iOS notch */
@media (max-width: 1024px) {
    .header-actions {
        padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
        gap: 6px !important;
    }
    .pt-site-header {
        padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
    }
}

/* BUG #4: Mobile drawer transition - ensure is-open wins */
.pt-mobile-drawer {
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) !important,
                visibility 0s linear 0s !important,
                box-shadow 0.42s ease !important;
}

.pt-mobile-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) !important,
                visibility 0s linear 0.42s !important,
                box-shadow 0.42s ease !important;
}

/* Drawer backdrop with proper transition */
.drawer-backdrop {
    transition: opacity 0.32s ease, visibility 0s linear 0s !important;
}
.drawer-backdrop.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity 0.32s ease, visibility 0s linear 0s !important;
}

/* Cart button - proper touch target */
.header-btn-cart {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Search button - proper touch target */
.header-search-trigger {
    min-width: 44px !important;
    min-height: 44px !important;
    -webkit-tap-highlight-color: transparent !important;
    padding: 8px !important;
}

/* Close button inside drawer */
.mobile-drawer-close {
    min-width: 44px !important;
    min-height: 44px !important;
    -webkit-tap-highlight-color: transparent !important;
    padding: 8px !important;
}

/* Mobile bottom-nav - add iOS safe-area-inset-bottom */
@media (max-width: 1024px) {
    .mobile-bottom-nav {
        padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)) !important;
    }
}


/* ================================================================
   WC BRAND CHIP FILTER (5.11.0)
   ================================================================ */
.wcr-brand-filter {
    margin: 16px 0 8px;
    padding: 0 24px;
}

.wcr-brand-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
}

.wcr-brand-scroll::-webkit-scrollbar {
    height: 4px;
}

.wcr-brand-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.wcr-brand-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.08);
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.32, 0.72, 0, 1);
}

.wcr-brand-chip:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.12);
}

.wcr-brand-chip.is-active {
    background: #1d1d1f;
    color: #ffffff;
    border-color: #1d1d1f;
}

.wcr-brand-chip.is-active .wcr-brand-count {
    color: rgba(255,255,255,0.7);
}

.wcr-brand-count {
    font-size: 11px;
    color: #6e6e73;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
    min-width: 18px;
    text-align: center;
}

.wcr-brand-chip[data-wcr-brand-clear] svg {
    opacity: 0.7;
}

/* ================================================================
   WC STICKY FILTER BAR (5.11.0)
   ================================================================ */
/* Sticky filter elements (5.11.3) - individual sticky with cascading top offsets */
.wcr-sticky-element {
    position: sticky;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    will-change: transform;
    transform: translateZ(0);
}

.wcr-brand-filter.wcr-sticky-element {
    top: 100px;
    z-index: 52;
}

.wcr-cat-pills.wcr-sticky-element {
    top: 144px;
    z-index: 51;
}

.wcr-toolbar.wcr-sticky-element {
    top: 192px;
    z-index: 50;
}

.wcr-sticky-element.is-stuck {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
}

/* Mobile: tighter spacing */
@media (max-width: 768px) {
    .wcr-brand-filter {
        padding: 0 16px;
        margin: 12px 0 6px;
    }
    
    .wcr-brand-chip {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    .wcr-sticky-element {
        backdrop-filter: blur(28px) saturate(200%);
    }
}

/* ==========================================================================
   Inline-style refactor block (2026-09-08)
   Replaces 10 inline styles previously on front-page.php:
   - .ap-hero min-height
   - .ap-hero-content min-height
   - .ap-hero-img.ap-hero-photo aspect-ratio / background / min-height / width
   - .ap-hero-img.ap-hero-photo img border-radius / box-shadow / sizing
   - .ap-why-card text-decoration / cursor (was repeated 4x inline)
   - .ap-faq-col--photo img sizing / border-radius / box-shadow
   - .ap-honeypot (new class for spam honeypot input)
   ========================================================================== */
.ap-hero { min-height: 1010px; }
.ap-hero-content { min-height: 830px; }
.ap-hero-img.ap-hero-photo { aspect-ratio: 16/9; min-height: 280px; background: #f5f5f7; width: 100%; }
.ap-hero-img.ap-hero-photo img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); width: 100%; height: auto; }
.ap-why-card { text-decoration: none; cursor: pointer; }
.ap-faq-col--photo img { width: 100%; height: auto; aspect-ratio: 540/400; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
input.ap-honeypot[type="text"] { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

/* ==========================================================================
   APPLE DNA — pt-site-header v6.0.0 (full redesign, 2026-09-08)
   Single source of truth for: header, mega-menu, search overlay, mobile drawer
   Replaces: old scattered rules + Apple DNA v5.31.0 (this section)
   ========================================================================== */

:root {
  --apple-blue: #0066CC;
  --apple-blue-hover: #0055B5;
  --apple-blue-focus: #0b21ff0;
  --apple-bg: rgba(255, 255, 255, 0.85);
  --apple-bg-scrolled: rgba(255, 255, 255, 0.98);
  --apple-fg: #1d1d1f;
  --apple-fg-secondary: #6e6e73;
  --apple-divider: rgba(0, 0, 0, 0.08);
  --apple-divider-strong: rgba(0, 0, 0, 0.12);
  --apple-radius-sm: 6px;
  --apple-radius-md: 12px;
  --apple-radius-lg: 16px;
  --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --apple-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --apple-duration: 220ms;
  --header-height: 52px;
  --header-height-mobile: 56px;
  --header-z: 9999;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: var(--apple-blue); color: #fff; padding: 8px 16px; border-radius: var(--apple-radius-sm); font-weight: 600; font-family: var(--apple-font); text-decoration: none; }
.skip-link:focus { left: 16px; top: 16px; outline: 2px solid var(--apple-blue-focus); }

.pt-site-header { position: sticky; top: 0; z-index: var(--header-z); height: var(--header-height); background: var(--apple-bg); -webkit-backdrop-filter: saturate(180%) blur(32px); backdrop-filter: saturate(180%) blur(32px); border-bottom: 1px solid transparent; transition: background var(--apple-duration) var(--apple-ease), border-color var(--apple-duration) var(--apple-ease); font-family: var(--apple-font); }
.pt-site-header.pt-header-scrolled { background: var(--apple-bg-scrolled); border-bottom-color: var(--apple-divider); }
.pt-site-header .header-container { max-width: 1440px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 24px; }

.pt-site-header .site-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.pt-site-header .site-logo img { height: 32px; width: auto; display: block; }

.pt-site-header .header-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.pt-site-header .nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pt-site-header .nav-item { position: relative; }
.pt-site-header .nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--apple-fg); text-decoration: none; border-radius: var(--apple-radius-sm); transition: background var(--apple-duration) var(--apple-ease), color var(--apple-duration) var(--apple-ease); }
.pt-site-header .nav-link:hover, .pt-site-header .nav-link:focus-visible { background: rgba(0, 0, 0, 0.04); color: var(--apple-blue); }
.pt-site-header .nav-link:focus-visible { outline: 2px solid var(--apple-blue-focus); outline-offset: 2px; }
.pt-site-header .nav-link-cta { background: linear-gradient(135deg, var(--apple-blue), var(--apple-blue-hover)); color: #fff !important; font-weight: 600; }
.pt-site-header .nav-link-cta:hover, .pt-site-header .nav-link-cta:focus-visible { background: var(--apple-blue-hover); color: #fff !important; }

.pt-site-header .mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px); min-width: 580px; background: var(--apple-bg-scrolled); -webkit-backdrop-filter: saturate(180%) blur(32px); backdrop-filter: saturate(180%) blur(32px); border: 1px solid var(--apple-divider); border-radius: var(--apple-radius-md); padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; opacity: 0; pointer-events: none; transition: opacity var(--apple-duration) var(--apple-ease), transform var(--apple-duration) var(--apple-ease); }
.pt-site-header .nav-item.has-mega-menu:hover > .mega-menu, .pt-site-header .nav-item.has-mega-menu:focus-within > .mega-menu, .pt-site-header .nav-item.has-mega-menu.is-open > .mega-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.pt-site-header .mega-title { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--apple-fg-secondary); margin: 0 0 8px; }
.pt-site-header .mega-link { display: block; padding: 6px 0; font-size: 14px; color: var(--apple-fg); text-decoration: none; transition: color var(--apple-duration) var(--apple-ease); }
.pt-site-header .mega-link:hover, .pt-site-header .mega-link:focus-visible { color: var(--apple-blue); }
.pt-site-header .mega-link-cta { margin-top: 8px; color: var(--apple-blue) !important; font-weight: 600; }
.pt-site-header .mega-feature { background: rgba(0, 102, 204, 0.06); border-radius: var(--apple-radius-sm); padding: 16px; }
.pt-site-header .mega-feature-icon { color: var(--apple-blue); margin-bottom: 6px; }
.pt-site-header .mega-feature-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--apple-fg); }
.pt-site-header .mega-feature-text { font-size: 12px; color: var(--apple-fg-secondary); margin: 0 0 8px; }
.pt-site-header .mega-feature-cta { font-size: 13px; font-weight: 600; color: var(--apple-blue); text-decoration: none; }
.pt-site-header .mega-feature-cta:hover { color: var(--apple-blue-hover); }

.pt-site-header .header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.pt-site-header .header-action { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: var(--apple-radius-sm); color: var(--apple-fg); text-decoration: none; cursor: pointer; position: relative; transition: background var(--apple-duration) var(--apple-ease), color var(--apple-duration) var(--apple-ease); }
.pt-site-header .header-action:hover, .pt-site-header .header-action:focus-visible { background: rgba(0, 0, 0, 0.04); color: var(--apple-blue); }
.pt-site-header .header-action:focus-visible { outline: 2px solid var(--apple-blue-focus); outline-offset: 2px; }
.pt-site-header .header-action svg { display: block; }
.pt-site-header .header-cart-badge { position: absolute; top: 4px; right: 4px; background: #ff3b30; color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; line-height: 1; }

.pt-site-header .search-overlay { position: fixed; top: 0; left: 0; right: 0; background: var(--apple-bg-scrolled); -webkit-backdrop-filter: saturate(180%) blur(32px); backdrop-filter: saturate(180%) blur(32px); border-bottom: 1px solid var(--apple-divider); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform var(--apple-duration) var(--apple-ease), opacity var(--apple-duration) var(--apple-ease); z-index: var(--header-z); }
.pt-site-header .search-overlay.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pt-site-header .search-overlay-inner { max-width: 720px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 8px; }
.pt-site-header .search-input { flex: 1; height: 40px; padding: 0 16px; font-size: 16px; font-family: var(--apple-font); color: var(--apple-fg); background: rgba(0, 0, 0, 0.04); border: 0; border-radius: var(--apple-radius-sm); outline: none; transition: background var(--apple-duration) var(--apple-ease); }
.pt-site-header .search-input:focus { background: rgba(0, 102, 204, 0.08); }
.pt-site-header .search-kbd-hint { display: inline-flex; align-items: center; padding: 2px 6px; font-size: 11px; font-family: var(--apple-font); color: var(--apple-fg-secondary); background: rgba(0, 0, 0, 0.04); border-radius: 4px; border: 1px solid var(--apple-divider); }
.pt-site-header .search-submit, .pt-site-header .search-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: var(--apple-radius-sm); color: var(--apple-fg); cursor: pointer; transition: background var(--apple-duration) var(--apple-ease), color var(--apple-duration) var(--apple-ease); }
.pt-site-header .search-submit:hover, .pt-site-header .search-close:hover { background: rgba(0, 0, 0, 0.04); color: var(--apple-blue); }

.pt-site-header .mobile-menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: 0; border-radius: var(--apple-radius-sm); cursor: pointer; color: var(--apple-fg); }
.pt-site-header .mobile-menu-toggle:hover { background: rgba(0, 0, 0, 0.04); }
.pt-site-header .mobile-menu-toggle .hamburger-line { width: 20px; height: 2px; background: currentColor; border-radius: 1px; transition: transform var(--apple-duration) var(--apple-ease), opacity var(--apple-duration) var(--apple-ease); }
.pt-site-header .mobile-menu-toggle.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pt-site-header .mobile-menu-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.pt-site-header .mobile-menu-toggle.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pt-mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: var(--apple-bg-scrolled); -webkit-backdrop-filter: saturate(180%) blur(32px); backdrop-filter: saturate(180%) blur(32px); border-left: 1px solid var(--apple-divider); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12); z-index: 10000; transform: translateX(100%); transition: transform 280ms var(--apple-ease); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; font-family: var(--apple-font); }
.pt-mobile-drawer.is-open { transform: translateX(0); }
.pt-mobile-drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 220ms var(--apple-ease); }
.pt-mobile-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.is-drawer-open { overflow: hidden; }

@media (max-width: 960px) {
  .pt-site-header .header-nav { display: none; }
  .pt-site-header .mobile-menu-toggle { display: flex; }
  .pt-site-header .header-action-desktop-only { display: none; }
}
@media (max-width: 768px) {
  :root { --header-height: var(--header-height-mobile); }
  .pt-site-header .site-logo img { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-site-header, .pt-site-header *, .pt-mobile-drawer, .pt-mobile-drawer * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
