/**
 * Hectro Store Complete Theme Stylesheet
 * 1:1 Layout and Design replica of https://hectro-store.netlify.app/
 * Full Dark & Light Mode Support
 */

/* ==========================================================================
   1. Root Variables, Theme Palettes (Dark / Light Mode) & Reset
   ========================================================================== */
:root,
html[data-theme="dark"],
html.dark {
    --brand: #ded226;
    --brand-dark: #c4ba1e;
    --brand-light: #f4ec4f;
    --brand-glow: rgba(222, 210, 38, 0.2);
    --ink: #141414;
    --ink-soft: #1a1a1a;
    --surface: #1f1f1f;
    --surface-hover: #282828;
    --surface-border: rgba(255, 255, 255, 0.1);
    --surface-border-hover: rgba(222, 210, 38, 0.6);
    --accent: #ded226;
    --contrast: #ffffff;
    --contrast-2: #9ca3af;
    --contrast-3: #6b7280;
    --text-white: #ffffff;
    --text-body: #d1d5db;
    --text-muted: #9ca3af;
    --header-bg: rgba(20, 20, 20, 0.95);
    --mobile-menu-bg: rgba(20, 20, 20, 0.98);
    --footer-bg: #141414;
    --hero-bg: linear-gradient(135deg, #262626 0%, #141414 50%, #0a0a0a 100%);
    --card-img-bg: #181818;
    --input-bg: #1e1e1e;
    --input-bg-focus: #242424;
    --input-text: #ffffff;
    --input-placeholder: #737373;
    --btn-toggle-bg: rgba(255, 255, 255, 0.06);
    --btn-toggle-border: rgba(255, 255, 255, 0.12);
    --btn-toggle-hover: rgba(255, 255, 255, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="light"],
html.light {
    --brand: #c9b914;
    --brand-dark: #a89a0c;
    --brand-light: #ded226;
    --brand-glow: rgba(201, 185, 20, 0.2);
    --ink: #f8fafc;
    --ink-soft: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --surface-border: rgba(0, 0, 0, 0.08);
    --surface-border-hover: rgba(201, 185, 20, 0.6);
    --accent: #c9b914;
    --contrast: #0f172a;
    --contrast-2: #475569;
    --contrast-3: #94a3b8;
    --text-white: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --header-bg: rgba(255, 255, 255, 0.95);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
    --footer-bg: #f8fafc;
    --hero-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    --card-img-bg: #f1f5f9;
    --input-bg: #f8fafc;
    --input-bg-focus: #ffffff;
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;
    --btn-toggle-bg: #f1f5f9;
    --btn-toggle-border: #e2e8f0;
    --btn-toggle-hover: #e2e8f0;
}

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

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--ink) !important;
    color: var(--text-body) !important;
    font-family: var(--font-sans) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.25s ease, color 0.25s ease;
}

#page, .site, .site-content, .inside-article, .entry-content {
    background-color: var(--ink) !important;
    color: var(--text-body) !important;
    width: 100%;
}

.hectro-main-content {
    flex: 1;
    min-height: 60vh;
}

h1, h2, h3, h4, h5, h6, .entry-title, .page-title {
    color: var(--text-white) !important;
    font-family: var(--font-sans) !important;
    font-weight: 700;
    letter-spacing: -0.015em;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--brand);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hectro-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   2. Sticky Header, Theme Toggle & Navigation
   ========================================================================== */
.hectro-header-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    background: var(--header-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--surface-border) !important;
    transition: background 0.25s ease, border-color 0.25s ease !important;
}

.hectro-header-container {
    max-width: 1152px;
    margin: 0 auto;
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 640px) {
    .hectro-header-container {
        height: 64px;
    }
}

.hectro-header-logo,
.hectro-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.hectro-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.hectro-logo-img,
.hectro-header-logo img,
.hectro-footer-logo img,
header.hectro-header-sticky .hectro-logo-img,
body .hectro-header-logo .hectro-logo-img {
    height: 26px !important;
    max-height: 26px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (min-width: 640px) {
    .hectro-logo-img,
    .hectro-header-logo img,
    .hectro-footer-logo img,
    header.hectro-header-sticky .hectro-logo-img,
    body .hectro-header-logo .hectro-logo-img {
        height: 30px !important;
        max-height: 30px !important;
        max-width: 140px !important;
    }
}

/* Logo Color Theme Switching */
:root .hectro-logo-img,
html[data-theme="dark"] .hectro-logo-img,
html.dark .hectro-logo-img,
html:not([data-theme="light"]):not(.light) .hectro-logo-img {
    filter: brightness(0) invert(1) !important;
    transition: filter 0.25s ease;
}

html[data-theme="light"] .hectro-logo-img,
html.light .hectro-logo-img {
    filter: none !important;
    transition: filter 0.25s ease;
}

.hectro-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hectro-nav-links {
    display: none;
    align-items: center;
    gap: 4px;
}

@media (min-width: 768px) {
    .hectro-nav-links {
        display: flex;
        gap: 6px;
    }
}

.hectro-nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hectro-nav-link:hover {
    color: var(--text-white);
    background: var(--btn-toggle-bg);
}

.hectro-nav-link.active {
    color: var(--brand);
    font-weight: 600;
}

.hectro-nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Theme Toggle Button (Header) */
.hectro-theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: var(--btn-toggle-bg) !important;
    border: 1px solid var(--btn-toggle-border) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-white) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    flex-shrink: 0 !important;
}

.hectro-theme-toggle:hover {
    background: var(--btn-toggle-hover) !important;
    color: var(--brand) !important;
    border-color: var(--surface-border-hover) !important;
    transform: translateY(-1px) !important;
}

.hectro-theme-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

/* Dark mode: show Sun icon */
html[data-theme="dark"] .hectro-theme-icon-sun,
html.dark .hectro-theme-icon-sun,
html:not([data-theme="light"]):not(.light) .hectro-theme-icon-sun {
    display: block !important;
    color: #ded226 !important;
    stroke: #ded226 !important;
}

html[data-theme="dark"] .hectro-theme-icon-moon,
html.dark .hectro-theme-icon-moon,
html:not([data-theme="light"]):not(.light) .hectro-theme-icon-moon {
    display: none !important;
}

/* Light mode: show Moon icon */
html[data-theme="light"] .hectro-theme-icon-sun,
html.light .hectro-theme-icon-sun {
    display: none !important;
}

html[data-theme="light"] .hectro-theme-icon-moon,
html.light .hectro-theme-icon-moon {
    display: block !important;
    color: #0f172a !important;
    fill: #0f172a !important;
    stroke: #0f172a !important;
}

/* Light Mode Specific Button Visibility Enhancement */
html[data-theme="light"] .hectro-theme-toggle,
html.light .hectro-theme-toggle {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .hectro-theme-toggle:hover,
html.light .hectro-theme-toggle:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #000000 !important;
}

html[data-theme="light"] .hectro-mobile-theme-btn,
html.light .hectro-mobile-theme-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

html[data-theme="light"] .hectro-mobile-theme-btn:hover,
html.light .hectro-mobile-theme-btn:hover {
    background: #e2e8f0 !important;
}

/* Cart Icon */
.hectro-nav-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    background: var(--btn-toggle-bg);
    border: 1px solid var(--btn-toggle-border);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.hectro-nav-cart:hover,
.hectro-nav-cart.active {
    color: var(--text-white);
    background: var(--btn-toggle-hover);
    border-color: var(--surface-border-hover);
    transform: translateY(-1px);
}

.hectro-cart-icon {
    width: 20px;
    height: 20px;
}

.hectro-cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--brand);
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: var(--radius-full);
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Mobile Menu Toggle (Burger) */
.hectro-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--btn-toggle-bg);
    border: 1px solid var(--btn-toggle-border);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
    outline: none;
}

.hectro-menu-toggle:hover,
.hectro-menu-toggle.is-active {
    background: var(--btn-toggle-hover);
    color: var(--brand);
    border-color: var(--surface-border-hover);
}

.hectro-burger-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.burger-line {
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: 12px 12px;
}

.hectro-menu-toggle.is-active .line-top {
    transform: translateY(6px) rotate(45deg);
}

.hectro-menu-toggle.is-active .line-mid {
    opacity: 0;
}

.hectro-menu-toggle.is-active .line-bot {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
    .hectro-menu-toggle {
        display: none !important;
    }
}

/* Mobile Menu Drawer */
.hectro-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.3s ease;
    z-index: 9998;
}

.hectro-mobile-menu.is-open {
    max-height: 380px;
    opacity: 1;
    visibility: visible;
}

.hectro-mobile-menu-inner {
    padding: 12px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1152px;
    margin: 0 auto;
}

.hectro-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-body);
    border-radius: var(--radius-md);
    text-decoration: none;
    background: var(--btn-toggle-bg);
    border: 1px solid var(--btn-toggle-border);
    transition: all 0.2s ease;
}

.hectro-mobile-nav-link svg {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.hectro-mobile-nav-link:hover {
    background: var(--btn-toggle-hover);
    color: var(--text-white);
    border-color: var(--surface-border-hover);
    transform: translateX(4px);
}

.hectro-mobile-nav-link:hover svg {
    color: var(--brand);
}

/* Mobile Drawer Theme Row */
.hectro-mobile-theme-row {
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--surface-border);
}

.hectro-mobile-theme-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-body);
    border-radius: var(--radius-md);
    background: var(--btn-toggle-bg);
    border: 1px solid var(--btn-toggle-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hectro-mobile-theme-btn:hover {
    background: var(--btn-toggle-hover);
    color: var(--text-white);
}

.hectro-mobile-theme-btn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hectro-theme-label-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.hectro-theme-current-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: var(--brand);
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hectro-mobile-nav-link.active {
    background: rgba(222, 210, 38, 0.12);
    color: var(--brand);
    border-color: rgba(222, 210, 38, 0.35);
    font-weight: 700;
}

.hectro-mobile-nav-link.active svg {
    color: var(--brand);
}

@media (min-width: 768px) {
    .hectro-mobile-menu {
        display: none !important;
    }
}

/* ==========================================================================
   3. Hectro Hero Section
   ========================================================================== */
.hectro-hero {
    position: relative;
    overflow: hidden;
    background: var(--hero-bg);
    color: var(--text-body);
    padding: 56px 0;
    border-bottom: 1px solid var(--surface-border);
}

@media (min-width: 640px) {
    .hectro-hero {
        padding: 80px 0;
    }
}

.hectro-hero-watermark {
    position: absolute;
    right: -24px;
    bottom: -64px;
    height: 125%;
    width: auto;
    transform: rotate(6deg);
    opacity: 0.08;
    pointer-events: none;
    color: var(--brand);
    z-index: 1;
}

@media (min-width: 640px) {
    .hectro-hero-watermark {
        right: 40px;
    }
}

.hectro-hero-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.hectro-hero-content {
    max-width: 576px;
}

.hectro-hero-badge-wrap {
    margin-bottom: 12px;
}

.hectro-hero-badge {
    display: inline-block;
    border: 1px solid rgba(222, 210, 38, 0.4);
    background: rgba(222, 210, 38, 0.1);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand);
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.hectro-hero-title {
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin: 0 0 16px 0 !important;
}

@media (min-width: 640px) {
    .hectro-hero-title {
        font-size: 48px !important;
    }
}

.hectro-hero-desc {
    margin: 0 0 28px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body);
}

@media (min-width: 640px) {
    .hectro-hero-desc {
        font-size: 16px;
    }
}

.hectro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hectro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hectro-btn-primary {
    background: var(--brand);
    color: #0b0f19 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hectro-btn-primary:hover {
    background: var(--brand-dark);
    transform: scale(1.03);
}

.hectro-btn-secondary {
    border: 1px solid var(--surface-border);
    color: var(--text-white) !important;
    background: var(--surface);
}

.hectro-btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--surface-border-hover);
}

/* ==========================================================================
   4. Categories Filter Chips Section
   ========================================================================== */
.hectro-categories-section {
    padding-top: 40px;
}

.hectro-section-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 16px 0 !important;
}

@media (min-width: 640px) {
    .hectro-section-title {
        font-size: 20px !important;
    }
}

.hectro-cat-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 6px;
}

@media (min-width: 640px) {
    .hectro-cat-pills-wrap {
        flex-wrap: wrap;
    }
}

.hectro-cat-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hectro-cat-pill:hover {
    border-color: var(--brand);
    color: var(--text-white) !important;
    background: var(--surface-hover);
}

.hectro-cat-pill.active-pill {
    background: var(--brand) !important;
    color: #0b0f19 !important;
    border-color: var(--brand) !important;
    font-weight: 700 !important;
}

.hectro-cat-pill.active-pill .hectro-cat-pill-count {
    color: #0b0f19 !important;
}

.hectro-cat-pill-count {
    margin-left: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.hectro-cat-pill-all {
    background: var(--brand) !important;
    color: #0b0f19 !important;
    border-color: var(--brand) !important;
    font-weight: 600 !important;
}

.hectro-cat-pill-all:hover {
    background: var(--brand-dark) !important;
}

/* ==========================================================================
   5. Katalog Page Filter Bar (Search & Sort)
   ========================================================================== */
.hectro-katalog-page {
    padding: 32px 0 60px 0;
}

.hectro-katalog-header {
    margin-bottom: 20px;
}

.hectro-katalog-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin: 0 !important;
}

@media (min-width: 640px) {
    .hectro-katalog-title {
        font-size: 28px !important;
    }
}

.hectro-katalog-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-muted);
}

.hectro-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .hectro-filter-bar {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

.hectro-search-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-md, 10px) !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.hectro-search-input-wrap:focus-within {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(222, 210, 38, 0.15) !important;
}

.hectro-search-icon-box {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--text-muted) !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.hectro-search-icon-box:hover {
    color: var(--brand) !important;
    transform: scale(1.05);
}

.hectro-search-icon {
    width: 20px !important;
    height: 20px !important;
    color: inherit !important;
    display: block !important;
    stroke: currentColor !important;
}

.hectro-search-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--text-white) !important;
    font-size: 15px !important;
    line-height: normal !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

@media (max-width: 768px) {
    .hectro-search-input {
        font-size: 16px !important;
    }
}

.hectro-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

.hectro-search-input::placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
    font-size: 14.5px !important;
}

.hectro-search-clear-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    margin-left: 8px !important;
    color: var(--text-muted) !important;
    background: var(--surface-hover, rgba(255,255,255,0.08)) !important;
    border-radius: 50% !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.hectro-search-clear-btn:hover {
    color: #ffffff !important;
    background: #ef4444 !important;
}

.hectro-sort-select-wrap {
    width: 100%;
}

@media (min-width: 640px) {
    .hectro-sort-select-wrap {
        width: 250px;
        flex-shrink: 0;
    }
}

.hectro-sort-select {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 40px 0 16px !important;
    background: var(--surface) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-md, 10px) !important;
    color: var(--text-white) !important;
    font-size: 14.5px !important;
    cursor: pointer !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

@media (max-width: 768px) {
    .hectro-sort-select {
        font-size: 15px !important;
    }
}

.hectro-sort-select:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(222, 210, 38, 0.15) !important;
}

.hectro-sort-select option {
    background: var(--surface) !important;
    color: var(--text-white) !important;
    padding: 8px !important;
}

.hectro-results-count {
    font-size: 13px;
    color: var(--text-muted);
    margin: 16px 0 20px 0;
}

.hectro-no-products-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

/* ==========================================================================
   6. Product Cards Grid & Card Styling
   ========================================================================== */
.hectro-products-section {
    padding-top: 40px;
}

.hectro-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hectro-section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

.hectro-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--brand) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px;
}

.hectro-view-all:hover {
    text-decoration-color: var(--brand-dark) !important;
}

/* Products Grid - STRICT OVERRIDES */
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.hectro-products-grid::before,
.hectro-products-grid::after {
    display: none !important;
    content: none !important;
    grid-column: unset !important;
    grid-row: unset !important;
}

ul.products,
.woocommerce ul.products,
.hectro-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    ul.products,
    .woocommerce ul.products,
    .hectro-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1024px) {
    ul.products,
    .woocommerce ul.products,
    .hectro-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

ul.products li.hectro-product-item,
ul.products li.product,
li.hectro-product-item {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    float: none !important;
    display: flex !important;
}

/* Product Card Design */
.hectro-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--surface-border) !important;
    background: var(--surface) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    position: relative !important;
}

.hectro-card:hover {
    border-color: var(--surface-border-hover) !important;
}

/* Guaranteed 1:1 Aspect Ratio Image Box */
.hectro-card-img-wrap {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important; /* True 1:1 Aspect Ratio */
    overflow: hidden !important;
    background: var(--card-img-bg) !important;
    flex-shrink: 0 !important;
}

.hectro-card-img-wrap img,
.hectro-card-img-wrap .hectro-card-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
}

.hectro-card:hover .hectro-card-img-wrap img,
.hectro-card:hover .hectro-card-img {
    transform: scale(1.05) !important;
}

.hectro-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: var(--accent);
    color: #0b0f19;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hectro-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    gap: 4px !important;
    padding: 12px !important;
}

.hectro-card-cat {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0;
}

.hectro-card-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-white) !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
}

.hectro-card:hover .hectro-card-title {
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.hectro-card-bottom {
    margin-top: auto !important;
    padding-top: 6px !important;
}

/* Strict Clean Price Layout - No overlapping! */
.hectro-card-price,
.hectro-card-bottom .price,
.hectro-card a span.price {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--brand) !important;
    line-height: 1.2 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    position: static !important;
}

@media (min-width: 640px) {
    .hectro-card-price,
    .hectro-card-bottom .price,
    .hectro-card a span.price {
        font-size: 16px !important;
    }
}

.hectro-card-price del,
.hectro-card a span.price del {
    display: inline-block !important;
    font-size: 12px !important;
    color: var(--contrast-3) !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 4px !important;
    position: static !important;
}

.hectro-card-price ins,
.hectro-card a span.price ins {
    display: inline-block !important;
    color: var(--brand) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    position: static !important;
}

.hectro-card-price .amount,
.hectro-card a span.price .amount {
    color: inherit !important;
}

.hectro-card-meta {
    margin-top: 2px !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

/* ==========================================================================
   7. Modern Interactive Vector Map & Location Section
   ========================================================================== */
.hectro-map-ux-section,
.hectro-maps-section,
.hectro-benefits-section {
    clear: both !important;
    margin-top: 48px !important;
    margin-bottom: 48px !important;
    position: relative !important;
    z-index: 5 !important;
}

.hectro-map-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: var(--font-sans);
    color: var(--text-body) !important;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.hectro-map-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
}

@media (min-width: 1024px) {
    .hectro-map-grid {
        grid-template-columns: repeat(12, 1fr);
        min-height: 390px;
    }
}

/* Left Column */
.hectro-map-info-col {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid var(--surface-border) !important;
    background: var(--surface) !important;
}

@media (min-width: 640px) {
    .hectro-map-info-col {
        padding: 20px 24px;
    }
}

@media (min-width: 1024px) {
    .hectro-map-info-col {
        grid-column: span 5 / span 5;
        border-bottom: none !important;
        border-right: 1px solid var(--surface-border) !important;
        padding: 22px 28px;
    }
}

.hectro-map-info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Address Box */
.hectro-map-address-box {
    background: var(--btn-toggle-bg) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hectro-map-address-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hectro-map-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hectro-map-heading {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-white) !important;
    margin: 0 !important;
    line-height: 1.35;
}

.hectro-map-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-body);
    font-weight: 500;
    font-size: 11.5px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.hectro-map-copy-btn:hover {
    color: var(--text-white);
    background: var(--btn-toggle-hover);
}

.hectro-icon-copy {
    width: 13px;
    height: 13px;
    color: var(--text-muted);
}

.hectro-map-address-text {
    font-size: 11.5px;
    color: var(--text-body) !important;
    line-height: 1.55;
    margin: 0 !important;
}

.hectro-map-landmark-row {
    padding-top: 8px;
    border-top: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.hectro-map-landmark {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hectro-map-landmark svg {
    width: 13px;
    height: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.hectro-map-area-tag {
    color: var(--text-muted);
    font-size: 11px;
}

/* Schedule */
.hectro-map-schedule-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}

.hectro-map-schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hectro-map-schedule-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--btn-toggle-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    flex-shrink: 0;
    margin-top: 1px;
}

.hectro-map-schedule-icon svg {
    width: 13px;
    height: 13px;
}

.hectro-map-schedule-text {
    font-size: 11.5px;
}

.hectro-map-schedule-title {
    font-weight: 500;
    color: var(--text-white) !important;
    margin: 0 0 2px 0 !important;
}

.hectro-map-schedule-main {
    color: var(--text-body) !important;
    margin: 1px 0 0 0 !important;
}

.hectro-map-schedule-sub {
    color: var(--text-muted) !important;
    margin: 1px 0 0 0 !important;
}

/* Badges */
.hectro-map-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 2px;
}

.hectro-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--btn-toggle-bg);
    border: 1px solid var(--surface-border);
    font-size: 11px;
    color: var(--text-body);
}

.hectro-map-badge svg {
    width: 12px;
    height: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Actions */
.hectro-map-actions {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--surface-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hectro-map-cta-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--brand) !important;
    color: #0b0f19 !important;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hectro-map-cta-primary:hover {
    background: var(--brand-dark) !important;
    color: #0b0f19 !important;
    transform: translateY(-1px);
}

.hectro-map-cta-primary svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.hectro-map-cta-wa {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8.5px 14px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-white) !important;
    font-weight: 600;
    font-size: 12.5px;
    border: 1px solid var(--surface-border);
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.hectro-map-cta-wa:hover {
    background: var(--surface-hover);
    color: var(--brand) !important;
    border-color: var(--surface-border-hover);
    transform: translateY(-1px);
}

.hectro-map-cta-wa svg {
    width: 15px;
    height: 15px;
    color: #22c55e;
}

/* Right Column (Visual Map) */
.hectro-map-visual-col {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

@media (min-width: 1024px) {
    .hectro-map-visual-col {
        grid-column: span 7 / span 7;
        min-height: 390px;
    }
}

.hectro-map-open-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.hectro-map-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--surface);
    color: var(--text-white) !important;
    border: 1px solid var(--surface-border);
    font-size: 11.5px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.hectro-map-open-btn:hover {
    background: var(--brand);
    color: #0b0f19 !important;
    border-color: var(--brand);
    transform: translateY(-1px);
}

.hectro-map-open-btn svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

.hectro-map-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hectro-vector-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50%;
}

/* Dark theme specific overrides for the SVG vector map */
html[data-theme="dark"] .hectro-vector-map-svg rect,
html.dark .hectro-vector-map-svg rect,
html:not([data-theme="light"]) .hectro-vector-map-svg rect {
    fill: #1a1d24 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[fill="#E2EEDC"],
html.dark .hectro-vector-map-svg path[fill="#E2EEDC"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[fill="#E2EEDC"] {
    fill: #1c2e22 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[fill="#E8EFE3"],
html.dark .hectro-vector-map-svg path[fill="#E8EFE3"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[fill="#E8EFE3"] {
    fill: #18261c !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[stroke="#D1E3F5"],
html.dark .hectro-vector-map-svg path[stroke="#D1E3F5"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[stroke="#D1E3F5"] {
    stroke: #233446 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg g[stroke="#FFFFFF"],
html.dark .hectro-vector-map-svg g[stroke="#FFFFFF"],
html:not([data-theme="light"]) .hectro-vector-map-svg g[stroke="#FFFFFF"] {
    stroke: #2d3340 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[stroke="#E2E8F0"],
html.dark .hectro-vector-map-svg path[stroke="#E2E8F0"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[stroke="#E2E8F0"] {
    stroke: #2d3340 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[stroke="#FFFFFF"],
html.dark .hectro-vector-map-svg path[stroke="#FFFFFF"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[stroke="#FFFFFF"] {
    stroke: #3b4455 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg path[stroke="#FFE7BA"],
html.dark .hectro-vector-map-svg path[stroke="#FFE7BA"],
html:not([data-theme="light"]) .hectro-vector-map-svg path[stroke="#FFE7BA"] {
    stroke: #3a2e1e !important;
}

html[data-theme="dark"] .hectro-vector-map-svg text,
html.dark .hectro-vector-map-svg text,
html:not([data-theme="light"]) .hectro-vector-map-svg text {
    fill: #94a3b8 !important;
}

html[data-theme="dark"] .hectro-vector-map-svg text[fill="#334155"],
html.dark .hectro-vector-map-svg text[fill="#334155"],
html:not([data-theme="light"]) .hectro-vector-map-svg text[fill="#334155"] {
    fill: #cbd5e1 !important;
}

/* Real Pin Marker */
.hectro-map-pin-container {
    position: absolute;
    top: 48%;
    left: 49%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    text-decoration: none !important;
}

.hectro-map-pin-container:focus,
.hectro-map-pin-container:active {
    outline: none;
    text-decoration: none !important;
}

.hectro-map-pin-tooltip {
    margin-bottom: 6px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.hectro-map-pin-container:hover .hectro-map-pin-tooltip {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    border-color: rgba(225, 29, 72, 0.4);
}

.hectro-map-pin-container:hover .hectro-map-pin-link {
    color: #e11d48;
}

.hectro-map-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.hectro-map-pin-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-white) !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.hectro-map-pin-subtitle {
    font-size: 10px;
    color: var(--text-muted) !important;
    font-weight: 400;
    margin: 0 !important;
    text-decoration: none !important;
}

.hectro-map-pin-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.hectro-map-pin-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* Bouncing Pin Animation */
@keyframes hectroMarkerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes hectroMarkerShadow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }
    50% {
        transform: scale(0.6);
        opacity: 0.12;
    }
}

.hectro-map-drop-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hectroMarkerBounce 1.4s ease-in-out infinite;
}

.hectro-marker-icon {
    width: 36px;
    height: 36px;
    color: #e11d48;
    filter: drop-shadow(0 2px 5px rgba(225, 29, 72, 0.4));
    transition: transform 0.15s ease;
}

.hectro-marker-inner-dot {
    position: absolute;
    top: 7.5px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
}

.hectro-marker-shadow {
    width: 12px;
    height: 4px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    margin-top: 2px;
    animation: hectroMarkerShadow 1.4s ease-in-out infinite;
}

/* Floating Controls */
.hectro-map-floating-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hectro-map-zoom-group {
    display: flex;
    flex-direction: column;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.hectro-map-ctrl-btn {
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-white) !important;
    background: var(--surface) !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
}

.hectro-map-ctrl-btn:hover {
    background: var(--surface-hover) !important;
    color: #fbbf24 !important;
}

.hectro-map-ctrl-btn:active {
    transform: scale(0.92);
}

.hectro-ctrl-top {
    border-bottom: 1px solid var(--surface-border) !important;
}

.hectro-ctrl-single {
    border-radius: 8px !important;
    border: 1px solid var(--surface-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hectro-map-ctrl-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    fill: none !important;
    flex-shrink: 0;
}

.hectro-map-attribution {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    user-select: none;
    pointer-events: none;
}

/* Footer Bar */
.hectro-map-footer {
    background: var(--surface);
    padding: 10px 20px;
    border-top: 1px solid var(--surface-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11.5px;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .hectro-map-footer {
        padding: 10px 28px;
    }
}

.hectro-map-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    user-select: none;
}

.hectro-map-footer-action {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hectro-map-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-white);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hectro-map-share-btn:hover {
    color: #fbbf24;
    background: var(--surface-hover);
    border-color: rgba(251, 191, 36, 0.4);
}

.hectro-map-share-btn:active {
    transform: scale(0.96);
}

.hectro-map-share-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.hectro-map-share-btn.hectro-share-copied {
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
    background: rgba(34, 197, 94, 0.1) !important;
}

.hectro-text-success {
    color: #22c55e !important;
    font-weight: 600;
}

/* Benefits Grid (if fallback used) */
.hectro-benefits-grid {
    display: grid;
    gap: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    padding: 24px;
}

@media (min-width: 640px) {
    .hectro-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 32px;
    }
}

.hectro-benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.hectro-benefit-icon {
    display: flex;
    height: 44px;
    width: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(222, 210, 38, 0.1);
    color: var(--brand);
}

.hectro-benefit-icon svg {
    height: 24px;
    width: 24px;
}

.hectro-benefit-text h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 4px 0 !important;
}

.hectro-benefit-text p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   8. Single Product Page Details
   ========================================================================== */
.hectro-single-product {
    padding: 24px 0 60px 0;
}

.hectro-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
}

.hectro-bc-sep {
    color: var(--contrast-3);
}

.hectro-bc-current {
    color: var(--text-white);
    font-weight: 500;
}

.hectro-product-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .hectro-product-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.hectro-product-gallery-col {
    position: relative;
}

.hectro-product-gallery-col .woocommerce-product-gallery,
.hectro-product-gallery,
.hectro-fallback-gallery {
    position: relative !important;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    overflow: hidden;
    padding: 12px;
}

/* Gallery Viewport */
.hectro-gallery-viewport {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-img-bg);
}

/* Gallery Slider & Slides */
.hectro-gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 320px;
    background: var(--card-img-bg);
}

.hectro-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: scale(0.97);
    pointer-events: none;
    z-index: 1;
}

.hectro-gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.hectro-gallery-main-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.hectro-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 520px;
    display: block;
    transition: transform 0.3s ease;
}

.hectro-gallery-main-link:hover .hectro-gallery-main-img {
    transform: scale(1.02);
}

/* Overlay Navigation Arrows (Atas Photo Product) */
.hectro-gallery-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text-white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.hectro-gallery-arrow svg {
    display: block;
    transition: transform 0.2s ease;
}

.hectro-gallery-prev {
    left: 14px !important;
}

.hectro-gallery-next {
    right: 14px !important;
}

.hectro-gallery-arrow:hover {
    background: var(--brand) !important;
    color: #141414 !important;
    border-color: var(--brand) !important;
    transform: translateY(-50%) scale(1.12) !important;
    box-shadow: 0 6px 20px rgba(222, 210, 38, 0.4) !important;
}

.hectro-gallery-arrow:active {
    transform: translateY(-50%) scale(0.94) !important;
}

.hectro-gallery-prev:hover svg {
    transform: translateX(-2px);
}

.hectro-gallery-next:hover svg {
    transform: translateX(2px);
}

/* Image Counter Badge */
.hectro-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 20;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hectro-gallery-counter .hectro-gallery-current {
    color: var(--brand);
}

/* Thumbnail Navigation Strip */
.hectro-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 2px 6px 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-border) transparent;
}

.hectro-gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.hectro-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--surface-border);
    border-radius: 4px;
}

.hectro-gallery-thumb-btn {
    flex: 0 0 68px;
    height: 68px;
    border-radius: 8px;
    border: 2px solid var(--surface-border);
    background: var(--card-img-bg);
    overflow: hidden;
    padding: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hectro-gallery-thumb-btn:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.hectro-gallery-thumb-btn.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand), 0 4px 12px rgba(222, 210, 38, 0.3);
}

.hectro-gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

/* Discount Onsale Badge */
.hectro-product-gallery-col > .onsale {
    display: none !important;
}

.onsale,
.woocommerce span.onsale,
.woocommerce-page span.onsale,
.hectro-gallery-viewport .onsale,
.hectro-fallback-gallery .onsale {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 25 !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    min-height: auto !important;
    min-width: auto !important;
    margin: 0 !important;
}

.hectro-single-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 6px 0;
}

.hectro-single-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin: 0 0 12px 0 !important;
}

@media (min-width: 640px) {
    .hectro-single-title {
        font-size: 32px !important;
    }
}

.hectro-single-rating-views {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hectro-rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.hectro-sales-badge {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--btn-toggle-bg);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.hectro-single-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand) !important;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .hectro-single-price {
        font-size: 28px;
    }
}

.hectro-single-stock {
    margin-bottom: 16px;
    font-size: 13px;
}

.hectro-single-stock .in-stock {
    color: #22c55e;
}

.hectro-single-stock .out-stock {
    color: #ef4444;
}

.hectro-single-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 24px;
}

/* --- Single Product Add To Cart & Actions --- */
.hectro-single-add-to-cart {
    margin-bottom: 12px;
}

.hectro-single-add-to-cart form.cart,
.hectro-single-add-to-cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-items: stretch !important;
    margin: 0 0 12px 0 !important;
    width: 100% !important;
}

/* Quantity Stepper (+ and - buttons) */
.woocommerce .quantity.buttons-added,
.hectro-single-add-to-cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    flex: 0 0 126px !important;
    width: 126px !important;
    height: 52px !important;
    background: var(--surface) !important;
    border: 1.5px solid var(--surface-border) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.woocommerce .quantity.buttons-added button.minus,
.woocommerce .quantity.buttons-added button.plus,
.hectro-single-add-to-cart .quantity button.minus,
.hectro-single-add-to-cart .quantity button.plus {
    width: 38px !important;
    height: 100% !important;
    min-height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
    border-radius: 0 !important;
}

.woocommerce .quantity.buttons-added button.minus:hover,
.woocommerce .quantity.buttons-added button.plus:hover,
.hectro-single-add-to-cart .quantity button.minus:hover,
.hectro-single-add-to-cart .quantity button.plus:hover {
    background: var(--btn-toggle-hover) !important;
    color: var(--brand) !important;
}

.woocommerce .quantity.buttons-added button.minus:active,
.woocommerce .quantity.buttons-added button.plus:active,
.hectro-single-add-to-cart .quantity button.minus:active,
.hectro-single-add-to-cart .quantity button.plus:active {
    background: var(--btn-toggle-bg) !important;
}

.woocommerce .quantity.buttons-added button.minus:disabled,
.woocommerce .quantity.buttons-added button.plus:disabled,
.woocommerce .quantity.buttons-added button.minus[disabled],
.woocommerce .quantity.buttons-added button.plus[disabled] {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    color: var(--text-muted) !important;
}

.woocommerce .quantity.buttons-added input.qty,
.hectro-single-add-to-cart .quantity input.qty {
    flex: 1 !important;
    width: 48px !important;
    min-width: 0 !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--surface-border) !important;
    border-right: 1px solid var(--surface-border) !important;
    color: var(--text-white) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    box-shadow: none !important;
}

.woocommerce .quantity.buttons-added input.qty::-webkit-outer-spin-button,
.woocommerce .quantity.buttons-added input.qty::-webkit-inner-spin-button,
.hectro-single-add-to-cart .quantity input.qty::-webkit-outer-spin-button,
.hectro-single-add-to-cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ==========================================================================
   Cart Page Specific Quantity Stepper & Layout (Desktop + Mobile)
   ========================================================================== */
.woocommerce-cart table.cart .quantity,
.woocommerce-cart table.cart .quantity.buttons-added,
.woocommerce-cart-form__cart-item .quantity,
.woocommerce table.cart td.product-quantity .quantity,
.wc-block-components-quantity-selector,
.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: stretch !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 110px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.woocommerce-cart table.cart .quantity button.minus,
.woocommerce-cart table.cart .quantity button.plus,
.woocommerce-cart-form__cart-item .quantity button.minus,
.woocommerce-cart-form__cart-item .quantity button.plus,
.wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 100% !important;
    min-height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.woocommerce-cart table.cart .quantity button.minus:hover:not(:disabled),
.woocommerce-cart table.cart .quantity button.plus:hover:not(:disabled),
.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: var(--btn-toggle-hover) !important;
    color: var(--brand) !important;
}

.woocommerce-cart table.cart .quantity button.minus:disabled,
.woocommerce-cart table.cart .quantity button.plus:disabled,
.woocommerce-cart table.cart .quantity button.minus[disabled],
.woocommerce-cart table.cart .quantity button.plus[disabled],
.wc-block-components-quantity-selector__button:disabled,
.wc-block-components-quantity-selector__button[disabled] {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    color: var(--text-muted) !important;
}

.woocommerce-cart table.cart .quantity input.qty,
.woocommerce-cart-form__cart-item .quantity input.qty,
.woocommerce-cart table.cart td.product-quantity input.qty,
.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    flex: 1 !important;
    width: 40px !important;
    min-width: 0 !important;
    max-width: 44px !important;
    height: 100% !important;
    min-height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--surface-border) !important;
    border-right: 1px solid var(--surface-border) !important;
    color: var(--text-white) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    box-shadow: none !important;
}

.woocommerce-cart table.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart table.cart .quantity input.qty::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ==========================================================================
   Coupon Form & Buttons
   ========================================================================== */
/* ==========================================================================
   Coupon Form & Buttons
   ========================================================================== */
.wc-block-components-totals-coupon,
.wc-block-components-totals-coupon-form,
.woocommerce-cart .coupon,
.woocommerce-checkout .checkout_coupon {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

.wc-block-components-totals-coupon__button-toggle,
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button-toggle {
    font-size: 12.5px !important;
    color: var(--text-muted) !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 500 !important;
}

.wc-block-components-totals-coupon__button-toggle:hover {
    color: var(--brand) !important;
}

.wc-block-components-totals-coupon-form {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    margin-top: 6px !important;
}

/* Coupon Input Wrapper & Floating Label */
.wc-block-components-totals-coupon__input,
.wc-block-components-text-input,
.wc-block-components-totals-coupon-form .wc-block-components-text-input {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.wc-block-components-totals-coupon__input label,
.wc-block-components-text-input label,
.wc-block-components-totals-coupon-form label {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 2 !important;
}

/* Hide label completely when user focuses, types, or input is active */
.wc-block-components-totals-coupon__input.is-active label,
.wc-block-components-totals-coupon__input:focus-within label,
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label,
.wc-block-components-totals-coupon-form:focus-within label,
.wc-block-components-totals-coupon__input input:focus ~ label,
.wc-block-components-totals-coupon__input input:not(:placeholder-shown) ~ label,
.wc-block-components-text-input input:focus ~ label,
.wc-block-components-text-input input:not(:placeholder-shown) ~ label {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Coupon Input Field */
.wc-block-components-totals-coupon__input input,
.wc-block-components-text-input__input,
.wc-block-components-totals-coupon-form input[type="text"],
.woocommerce-cart td.actions .coupon input[type="text"],
.woocommerce-cart .coupon input.input-text,
.woocommerce-form-coupon input[type="text"],
form.checkout_coupon input[type="text"] {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    background: var(--input-bg) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-sm, 6px) !important;
    color: var(--text-white) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    width: 100% !important;
}

.wc-block-components-totals-coupon__input input::placeholder,
.wc-block-components-text-input__input::placeholder,
.woocommerce-cart .coupon input::placeholder,
.woocommerce-form-coupon input::placeholder,
form.checkout_coupon input::placeholder {
    font-size: 12px !important;
    color: var(--input-placeholder) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.wc-block-components-totals-coupon__input input:focus::placeholder,
.woocommerce-cart .coupon input:focus::placeholder {
    opacity: 0 !important;
}

.wc-block-components-totals-coupon__input input:focus,
.wc-block-components-text-input__input:focus,
.woocommerce-cart .coupon input.input-text:focus {
    border-color: var(--brand) !important;
    outline: none !important;
    background: var(--input-bg-focus) !important;
}

/* Coupon Apply Button */
.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon-form button,
.woocommerce-cart td.actions .coupon button.button,
.woocommerce-cart .coupon button.button,
.woocommerce-form-coupon button.button,
form.checkout_coupon button.button {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm, 6px) !important;
    border: 1px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    background: var(--brand) !important;
    color: #0b0f19 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Disabled State (When no coupon code is entered) */
.wc-block-components-totals-coupon__button:disabled,
.wc-block-components-totals-coupon__button[disabled],
.wc-block-components-totals-coupon-form button:disabled,
.wc-block-components-totals-coupon-form button[disabled],
.woocommerce-cart .coupon button.button:disabled,
.woocommerce-cart .coupon button.button[disabled] {
    background: var(--btn-toggle-bg) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--surface-border) !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* Active / Hover State */
.wc-block-components-totals-coupon__button:hover:not(:disabled),
.woocommerce-cart td.actions .coupon button.button:hover:not(:disabled),
.woocommerce-cart .coupon button.button:hover:not(:disabled) {
    background: var(--brand-dark) !important;
    color: #0b0f19 !important;
    transform: translateY(-1px);
}

/* Cart Proceed to Checkout Button */
.wc-block-cart__submit-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--brand) !important;
    color: #0b0f19 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 11px 18px !important;
    border-radius: var(--radius-sm, 8px) !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(222, 210, 38, 0.2) !important;
    margin-top: 10px !important;
}

.wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(222, 210, 38, 0.35) !important;
}

/* Cart Trust Note under Checkout Button */
.hectro-cart-trust-wrap {
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

.hectro-cart-trust-wrap .hectro-trust-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 12px !important;
    color: var(--text-muted, #9ca3af) !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.hectro-cart-trust-wrap .hectro-trust-item svg {
    flex-shrink: 0 !important;
    color: #fbbf24 !important;
}

html[data-theme="light"] .hectro-cart-trust-wrap .hectro-trust-item,
html.light .hectro-cart-trust-wrap .hectro-trust-item {
    color: #64748b !important;
}

/* ==========================================================================
   Cart Page - Gutenberg Blocks & Classic Responsive Enhancements
   ========================================================================== */
.wp-block-woocommerce-cart,
.wc-block-cart {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.wc-block-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
}

.wc-block-cart__main {
    flex: 1 1 58% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-cart__sidebar {
    flex: 0 0 38% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Remove empty blocks, shipping block, coupon form block, and empty wrappers on Cart page */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.woocommerce-cart .wc-block-components-totals-shipping,
.woocommerce-cart .wc-block-components-shipping-rates-control,
.woocommerce-cart .wc-block-components-totals-coupon,
.woocommerce-cart .wc-block-components-totals-coupon-form,
.woocommerce-cart .coupon,
.woocommerce-cart .woocommerce-shipping-totals,
.woocommerce-cart tr.shipping,
.woocommerce-cart .shipping,
.woocommerce-cart .hectro-cart-shipping-notice,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wc-block-cart .wc-block-components-totals-shipping,
.wc-block-cart .wc-block-components-shipping-rates-control,
.wc-block-cart .wc-block-components-totals-coupon,
.wc-block-cart .wc-block-components-totals-coupon-form,
.wc-block-cart .hectro-cart-shipping-notice {
    display: none !important;
}

/* Remove borders and backgrounds from individual sub-blocks to prevent empty boxes/borders */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Single Unified Clean Order Summary Card */
.wc-block-cart__sidebar,
.woocommerce-cart .cart_totals {
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-md, 10px) !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
}

.wc-block-components-totals-item,
.wc-block-components-totals-footer-item,
.woocommerce-cart .order-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 2px 0 12px 0 !important;
    border: none !important;
    color: var(--text-body) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-cart .order-total th {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--text-white) !important;
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-cart .order-total td {
    font-weight: 800 !important;
    color: var(--brand) !important;
    font-size: 17px !important;
}

.hectro-single-add-to-cart .single_add_to_cart_button {
    flex: 1 !important;
    width: auto !important;
    background: var(--brand) !important;
    color: #0b0f19 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 4px 14px rgba(222, 210, 38, 0.25) !important;
    transition: all 0.2s ease !important;
}

.hectro-single-add-to-cart .single_add_to_cart_button svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hectro-single-add-to-cart .single_add_to_cart_button:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(222, 210, 38, 0.35) !important;
}

.hectro-single-add-to-cart .single_add_to_cart_button:hover svg {
    transform: scale(1.1);
}

.hectro-single-add-to-cart .single_add_to_cart_button:active {
    transform: translateY(0) !important;
}

.hectro-btn-wa-order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 52px !important;
    background: #22c55e !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 20px !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25) !important;
    transition: all 0.2s ease !important;
}

.hectro-btn-wa-order svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hectro-btn-wa-order:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35) !important;
}

.hectro-btn-wa-order:hover svg {
    transform: scale(1.1);
}

.hectro-btn-wa-order:active {
    transform: translateY(0) !important;
}

.hectro-marketplace-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--surface-border);
}

.hectro-marketplace-box h5 {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin: 0 0 10px 0 !important;
}

.hectro-marketplace-box ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hectro-single-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(222, 210, 38, 0.08);
    border: 1px solid rgba(222, 210, 38, 0.25);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    margin-top: 20px;
    box-sizing: border-box;
}

.hectro-single-guarantee svg {
    color: var(--brand);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.hectro-single-shipping-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: var(--radius-md);
    color: var(--text-white, #f8fafc);
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    box-sizing: border-box;
}

.hectro-single-shipping-note svg {
    color: #38bdf8;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

html[data-theme="light"] .hectro-single-guarantee,
html.light .hectro-single-guarantee {
    background: rgba(222, 210, 38, 0.12);
    border-color: rgba(222, 210, 38, 0.35);
    color: #1e293b;
}

html[data-theme="light"] .hectro-single-shipping-note,
html.light .hectro-single-shipping-note {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}

html[data-theme="light"] .hectro-single-shipping-note svg,
html.light .hectro-single-shipping-note svg {
    color: #0284c7;
}

.hectro-product-details-wrap {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .hectro-product-details-wrap {
        padding: 32px;
    }
}

.hectro-details-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 16px 0 !important;
}

.hectro-details-content {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-body);
    white-space: pre-line;
}

/* ==========================================================================
   8.5. WooCommerce Notices & Messages (e.g. Added to Cart Banner)
   ========================================================================== */
.woocommerce-notices-wrapper {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-left: 3px solid var(--brand) !important;
    color: var(--text-body) !important;
    padding: 10px 14px !important;
    border-radius: var(--radius-sm) !important;
    margin: 10px auto 18px auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-error {
    border-left-color: #ef4444 !important;
}

.woocommerce-message::before,
.woocommerce-message::after,
.woocommerce-info::before,
.woocommerce-info::after,
.woocommerce-error::before,
.woocommerce-error::after,
.hectro-notice-wrap::before,
.hectro-notice-wrap::after,
.hectro-notice-text::before,
.hectro-notice-text::after {
    display: none !important;
    content: "" !important;
}

.hectro-notice-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
}

.hectro-notice-text {
    display: inline-flex;
    align-items: center;
    color: var(--text-body) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.hectro-notice-text strong,
.hectro-notice-text b {
    color: var(--text-white) !important;
    font-weight: 600 !important;
}

.woocommerce-message a.button.wc-forward,
.hectro-btn-view-cart {
    background: var(--brand) !important;
    color: #0b0f19 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
    border: none !important;
    margin: 0 !important;
    float: none !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 6px rgba(222, 210, 38, 0.2) !important;
}

.woocommerce-message a.button.wc-forward:hover,
.hectro-btn-view-cart:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(222, 210, 38, 0.35) !important;
}

/* ==========================================================================
   9. Footer Styling
   ========================================================================== */
.hectro-footer {
    margin-top: 64px;
    border-top: 1px solid var(--surface-border);
    background: var(--footer-bg);
    color: var(--text-body);
}

.hectro-footer-grid {
    max-width: 1152px;
    margin: 0 auto;
    padding: 40px 16px;
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .hectro-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hectro-footer-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.hectro-footer-heading {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-white) !important;
    margin: 0 0 12px 0 !important;
}

.hectro-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hectro-footer-menu li a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.hectro-footer-menu li a:hover {
    color: var(--brand);
}

.hectro-btn-whatsapp {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    background: #22c55e;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.2s;
}

.hectro-btn-whatsapp:hover {
    background: #16a34a;
}

.hectro-working-hours {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.hectro-footer-copyright {
    border-top: 1px solid var(--surface-border);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   10. Cart, Checkout, Tables & WooCommerce Overrides
   ========================================================================== */
.woocommerce table.shop_table,
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-body) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: var(--surface-border) !important;
    color: var(--text-body) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td.product-name a,
.woocommerce-cart table.cart td.product-name a {
    color: var(--text-white) !important;
}

.cart_totals,
.cart_totals h2,
.woocommerce-checkout h3,
#order_review_heading {
    color: var(--text-white) !important;
}

.cart_totals table {
    background: var(--surface) !important;
    border-color: var(--surface-border) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.wc-block-components-text-input input {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text-white) !important;
    border-radius: var(--radius-sm) !important;
}

.woocommerce form .form-row label,
.woocommerce-form__label {
    color: var(--text-body) !important;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 30px 0 0 0;
    margin: 0;
}

.woocommerce-pagination ul li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.woocommerce-pagination ul li .page-numbers.current,
.woocommerce-pagination ul li .page-numbers:hover {
    background: var(--brand);
    color: #0b0f19;
    border-color: var(--brand);
}

/* Disable old Yanmoo overlapping rules */
.site-header:not(.hectro-header-sticky),
.site-footer:not(.hectro-footer),
.sidebar,
#right-sidebar,
#left-sidebar,
.top_nav,
.top-bar,
.woocommerce-products-header {
    display: none !important;
}

/* ==========================================================================
   11. Blog & Article Styles (Adaptive Dark & Light Theme)
   ========================================================================== */
.hectro-blog-page {
    padding: 32px 0 60px 0;
}

.hectro-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .hectro-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .hectro-blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.hectro-blog-card,
.hectro-blog-grid > article {
    width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

.hectro-blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--surface-border-hover);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.2);
}

.hectro-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hectro-blog-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--card-img-bg);
}

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

.hectro-blog-card:hover .hectro-blog-img {
    transform: scale(1.05);
}

.hectro-blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--card-img-bg);
}

.hectro-blog-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand);
    color: #0b0f19;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.hectro-blog-cat-badge-static {
    display: inline-block;
    background: var(--brand);
    color: #0b0f19;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-bottom: 12px;
}

.hectro-blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hectro-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.hectro-blog-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease;
}

.hectro-blog-card:hover .hectro-blog-title {
    color: var(--brand) !important;
}

.hectro-blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    flex: 1;
}

.hectro-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    margin-top: auto;
    transition: gap 0.2s ease;
}

.hectro-blog-card:hover .hectro-blog-readmore {
    gap: 10px;
}

/* Single Blog Post Layout */
.hectro-single-post-page {
    padding: 32px 0 60px 0;
}

.hectro-single-post-container {
    max-width: 800px;
}

.hectro-post-header {
    margin-bottom: 24px;
}

.hectro-single-post-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    line-height: 1.3 !important;
    margin: 8px 0 16px 0 !important;
}

@media (min-width: 640px) {
    .hectro-single-post-title {
        font-size: 36px !important;
    }
}

.hectro-post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--surface-border);
    font-size: 13px;
    color: var(--text-muted);
}

.hectro-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hectro-single-post-featured-img {
    margin: 24px 0 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    background: var(--surface);
}

.hectro-single-post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Prose content styling for articles */
.hectro-prose {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.hectro-prose p {
    margin-bottom: 20px;
}

.hectro-prose h2,
.hectro-prose h3,
.hectro-prose h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
}

.hectro-prose h2 {
    font-size: 24px;
}

.hectro-prose h3 {
    font-size: 20px;
}

.hectro-prose ul,
.hectro-prose ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.hectro-prose li {
    margin-bottom: 8px;
}

.hectro-prose blockquote {
    border-left: 3px solid var(--brand);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-body);
}

.hectro-prose a {
    color: var(--brand);
    text-decoration: underline;
}

.hectro-prose a:hover {
    color: var(--text-white);
}

.hectro-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.hectro-post-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-border);
}

.hectro-tag-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.hectro-tag-pill {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hectro-tag-pill:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.hectro-post-footer-nav {
    margin-top: 32px;
}

/* Fallback Gallery for Single Product (when no WooCommerce thumbnail) */
.hectro-fallback-gallery {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hectro-fallback-gallery-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--card-img-bg);
    border-radius: var(--radius-md);
}

.hectro-fallback-gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   11. Custom Modern WhatsApp Checkout UI (Unified & Streamlined)
   ========================================================================== */
.hectro-checkout-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.hectro-checkout-header {
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.hectro-checkout-title-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 6px;
}

.hectro-checkout-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hectro-title-bar {
    width: 44px;
    height: 3px;
    background: var(--brand, #ded226);
    border-radius: var(--radius-full, 9999px);
    margin-top: 6px;
}

.hectro-checkout-subtitle {
    font-size: 13.5px;
    color: var(--text-muted, #9ca3af);
    margin: 0;
    line-height: 1.5;
}

/* Two-column layout (Mobile-First) */
.hectro-checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .hectro-checkout-grid {
        grid-template-columns: 1.45fr 1fr;
        gap: 28px;
    }
}

.hectro-checkout-form-col,
.hectro-checkout-summary-col {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Checkout Cards */
.hectro-checkout-card {
    background: var(--surface, #1e1e1e);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 12px);
    padding: 20px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.hectro-unified-card {
    padding: 20px 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Compact Header */
.hectro-card-head-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    width: 100%;
    box-sizing: border-box;
}

.hectro-head-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--brand, #ded226);
    color: #141414;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--brand-glow, rgba(222, 210, 38, 0.25));
}

.hectro-card-title-compact {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white, #ffffff);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Compact Form Body */
.hectro-form-body-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile-First: 1 Column on Mobile, 2 Columns on Screens >= 600px */
.hectro-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .hectro-grid-2col {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* Form Groups & Labels */
.hectro-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hectro-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-white, #ffffff);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
}

.hectro-req {
    color: #ef4444;
    font-weight: 700;
}

.hectro-opt-tag {
    font-size: 11px;
    color: var(--text-muted, #9ca3af);
    font-weight: 400;
}

/* Fail-Proof Reset for Inputs, Textareas, and Selects inside .hectro-input-group */
.hectro-checkout-container .hectro-input-group,
.hectro-input-group {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    background: var(--input-bg, #1e1e1e) !important;
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hectro-checkout-container .hectro-input-group:focus-within,
.hectro-input-group:focus-within {
    border-color: var(--brand, #ded226) !important;
    box-shadow: 0 0 0 3px var(--brand-glow, rgba(222, 210, 38, 0.2)) !important;
    background: var(--input-bg-focus, #202020) !important;
}

.hectro-checkout-container .hectro-input-group.is-invalid,
.hectro-input-group.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

.hectro-checkout-container .hectro-input-icon,
.hectro-input-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 42px !important;
    color: var(--text-muted, #8e8e93) !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    transition: color 0.2s ease !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hectro-checkout-container .hectro-input-group:focus-within .hectro-input-icon,
.hectro-input-group:focus-within .hectro-input-icon {
    color: var(--brand, #ded226) !important;
}

.hectro-checkout-container .hectro-input-group.textarea-group,
.hectro-input-group.textarea-group {
    align-items: flex-start !important;
}

.hectro-checkout-container .hectro-input-group.textarea-group .hectro-input-icon,
.hectro-input-group.textarea-group .hectro-input-icon {
    height: 38px !important;
    padding-top: 10px !important;
}

/* Control Elements (Input, Textarea, Select) — Complete Theme / WordPress Reset */
.hectro-checkout-container .hectro-input-group input,
.hectro-checkout-container .hectro-input-group input[type="text"],
.hectro-checkout-container .hectro-input-group input[type="tel"],
.hectro-checkout-container .hectro-input-group textarea,
.hectro-checkout-container .hectro-input-group select,
.hectro-checkout-container .hectro-control,
.hectro-input-group .hectro-control {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    line-height: normal !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 14px 0 6px !important;
    color: var(--input-text, #ffffff) !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.hectro-checkout-container .hectro-input-group input:focus,
.hectro-checkout-container .hectro-input-group input[type="text"]:focus,
.hectro-checkout-container .hectro-input-group input[type="tel"]:focus,
.hectro-checkout-container .hectro-input-group textarea:focus,
.hectro-checkout-container .hectro-input-group select:focus,
.hectro-checkout-container .hectro-control:focus,
.hectro-input-group .hectro-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Placeholder cross-browser */
.hectro-control::placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.38)) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.hectro-control::-webkit-input-placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.38)) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.hectro-control:-moz-placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.38)) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.hectro-control::-moz-placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.38)) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.hectro-control:-ms-input-placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.38)) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Textarea Compact Specific */
.hectro-checkout-container .hectro-input-group textarea,
.hectro-checkout-container .hectro-control.hectro-textarea-compact,
.hectro-control.hectro-textarea-compact {
    height: auto !important;
    min-height: 56px !important;
    line-height: 1.45 !important;
    padding: 10px 14px 10px 6px !important;
    resize: vertical !important;
    background: transparent !important;
    border: none !important;
}

/* Select Specific */
.hectro-checkout-container .hectro-input-group select,
.hectro-checkout-container .hectro-control.hectro-select,
.hectro-control.hectro-select {
    padding-left: 8px !important;
    padding-right: 36px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    background: transparent !important;
    border: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.hectro-control.hectro-select option {
    background: var(--surface, #1e1e1e) !important;
    color: var(--input-text, #ffffff) !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
}

html[data-theme="light"] .hectro-control.hectro-select option,
html.light .hectro-control.hectro-select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

.hectro-checkout-container .hectro-select-arrow-box,
.hectro-select-arrow-box {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #8e8e93);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hectro-checkout-container .hectro-input-group.select-group:focus-within .hectro-select-arrow-box,
.hectro-input-group.select-group:focus-within .hectro-select-arrow-box {
    color: var(--brand, #ded226);
    transform: translateY(-50%) rotate(180deg);
}

.hectro-error-msg {
    display: none;
    font-size: 11px;
    color: #ef4444;
    margin-top: 1px;
    font-weight: 500;
}

/* Explicit Light Mode Theme Overrides for Checkout */
html[data-theme="light"] .hectro-checkout-card,
html.light .hectro-checkout-card,
html[data-theme="light"] .hectro-summary-card,
html.light .hectro-summary-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .hectro-input-group,
html.light .hectro-input-group {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] .hectro-input-group:focus-within,
html.light .hectro-input-group:focus-within {
    background: #ffffff !important;
    border-color: var(--brand, #c9b914) !important;
    box-shadow: 0 0 0 3px rgba(201, 185, 20, 0.18) !important;
}

html[data-theme="light"] .hectro-input-icon,
html.light .hectro-input-icon {
    color: #64748b !important;
}

html[data-theme="light"] .hectro-input-group:focus-within .hectro-input-icon,
html.light .hectro-input-group:focus-within .hectro-input-icon {
    color: var(--brand, #c9b914) !important;
}

html[data-theme="light"] .hectro-control,
html.light .hectro-control,
html[data-theme="light"] .hectro-input-group input,
html.light .hectro-input-group input,
html[data-theme="light"] .hectro-input-group textarea,
html.light .hectro-input-group textarea,
html[data-theme="light"] .hectro-input-group select,
html.light .hectro-input-group select {
    color: #0f172a !important;
}

html[data-theme="light"] .hectro-control::placeholder,
html.light .hectro-control::placeholder {
    color: #94a3b8 !important;
}

/* Override browser autofill background (Chrome blue) for all themes */
.hectro-checkout-container input:-webkit-autofill,
.hectro-checkout-container input:-webkit-autofill:hover,
.hectro-checkout-container input:-webkit-autofill:focus,
.hectro-checkout-container input:-webkit-autofill:active,
.hectro-checkout-container textarea:-webkit-autofill,
.hectro-checkout-container select:-webkit-autofill,
.hectro-input-group input:-webkit-autofill,
.hectro-input-group input:-webkit-autofill:hover,
.hectro-input-group input:-webkit-autofill:focus,
.hectro-input-group input:-webkit-autofill:active,
.hectro-input-group textarea:-webkit-autofill,
.hectro-input-group select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--surface, #1e1e2e) inset !important;
    -webkit-text-fill-color: var(--text-white, #f1f1f1) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-white, #f1f1f1) !important;
}

html[data-theme="light"] .hectro-checkout-container input:-webkit-autofill,
html[data-theme="light"] .hectro-checkout-container input:-webkit-autofill:hover,
html[data-theme="light"] .hectro-checkout-container input:-webkit-autofill:focus,
html[data-theme="light"] .hectro-checkout-container input:-webkit-autofill:active,
html[data-theme="light"] .hectro-checkout-container textarea:-webkit-autofill,
html[data-theme="light"] .hectro-checkout-container select:-webkit-autofill,
html.light .hectro-checkout-container input:-webkit-autofill,
html.light .hectro-checkout-container input:-webkit-autofill:hover,
html.light .hectro-checkout-container input:-webkit-autofill:focus,
html.light .hectro-checkout-container input:-webkit-autofill:active,
html.light .hectro-checkout-container textarea:-webkit-autofill,
html.light .hectro-checkout-container select:-webkit-autofill,
html[data-theme="light"] .hectro-input-group input:-webkit-autofill,
html[data-theme="light"] .hectro-input-group input:-webkit-autofill:hover,
html[data-theme="light"] .hectro-input-group input:-webkit-autofill:focus,
html[data-theme="light"] .hectro-input-group input:-webkit-autofill:active,
html.light .hectro-input-group input:-webkit-autofill,
html.light .hectro-input-group input:-webkit-autofill:hover,
html.light .hectro-input-group input:-webkit-autofill:focus,
html.light .hectro-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0f172a !important;
}

html[data-theme="light"] .hectro-select-arrow-box,
html.light .hectro-select-arrow-box {
    color: #64748b !important;
}

html[data-theme="light"] .hectro-order-item,
html.light .hectro-order-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] .hectro-trust-badges,
html.light .hectro-trust-badges {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .hectro-trust-item,
html.light .hectro-trust-item {
    color: #475569 !important;
}

/* Order Summary Column */
.hectro-checkout-summary-col {
    position: sticky;
    top: 100px;
}

.hectro-summary-card {
    background: var(--surface, #1e1e1e);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.hectro-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    margin-bottom: 18px;
}

.hectro-summary-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
    margin: 0;
}

.hectro-items-badge {
    background: rgba(222, 210, 38, 0.15);
    color: var(--brand, #ded226);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full, 9999px);
}

/* Order Items List */
.hectro-order-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 20px;
}

.hectro-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--input-bg, #181818);
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    box-sizing: border-box;
    width: 100%;
}

.hectro-item-thumb {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm, 6px);
    overflow: visible;
    flex-shrink: 0;
}

.hectro-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm, 6px);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.1));
}

.hectro-item-qty-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brand, #ded226);
    color: #141414;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1.5px solid var(--surface, #1e1e1e);
    z-index: 2;
}

html[data-theme="light"] .hectro-item-qty-badge,
html.light .hectro-item-qty-badge {
    border-color: #ffffff !important;
}

.hectro-item-info {
    flex: 1;
    min-width: 0;
    padding-right: 6px;
}

.hectro-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white, #ffffff);
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.hectro-item-meta {
    font-size: 11.5px;
    color: var(--text-muted, #9ca3af);
    line-height: 1.2;
}

.hectro-item-total {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand, #ded226);
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

html[data-theme="light"] .hectro-item-total,
html.light .hectro-item-total,
html[data-theme="light"] .hectro-total-value,
html.light .hectro-total-value {
    color: var(--brand-dark, #a89a0c) !important;
}

/* Calculation Rows */
.hectro-calc-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    border-bottom: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    margin-bottom: 20px;
}

.hectro-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.hectro-calc-label {
    color: var(--text-muted, #9ca3af);
}

.hectro-calc-value {
    color: var(--text-white, #ffffff);
    font-weight: 600;
}

.hectro-badge-ongkir {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.hectro-calc-divider {
    height: 1px;
    background: var(--surface-border, rgba(255, 255, 255, 0.08));
    margin: 4px 0;
}

.hectro-total-row {
    font-size: 15px;
}

.hectro-total-label {
    font-weight: 700;
    color: var(--text-white, #ffffff);
}

.hectro-total-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--brand, #ded226);
}

/* Submit Place Order Button */
.hectro-btn-place-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.hectro-btn-place-order:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.hectro-btn-place-order:active {
    transform: translateY(0);
}

.hectro-btn-place-order:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.hectro-btn-wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hectro-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hectroSpin 0.8s linear infinite;
}

@keyframes hectroSpin {
    to { transform: rotate(360deg); }
}

/* Trust Badges & Back link */
.hectro-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm, 6px);
}

.hectro-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--text-muted, #9ca3af);
}

.hectro-cart-back-wrap {
    margin-top: 16px;
    text-align: center;
}

.hectro-cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #9ca3af);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hectro-cart-back-link:hover {
    color: var(--brand, #ded226);
}

/* Empty Cart View */
.hectro-checkout-empty-wrap {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.hectro-checkout-empty-card {
    text-align: center;
    max-width: 480px;
    background: var(--surface, #1e1e1e);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 12px);
    padding: 48px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hectro-empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(222, 210, 38, 0.1);
    color: var(--brand, #ded226);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.hectro-empty-icon-wrap svg {
    width: 36px;
    height: 36px;
}

.hectro-empty-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
    margin: 0 0 10px 0;
}

.hectro-empty-desc {
    font-size: 13.5px;
    color: var(--text-muted, #9ca3af);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.hectro-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

/* Success Modal Overlay */
.hectro-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hectro-modal-card {
    background: var(--surface, #1e1e1e);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-lg, 12px);
    padding: 36px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: hectroModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes hectroModalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.hectro-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.hectro-modal-icon svg {
    width: 36px;
    height: 36px;
}

.hectro-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
    margin: 0 0 8px 0;
}

.hectro-modal-desc {
    font-size: 13.5px;
    color: var(--text-muted, #9ca3af);
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.hectro-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hectro-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
}

.hectro-modal-btn:active {
    transform: scale(0.98);
}

.hectro-modal-actions .hectro-btn-primary.hectro-modal-btn {
    background: var(--brand, #ded226) !important;
    color: #1a1a2e !important;
}

.hectro-modal-actions .hectro-btn-primary.hectro-modal-btn:hover {
    background: var(--brand-hover, #c9be22) !important;
}

.hectro-modal-actions .hectro-btn-secondary.hectro-modal-btn {
    background: var(--surface, rgba(255,255,255,0.06)) !important;
    color: var(--text-white, #f1f1f1) !important;
    border: 1px solid var(--surface-border, rgba(255,255,255,0.1));
}

.hectro-modal-actions .hectro-btn-secondary.hectro-modal-btn:hover {
    background: var(--surface-hover, rgba(255,255,255,0.1)) !important;
    border-color: var(--surface-border-hover, rgba(255,255,255,0.2));
}

/* ==========================================================================
   Responsive UI for Mobile (HP / Smartphone)
   ========================================================================== */
@media (max-width: 768px) {
    body, html {
        overflow-x: clip !important;
    }

    .hectro-header-sticky {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        width: 100% !important;
    }

    .hectro-page-wrap {
        padding: 20px 0 40px 0 !important;
        overflow-x: clip !important;
    }

    .hectro-container {
        padding: 0 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-checkout-container {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-checkout-header {
        margin-bottom: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .hectro-checkout-title {
        font-size: 20px;
    }

    .hectro-checkout-subtitle {
        font-size: 12.5px;
        margin-top: 4px;
    }

    .hectro-checkout-grid {
        gap: 14px;
        width: 100% !important;
    }

    .hectro-checkout-card {
        padding: 14px 12px;
        margin-bottom: 14px;
        border-radius: var(--radius-md, 10px);
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-unified-card {
        padding: 14px 12px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-card-head-compact {
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 9px;
    }

    .hectro-head-badge {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .hectro-card-title-compact {
        font-size: 14px;
    }

    .hectro-form-body-compact {
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .hectro-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 10px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Important: 16px font size prevents iOS Safari from zooming on input focus */
    .hectro-control {
        font-size: 16px !important;
        height: 42px !important;
        padding-right: 10px !important;
    }

    .hectro-input-group {
        border-radius: 7px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-input-icon {
        width: 36px !important;
        min-width: 36px !important;
        height: 42px !important;
    }

    .hectro-control.hectro-textarea-compact {
        height: auto !important;
        min-height: 52px !important;
        font-size: 16px !important;
        padding: 8px 10px 8px 0 !important;
    }

    .hectro-summary-card {
        padding: 16px 14px;
        border-radius: var(--radius-md, 10px);
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-summary-title {
        font-size: 15px;
    }

    .hectro-order-item {
        padding: 10px 12px !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-item-thumb {
        width: 42px !important;
        height: 42px !important;
        overflow: visible !important;
    }

    .hectro-item-name {
        font-size: 12px;
    }

    .hectro-total-value {
        font-size: 17px;
    }

    .hectro-btn-place-order {
        padding: 13px;
        font-size: 14px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hectro-modal-card {
        padding: 24px 16px;
        margin: 10px;
    }

    .hectro-modal-title {
        font-size: 17px;
    }

    .hectro-modal-desc {
        font-size: 12.5px;
    }

    /* Cart Mobile Responsiveness */
    .wp-block-woocommerce-cart,
    .wp-block-woocommerce-cart.alignwide,
    .wp-block-woocommerce-cart.alignfull,
    .wc-block-cart {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .wc-block-cart__main,
    .wc-block-cart__sidebar {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 0 20px 0 !important;
    }

    table.wc-block-cart-items,
    .wc-block-cart-items {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    table.wc-block-cart-items thead,
    .wc-block-cart-items thead {
        display: none !important;
    }

    table.wc-block-cart-items tbody,
    .wc-block-cart-items tbody {
        display: block !important;
        width: 100% !important;
    }

    tr.wc-block-cart-items__row,
    .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 56px 1fr auto !important;
        grid-template-rows: auto auto !important;
        gap: 8px 12px !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid var(--surface-border) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        align-items: start !important;
    }

    td.wc-block-cart-item__image,
    .wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .wc-block-cart-item__image img,
    .wc-block-cart-item__image .wc-block-components-product-image {
        width: 56px !important;
        height: 56px !important;
        object-fit: cover !important;
        border-radius: var(--radius-sm, 6px) !important;
        display: block !important;
    }

    td.wc-block-cart-item__product,
    .wc-block-cart-item__product {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
    }

    .wc-block-cart-item__product .wc-block-components-product-name,
    .wc-block-cart-item__product-name {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        color: var(--text-white) !important;
        margin-bottom: 4px !important;
    }

    .wc-block-cart-item__prices {
        font-size: 12.5px !important;
        color: var(--text-muted) !important;
    }

    .wc-block-cart-item__prices .wc-block-components-product-price {
        font-size: 12.5px !important;
    }

    td.wc-block-cart-item__quantity,
    .wc-block-cart-item__quantity {
        grid-column: 2 / span 2 !important;
        grid-row: 2 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 4px !important;
        box-sizing: border-box !important;
    }

    td.wc-block-cart-item__total,
    .wc-block-cart-item__total {
        grid-column: 3 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: var(--brand) !important;
        box-sizing: border-box !important;
    }

    .wc-block-cart-item__remove-link {
        color: var(--text-muted) !important;
        padding: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: color 0.15s ease !important;
    }

    .wc-block-cart-item__remove-link:hover {
        color: #ef4444 !important;
    }

    .wc-block-cart__sidebar {
        padding: 14px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .wc-block-components-totals-item,
    .wc-block-components-totals-footer-item {
        padding: 2px 0 10px 0 !important;
        font-size: 13.5px !important;
    }
}

@media (max-width: 480px) {
    .hectro-container {
        padding: 0 12px !important;
    }

    .hectro-checkout-title {
        font-size: 19px;
    }

    .hectro-checkout-card {
        padding: 12px 10px;
    }

    .hectro-unified-card {
        padding: 12px 10px;
    }

    tr.wc-block-cart-items__row,
    .wc-block-cart-items__row {
        grid-template-columns: 48px 1fr auto !important;
        gap: 6px 10px !important;
        padding: 12px 0 !important;
    }

    td.wc-block-cart-item__image,
    .wc-block-cart-item__image {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    .wc-block-cart-item__image img,
    .wc-block-cart-item__image .wc-block-components-product-image {
        width: 48px !important;
        height: 48px !important;
    }

    .wc-block-cart-item__product .wc-block-components-product-name,
    .wc-block-cart-item__product-name {
        font-size: 13px !important;
    }
}

