/*
Theme Name: BSFS
Theme URI: https://basketballshoesforsale.com
Author: SSP
Description: Basketball Shoes For Sale - Nike-inspired athletic shopping guide
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bsfs
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
    --ink: #111111;
    --paper: #ffffff;
    --cream: #f5f5f5;
    --orange: #ff6b00;
    --orange-light: #ff8c38;
    --orange-dim: rgba(255,107,0,0.08);
    --white: #ffffff;
    --gray: #757575;
    --gray-light: #e5e5e5;
    --border: #e5e5e5;
    --red: #d32f2f;
    --green: #2e7d32;
    --topbar-bg: #111111;
    --header-bg: #ffffff;
    --footer-bg: #111111;
    --btn-primary: #111111;
    --accent: #ff6b00;
    --accent-light: rgba(255,107,0,0.08);
    --font-display: 'Barlow Condensed', Impact, sans-serif;
    --font-body: 'Barlow', sans-serif;
    --container: 1340px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 0px;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); font-size: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

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

.label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    line-height: 0.95;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: 1.5px solid transparent;
    text-decoration: none;
}

.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--ink); border-color: var(--ink); }

/* ── TOPBAR ──────────────────────────────────────────────── */

.topbar {
    background: var(--topbar-bg);
    color: rgba(255,255,255,0.6);
    padding: 9px 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.topbar a:hover { color: var(--orange); }

/* ── HEADER ──────────────────────────────────────────────── */

.site-header {
    background: var(--header-bg);
    border-bottom: 2px solid var(--ink);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

.header-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.site-logo .logo-dot { color: var(--orange); }

.site-nav { display: flex; align-items: stretch; }

.site-nav > ul {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.site-nav > ul > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.site-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    gap: 5px;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.current-menu-item > a,
.site-nav > ul > li.current-menu-ancestor > a {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.site-nav > ul > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 10px;
    opacity: 0.5;
}

.sub-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    background: var(--ink);
    border-top: 2px solid var(--orange);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}

.site-nav > ul > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition);
}

.sub-menu li:last-child a { border-bottom: none; }

.sub-menu li a:hover { color: var(--orange); padding-left: 28px; }

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

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ink);
    transition: color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.header-icon-btn:hover { color: var(--orange); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */

.hero-section { background: var(--ink); overflow: hidden; position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: 600px;
}

.hero-main {
    position: relative;
    overflow: hidden;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 0.8s ease;
}

.hero-main:hover img { transform: scale(1.03); }

.hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.3) 60%, transparent 100%);
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 52px 56px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--orange);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 5.5vw, 88px);
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--orange);
}

.hero-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    max-width: 420px;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-link { position: absolute; inset: 0; z-index: 1; }
.hero-main-content { z-index: 2; position: absolute; }

.hero-stack {
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(255,255,255,0.08);
}

.hero-card {
    position: relative;
    overflow: hidden;
    flex: 1;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-card:last-child { border-bottom: none; }

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: all 0.5s ease;
}

.hero-card:hover img { opacity: 0.75; transform: scale(1.06); }

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, transparent 60%);
}

.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    z-index: 2;
}

.hero-card-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.01em;
}

.hero-card-link { position: absolute; inset: 0; z-index: 3; }

/* ── TICKER ──────────────────────────────────────────────── */

.ticker {
    background: var(--orange);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    animation: ticker 25s linear infinite;
}

.ticker-track span {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0 32px;
}

.ticker-track span::before {
    content: '✦';
    margin-right: 32px;
    font-size: 8px;
    opacity: 0.7;
}

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

/* ── PRODUCTS ────────────────────────────────────────────── */

.products-section { padding: 88px 0; background: var(--paper); }

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.product-card {
    background: var(--paper);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
}

.product-card:hover { z-index: 2; box-shadow: 0 12px 48px rgba(0,0,0,0.14); }

.product-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.07); }

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 0;
    background: var(--orange);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
}

.product-card-body { padding: 18px 20px 22px; }

.product-card-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 6px;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.price-now {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.price-was {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
}

.product-card-buy {
    display: block;
    text-align: center;
    padding: 11px;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all var(--transition);
    border: 1.5px solid var(--ink);
}

.product-card-buy:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ── CATEGORY STRIP ──────────────────────────────────────── */

.cat-strip { padding: 64px 0; background: var(--ink); }

.cat-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2px;
    margin-top: 40px;
}

.cat-strip-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
}

.cat-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.cat-strip-item:hover img { opacity: 0.75; transform: scale(1.08); }

.cat-strip-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, transparent 60%);
    transition: background var(--transition);
}

.cat-strip-item:hover .cat-strip-item-overlay { background: linear-gradient(to top, rgba(255,107,0,0.7) 0%, rgba(17,17,17,0.2) 60%, transparent 100%); }

.cat-strip-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    z-index: 2;
}

.cat-strip-item-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.cat-strip-item-count {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.cat-strip-item-link { position: absolute; inset: 0; z-index: 3; }

/* ── GUIDES ──────────────────────────────────────────────── */

.guides-section { padding: 88px 0; background: var(--cream); }

.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 48px;
    border: 1px solid var(--border);
}

.guide-item {
    background: var(--paper);
    padding: 36px 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--ink);
}

.guide-item:hover { background: var(--ink); }
.guide-item:hover .guide-num { color: var(--orange); }
.guide-item:hover .guide-title { color: var(--white); }
.guide-item:hover .guide-meta,
.guide-item:hover .guide-excerpt { color: rgba(255,255,255,0.5); }

.guide-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition);
}

.guide-body { flex: 1; }

.guide-meta {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
    transition: color var(--transition);
}

.guide-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.guide-excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

/* ── MID BANNER ──────────────────────────────────────────── */

.mid-banner {
    background: var(--orange);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.mid-banner::before {
    content: 'BSFS';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(160px, 20vw, 280px);
    font-weight: 900;
    color: rgba(255,255,255,0.08);
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.mid-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.mid-banner-text .label { color: rgba(255,255,255,0.7); }

.mid-banner-text .section-title { color: var(--white); }

.mid-banner-text p {
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-top: 16px;
    font-size: 15px;
}

/* ── FOOTER ──────────────────────────────────────────────── */

.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.4); padding: 72px 0 0; }

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .site-logo { color: var(--white); display: block; margin-bottom: 16px; font-size: 22px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.35); }

.footer-col h4 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.footer-bottom a { color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ── SEARCH OVERLAY ──────────────────────────────────────── */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.search-overlay-inner { width: 100%; max-width: 760px; padding: 0 40px; }

.search-overlay input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    text-transform: uppercase;
    padding: 16px 0;
    transition: border-color var(--transition);
    letter-spacing: 0.02em;
}

.search-overlay input::placeholder { color: rgba(255,255,255,0.2); }
.search-overlay input:focus { border-bottom-color: var(--orange); outline: none; }

.search-close {
    position: absolute;
    top: 28px;
    right: 40px;
    color: rgba(255,255,255,0.4);
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--transition);
    line-height: 1;
}

.search-close:hover { color: var(--orange); }

/* ── PAGE HEADER ─────────────────────────────────────────── */

.page-header {
    background: var(--ink);
    padding: 52px 0 48px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
}

.page-header .label { color: var(--orange); }

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.01em;
}

/* ── SINGLE PRODUCT ──────────────────────────────────────── */

.product-page { padding: 56px 0 96px; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

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

.gallery-main {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream);
    margin-bottom: 10px;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s ease; }

.gallery-thumbs { display: flex; gap: 6px; }

.gallery-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    background: var(--cream);
    flex-shrink: 0;
}

.gallery-thumb.active { border-color: var(--orange); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

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

.product-breadcrumb {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-breadcrumb a { color: var(--gray); transition: color var(--transition); }
.product-breadcrumb a:hover { color: var(--orange); }
.product-breadcrumb .sep { opacity: 0.3; }

.product-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.product-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.product-price-now {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
}

.product-price-was { font-size: 18px; color: var(--gray); text-decoration: line-through; }

.product-price-save {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--green);
    padding: 4px 10px;
    text-transform: uppercase;
}

.product-sku-block {
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    background: var(--cream);
}

.sku-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.sku-row:last-child { border-bottom: none; }

.sku-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 11px 16px;
    min-width: 120px;
    border-right: 1px solid var(--border);
    background: var(--paper);
    flex-shrink: 0;
}

.sku-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    padding: 11px 16px;
}

.product-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--orange);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--transition);
    border: 2px solid var(--orange);
    text-decoration: none;
    margin-bottom: 36px;
}

.product-buy-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.product-buy-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.product-description { font-size: 14px; line-height: 1.9; color: var(--gray); margin-bottom: 32px; }
.product-description p { margin-bottom: 16px; }
.product-description img { max-width: 100%; margin: 20px 0; }

.product-meta-info {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 12px;
    color: var(--gray);
}

.product-meta-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.product-meta-info strong {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    min-width: 80px;
}

/* ── RELATED ─────────────────────────────────────────────── */

.related-section { padding: 72px 0; border-top: 1px solid var(--border); background: var(--cream); }
.related-section .section-title { margin-bottom: 0; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 40px;
}

/* ── REVIEWS ─────────────────────────────────────────────── */

.reviews-section { padding: 72px 0; background: var(--paper); }

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ink);
}

.reviews-count { font-size: 13px; color: var(--gray); font-weight: 500; }

.comment-list { list-style: none; }

.comment { padding: 32px 0; border-bottom: 1px solid var(--border); }

.comment-author-info { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.comment-avatar { width: 40px; height: 40px; overflow: hidden; background: var(--cream); flex-shrink: 0; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.comment-author-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.comment-date { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; }
.comment-text p { font-size: 14px; line-height: 1.8; color: var(--gray); }

.comment-form-section { margin-top: 56px; padding-top: 56px; border-top: 2px solid var(--ink); }

.comment-form-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
}

.form-field input,
.form-field textarea {
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    transition: border-color var(--transition);
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--orange); outline: none; }
.form-field textarea { min-height: 130px; resize: vertical; }
.comment-form-full { margin-bottom: 16px; }

/* ── SINGLE BLOG ─────────────────────────────────────────── */

.blog-page { padding: 56px 0 96px; }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }

.blog-breadcrumb {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-breadcrumb a { color: var(--gray); transition: color var(--transition); }
.blog-breadcrumb a:hover { color: var(--orange); }
.blog-breadcrumb .sep { opacity: 0.3; }

.blog-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    padding-bottom: 28px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.blog-meta a { color: var(--orange); }

.blog-content { font-size: 15px; line-height: 1.9; color: #444; }
.blog-content h2, .blog-content h3, .blog-content h4 { font-family: var(--font-display); font-weight: 800; color: var(--ink); text-transform: uppercase; margin: 36px 0 14px; line-height: 1; }
.blog-content h2 { font-size: 36px; }
.blog-content h3 { font-size: 26px; }
.blog-content h4 { font-size: 20px; }
.blog-content p { margin-bottom: 18px; }
.blog-content img { width: 100%; margin: 28px 0; }
.blog-content blockquote { border-left: 3px solid var(--orange); padding: 16px 24px; margin: 28px 0; background: var(--cream); font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.blog-content a { color: var(--orange); text-decoration: underline; text-decoration-color: rgba(255,107,0,0.3); text-underline-offset: 3px; }
.blog-content a:hover { text-decoration-color: var(--orange); }
.blog-content ul, .blog-content ol { margin: 18px 0 18px 24px; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; }

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    margin-top: 56px;
    border-top: 2px solid var(--ink);
}

.post-nav-item {
    background: var(--paper);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background var(--transition);
    text-decoration: none;
    color: var(--ink);
}

.post-nav-item:hover { background: var(--ink); }
.post-nav-item:hover .post-nav-title { color: var(--white); }
.post-nav-item:hover .post-nav-label { color: var(--orange); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); transition: color var(--transition); }
.post-nav-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.2; transition: color var(--transition); }

/* ── SIDEBAR ─────────────────────────────────────────────── */

.blog-sidebar { position: sticky; top: 88px; }

.sidebar-widget { margin-bottom: 40px; }

.sidebar-widget-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
}

.sidebar-product-list { display: flex; flex-direction: column; }

.sidebar-product-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--ink);
    align-items: center;
    transition: all var(--transition);
}

.sidebar-product-item:hover { padding-left: 4px; }
.sidebar-product-item:hover .sidebar-product-title { color: var(--orange); }

.sidebar-product-rank {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 32px;
}

.sidebar-product-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 3px;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-product-price { font-size: 13px; color: var(--orange); font-weight: 700; }

/* ── ARCHIVE ─────────────────────────────────────────────── */

.archive-page { padding: 52px 0 96px; }

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.archive-pagination { margin-top: 56px; display: flex; justify-content: center; gap: 3px; }

.archive-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: var(--paper);
    transition: all var(--transition);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ── 404 ─────────────────────────────────────────────────── */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
}

.error-page-num {
    font-family: var(--font-display);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

/* ── REDIRECT ────────────────────────────────────────────── */

.redirect-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.redirect-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

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

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1200px) {
    .product-grid, .related-grid, .archive-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-grid { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .blog-layout { grid-template-columns: 1fr 260px; gap: 48px; }
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: 500px; }
    .hero-stack { display: none; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .menu-toggle { display: flex; }
    .site-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--ink);
        padding: 16px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .site-nav > ul { flex-direction: column; height: auto; }
    .site-nav > ul > li { display: block; }
    .site-nav > ul > li > a { color: var(--white); padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 0; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border-top: none; border-left: 3px solid var(--orange); margin-left: 24px; }
    .hero-main-content { padding: 32px 24px; }
    .hero-title { font-size: clamp(36px, 10vw, 56px); }
    .product-grid, .related-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .products-section, .guides-section { padding: 56px 0; }
    .guides-grid { grid-template-columns: 1fr; }
    .product-layout { grid-template-columns: 1fr; gap: 36px; }
    .product-gallery { position: static; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .mid-banner-inner { flex-direction: column; text-align: center; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .post-nav { grid-template-columns: 1fr; }
    .comment-form-grid { grid-template-columns: 1fr; }
    .cat-strip-grid { grid-template-columns: repeat(3, 1fr); }
    .topbar .container { flex-direction: column; gap: 3px; }
}

@media (max-width: 480px) {
    .product-grid, .related-grid, .archive-grid { grid-template-columns: 1fr; }
    .cat-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-main { min-height: 440px; }
}
