/* ============================================
   SHIKO GAME STORE THEME - MAIN STYLESHEET
   Dark/Light mode via prefers-color-scheme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --shiko-primary: #B7080A;
    --shiko-accent: #E40303;
    --shiko-accent-hover: #ff1a1a;
    --shiko-radius: 8px;
    --shiko-radius-lg: 12px;
    --shiko-radius-xl: 16px;
    --shiko-transition: 0.2s ease;
    --shiko-max-width: 1280px;
    --shiko-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Light mode (default) */
:root {
    --shiko-bg: #FAFAF8;
    --shiko-bg-secondary: #FFFFFF;
    --shiko-bg-tertiary: #F3F3F0;
    --shiko-text: #111111;
    --shiko-text-secondary: #555555;
    --shiko-text-muted: #999999;
    --shiko-border: #E5E5E2;
    --shiko-border-hover: #D0D0CC;
    --shiko-card-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shiko-overlay: rgba(0,0,0,0.5);
    --shiko-badge-bg: #FEE2E2;
    --shiko-badge-text: #991B1B;
    --shiko-sale-bg: #E40303;
    --shiko-sale-text: #fff;
    --shiko-input-bg: #FFFFFF;
    --shiko-success: #d4a017;
    --shiko-header-bg: rgba(255,255,255,0.92);
    --shiko-footer-bg: #111111;
    --shiko-footer-text: #cccccc;
    --shiko-footer-muted: #777777;
}

/* Auto dark mode — only when user hasn't manually toggled */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --shiko-bg: #0B0C10;
        --shiko-bg-secondary: #13151C;
        --shiko-bg-tertiary: #1A1D28;
        --shiko-text: #F0F0F0;
        --shiko-text-secondary: #BBBBBB;
        --shiko-text-muted: #b0b0b0;
        --shiko-border: #1E2130;
        --shiko-border-hover: #2A2D3A;
        --shiko-card-shadow: 0 1px 3px rgba(0,0,0,0.3);
        --shiko-overlay: rgba(0,0,0,0.7);
        --shiko-badge-bg: #3B1111;
        --shiko-badge-text: #FCA5A5;
        --shiko-input-bg: #1A1D28;
        --shiko-success: #f6c453;
        --shiko-header-bg: rgba(11,12,16,0.92);
        --shiko-footer-bg: #070810;
        --shiko-footer-text: #cccccc;
        --shiko-footer-muted: #777777;
    }
}

/* Manual toggle overrides — these ALWAYS win */
[data-theme="dark"] {
    --shiko-bg: #0B0C10;
    --shiko-bg-secondary: #13151C;
    --shiko-bg-tertiary: #1A1D28;
    --shiko-text: #F0F0F0;
    --shiko-text-secondary: #BBBBBB;
    --shiko-text-muted: #b0b0b0;
    --shiko-border: #1E2130;
    --shiko-border-hover: #2A2D3A;
    --shiko-card-shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shiko-overlay: rgba(0,0,0,0.7);
    --shiko-badge-bg: #3B1111;
    --shiko-badge-text: #FCA5A5;
    --shiko-input-bg: #1A1D28;
    --shiko-success: #f6c453;
    --shiko-header-bg: rgba(11,12,16,0.92);
    --shiko-footer-bg: #070810;
    --shiko-footer-text: #cccccc;
    --shiko-footer-muted: #777777;
}

[data-theme="light"] {
    --shiko-bg: #FAFAF8;
    --shiko-bg-secondary: #FFFFFF;
    --shiko-bg-tertiary: #F3F3F0;
    --shiko-text: #111111;
    --shiko-text-secondary: #555555;
    --shiko-text-muted: #999999;
    --shiko-border: #E5E5E2;
    --shiko-border-hover: #D0D0CC;
    --shiko-card-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shiko-overlay: rgba(0,0,0,0.5);
    --shiko-badge-bg: #FEE2E2;
    --shiko-badge-text: #991B1B;
    --shiko-input-bg: #FFFFFF;
    --shiko-success: #d4a017;
    --shiko-header-bg: rgba(255,255,255,0.92);
    --shiko-footer-bg: #111111;
    --shiko-footer-text: #cccccc;
    --shiko-footer-muted: #777777;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--shiko-font);
    background: var(--shiko-bg);
    color: var(--shiko-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--shiko-accent); text-decoration: none; transition: color var(--shiko-transition); }
a:hover { color: var(--shiko-accent-hover); }

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--shiko-text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

::selection { background: var(--shiko-accent); color: #fff; }

/* --- Container --- */
.shiko-container {
    max-width: var(--shiko-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.shiko-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--shiko-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--shiko-transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.4;
}

.shiko-btn-primary {
    background: var(--shiko-accent);
    color: #fff;
    border-color: var(--shiko-accent);
}
.shiko-btn-primary:hover {
    background: var(--shiko-accent-hover);
    border-color: var(--shiko-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.shiko-btn-outline {
    background: transparent;
    color: var(--shiko-text);
    border-color: var(--shiko-border);
}
.shiko-btn-outline:hover {
    border-color: var(--shiko-accent);
    color: var(--shiko-accent);
}

.shiko-btn-sm { padding: 6px 16px; font-size: 13px; }
.shiko-btn-lg { padding: 14px 32px; font-size: 16px; }

/* --- Header --- */
.shiko-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--shiko-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--shiko-border);
    transition: background var(--shiko-transition);
}

.shiko-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.shiko-logo img {
    height: 42px;
    width: auto;
}

.shiko-nav { display: flex; align-items: center; gap: 4px; }
.shiko-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.shiko-nav-list li {
    list-style: none !important;
    display: inline;
    margin: 0;
    padding: 0;
    position: relative;
}
.shiko-nav-list li::before,
.shiko-nav-list li::after,
.shiko-nav-list li::marker,
.shiko-nav-list a::before,
.shiko-nav-list a::after {
    display: none !important;
    content: none !important;
}

.shiko-nav-list > li > a {
    color: var(--shiko-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--shiko-radius);
    transition: all var(--shiko-transition);
    display: inline-block;
}
.shiko-nav-list > li > a:hover,
.shiko-nav-list > li.current-menu-item > a,
.shiko-nav-list > li.current-menu-parent > a {
    color: var(--shiko-accent);
    background: var(--shiko-bg-tertiary);
}

/* Submenu dropdown */
.shiko-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 6px 0;
    margin: 4px 0 0;
    list-style: none;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.shiko-nav-list > li:hover > .sub-menu { display: block; }
.shiko-nav-list .sub-menu li { display: block; }
.shiko-nav-list .sub-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--shiko-text-secondary);
    transition: all var(--shiko-transition);
    white-space: nowrap;
}
.shiko-nav-list .sub-menu a:hover {
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-accent);
}

/* Mobile menu submenu */
.shiko-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.shiko-mobile-nav-list li { display: block; }
.shiko-mobile-nav-list > li > a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    color: var(--shiko-text);
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-mobile-nav-list .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--shiko-bg-tertiary);
}
.shiko-mobile-nav-list .sub-menu a {
    display: block;
    padding: 12px 20px 12px 36px;
    font-size: 14px;
    color: var(--shiko-text-secondary);
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-mobile-nav-list .sub-menu a:hover { color: var(--shiko-accent); }

.shiko-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shiko-header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--shiko-radius);
    color: var(--shiko-text-secondary);
    transition: all var(--shiko-transition);
    background: none;
    border: none;
    cursor: pointer;
}
.shiko-header-icon:hover { background: var(--shiko-bg-tertiary); color: var(--shiko-text); }

.shiko-header-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.shiko-cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--shiko-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile menu toggle */
.shiko-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--shiko-text);
    cursor: pointer;
    padding: 8px;
}
.shiko-menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Theme toggle */
.shiko-theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--shiko-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--shiko-radius);
    transition: all var(--shiko-transition);
}
.shiko-theme-toggle:hover { background: var(--shiko-bg-tertiary); color: var(--shiko-text); }
.shiko-theme-toggle svg { width: 18px; height: 18px; }
.shiko-theme-toggle .icon-moon { display: block; fill: currentColor; stroke: none; }
.shiko-theme-toggle .icon-sun { display: none; fill: none; stroke: currentColor; stroke-width: 2; }

@media (prefers-color-scheme: dark) {
    .shiko-theme-toggle .icon-sun { display: block; }
    .shiko-theme-toggle .icon-moon { display: none; }
}
[data-theme="dark"] .shiko-theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .shiko-theme-toggle .icon-moon { display: none; }
[data-theme="light"] .shiko-theme-toggle .icon-sun { display: none; }
[data-theme="light"] .shiko-theme-toggle .icon-moon { display: block; }

/* Mobile-only utility */
.shiko-mobile-only { display: none; }
@media (max-width: 768px) {
    .shiko-mobile-only { display: flex; }
}

/* Mobile search bar (slides below header) */
.shiko-header-search {
    display: none;
    background: var(--shiko-bg);
    border-bottom: 1px solid var(--shiko-border);
    padding: 8px 20px 12px;
}
.shiko-header-search.open {
    display: block;
}
.shiko-header-search form {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
    background: var(--shiko-bg-tertiary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    overflow: hidden;
}
.shiko-header-search input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    color: var(--shiko-text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
}
.shiko-header-search input::placeholder { color: var(--shiko-text-muted); }
.shiko-header-search button[type="submit"] {
    background: var(--shiko-accent);
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.shiko-header-search button svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

/* Nav emoji normalization — prevent emojis from disrupting text flow */
.shiko-nav-list a,
.shiko-mobile-nav-list a {
    white-space: nowrap;
}

/* Pre-order / Coming Soon badge (on product cards + PDP) */
.shiko-badge-preorder,
.shiko-badge-coming-soon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
.shiko-badge-preorder {
    background: #6236FF;
    color: #fff;
}
.shiko-badge-coming-soon {
    background: #F59E0B;
    color: #1a1a1a;
}

/* --- Hero Section --- */
.shiko-hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--shiko-bg);
}
.shiko-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
.shiko-hero:not([style*="background-image"]) .shiko-hero-overlay {
    background: radial-gradient(circle at 50% 0%, rgba(228,3,3,0.08) 0%, transparent 60%);
}
.shiko-hero-content {
    position: relative;
    z-index: 2;
}

.shiko-hero-badge {
    display: inline-block;
    background: var(--shiko-badge-bg);
    color: var(--shiko-badge-text);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.shiko-hero h1 { margin-bottom: 12px; }

.shiko-hero p {
    color: var(--shiko-text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.shiko-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shiko-hero-actions .shiko-btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.shiko-hero-actions .shiko-btn-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* --- Section Headings --- */
.shiko-section {
    padding: 48px 0;
}

.shiko-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.shiko-section-header h2 { font-size: 1.25rem; }

.shiko-section-header a {
    font-size: 13px;
    font-weight: 600;
    color: var(--shiko-accent);
}

.shiko-section-divider {
    width: 40px;
    height: 3px;
    background: var(--shiko-accent);
    border-radius: 2px;
    margin-top: 6px;
}

/* --- Product Grid --- */
.shiko-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
}
@media (min-width: 1100px) {
    .shiko-product-grid { grid-template-columns: repeat(4, 1fr); }
}

.shiko-product-card {
    background: var(--shiko-bg-secondary);
    border-radius: var(--shiko-radius-lg);
    border: 1px solid var(--shiko-border);
    transition: all var(--shiko-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--shiko-text);
}
.shiko-product-card:hover {
    border-color: var(--shiko-border-hover);
    box-shadow: var(--shiko-card-shadow);
    transform: translateY(-2px);
}

.shiko-product-thumb {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--shiko-bg-tertiary);
    flex-shrink: 0;
    border-radius: var(--shiko-radius-lg) var(--shiko-radius-lg) 0 0;
}
.shiko-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.shiko-product-card:hover .shiko-product-thumb img { transform: scale(1.05); }

.shiko-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.shiko-product-badge.shiko-badge-sale {
    background: var(--shiko-accent);
    color: #fff;
}
.shiko-product-badge.shiko-badge-preorder {
    background: #6236FF;
    color: #fff;
}

/* Flash sale section */
.shiko-section-flash {
    background: var(--shiko-bg-tertiary);
}
.shiko-flash-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.shiko-flash-live {
    font-size: 12px;
    font-weight: 700;
    color: var(--shiko-accent);
}

/* Plan card CTA */
.shiko-plan-cta {
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

.shiko-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    z-index: 2;
}
.shiko-product-card:hover .shiko-product-actions { opacity: 1; transform: translateX(0); }

.shiko-product-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--shiko-text-secondary);
    transition: all var(--shiko-transition);
}
.shiko-product-action-btn:hover {
    background: var(--shiko-accent);
    color: #fff;
    border-color: var(--shiko-accent);
}
.shiko-product-action-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.shiko-product-info {
    padding: 14px;
    display: block;
    flex-grow: 1;
    color: var(--shiko-text);
}

.shiko-product-category {
    font-size: 11px;
    color: var(--shiko-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.shiko-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--shiko-text);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shiko-product-title a { color: var(--shiko-text); text-decoration: none; }
.shiko-product-title a:hover { color: var(--shiko-accent); }
body.shiko-theme .woocommerce .shiko-product-title a,
.woocommerce .shiko-product-title a { color: var(--shiko-text) !important; text-decoration: none; }
.woocommerce .shiko-product-title a:hover { color: var(--shiko-accent) !important; }

.shiko-product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--shiko-accent);
}
.shiko-product-price del {
    color: var(--shiko-text-muted);
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}
.shiko-product-price ins {
    text-decoration: none;
    color: var(--shiko-accent);
}

/* Product card — no button, entire card is clickable link */

/* --- Flash Sale Banner --- */
.shiko-flash-sale-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.shiko-flash-sale-bar .live-dot {
    width: 8px;
    height: 8px;
    background: var(--shiko-accent);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.shiko-countdown {
    font-size: 13px;
    color: var(--shiko-text-muted);
    font-weight: 500;
}

/* --- Category Cards --- */
.shiko-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.shiko-cat-card {
    position: relative;
    overflow: hidden;
    background: var(--shiko-bg-tertiary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    min-height: 140px;
    display: flex;
    align-items: flex-end;
    transition: all var(--shiko-transition);
    text-decoration: none;
    color: var(--shiko-text);
}
.shiko-cat-card:hover {
    border-color: var(--shiko-accent);
    transform: translateY(-2px);
    color: var(--shiko-text);
}
.shiko-cat-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}
.shiko-cat-card:hover .shiko-cat-card-bg {
    opacity: 0.55;
    transform: scale(1.05);
}
/* When image exists, force white text + gradient */
.shiko-cat-card:has(.shiko-cat-card-bg) {
    color: #fff;
}
.shiko-cat-card:has(.shiko-cat-card-bg) .shiko-cat-card-count {
    color: rgba(255,255,255,0.6);
}
.shiko-cat-card:has(.shiko-cat-card-bg):hover {
    color: #fff;
}
.shiko-cat-card-inner {
    position: relative;
    z-index: 2;
    padding: 20px 16px;
    width: 100%;
}
.shiko-cat-card:has(.shiko-cat-card-bg) .shiko-cat-card-inner {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.shiko-cat-card-icon {
    margin-bottom: 6px;
}
.shiko-cat-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--shiko-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.shiko-cat-card-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: inherit; }
.shiko-cat-card-count { font-size: 12px; color: var(--shiko-text-muted); }

/* --- PS Plus Plans --- */
.shiko-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.shiko-plan-card {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--shiko-transition);
    position: relative;
}
.shiko-plan-card:hover { border-color: var(--shiko-border-hover); transform: translateY(-2px); }

.shiko-plan-card.featured {
    border-color: var(--shiko-accent);
    border-width: 2px;
}

.shiko-plan-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--shiko-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 10px;
    white-space: nowrap;
}

.shiko-plan-name { font-size: 18px; font-weight: 600; margin-bottom: 6px; color: var(--shiko-text); }
.shiko-plan-desc { font-size: 13px; color: var(--shiko-text-secondary); margin-bottom: 16px; line-height: 1.5; }
.shiko-plan-price { font-size: 22px; font-weight: 700; color: var(--shiko-accent); margin-bottom: 4px; }
.shiko-plan-period { font-size: 12px; color: var(--shiko-text-muted); margin-bottom: 20px; }

.shiko-plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}
.shiko-plan-features li {
    font-size: 13px;
    color: var(--shiko-text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--shiko-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.shiko-plan-features li::before {
    content: '✓';
    color: var(--shiko-accent);
    font-weight: 700;
    font-size: 12px;
}

/* --- Trust Badges --- */
.shiko-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.shiko-trust-item {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px 16px;
    text-align: center;
}
.shiko-trust-icon {
    margin-bottom: 10px;
}
.shiko-trust-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--shiko-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.shiko-trust-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.shiko-trust-desc { font-size: 12px; color: var(--shiko-text-muted); line-height: 1.4; }

/* --- Footer --- */
.shiko-footer {
    background: var(--shiko-footer-bg);
    color: var(--shiko-footer-text);
    margin-top: 60px;
}

/* Social proof strip */
.shiko-footer-proof {
    border-bottom: 1px solid #1a1a1a;
    padding: 16px 20px;
}
.shiko-footer-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
}
.shiko-proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}
.shiko-proof-number {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.shiko-proof-label {
    font-size: 12px;
    color: var(--shiko-footer-muted);
}
.shiko-proof-divider {
    width: 1px;
    height: 32px;
    background: #333;
    flex-shrink: 0;
}

/* Trustpilot badge */
.shiko-proof-trustpilot {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.shiko-proof-trustpilot:hover { opacity: 0.8; }
.shiko-trustpilot-star {
    width: 18px;
    height: 18px;
    fill: #00B67A;
    flex-shrink: 0;
}
.shiko-proof-trustpilot .shiko-proof-number {
    font-size: 15px;
}
.shiko-tp-label {
    color: #00B67A;
    font-weight: 600;
}

/* WhatsApp icon in proof strip */
.shiko-proof-wa-icon {
    width: 22px;
    height: 22px;
    fill: #25D366;
}

/* Main grid */
.shiko-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
    padding: 32px 20px;
}

/* Brand column */
.shiko-footer-store-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}
.shiko-footer-brand p {
    color: var(--shiko-footer-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Social icons */
.shiko-footer-social {
    display: flex;
    gap: 8px;
}
.shiko-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--shiko-footer-muted);
}
.shiko-social-icon:hover {
    border-color: var(--shiko-accent);
    color: var(--shiko-accent);
}
.shiko-social-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* WhatsApp icon uses fill, not stroke */
.shiko-social-icon[aria-label="WhatsApp"] svg {
    fill: currentColor;
    stroke: none;
}

/* Column headings */
.shiko-footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Link lists */
.shiko-footer-links { list-style: none; padding: 0; margin: 0; }
.shiko-footer-links li { margin-bottom: 10px; }
.shiko-footer-links a {
    color: var(--shiko-footer-muted);
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: none;
}
.shiko-footer-links a:hover { color: #fff; }

/* Bottom bar */
/* Payment logos bar */
.shiko-footer-payments-bar {
    border-top: 1px solid #1a1a1a;
    padding: 14px 20px;
}
.shiko-footer-payments-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
}
.shiko-payment-logo {
    height: 20px;
    width: auto;
    display: block;
    border-radius: 3px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.shiko-payment-logo:hover {
    opacity: 1;
}

/* Copyright bar */
.shiko-footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding: 14px 20px;
    text-align: center;
}
.shiko-footer-bottom p {
    color: var(--shiko-footer-muted);
    font-size: 12px;
    max-width: var(--shiko-max-width);
    margin: 0 auto;
}

/* --- Breadcrumbs --- */
.shiko-breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
    color: var(--shiko-text-muted);
}
.shiko-breadcrumbs a { color: var(--shiko-text-secondary); }
.shiko-breadcrumbs a:hover { color: var(--shiko-accent); }
.shiko-breadcrumbs .separator { margin: 0 8px; }

/* --- WooCommerce Shop/Archive --- */
.shiko-shop-header {
    padding: 32px 0 16px;
}
.shiko-shop-header h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}
.shiko-shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.shiko-result-count { font-size: 13px; color: var(--shiko-text-secondary); }

.shiko-ordering select {
    background: var(--shiko-input-bg);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 8px 12px;
    font-size: 13px;
    color: var(--shiko-text);
    cursor: pointer;
}

/* --- Single Product --- */
/* Single product — layout handled in woocommerce.css via .shiko-pdp */
.shiko-single-product {
    padding-top: 20px;
    padding-bottom: 40px;
}
.shiko-single-product .entry-header,
.shiko-single-product .page-header {
    display: none;
}
.shiko-single-product .summary a:not(.button) { color: var(--shiko-text); }
.shiko-single-product .summary a:not(.button):hover { color: var(--shiko-accent); }

.shiko-product-gallery {
    position: sticky;
    top: 90px;
}

.shiko-product-gallery-main {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 12px;
}
.shiko-product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.shiko-product-gallery-thumbs {
    display: flex;
    gap: 8px;
}
.shiko-product-gallery-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--shiko-radius);
    border: 2px solid var(--shiko-border);
    cursor: pointer;
    transition: border-color var(--shiko-transition);
}
.shiko-product-gallery-thumbs img:hover,
.shiko-product-gallery-thumbs img.active { border-color: var(--shiko-accent); }

.shiko-product-summary h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.shiko-product-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--shiko-text-secondary);
}

.shiko-single-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--shiko-accent);
    margin-bottom: 20px;
}
.shiko-single-price del {
    font-size: 1.1rem;
    color: var(--shiko-text-muted);
    font-weight: 400;
    margin-right: 8px;
}

.shiko-product-short-desc {
    color: var(--shiko-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--shiko-border);
}

/* Variations */
.shiko-variations {
    margin-bottom: 24px;
}
.shiko-variation-row {
    margin-bottom: 16px;
}
.shiko-variation-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.shiko-variation-options { display: flex; flex-wrap: wrap; gap: 8px; }

.shiko-variation-option {
    padding: 8px 16px;
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--shiko-transition);
    background: var(--shiko-bg-secondary);
    color: var(--shiko-text);
}
.shiko-variation-option:hover { border-color: var(--shiko-accent); }
.shiko-variation-option.selected {
    border-color: var(--shiko-accent);
    background: var(--shiko-badge-bg);
    color: var(--shiko-accent);
    font-weight: 600;
}

.shiko-add-to-cart-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.shiko-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    overflow: hidden;
}
.shiko-quantity button {
    width: 40px;
    height: 44px;
    background: var(--shiko-bg-tertiary);
    border: none;
    color: var(--shiko-text);
    font-size: 16px;
    cursor: pointer;
    transition: background var(--shiko-transition);
}
.shiko-quantity button:hover { background: var(--shiko-border); }
.shiko-quantity input {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    font-size: 14px;
    font-weight: 600;
}

.shiko-product-tabs {
    margin-top: 48px;
    border-top: 1px solid var(--shiko-border);
}

.shiko-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-tabs-nav button {
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--shiko-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--shiko-transition);
}
.shiko-tabs-nav button:hover { color: var(--shiko-text); }
.shiko-tabs-nav button.active {
    color: var(--shiko-accent);
    border-bottom-color: var(--shiko-accent);
}

.shiko-tab-content { padding: 24px 0; color: var(--shiko-text-secondary); font-size: 14px; line-height: 1.8; }

/* --- Cart Page --- */
.shiko-cart-page { padding: 32px 0 60px; }

.shiko-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.shiko-cart-items {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
}

.shiko-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-cart-item:last-child { border-bottom: none; }

.shiko-cart-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--shiko-radius);
    overflow: hidden;
    background: var(--shiko-bg-tertiary);
}
.shiko-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

.shiko-cart-item-name { font-size: 14px; font-weight: 600; }
.shiko-cart-item-meta { font-size: 12px; color: var(--shiko-text-muted); margin-top: 4px; }
.shiko-cart-item-price { font-size: 15px; font-weight: 700; color: var(--shiko-accent); white-space: nowrap; }

.shiko-cart-item-remove {
    background: none;
    border: none;
    color: var(--shiko-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--shiko-transition);
}
.shiko-cart-item-remove:hover { color: var(--shiko-accent); background: var(--shiko-badge-bg); }

.shiko-cart-summary {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.shiko-cart-summary h3 { font-size: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--shiko-border); }

.shiko-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.shiko-cart-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--shiko-border);
}
.shiko-cart-row.total .amount { color: var(--shiko-accent); }

.shiko-coupon-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.shiko-coupon-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    font-size: 13px;
}

/* --- Checkout Page --- */
.shiko-checkout-page { padding: 32px 0 60px; }

.shiko-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.shiko-form-section {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.shiko-form-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--shiko-border);
}

.shiko-form-row {
    margin-bottom: 16px;
}
.shiko-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--shiko-text);
}
.shiko-form-row input,
.shiko-form-row select,
.shiko-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    font-size: 14px;
    transition: border-color var(--shiko-transition);
}
.shiko-form-row input:focus,
.shiko-form-row select:focus,
.shiko-form-row textarea:focus {
    outline: none;
    border-color: var(--shiko-accent);
}

.shiko-form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.shiko-order-summary-checkout {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

/* --- My Account --- */
.shiko-account-page { padding: 32px 0 60px; }

.shiko-account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

.shiko-account-nav {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.shiko-account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--shiko-text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--shiko-border);
    transition: all var(--shiko-transition);
}
.shiko-account-nav a:last-child { border-bottom: none; }
.shiko-account-nav a:hover,
.shiko-account-nav a.active {
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-accent);
}

.shiko-account-content {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 32px;
    min-height: 400px;
}

/* Login form */
.shiko-login-form {
    max-width: 420px;
    margin: 0 auto;
    padding: 60px 0;
}
.shiko-login-form h2 { text-align: center; margin-bottom: 8px; }
.shiko-login-form .subtitle {
    text-align: center;
    color: var(--shiko-text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Order table */
.shiko-orders-table {
    width: 100%;
    border-collapse: collapse;
}
.shiko-orders-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--shiko-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-orders-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-orders-table tr:last-child td { border-bottom: none; }

.shiko-order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
.shiko-order-status.completed { background: #D1FAE5; color: #065F46; }
.shiko-order-status.processing { background: #DBEAFE; color: #1E40AF; }
.shiko-order-status.pending { background: #FEF3C7; color: #92400E; }
.shiko-order-status.cancelled { background: #FEE2E2; color: #991B1B; }

/* --- Blog --- */
.shiko-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.shiko-post-card {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
    transition: all var(--shiko-transition);
}
.shiko-post-card:hover { transform: translateY(-2px); box-shadow: var(--shiko-card-shadow); }

.shiko-post-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--shiko-bg-tertiary); }
.shiko-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.shiko-post-content { padding: 20px; }
.shiko-post-meta { font-size: 12px; color: var(--shiko-text-muted); margin-bottom: 8px; }
.shiko-post-content h3 { font-size: 16px; margin-bottom: 8px; }
.shiko-post-content h3 a { color: var(--shiko-text); }
.shiko-post-content h3 a:hover { color: var(--shiko-accent); }
.shiko-post-excerpt { font-size: 13px; color: var(--shiko-text-secondary); line-height: 1.6; }

/* Single Post */
.shiko-single-post {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}
.shiko-single-post h1 { margin-bottom: 16px; }
.shiko-single-post .entry-content { font-size: 16px; line-height: 1.8; color: var(--shiko-text-secondary); }
.shiko-single-post .entry-content h2,
.shiko-single-post .entry-content h3 { color: var(--shiko-text); margin: 2rem 0 1rem; }
.shiko-single-post .entry-content p { margin-bottom: 1.25rem; }
.shiko-single-post .entry-content img { border-radius: var(--shiko-radius-lg); margin: 1.5rem 0; }

/* --- 404 --- */
.shiko-404 {
    text-align: center;
    padding: 100px 20px;
}
.shiko-404 h1 { font-size: 6rem; color: var(--shiko-accent); line-height: 1; margin-bottom: 16px; }
.shiko-404 h2 { margin-bottom: 12px; }
.shiko-404 p { color: var(--shiko-text-secondary); margin-bottom: 24px; }

/* --- Search Page --- */
.shiko-search-page { padding: 32px 0 60px; }
.shiko-search-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin-bottom: 32px;
}
.shiko-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    font-size: 15px;
}

/* --- Pagination --- */
.shiko-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 40px 0 20px;
}
.shiko-pagination .page-numbers {
    display: none;
}
.shiko-pagination a.prev,
.shiko-pagination a.next,
.shiko-pagination span.current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--shiko-radius);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--shiko-border);
    color: var(--shiko-text-secondary);
    transition: all var(--shiko-transition);
}
.shiko-pagination a.prev:hover,
.shiko-pagination a.next:hover {
    border-color: var(--shiko-accent);
    color: var(--shiko-accent);
}
.shiko-pagination span.current {
    background: var(--shiko-accent);
    border-color: var(--shiko-accent);
    color: #fff;
    display: flex;
}
/* Show dots */
.shiko-pagination .dots { display: flex; color: var(--shiko-text-muted); padding: 0 4px; align-items: center; }
/* Show page numbers on desktop */
@media (min-width: 768px) {
    .shiko-pagination .page-numbers { display: flex; }
}
/* WC default pagination override */
body.shiko-theme .woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 40px 0 20px;
    margin: 0;
    border: none;
}
body.shiko-theme .woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
    padding: 0;
}
body.shiko-theme .woocommerce nav.woocommerce-pagination ul li a,
body.shiko-theme .woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--shiko-radius);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--shiko-border);
    color: var(--shiko-text-secondary);
    background: transparent;
    transition: all var(--shiko-transition);
}
body.shiko-theme .woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--shiko-accent);
    color: var(--shiko-accent);
    background: transparent;
}
body.shiko-theme .woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--shiko-accent);
    border-color: var(--shiko-accent);
    color: #fff;
}

/* --- WooCommerce Overrides --- */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--shiko-text);
}
.woocommerce-notices-wrapper .woocommerce-message { border-left: 3px solid #10B981; }
.woocommerce-notices-wrapper .woocommerce-error { border-left: 3px solid var(--shiko-accent); }
.woocommerce-notices-wrapper .woocommerce-info { border-left: 3px solid #3B82F6; }

/* --- Widgets / Sidebar --- */
.shiko-sidebar .widget {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}
.shiko-sidebar .widget h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--shiko-border);
}

/* --- Mobile Menu Overlay --- */
/* Skip to content */
.shiko-skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--shiko-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--shiko-radius);
    text-decoration: none;
    transition: top 0.2s;
}
.shiko-skip-link:focus,
.shiko-skip-link:focus-visible {
    top: 8px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.shiko-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--shiko-bg);
    z-index: 9999;
    padding: 20px;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.shiko-mobile-menu.active { display: flex; }

.shiko-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.shiko-mobile-menu-close {
    background: none;
    border: none;
    color: var(--shiko-text);
    cursor: pointer;
    padding: 8px;
}

/* Mobile search bar */
.shiko-mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--shiko-bg-tertiary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    margin-bottom: 20px;
    flex-shrink: 0;
}
.shiko-mobile-search svg {
    width: 18px;
    height: 18px;
    stroke: var(--shiko-text-muted);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}
.shiko-mobile-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--shiko-text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
}
.shiko-mobile-search input::placeholder {
    color: var(--shiko-text-muted);
}
.shiko-mobile-search-submit {
    background: none;
    border: none;
    padding: 0 4px;
    cursor: pointer;
    color: var(--shiko-text-muted);
    flex-shrink: 0;
}
.shiko-mobile-search-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Mobile navigation */
.shiko-mobile-nav-section {
    flex: 1;
    overflow-y: auto;
}

.shiko-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.shiko-mobile-nav-list > li {
    list-style: none !important;
}
.shiko-mobile-nav-list > li::before,
.shiko-mobile-nav-list > li::after,
.shiko-mobile-nav-list > li::marker {
    display: none !important;
    content: none !important;
}
.shiko-mobile-nav-list > li > a {
    display: block;
    padding: 14px 0;
    color: var(--shiko-text);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--shiko-border);
    text-decoration: none;
}
.shiko-mobile-nav-list > li > a:hover { color: var(--shiko-accent); }

/* Mobile submenu */
.shiko-mobile-nav-list .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shiko-mobile-nav-list .sub-menu li {
    list-style: none !important;
}
.shiko-mobile-nav-list .sub-menu li::before,
.shiko-mobile-nav-list .sub-menu li::after,
.shiko-mobile-nav-list .sub-menu li::marker {
    display: none !important;
    content: none !important;
}
.shiko-mobile-nav-list .sub-menu a {
    display: block;
    padding: 10px 0 10px 20px;
    font-size: 14px;
    color: var(--shiko-text-secondary);
    border-bottom: 1px solid var(--shiko-border);
    text-decoration: none;
}
.shiko-mobile-nav-list .sub-menu a:hover { color: var(--shiko-accent); }

/* Mobile utility links (account, theme toggle) */
.shiko-mobile-utils {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--shiko-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}
.shiko-mobile-util-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--shiko-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: left;
}
.shiko-mobile-util-link:hover { color: var(--shiko-accent); }
.shiko-mobile-util-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}
.shiko-mobile-util-link .icon-moon { fill: currentColor; stroke: none; }
.shiko-mobile-util-link .icon-sun { display: none; }
[data-theme="dark"] .shiko-mobile-util-link .icon-sun { display: block; }
[data-theme="dark"] .shiko-mobile-util-link .icon-moon { display: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .shiko-cart-layout { grid-template-columns: 1fr; }
    .shiko-checkout-layout { grid-template-columns: 1fr; }
    .shiko-account-layout { grid-template-columns: 1fr; }
    .shiko-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .shiko-nav { display: none; }
    .shiko-menu-toggle { display: block; }
    .shiko-desktop-only { display: none !important; }
    .shiko-header-inner { height: 56px; }
    .shiko-logo img { height: 34px; }

    .shiko-hero { padding: 40px 0; }
    .shiko-section { padding: 32px 0; }

    .shiko-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shiko-product-info { padding: 10px; }
    .shiko-product-title { font-size: 13px; }
    .shiko-product-price { font-size: 13px; }

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

    .shiko-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .shiko-footer-payments-inner { gap: 8px; }
    .shiko-payment-logo { height: 16px; }
    .shiko-footer-proof-inner { gap: 16px; }
    .shiko-proof-divider { display: none; }
    .shiko-proof-stat { flex-direction: row; gap: 6px; }
    .shiko-proof-number { font-size: 15px; }
    .shiko-proof-label { font-size: 11px; }

    .shiko-cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; }
    .shiko-cart-item-remove { grid-column: 3; grid-row: 1; }

    .shiko-form-cols { grid-template-columns: 1fr; }
    .shiko-blog-grid { grid-template-columns: 1fr; }

    .shiko-header-inner { height: 60px; }
    .shiko-logo img { height: 34px; }
}

@media (max-width: 480px) {
    .shiko-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .shiko-hero h1 { font-size: 1.5rem; }
}

/* --- Elementor Compatibility --- */
.elementor-page .shiko-header + .site-content { padding-top: 0; }
.elementor-page .shiko-hero { display: none; }
body.elementor-default .entry-content,
body.elementor-template-full-width .entry-content { max-width: none; }

/* --- Utility --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-accent { color: var(--shiko-accent); }
.text-muted { color: var(--shiko-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ============================================
   OVERRIDE: Beat WooCommerce/Elementor specificity
   ============================================ */
body.shiko-theme,
body.shiko-theme .site-content,
body.shiko-theme .shiko-container {
    color: var(--shiko-text);
    background-color: var(--shiko-bg);
}

body.shiko-theme a {
    color: var(--shiko-accent);
}

body.shiko-theme .woocommerce-page,
body.shiko-theme .woocommerce {
    color: var(--shiko-text);
}

/* ===== AI SMART SEARCH DROPDOWN ===== */

.shiko-ai-search-wrap { position: relative; }

.shiko-ai-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    box-shadow: var(--shiko-shadow-lg, 0 8px 24px rgba(0,0,0,0.15));
    max-height: 420px;
    overflow-y: auto;
    margin-top: 4px;
}

.shiko-ai-search-loading,
.shiko-ai-search-empty {
    padding: 16px;
    text-align: center;
    color: var(--shiko-text-muted);
    font-size: 13px;
}

.shiko-ai-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--shiko-border);
    text-decoration: none;
    color: var(--shiko-text);
    transition: background 0.15s;
}
.shiko-ai-search-item:last-of-type { border-bottom: none; }
.shiko-ai-search-item:hover { background: var(--shiko-bg-tertiary); }

.shiko-ai-search-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--shiko-radius);
    flex-shrink: 0;
}

.shiko-ai-search-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--shiko-text);
}

.shiko-ai-search-price {
    font-size: 12px;
    color: var(--shiko-accent);
    margin-top: 2px;
}

.shiko-ai-search-footer {
    padding: 8px;
    text-align: center;
    font-size: 10px;
    color: var(--shiko-text-muted);
    border-top: 1px solid var(--shiko-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== AI REVIEW SUMMARY ===== */

.shiko-ai-review-summary {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 16px 20px;
    margin: 0 0 24px;
}

.shiko-ai-review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.shiko-ai-review-icon { font-size: 18px; }

.shiko-ai-review-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--shiko-text);
    flex: 1;
}

.shiko-ai-review-rating {
    font-size: 13px;
    font-weight: 600;
    color: var(--shiko-accent);
}

.shiko-ai-review-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--shiko-text-secondary);
}



/* =================================================================
 * v1.7.9 — COMPREHENSIVE UX FIX PASS
 * Covers: focus states, forms, content links, cards, blog, search,
 * shop controls, WC account, comments, contact, mobile responsiveness
 * ================================================================= */

/* ── 1. FOCUS STATES — keyboard navigation ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--shiko-accent);
    outline-offset: 2px;
}
.shiko-btn:focus-visible {
    outline: 2px solid var(--shiko-accent);
    outline-offset: 3px;
}

/* ── 2. GLOBAL FORM ELEMENTS — dark mode safe ── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="date"],
textarea,
select {
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
input:hover,
textarea:hover,
select:hover {
    border-color: var(--shiko-border-hover);
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--shiko-accent);
    outline: none;
}
input::placeholder,
textarea::placeholder {
    color: var(--shiko-text-muted);
}
textarea {
    min-height: 120px;
    resize: vertical;
}
select {
    cursor: pointer;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23999' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--shiko-text);
}

/* ── 3. CONTENT AREA LINKS — underlined for readability ── */
.entry-content a:not(.shiko-btn):not(.wp-element-button),
.shiko-post-excerpt a,
.woocommerce-product-details__short-description a,
.shiko-pdp-section a:not(.shiko-btn) {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a:hover {
    color: var(--shiko-accent-hover);
}

/* ── 4. CARD LINKS — override global red on card text ── */
a.shiko-product-card,
a.shiko-cat-card,
a.shiko-post-card-link {
    color: var(--shiko-text);
    text-decoration: none;
}
a.shiko-product-card:hover,
a.shiko-cat-card:hover {
    color: var(--shiko-text);
}
a.shiko-product-card .shiko-product-category {
    color: var(--shiko-text-muted);
}
a.shiko-product-card .shiko-product-price {
    color: var(--shiko-accent);
}

/* ── 5. BLOG GRID POLISH ── */
.shiko-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.shiko-post-card {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
    transition: all 0.2s;
}
.shiko-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shiko-card-shadow);
    border-color: var(--shiko-border-hover);
}
.shiko-post-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--shiko-bg-tertiary);
}
.shiko-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.shiko-post-card:hover .shiko-post-thumb img {
    transform: scale(1.03);
}
.shiko-post-content {
    padding: 20px;
}
.shiko-post-content h3 a {
    color: var(--shiko-text);
    text-decoration: none;
}
.shiko-post-content h3 a:hover {
    color: var(--shiko-accent);
}

/* ── 6. SHOP CONTROLS — dark mode ── */
.shiko-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.shiko-ordering select {
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-family: inherit;
}
.shiko-shop-header {
    padding: 24px 0;
}
.shiko-shop-header h1 {
    margin-bottom: 0;
}

/* ── 7. WC ACCOUNT PAGE ── */
body.shiko-account-page-body .woocommerce-MyAccount-navigation {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 16px;
    margin-bottom: 24px;
}
body.shiko-account-page-body .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.shiko-account-page-body .woocommerce-MyAccount-navigation li {
    margin-bottom: 2px;
}
body.shiko-account-page-body .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 14px;
    color: var(--shiko-text-secondary);
    border-radius: var(--shiko-radius);
    font-size: 14px;
    transition: all 0.2s;
}
body.shiko-account-page-body .woocommerce-MyAccount-navigation a:hover {
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-text);
}
body.shiko-account-page-body .woocommerce-MyAccount-navigation .is-active a {
    background: var(--shiko-accent);
    color: #fff;
}

/* WC Login/Register forms */
body.shiko-theme .woocommerce form.login,
body.shiko-theme .woocommerce form.register,
body.shiko-theme .woocommerce-form-login,
body.shiko-theme .woocommerce-form-register {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px;
    max-width: 480px;
}
body.shiko-theme .woocommerce form .form-row label {
    color: var(--shiko-text);
    font-size: 14px;
    font-weight: 600;
}
body.shiko-theme .woocommerce form .form-row input.input-text {
    background: var(--shiko-input-bg);
    color: var(--shiko-text);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius);
    padding: 10px 14px;
    font-size: 15px;
    width: 100%;
}
body.shiko-theme .woocommerce form .form-row input.input-text:focus {
    border-color: var(--shiko-accent);
}

/* WC buttons global */
body.shiko-theme .woocommerce .button,
body.shiko-theme .woocommerce button.button,
body.shiko-theme .woocommerce input.button,
body.shiko-theme .woocommerce a.button {
    background: var(--shiko-accent);
    color: #fff;
    border: none;
    border-radius: var(--shiko-radius);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
}
body.shiko-theme .woocommerce .button:hover,
body.shiko-theme .woocommerce button.button:hover {
    opacity: 0.9;
    color: #fff;
}
body.shiko-theme .woocommerce .button.alt,
body.shiko-theme .woocommerce button.button.alt {
    background: var(--shiko-accent);
    color: #fff;
}

/* ── 8. WC NOTICES — dark mode ── */
body.shiko-theme .woocommerce-info,
body.shiko-theme .woocommerce-message,
body.shiko-theme .woocommerce-error {
    background: var(--shiko-bg-secondary);
    border-color: var(--shiko-border);
    color: var(--shiko-text);
    border-radius: var(--shiko-radius);
    padding: 14px 20px;
    margin-bottom: 16px;
}
body.shiko-theme .woocommerce-message {
    border-left: 4px solid #28a745;
}
body.shiko-theme .woocommerce-error {
    border-left: 4px solid var(--shiko-accent);
}
body.shiko-theme .woocommerce-info {
    border-left: 4px solid #3b82f6;
}
body.shiko-theme .woocommerce-error li,
body.shiko-theme .woocommerce-message a,
body.shiko-theme .woocommerce-info a {
    color: var(--shiko-text);
}

/* ── 9. COMMENT FORM — dark mode ── */
.shiko-comments .comment-body {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}
.shiko-comments .comment-author {
    font-weight: 600;
    margin-bottom: 4px;
}
.shiko-comments .comment-metadata {
    font-size: 12px;
    color: var(--shiko-text-muted);
    margin-bottom: 12px;
}
.shiko-form-section {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    padding: 24px;
}
.shiko-form-section h3 {
    margin-bottom: 16px;
}

/* ── 10. SINGLE POST ── */
.shiko-single-post .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--shiko-text-secondary);
}
.shiko-single-post .entry-content p {
    margin-bottom: 1.25rem;
}
.shiko-single-post .entry-content h2,
.shiko-single-post .entry-content h3 {
    color: var(--shiko-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.shiko-single-post .entry-content img {
    border-radius: var(--shiko-radius-lg);
}
.shiko-single-post .entry-content blockquote {
    border-left: 3px solid var(--shiko-accent);
    padding: 16px 20px;
    margin: 1.5rem 0;
    background: var(--shiko-bg-secondary);
    border-radius: 0 var(--shiko-radius) var(--shiko-radius) 0;
    color: var(--shiko-text-secondary);
    font-style: italic;
}

/* ── 11. WC PRICE COLORS INSIDE CARDS ── */
.shiko-product-price {
    color: var(--shiko-accent);
    font-size: 14px;
    font-weight: 700;
}
.shiko-product-price del {
    color: var(--shiko-text-muted);
    font-weight: 400;
    font-size: 12px;
}
.shiko-product-price ins {
    color: var(--shiko-accent);
    text-decoration: none;
    font-weight: 700;
}
.shiko-product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--shiko-text-muted);
    margin-bottom: 4px;
}
.shiko-product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--shiko-text);
}
.shiko-product-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── 12. CATEGORY CARD — fallback without image ── */
.shiko-cat-card:not(:has(.shiko-cat-card-bg)) .shiko-cat-card-inner {
    background: none;
    padding: 24px 16px;
}
.shiko-cat-card:not(:has(.shiko-cat-card-bg)) {
    background: var(--shiko-bg-secondary);
    color: var(--shiko-text);
    align-items: center;
    justify-content: center;
}
.shiko-cat-card:not(:has(.shiko-cat-card-bg)) .shiko-cat-card-count {
    color: var(--shiko-text-muted);
}

/* ── 13. CONTACT PAGE — mobile responsive ── */
@media (max-width: 768px) {
    .shiko-contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── 14. PLAN CARD — text colors ── */
.shiko-plan-card {
    color: var(--shiko-text);
}
.shiko-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--shiko-text);
    margin-bottom: 6px;
}
.shiko-plan-desc {
    font-size: 13px;
    color: var(--shiko-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}
.shiko-plan-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--shiko-accent);
}
.shiko-plan-card.featured {
    border-color: var(--shiko-accent);
}

/* ── 15. WC TABLE — dark mode safe ── */
body.shiko-theme table.shop_table {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
body.shiko-theme table.shop_table th {
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--shiko-border);
}
body.shiko-theme table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--shiko-border);
    color: var(--shiko-text);
    font-size: 14px;
}
body.shiko-theme table.shop_table tr:last-child td {
    border-bottom: none;
}

/* ── 16. MOBILE RESPONSIVE CATCH-ALL ── */
@media (max-width: 480px) {
    .shiko-hero h1 { font-size: 1.5rem; }
    .shiko-hero p { font-size: 14px; }
    .shiko-hero-actions { flex-direction: column; gap: 8px; }
    .shiko-hero-actions .shiko-btn { width: 100%; }
    .shiko-section { padding: 32px 0; }
    .shiko-plans-grid { grid-template-columns: 1fr; }
    .shiko-cat-grid { grid-template-columns: 1fr 1fr; }
    .shiko-trust-grid { grid-template-columns: 1fr 1fr; }
    .shiko-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .shiko-product-info { padding: 10px; }
    .shiko-product-title { font-size: 13px; }
    .shiko-product-price { font-size: 13px; }
    .shiko-blog-grid { grid-template-columns: 1fr; }
    .shiko-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Live product search dropdown ── */
.shiko-live-search-wrap {
    position: relative;
}
.shiko-live-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-lg);
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.shiko-live-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--shiko-text);
    transition: background 0.15s;
    position: relative;
    border-bottom: 1px solid var(--shiko-border);
}
.shiko-live-item:last-of-type {
    border-bottom: none;
}
.shiko-live-item:hover,
.shiko-live-item.active {
    background: var(--shiko-bg-tertiary);
}
.shiko-live-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--shiko-bg-tertiary);
}
.shiko-live-img-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--shiko-bg-tertiary);
}
.shiko-live-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.shiko-live-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--shiko-text-muted);
}
.shiko-live-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--shiko-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shiko-live-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--shiko-accent);
}
.shiko-live-sale {
    background: var(--shiko-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.shiko-live-viewall {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--shiko-accent);
    text-decoration: none;
    border-top: 1px solid var(--shiko-border);
}
.shiko-live-viewall:hover {
    background: var(--shiko-bg-tertiary);
}
.shiko-live-empty,
.shiko-live-loading {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--shiko-text-muted);
}
.shiko-live-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--shiko-border);
    border-top-color: var(--shiko-accent);
    border-radius: 50%;
    animation: shiko-spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes shiko-spin {
    to { transform: rotate(360deg); }
}

/* =================================================================
 * v1.8.0 — FINAL UX FIXES
 * ================================================================= */

/* ── Plan card CTA — ensure white text on red ── */
.shiko-plan-card .shiko-btn-primary,
.shiko-plan-card .shiko-plan-cta {
    color: #fff !important;
    background: var(--shiko-accent) !important;
    border-color: var(--shiko-accent) !important;
}

/* ── Homepage trust grid — removed, hide any remnants ── */
.shiko-section > .shiko-container > .shiko-trust-grid {
    display: none;
}

/* ── Footer — tighter spacing (kept: rules not overridden below) ── */
.shiko-footer-links li {
    margin-bottom: 7px !important;
}
.shiko-footer-store-name {
    font-size: 16px !important;
}
.shiko-footer-brand p {
    font-size: 12px !important;
    margin-bottom: 12px !important;
}
.shiko-footer-payments-bar {
    padding: 10px 20px !important;
}

/* =================================================================
 * v1.8.0 — OVERRIDE FIXES (high specificity for Ecomus/Elementor)
 * ================================================================= */

/* ── Hero buttons — FORCE white text ── */
body.shiko-theme .shiko-hero .shiko-btn-primary {
    color: #fff !important;
    background: var(--shiko-accent) !important;
}
body.shiko-theme .shiko-hero .shiko-btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
    background: transparent !important;
}
body.shiko-theme .shiko-hero .shiko-btn-outline:hover {
    border-color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
}

/* ── Footer links — override global a color ── */
body.shiko-theme .shiko-footer a {
    color: var(--shiko-footer-muted, #777) !important;
    text-decoration: none !important;
}
body.shiko-theme .shiko-footer a:hover {
    color: #fff !important;
}
body.shiko-theme .shiko-footer h4 {
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 11px !important;
    margin-bottom: 14px !important;
}
body.shiko-theme .shiko-footer-links a {
    color: var(--shiko-footer-text, #ccc) !important;
    font-size: 13px !important;
}
body.shiko-theme .shiko-footer-links a:hover {
    color: #fff !important;
}

/* ── Payment logos — FIXED height, never stretch ── */
body.shiko-theme .shiko-payment-logo {
    height: 22px !important;
    width: auto !important;
    max-width: 60px !important;
    object-fit: contain !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    opacity: 0.65 !important;
}
body.shiko-theme .shiko-footer-payments-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
@media (max-width: 768px) {
    body.shiko-theme .shiko-payment-logo {
        height: 18px !important;
        max-width: 48px !important;
    }
    body.shiko-theme .shiko-footer-payments-inner {
        gap: 6px !important;
    }
}

/* ── Footer — compact layout ── */
body.shiko-theme .shiko-footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 24px !important;
    max-width: var(--shiko-max-width) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
}
@media (max-width: 768px) {
    body.shiko-theme .shiko-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        padding: 24px 16px !important;
    }
}
@media (max-width: 480px) {
    body.shiko-theme .shiko-footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Footer proof strip — compact ── */
body.shiko-theme .shiko-footer-proof {
    padding: 10px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
body.shiko-theme .shiko-proof-number {
    font-size: 13px !important;
}
body.shiko-theme .shiko-proof-label {
    font-size: 10px !important;
}

/* ── Footer copyright — minimal ── */
body.shiko-theme .shiko-footer-bottom {
    padding: 10px 20px !important;
}
body.shiko-theme .shiko-footer-bottom p {
    font-size: 11px !important;
    margin: 0 !important;
    color: var(--shiko-footer-muted) !important;
}

/* ── Social icon — proper WhatsApp fill ── */
body.shiko-theme .shiko-social-icon[aria-label="WhatsApp"] svg {
    fill: currentColor !important;
    stroke: none !important;
}

/* ── Cart page — mobile card layout ── */
@media (max-width: 768px) {
    body.shiko-theme .woocommerce-cart table.shop_table thead {
        display: none !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table,
    body.shiko-theme .woocommerce-cart table.shop_table tbody,
    body.shiko-theme .woocommerce-cart table.shop_table tr,
    body.shiko-theme .woocommerce-cart table.shop_table td {
        display: block !important;
        width: 100% !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table tr {
        position: relative !important;
        padding: 16px !important;
        margin-bottom: 12px !important;
        border: 1px solid var(--shiko-border) !important;
        border-radius: var(--shiko-radius-lg) !important;
        background: var(--shiko-bg-secondary) !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table td {
        padding: 4px 0 !important;
        border-bottom: none !important;
        text-align: left !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table td.product-thumbnail {
        float: left !important;
        width: 72px !important;
        margin-right: 12px !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table td.product-remove {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        width: auto !important;
    }
    body.shiko-theme .woocommerce-cart table.shop_table td::before {
        display: none !important;
    }
    body.shiko-theme .woocommerce-cart .cart-collaterals {
        margin-top: 20px !important;
    }
}

/* ── Checkout — better mobile spacing ── */
body.shiko-theme .woocommerce-checkout .form-row {
    margin-bottom: 14px !important;
}
body.shiko-theme .woocommerce-checkout .form-row label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--shiko-text) !important;
    margin-bottom: 6px !important;
}
body.shiko-theme .woocommerce-checkout .form-row input.input-text,
body.shiko-theme .woocommerce-checkout .form-row select,
body.shiko-theme .woocommerce-checkout .form-row textarea {
    background: var(--shiko-input-bg) !important;
    color: var(--shiko-text) !important;
    border: 1px solid var(--shiko-border) !important;
    border-radius: var(--shiko-radius) !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    width: 100% !important;
}
body.shiko-theme .woocommerce-checkout .form-row input.input-text:focus,
body.shiko-theme .woocommerce-checkout .form-row select:focus {
    border-color: var(--shiko-accent) !important;
    outline: none !important;
}
body.shiko-theme .woocommerce-checkout #place_order {
    width: 100% !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--shiko-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--shiko-radius) !important;
    cursor: pointer !important;
    margin-top: 16px !important;
}
body.shiko-theme .woocommerce-checkout #place_order:hover {
    opacity: 0.9 !important;
}

/* ── Checkout trust strip (below order button) ── */
.shiko-checkout-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 11px;
    color: var(--shiko-text-muted);
}
.shiko-checkout-trust svg {
    width: 14px;
    height: 14px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ── WC select2 (country dropdown) — dark mode ── */
body.shiko-theme .select2-container--default .select2-selection--single {
    background: var(--shiko-input-bg) !important;
    border-color: var(--shiko-border) !important;
    border-radius: var(--shiko-radius) !important;
    height: 44px !important;
    padding: 8px 14px !important;
}
body.shiko-theme .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--shiko-text) !important;
    line-height: 26px !important;
}
body.shiko-theme .select2-dropdown {
    background: var(--shiko-bg-secondary) !important;
    border-color: var(--shiko-border) !important;
}
body.shiko-theme .select2-results__option {
    color: var(--shiko-text) !important;
    padding: 8px 14px !important;
}
body.shiko-theme .select2-results__option--highlighted {
    background: var(--shiko-bg-tertiary) !important;
    color: var(--shiko-text) !important;
}
body.shiko-theme .select2-search__field {
    background: var(--shiko-input-bg) !important;
    color: var(--shiko-text) !important;
    border-color: var(--shiko-border) !important;
}


/* ===== Search experience refinement ===== */
.shiko-search-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 20px;
    align-items: end;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-xl);
    box-shadow: var(--shiko-card-shadow);
}
.shiko-search-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--shiko-accent);
    margin-bottom: 10px;
}
.shiko-search-summary {
    margin-top: 8px;
    color: var(--shiko-text-secondary);
    max-width: 62ch;
}
.shiko-search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.shiko-search-card {
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-xl);
    overflow: hidden;
    box-shadow: var(--shiko-card-shadow);
    display: flex;
    flex-direction: column;
}
.shiko-search-card-thumb {
    aspect-ratio: 1 / 1;
    display: block;
    background: var(--shiko-bg-tertiary);
}
.shiko-search-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shiko-search-card-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--shiko-text-muted);
}
.shiko-search-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.shiko-search-card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.shiko-search-card-category,
.shiko-search-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.shiko-search-card-category {
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-text-secondary);
}
.shiko-search-card-badge {
    background: rgba(212, 160, 23, 0.14);
    color: var(--shiko-success);
}
.shiko-search-card-title {
    font-size: 18px;
    line-height: 1.35;
}
.shiko-search-card-title a { color: var(--shiko-text); text-decoration: none; }
.shiko-search-card-title a:hover { color: var(--shiko-accent); }
.shiko-search-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--shiko-accent);
}
.shiko-search-card-price del {
    color: var(--shiko-text-muted);
    font-size: 14px;
    margin-inline-end: 6px;
}
.shiko-search-card-excerpt {
    color: var(--shiko-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}
.shiko-search-card-actions { margin-top: auto; }
.shiko-search-card-link { width: 100%; justify-content: center; }
.shiko-search-empty-state {
    padding: 40px 24px;
    text-align: center;
    background: var(--shiko-bg-secondary);
    border: 1px solid var(--shiko-border);
    border-radius: var(--shiko-radius-xl);
}
.shiko-live-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--shiko-border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--shiko-text-secondary);
}
.shiko-live-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--shiko-bg-tertiary);
    color: var(--shiko-text);
    font-size: 12px;
}
.shiko-live-item {
    align-items: flex-start;
}
.shiko-live-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.shiko-live-name {
    line-height: 1.35;
}
.shiko-live-price del {
    color: var(--shiko-text-muted);
    margin-inline-end: 6px;
}
.shiko-live-sale {
    background: rgba(212, 160, 23, 0.14);
    color: var(--shiko-success);
}
@media (max-width: 900px) {
    .shiko-search-hero,
    .shiko-search-results-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .shiko-mobile-theme-toggle { display: inline-flex !important; }
    .shiko-search-hero {
        padding: 18px;
        border-radius: var(--shiko-radius-lg);
    }
    .shiko-search-results-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .shiko-search-card {
        flex-direction: row;
    }
    .shiko-search-card-thumb {
        width: 112px;
        min-width: 112px;
        aspect-ratio: auto;
    }
}
@media (min-width: 769px) {
    .shiko-mobile-theme-toggle { display: none !important; }
}

/* ===== ACCESSIBILITY ADDITIONS — v1.9.17 ===== */

/* Screen reader text (used by skip link and WC) */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Reduced motion: disable animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .shiko-header,
    .shiko-footer,
    .shiko-sticky-checkout,
    .shiko-mobile-menu,
    .shiko-skip-link,
    .shiko-theme-toggle,
    .shiko-search-toggle,
    .cht-widget-container,
    .chaty-widget { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    a { color: #000 !important; text-decoration: underline !important; }
}

/* Focus styles for cart quantity controls */
.woocommerce-cart .quantity-controls .qty-minus:focus-visible,
.woocommerce-cart .quantity-controls .qty-plus:focus-visible {
    outline: 2px solid var(--shiko-accent);
    outline-offset: -2px;
    z-index: 1;
}
.woocommerce-cart .coupon input:focus-visible,
.woocommerce-cart .coupon button:focus-visible,
.woocommerce-cart button[name="update_cart"]:focus-visible {
    outline: 2px solid var(--shiko-accent);
    outline-offset: 2px;
}
.shiko-sticky-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
