/*
Theme Name: Sniper Tactical Gear
Theme URI: https://snipertacticalgear.co.za
Author: Sniper Tactical Gear
Author URI: https://snipertacticalgear.co.za
Description: Custom WooCommerce theme for Sniper Tactical Gear - South Africa's trusted source for premium tactical gear and firearms accessories.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sniper-tactical-gear
Tags: woocommerce, e-commerce, custom-menu, custom-logo, featured-images, theme-options
WooCommerce tested up to: 8.5
*/

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

body.cart-open {
    overflow: hidden;
}

/* WordPress Admin Bar offset */
body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar {
    padding-top: 112px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
    body.admin-bar {
        padding-top: 126px;
    }
}

/* Global bottom padding before footer */
.page-content,
.entry-content,
.site-main,
.woocommerce .page-content,
.woocommerce-page .page-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
    padding-bottom: 100px;
}

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

a:hover {
    opacity: 0.8;
}

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

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0a0a0a;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   2. UTILITY CLASSES
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #fff;
    color: #0a0a0a;
    opacity: 1;
}

.btn-outline {
    background-color: transparent;
    color: #0a0a0a;
    border-color: #0a0a0a;
}

.btn-outline:hover {
    background-color: #0a0a0a;
    color: #fff;
    opacity: 1;
}

.btn-white {
    background-color: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
    opacity: 1;
}

/* ==========================================================================
   3. HEADER / NAVBAR
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0a0a0a;
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

.primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-nav .menu li {
    position: relative;
}

.primary-nav .menu li a {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    padding: 0.5rem 0;
    position: relative;
}

.primary-nav .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0a0a0a;
    transition: width 0.3s ease;
}

.primary-nav .menu li a:hover::after,
.primary-nav .menu li.active a::after {
    width: 100%;
}

.primary-nav .menu li a:hover {
    opacity: 1;
    color: #0a0a0a;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-actions a,
.header-actions button.cart-trigger {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-actions a:hover,
.header-actions button.cart-trigger:hover {
    opacity: 1;
    color: #0a0a0a;
}

.cart-trigger {
    position: relative;
}

.cart-trigger svg,
.header-account svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0a0a0a;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   4. SLIDE-IN CART DRAWER
   ========================================================================== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active,
.cart-overlay.open,
.cart-drawer-overlay.active,
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active,
.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cart-drawer-close:hover {
    opacity: 0.6;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
    padding: 2rem;
}

.cart-drawer-empty svg {
    width: 48px;
    height: 48px;
    stroke: #ccc;
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1rem;
}

.cart-drawer-empty p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.cart-drawer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.cart-drawer-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-info h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-drawer-item-info .item-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e5e5;
    width: fit-content;
}

.cart-drawer-item-qty button {
    width: 28px;
    height: 28px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-drawer-item-qty button:hover {
    background: #e5e5e5;
}

.cart-drawer-item-qty span {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.cart-drawer-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cart-drawer-item-remove:hover {
    color: #0a0a0a;
}

.cart-drawer-footer {
    border-top: 1px solid #e5e5e5;
    padding: 1.25rem 1.5rem;
    flex-shrink: 0;
    background: #fafafa;
}

.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cart-drawer-subtotal span:first-child {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.cart-drawer-subtotal span:last-child {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0a0a0a;
}

.cart-drawer-shipping {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1rem;
}

.cart-drawer-footer .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.cart-drawer-footer .btn:last-child {
    margin-bottom: 0;
}

.cart-drawer-footer .btn-outline {
    font-size: 0.75rem;
    padding: 0.625rem 1rem;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero-section {
    background-color: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 8rem 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 2rem;
    filter: invert(1);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-white {
    font-size: 0.875rem;
    padding: 1rem 2.5rem;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #fff;
}

/* ==========================================================================
   6. CATEGORY CARDS
   ========================================================================== */

.categories-section {
    background-color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card:hover {
    border-color: #0a0a0a;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.category-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-icon svg {
    width: 40px;
    height: 40px;
    stroke: #0a0a0a;
    fill: none;
    stroke-width: 1.5;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 1.25rem;
}

.category-card .btn {
    font-size: 0.75rem;
    padding: 0.5rem 1.25rem;
}

/* ==========================================================================
   7. FEATURED PRODUCTS
   ========================================================================== */

.featured-products-section {
    background-color: #fafafa;
}

.products-grid,
ul.products,
.shop-main ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    border-color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 1px solid #e5e5e5;
}

.product-card-body {
    padding: 1rem;
}

.product-card-category {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    display: block;
    margin-bottom: 0.25rem;
}

.product-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    margin-bottom: 0.25rem;
}

.product-card .price {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0;
}

.product-card .price del {
    color: #bbb;
    font-weight: 400;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.product-card .add-to-cart {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #0a0a0a;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card .add-to-cart:hover {
    background-color: #333;
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    line-height: 1;
    z-index: 1;
}

/* ==========================================================================
   8. WHY STG / FEATURES SECTION
   ========================================================================== */

.why-stg-section {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #0a0a0a;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    stroke: #0a0a0a;
    fill: none;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   9. CTA BANNER
   ========================================================================== */

.cta-banner {
    background-color: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
    background-color: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-about .footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
    filter: invert(1);
}

.footer-about p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.payment-icons span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   11. PAGE STYLES (Shop, Cart, Checkout, Account)
   ========================================================================== */

.page-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.page-header {
    padding: 2.5rem 0 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.8125rem;
    color: #999;
    padding: 1rem 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs a:hover {
    color: #0a0a0a;
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: #ccc;
}

/* Shop Layout with Sidebar */
.shop-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.shop-main {
    flex: 1;
    min-width: 0;
}

/* Shop Filters */
.filter-widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.filter-widget h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0a0a0a;
}

.filter-widget ul li {
    margin-bottom: 0;
}

.filter-widget ul li a,
.filter-widget ul li label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    color: #444;
    transition: color 0.2s;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

.filter-widget ul li a:hover,
.filter-widget ul li label:hover {
    color: #0a0a0a;
    opacity: 1;
}

.filter-widget ul li .count {
    font-size: 0.75rem;
    color: #999;
    background: #f5f5f5;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

.filter-widget ul li input[type="checkbox"] {
    margin-right: 0.625rem;
    accent-color: #0a0a0a;
}

.filter-widget ul li label span {
    flex: 1;
}

/* Price Range Filter */
.price-range {
    padding: 0.5rem 0;
}

.price-range-slider {
    position: relative;
    height: 4px;
    background: #e5e5e5;
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}

.price-range-slider .range-fill {
    position: absolute;
    height: 100%;
    background: #0a0a0a;
    border-radius: 2px;
    left: 10%;
    right: 20%;
}

.price-range-slider .range-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #0a0a0a;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.price-range-slider .range-handle.min {
    left: 10%;
}

.price-range-slider .range-handle.max {
    right: 20%;
    left: auto;
    transform: translate(50%, -50%);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a0a0a;
}

.filter-btn {
    display: block;
    width: 100%;
    background: #0a0a0a;
    color: #fff;
    border: none;
    padding: 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.filter-btn:hover {
    background: #333;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #0a0a0a;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
}

.active-filter-tag button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1;
    opacity: 0.7;
    padding: 0;
}

.active-filter-tag button:hover {
    opacity: 1;
}

/* Mobile filter toggle */
.filter-toggle-btn {
    display: none;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filter-toggle-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.shop-toolbar .result-count {
    font-size: 0.8125rem;
    color: #999;
}

.shop-toolbar select {
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    background: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    border: 1px solid #e5e5e5;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

.pagination span.current {
    background-color: #0a0a0a;
    border-color: #0a0a0a;
    color: #fff;
}

.pagination a:hover {
    background-color: #0a0a0a;
    border-color: #0a0a0a;
    color: #fff;
    opacity: 1;
}

/* Cart Page (keeping for standalone cart page view) */
.cart-table {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem;
    text-align: left;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.cart-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.cart-table .remove-item {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-table .remove-item:hover {
    color: #0a0a0a;
}

.cart-table .qty-input {
    border: 1px solid #e5e5e5;
    width: 60px;
    padding: 0.5rem;
    text-align: center;
}

.cart-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cart-items {
    flex: 1;
}

.cart-totals {
    width: 400px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    background: #fafafa;
}

.cart-totals h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.cart-totals-table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.cart-totals-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.cart-totals-table td:last-child {
    text-align: right;
    font-weight: 700;
}

.cart-totals .btn {
    width: 100%;
}

/* Checkout */
.checkout-layout {
    display: flex;
    gap: 3rem;
}

.checkout-fields {
    flex: 1;
}

.checkout-order {
    width: 400px;
    flex-shrink: 0;
}

.checkout-section h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0a0a0a;
    margin-bottom: 1.5rem;
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin-bottom: 0.375rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 0.875rem 1rem;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #0a0a0a;
    outline: none;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-review {
    border: 1px solid #e5e5e5;
    background: #fafafa;
    padding: 1.5rem;
}

.order-review h3 {
    border-bottom: 2px solid #0a0a0a;
}

.order-table {
    width: 100%;
    margin-bottom: 1rem;
}

.order-table td,
.order-table th {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
}

.order-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.order-table td:last-child,
.order-table th:last-child {
    text-align: right;
}

.order-total td {
    font-size: 1.125rem;
    font-weight: 700;
}

.payment-methods {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.payment-method {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.payment-method:last-child {
    border-bottom: none;
}

.payment-method label {
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.payment-method input[type="radio"] {
    margin-right: 0.5rem;
}

/* Account Page */
.account-layout {
    display: flex;
    gap: 2rem;
}

.account-nav {
    width: 250px;
    flex-shrink: 0;
}

.account-nav ul {
    border: 1px solid #e5e5e5;
}

.account-nav ul li {
    border-bottom: 1px solid #e5e5e5;
}

.account-nav ul li:last-child {
    border-bottom: none;
}

.account-nav ul li a {
    display: block;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    transition: all 0.2s ease;
}

.account-nav ul li.active a,
.account-nav ul li a:hover {
    background-color: #0a0a0a;
    color: #fff;
    opacity: 1;
}

.account-content {
    flex: 1;
}

.account-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Login Form */
.login-form {
    max-width: 450px;
    margin: 0;
}

.login-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 2rem;
}

.legal-toc {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.legal-toc h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-toc ol {
    list-style: decimal;
    padding-left: 1.25rem;
}

.legal-toc ol li {
    margin-bottom: 0.5rem;
}

.legal-toc ol li a {
    color: #0a0a0a;
    font-weight: 500;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: #444;
    line-height: 1.8;
}

/* ==========================================================================
   12. RESPONSIVE — TABLET (1024px)
   ========================================================================== */

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

    .products-grid,
    ul.products,
    .shop-main ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .shop-sidebar {
        width: 220px;
    }

    .checkout-layout {
        gap: 2rem;
    }

    .checkout-order {
        width: 340px;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 2rem 1.25rem;
    }

    .hero-section {
        padding: 6rem 1.5rem;
        min-height: 55vh;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .cart-totals {
        width: 340px;
    }
}

/* ==========================================================================
   13. RESPONSIVE — MOBILE (768px)
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    body {
        font-size: 15px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    /* Header Mobile */
    .primary-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        z-index: 999;
    }

    .primary-nav.active {
        display: flex;
    }

    .primary-nav .menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .primary-nav .menu li {
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }

    .primary-nav .menu li a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .primary-nav .menu li a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 4rem 1.5rem;
        min-height: 45vh;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-logo {
        width: 80px;
        margin-bottom: 1.5rem;
    }

    .hero-section .btn-white {
        padding: 0.875rem 2rem;
    }

    /* Categories Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.75rem 1rem;
    }

    .category-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .category-card-icon svg {
        width: 32px;
        height: 32px;
    }

    .category-card h3 {
        font-size: 0.875rem;
    }

    .category-card p {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    /* Products Mobile */
    .products-grid,
    ul.products,
    .shop-main ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .product-card-body {
        padding: 0.75rem;
    }

    .product-card h3 {
        font-size: 0.8125rem;
    }

    .product-card .price {
        font-size: 0.9375rem;
    }

    .product-card .add-to-cart {
        padding: 0.625rem 0.75rem;
        font-size: 0.6875rem;
    }

    .product-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* CTA Mobile */
    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Shop Sidebar Mobile */
    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
        display: none;
    }

    .shop-sidebar.active {
        display: block;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .shop-toolbar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .shop-toolbar select {
        width: 100%;
    }

    /* Cart Page Mobile */
    .cart-layout {
        flex-direction: column;
    }

    .cart-totals {
        width: 100%;
    }

    .cart-table th:nth-child(1),
    .cart-table td:nth-child(1) {
        display: none;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    /* Cart Drawer Mobile */
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    /* Checkout Mobile */
    .checkout-layout {
        flex-direction: column;
    }

    .checkout-order {
        width: 100%;
    }

    .form-row-half {
        grid-template-columns: 1fr;
    }

    /* Account Mobile */
    .account-layout {
        flex-direction: column;
    }

    .account-nav {
        width: 100%;
    }

    .account-nav ul {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
        gap: 0;
    }

    .account-nav ul li {
        border-bottom: none;
        flex-shrink: 0;
    }

    .account-nav ul li a {
        white-space: nowrap;
        border: 1px solid #e5e5e5;
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    /* Legal Mobile */
    .legal-content {
        padding: 1.5rem 1rem;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-toc {
        padding: 1rem 1.25rem;
    }

    /* Page Headers Mobile */
    .page-header h1 {
        font-size: 1.5rem;
    }

    .breadcrumbs {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   14. RESPONSIVE — SMALL MOBILE (480px)
   ========================================================================== */

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .header-inner {
        height: 60px;
        padding: 0 1rem;
    }

    .site-logo img {
        height: 40px;
    }

    .header-actions {
        gap: 1rem;
    }

    .primary-nav {
        top: 60px;
    }

    .hero-section {
        padding: 3rem 1rem;
        min-height: 40vh;
    }

    .hero-section h1 {
        font-size: 1.75rem;
        letter-spacing: 0.05em;
    }

    .hero-section p {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .hero-logo {
        width: 60px;
    }

    .categories-grid {
        gap: 0.75rem;
    }

    .category-card {
        padding: 1.5rem 0.75rem;
    }

    .category-card .btn {
        font-size: 0.6875rem;
        padding: 0.375rem 0.875rem;
    }

    .products-grid,
    ul.products,
    .shop-main ul.products {
        gap: 0.5rem;
    }

    .product-card-body {
        padding: 0.625rem;
    }

    .product-card-category {
        font-size: 0.625rem;
    }

    .product-card h3 {
        font-size: 0.75rem;
    }

    .product-card .price {
        font-size: 0.875rem;
    }

    .product-card .add-to-cart {
        font-size: 0.625rem;
        padding: 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }

    .page-content {
        padding: 1.5rem 1rem;
    }

    .footer-col h4 {
        font-size: 0.75rem;
    }

    .footer-contact-item {
        font-size: 0.8125rem;
    }

    .cart-drawer-item img {
        width: 56px;
        height: 56px;
    }
}

/* ==========================================================================
   15. INDEX.HTML CLASS SUPPORT
   ========================================================================== */

/* Header (index.html uses .header instead of .site-header) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    transition: box-shadow 0.3s ease;
}

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

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

/* Logo (index.html uses .logo) */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Nav (index.html uses .nav with .nav-link anchors) */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0a0a0a;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 1;
    color: #0a0a0a;
}

/* Mobile nav open state for index.html */
.nav.nav-open {
    display: flex;
}

/* Hero (index.html uses .hero instead of .hero-section) */
.hero {
    background-color: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 8rem 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background-color: #fff;
    color: #0a0a0a;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #fff;
}

/* Categories section (index.html uses .categories) */
.categories {
    background-color: #fff;
    padding: 5rem 0;
}

/* Category icon (index.html uses .category-icon instead of .category-card-icon) */
.category-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 40px;
    height: 40px;
    stroke: #0a0a0a;
    fill: none;
    stroke-width: 1.5;
}

/* Featured products section (index.html uses .featured-products) */
.featured-products {
    background-color: #fafafa;
    padding: 5rem 0;
}

/* Product image wrapper (index.html wraps img in .product-image div) */
.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 1px solid #e5e5e5;
    transition: transform 0.3s ease;
}

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

/* Product category label (index.html uses .product-category) */
.product-category {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    display: block;
    margin-bottom: 0.25rem;
}

/* Product name (index.html uses .product-name) */
.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    margin-bottom: 0.25rem;
}

/* Product price (index.html uses .product-price) */
.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
}

/* Badge variants (index.html uses .badge-new and .badge-sale) */
.badge-new {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    line-height: 1;
    z-index: 1;
}

.badge-sale {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #c0392b;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    line-height: 1;
    z-index: 1;
}

/* Why STG section (index.html uses .why-stg) */
.why-stg {
    background-color: #fff;
    padding: 5rem 0;
}

/* CTA content & actions (index.html uses .cta-content and .cta-actions) */
.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-banner .btn-outline:hover {
    background-color: #fff;
    color: #0a0a0a;
}

/* Footer (index.html uses .footer instead of .site-footer) */
.footer {
    background-color: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer .footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
    filter: invert(1);
}

.footer .footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer .footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer .footer-col ul li a:hover {
    color: #fff;
    opacity: 1;
}

.footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   16. SHOP PAGE MISSING STYLES
   ========================================================================== */

/* Price slider (shop.html) */
.price-slider {
    position: relative;
    height: 4px;
    background: #e5e5e5;
    margin: 1rem 0 0.75rem;
    border-radius: 2px;
}

.price-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e5e5e5;
    border-radius: 2px;
}

.price-slider-fill {
    position: absolute;
    height: 100%;
    background: #0a0a0a;
    border-radius: 2px;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a0a0a;
}

/* Tag cloud (shop.html) */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    color: #444;
    transition: all 0.2s;
}

.tag-link:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
    opacity: 1;
}

/* Cart empty message (shop.html) */
.cart-empty-msg {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.9375rem;
}

/* Cart drawer total (shop.html uses .cart-drawer-total as a div, not span) */
.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* ==========================================================================
   17. CHECKOUT PAGE MISSING STYLES
   ========================================================================== */

/* Checkout billing (checkout.html uses .checkout-billing) */
.checkout-billing {
    flex: 1;
}

.checkout-billing h2,
.checkout-order h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0a0a0a;
    margin-bottom: 1.5rem;
}

.checkout-billing h3 {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Form group (checkout.html & account.html use .form-group) */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 0.875rem 1rem;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0a0a0a;
    outline: none;
}

.form-group .required {
    color: #c0392b;
}

/* Form row half (checkout.html) */
.form-row.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

/* Order review table (checkout.html) */
.order-review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.order-review-table th,
.order-review-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    text-align: left;
}

.order-review-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.order-review-table th:last-child,
.order-review-table td:last-child {
    text-align: right;
}

.order-review-table tfoot td {
    font-weight: 600;
}

/* Payment option (checkout.html uses .payment-option) */
.payment-option {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.payment-option:last-child {
    border-bottom: none;
}

.payment-option label {
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-option input[type="radio"] {
    accent-color: #0a0a0a;
}

/* Checkout privacy (checkout.html) */
.checkout-privacy {
    font-size: 0.8125rem;
    color: #666;
    margin: 1.25rem 0;
    line-height: 1.6;
}

.checkout-privacy a {
    text-decoration: underline;
    color: #0a0a0a;
}

/* ==========================================================================
   18. ACCOUNT PAGE MISSING STYLES
   ========================================================================== */

/* Account sidebar (account.html uses .account-sidebar) */
.account-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.account-sidebar .account-nav ul {
    border: 1px solid #e5e5e5;
}

.account-sidebar .account-nav ul li {
    border-bottom: 1px solid #e5e5e5;
}

.account-sidebar .account-nav ul li:last-child {
    border-bottom: none;
}

.account-sidebar .account-nav ul li a {
    display: block;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    transition: all 0.2s ease;
}

.account-sidebar .account-nav ul li.active a,
.account-sidebar .account-nav ul li a:hover {
    background-color: #0a0a0a;
    color: #fff;
    opacity: 1;
}

/* Account welcome */
.account-welcome {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
}

.account-welcome p {
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.7;
}

.account-welcome p:last-child {
    margin-bottom: 0;
}

/* Account orders */
.account-orders {
    margin-bottom: 2rem;
}

.account-orders h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0a0a0a;
    margin-bottom: 1rem;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
}

.orders-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.875rem 1rem;
    text-align: left;
}

.orders-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    vertical-align: middle;
}

.order-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

.status-processing {
    background: #fef3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

/* Account login preview */
.account-login-preview {
    margin-top: 2rem;
}

.account-login-preview h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0a0a0a;
    margin-bottom: 1.5rem;
}

.lost-password {
    font-size: 0.8125rem;
    color: #666;
    text-decoration: underline;
}

.lost-password:hover {
    color: #0a0a0a;
}

/* Cart drawer item price (index.html JS renders .cart-drawer-item-price) */
.cart-drawer-item-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

/* Qty buttons in cart drawer (index.html JS renders .qty-btn) */
.qty-btn {
    width: 28px;
    height: 28px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e5e5e5;
}

/* Cart drawer item image class (index.html JS renders .cart-drawer-item-img) */
.cart-drawer-item-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

/* ==========================================================================
   19. RESPONSIVE — INDEX.HTML SPECIFIC
   ========================================================================== */

@media (max-width: 1024px) {
    .hero {
        padding: 6rem 1.5rem;
        min-height: 55vh;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header mobile (index.html) */
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        z-index: 999;
    }

    .nav.nav-open {
        display: flex;
    }

    .nav .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
        border-bottom: 1px solid #e5e5e5;
        width: 100%;
    }

    .nav .nav-link::after {
        display: none;
    }

    /* Hero mobile (index.html) */
    .hero {
        padding: 4rem 1.5rem;
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Categories mobile (index.html) */
    .categories {
        padding: 3rem 0;
    }

    .category-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .category-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Featured products mobile */
    .featured-products {
        padding: 3rem 0;
    }

    /* Why STG mobile */
    .why-stg {
        padding: 3rem 0;
    }

    /* Footer mobile (index.html) */
    .footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Account sidebar mobile */
    .account-sidebar {
        width: 100%;
    }

    .account-sidebar .account-nav ul {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
        gap: 0;
    }

    .account-sidebar .account-nav ul li {
        border-bottom: none;
        flex-shrink: 0;
    }

    .account-sidebar .account-nav ul li a {
        white-space: nowrap;
        border: 1px solid #e5e5e5;
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    /* Checkout mobile form row */
    .form-row.form-row-half {
        grid-template-columns: 1fr;
    }

    /* Orders table mobile */
    .orders-table {
        font-size: 0.8125rem;
    }

    .orders-table th,
    .orders-table td {
        padding: 0.625rem 0.5rem;
    }

    .nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header .header-inner {
        height: 60px;
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
    }

    .nav {
        top: 60px;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: 0.05em;
    }

    .hero p {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .categories {
        padding: 2rem 0;
    }

    .featured-products {
        padding: 2rem 0;
    }

    .why-stg {
        padding: 2rem 0;
    }

    .cart-drawer-item-img {
        width: 56px;
        height: 56px;
    }
}

/* ==========================================================================
   20. TOUCH & INTERACTION ENHANCEMENTS
   ========================================================================== */

@media (hover: none) {
    .category-card:hover {
        transform: none;
        box-shadow: none;
    }

    .product-card:hover {
        transform: none;
        box-shadow: none;
    }

    .category-card:active {
        border-color: #0a0a0a;
    }

    .product-card:active {
        border-color: #0a0a0a;
    }
}

/* Ensure tap targets are at least 44px */
@media (max-width: 768px) {
    .primary-nav .menu li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .filter-widget ul li a,
    .filter-widget ul li label {
        min-height: 44px;
    }

    .account-nav ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-col ul li a {
        display: inline-block;
        min-height: 36px;
        line-height: 36px;
    }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.product-gallery .woocommerce-product-gallery {
    width: 100% !important;
}

.product-gallery .woocommerce-product-gallery__image img,
.product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #e5e5e5;
}

.product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-gallery .onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: #e53e3e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.875rem;
}

.product-gallery .flex-control-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    list-style: none;
    padding: 0;
}

.product-gallery .flex-control-thumbs li {
    flex: 0 0 80px;
}

.product-gallery .flex-control-thumbs li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.product-gallery .flex-control-thumbs li img.flex-active,
.product-gallery .flex-control-thumbs li img:hover {
    border-color: #0a0a0a;
    opacity: 1;
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
}

.product-details-inner {
    position: sticky;
    top: 100px;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a0a0a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 1.25rem;
}

.product-price del {
    color: #999;
    font-weight: 400;
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

.product-price ins {
    text-decoration: none;
    color: #e53e3e;
}

.product-short-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

/* Add to Cart Form */
.product-details .cart {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-details .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
}

.product-details .quantity .qty {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
}

.product-details .quantity .qty::-webkit-outer-spin-button,
.product-details .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-details .single_add_to_cart_button {
    flex: 1;
    height: 48px;
    background: #0a0a0a;
    color: #fff;
    border: none;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s;
}

.product-details .single_add_to_cart_button:hover {
    background: #333;
}

/* Shipping & Payment Info Boxes */
.shipping-info-box,
.payment-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e5e5;
    margin-bottom: 0.75rem;
    background: #fafafa;
}

.shipping-info-box svg,
.payment-info-box svg {
    flex-shrink: 0;
    color: #0a0a0a;
    margin-top: 2px;
}

.shipping-info-box strong,
.payment-info-box strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.125rem;
}

.shipping-info-box p,
.payment-info-box p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

/* Product Meta */
.product-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.product-meta-item {
    display: block;
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0.375rem;
}

.product-meta-item strong {
    color: #0a0a0a;
    margin-right: 0.25rem;
}

.product-meta-item a {
    color: #666;
    transition: color 0.2s;
}

.product-meta-item a:hover {
    color: #0a0a0a;
}

/* Product Tabs */
.product-tabs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
}

.product-tabs-section .woocommerce-tabs {
    margin-top: 2rem;
}

.product-tabs-section .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 2px solid #e5e5e5;
}

.product-tabs-section .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.product-tabs-section .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.product-tabs-section .woocommerce-tabs ul.tabs li.active a,
.product-tabs-section .woocommerce-tabs ul.tabs li a:hover {
    color: #0a0a0a;
    border-bottom-color: #0a0a0a;
}

.product-tabs-section .woocommerce-tabs .panel {
    padding: 0 0 2rem;
}

.product-tabs-section .woocommerce-tabs .panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-tabs-section .woocommerce-tabs .panel p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.8;
}

/* Related / Upsell Products */
.product-tabs-section .related.products,
.product-tabs-section .upsells.products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.product-tabs-section .related.products > h2,
.product-tabs-section .upsells.products > h2 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Single Product Responsive */
@media (max-width: 991px) {
    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }

    .product-details-inner {
        position: static;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .product-tabs-section {
        padding: 1.5rem 1rem 0;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.25rem;
    }

    .product-details .cart {
        flex-direction: column;
    }

    .product-details .quantity {
        width: 100%;
        justify-content: center;
    }

    .product-details .quantity .qty {
        width: 100%;
    }

    .product-details .single_add_to_cart_button {
        width: 100%;
    }

    .product-tabs-section .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .product-tabs-section .woocommerce-tabs ul.tabs li a {
        padding: 0.75rem 1rem;
    }

    .product-gallery .flex-control-thumbs li {
        flex: 0 0 60px;
    }

    .product-gallery .flex-control-thumbs li img {
        width: 60px;
        height: 60px;
    }
}
