/*
Theme Name:  The Wounded Society
Theme URI:   https://www.thewoundedsociety.com
Description: A bold, dark WooCommerce theme for The Wounded Society. Black backgrounds, red accents, and white text for a powerful, faith-forward presence.
Version:     1.7.0
Author:      The Wounded Society
Text Domain: wounded-society
Requires at least: 6.0
Tested up to: 6.8
WC requires at least: 7.0
WC tested up to: 9.0
License: GPL-2.0+
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --red:          #CC0000;
  --red-dark:     #990000;
  --red-light:    #FF3333;
  --red-pale:     #1A0000;

  --text:         #FFFFFF;
  --text-mid:     #CCCCCC;
  --text-muted:   #888888;
  --border:       #2A2A2A;
  --bg:           #000000;
  --bg-card:      #111111;
  --bg-raised:    #1A1A1A;

  /* Aliases kept for template compatibility */
  --mocha:        #CC0000;
  --mocha-dark:   #990000;
  --mocha-light:  #FF3333;
  --mocha-pale:   #1A0000;
  --green:        #CC0000;
  --green-light:  #FF3333;
  --green-pale:   #111111;
  --purple:       #AA2222;
  --purple-light: #CC3333;
  --purple-pale:  #111111;
  --dark:         #FFFFFF;
  --mid:          #CCCCCC;
  --muted:        #888888;
  --white:        #000000;
  --black:        #111111;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;
  --radius:       4px;
  --radius-lg:    8px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.6);
  --shadow-md:    0 4px 16px rgba(0,0,0,.7);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.8);
  --transition:   0.22s ease;
  --max-width:    1280px;
  --gutter:       clamp(16px, 4vw, 48px);
}

/* ============================================================
   RESET AND BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #FFFFFF;
  background: #000000;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-light); }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* Headlines are red */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--red);
}
p { margin-bottom: 1em; color: #FFFFFF; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Inner content wrapper — used for sections that still need a readable max-width */
.container-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-content { min-height: 60vh; }

/* ============================================================
   UTILITY
   ============================================================ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: 2px solid transparent; transition: all var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: #FFFFFF; border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark); border-color: var(--red-dark); color: #FFFFFF;
}
.btn-outline {
  background: transparent; color: var(--red); border-color: var(--red);
}
.btn-outline:hover { background: var(--red); color: #FFFFFF; }
.btn-white {
  background: transparent; color: #FFFFFF; border-color: #FFFFFF;
}
.btn-white:hover { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.section-label {
  display: inline-block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-family: var(--font-display);
  margin-bottom: 16px;
  color: var(--red);
}
.section-sub { font-size: 15px; color: #888888; max-width: 520px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ============================================================
   TOP BAR
   ============================================================ */
.site-topbar {
  background: var(--red-dark);
  color: rgba(255,255,255,.90);
  font-size: 12px; letter-spacing: .06em;
  padding: 8px 0; text-align: center;
}
.site-topbar a { color: rgba(255,255,255,.90); }
.site-topbar a:hover { color: #FFFFFF; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-message { flex: 1; text-align: center; }
.topbar-links { display: flex; gap: 16px; }

/* ============================================================
   HEADER — Red background, black nav items
   ============================================================ */
.site-header {
  background: var(--red);
  border-bottom: 2px solid var(--red-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.header-inner {
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  max-width: 100%;
  margin: 0 auto;
  height: 72px; gap: 32px;
}
.site-branding { flex-shrink: 0; }
.site-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: #000000; letter-spacing: .04em;
  line-height: 1.1;
}
.site-title span { color: #FFFFFF; }
.site-tagline {
  font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(0,0,0,.60);
  font-family: var(--font-body); font-weight: 500;
}
.site-branding a { color: inherit; }
.site-branding a:hover { color: inherit; opacity: .85; }
.custom-logo { max-height: 48px; width: auto; }

/* Main nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: #000000; padding: 8px 14px; border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: #FFFFFF;
  background: rgba(0,0,0,.18);
}

/* Dropdown */
.main-nav li { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #0D0000; min-width: 200px;
  border: 1px solid var(--red-dark); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px 0; z-index: 200;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.4s;
}
.main-nav li:hover > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.main-nav .sub-menu a {
  display: block; padding: 9px 18px; font-size: 13px;
  text-transform: none; letter-spacing: 0; border-radius: 0;
  color: #FFFFFF;
}
.main-nav .sub-menu a:hover { background: var(--red-pale); color: var(--red-light); }

/* Header icons */
.header-icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon-btn {
  background: none; border: none; padding: 8px;
  color: #000000; border-radius: var(--radius);
  transition: all var(--transition); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.header-icon-btn:hover { color: #FFFFFF; background: rgba(0,0,0,.18); }
.header-icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: #000000; color: var(--red);
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; padding: 8px; color: #000000; }
.menu-toggle svg { width: 24px; height: 24px; }

/* Search bar */
.header-search-wrap { position: relative; }
.header-search-wrap input[type="search"] {
  border: 1px solid rgba(0,0,0,.30); border-radius: 20px;
  padding: 7px 36px 7px 14px; font-size: 13px;
  background: rgba(0,0,0,.18); color: #000000; width: 180px;
  transition: all var(--transition); font-family: var(--font-body);
}
.header-search-wrap input[type="search"]::placeholder { color: rgba(0,0,0,.50); }
.header-search-wrap input[type="search"]:focus {
  outline: none; border-color: rgba(0,0,0,.50); width: 220px;
  background: rgba(0,0,0,.25); color: #000000;
}
.header-search-wrap button[type="submit"] {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(0,0,0,.60); padding: 0;
  display: flex; align-items: center;
}
.header-search-wrap button[type="submit"] svg { width: 15px; height: 15px; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero-section {
  position: relative; overflow: hidden;
  min-height: clamp(480px, 70vh, 720px);
  display: flex; align-items: center;
  background: #000000;
  margin-top: 5px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .70; transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.30) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px var(--gutter);
  max-width: var(--max-width); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red-light);
  margin-bottom: 16px; font-family: var(--font-body);
}
.hero-logo {
  margin-bottom: 20px;
  max-width: 520px;
}
.hero-logo img {
  max-width: 100%;
  height: auto;
  max-height: 220px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.6));
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 6vw, 78px); line-height: 1.05;
  color: #FFFFFF; margin-bottom: 20px; max-width: 640px;
}
.hero-title em { font-style: italic; color: var(--red-light); }
.hero-verse {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(15px, 1.8vw, 19px); color: rgba(255,255,255,.80);
  margin-bottom: 36px; max-width: 500px; line-height: 1.5;
}
.hero-verse cite {
  display: block; font-size: 12px; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-light); margin-top: 6px; font-family: var(--font-body);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; padding: 0;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--red-light); width: 24px; border-radius: 4px; }

/* ============================================================
   USP / FEATURES BAR
   ============================================================ */
.usp-bar {
  background: #111111;
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
  padding: 20px 0;
}
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; }
.usp-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-right: 1px solid #2A2A2A; }
.usp-item:last-child { border-right: none; }
.usp-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.usp-icon svg { width: 17px; height: 17px; }
.usp-text strong { display: block; font-size: 13px; font-weight: 700; color: #FFFFFF; font-family: var(--font-body); }
.usp-text span { font-size: 14px; color: #FFFFFF; }

/* ============================================================
   SECTION SPACING
   ============================================================ */
.section { padding: clamp(48px, 8vw, 96px) var(--gutter); width: 100%; box-sizing: border-box; }
.section-header { margin-bottom: clamp(32px, 5vw, 56px); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3/4; display: block; cursor: pointer;
}
.category-card-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; background: #1A1A1A;
}
.category-card:hover .category-card-img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
}
.category-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; }
.category-card-title { font-family: var(--font-display); font-size: 22px; color: #FFFFFF; font-weight: 600; margin-bottom: 4px; }
.category-card-count { font-size: 12px; color: rgba(255,255,255,.65); }
.category-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red-light);
}
.category-card-link svg { width: 14px; height: 14px; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.featured-designs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.featured-designs-grid .product-card-img-wrap { aspect-ratio: 3/4; }
@media (max-width: 768px) { .featured-designs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .featured-designs-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #111111; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid #2A2A2A;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--red-dark); }
.product-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; background: #1A1A1A; }
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #FFFFFF;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.product-card-badge.sale { background: #AA2222; }
.product-card-actions { position: absolute; bottom: -48px; left: 0; right: 0; padding: 10px; display: flex; gap: 8px; transition: bottom var(--transition); }
.product-card:hover .product-card-actions { bottom: 0; }
.product-card-actions .btn { flex: 1; padding: 10px 12px; font-size: 11px; }
.product-card-body { padding: 16px; }
.product-card-name { font-size: 14px; font-weight: 600; color: #FFFFFF; margin-bottom: 6px; font-family: var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-name a { color: #FFFFFF; }
.product-card-name a:hover { color: var(--red); }
.product-card-cats { font-size: 11px; color: #888888; margin-bottom: 8px; }
.product-card-price { font-size: 15px; font-weight: 700; color: #FFFFFF; }
.product-card-price del { color: #888888; font-weight: 400; margin-right: 6px; font-size: 13px; }
.product-card-price ins { text-decoration: none; color: var(--red-light); }

/* WooCommerce product grid overrides */
ul.products { list-style: none; padding: 0; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after,
ul.products::before, ul.products::after { display: none !important; content: none !important; }
ul.products li.product, ul.products article.product { margin: 0; float: none; width: auto !important; }

/* ============================================================
   FAITH FEATURE / BANNER STRIP
   ============================================================ */
.faith-banner {
  background: #0D0000;
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative; overflow: hidden;
}
.faith-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,0,0,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(153,0,0,.12) 0%, transparent 50%);
}
.faith-banner-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); }
.faith-cross { width: 48px; height: 48px; margin: 0 auto 24px; color: var(--red-light); opacity: .9; }
.faith-quote { font-family: var(--font-accent); font-style: italic; font-size: clamp(22px, 3.5vw, 36px); line-height: 1.4; color: #FFFFFF; margin-bottom: 14px; }
.faith-reference { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-light); font-family: var(--font-body); }
.faith-banner-cta { margin-top: 36px; }

/* ============================================================
   FEATURED / LARGE PRODUCT SHOWCASE
   ============================================================ */
.showcase-section { background: #0D0000; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase-image { position: relative; overflow: hidden; min-height: 500px; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.showcase-section:hover .showcase-image img { transform: scale(1.04); }
.showcase-content {
  background: #111111;
  padding: clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid #2A2A2A;
}
.showcase-content .section-label { margin-bottom: 14px; }
.showcase-title { font-size: clamp(28px, 3.5vw, 44px); font-family: var(--font-display); margin-bottom: 14px; color: var(--red); }
.showcase-desc { color: #888888; margin-bottom: 28px; font-size: 15px; line-height: 1.7; }
.showcase-price { font-size: 24px; font-weight: 700; color: var(--red); margin-bottom: 28px; font-family: var(--font-display); }
.showcase-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #080000; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #111111; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid #2A2A2A; border-top: 3px solid var(--red);
}
.testimonial-stars { color: var(--red); margin-bottom: 12px; font-size: 14px; }
.testimonial-text { font-family: var(--font-accent); font-style: italic; font-size: 16px; line-height: 1.6; color: #CCCCCC; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red-pale); overflow: hidden; flex-shrink: 0; }
.testimonial-name { font-size: 13px; font-weight: 700; color: #FFFFFF; }
.testimonial-detail { font-size: 11px; color: #888888; }

/* ============================================================
   INSTAGRAM / GALLERY STRIP
   ============================================================ */
.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.gallery-strip-item { aspect-ratio: 1/1; overflow: hidden; position: relative; cursor: pointer; }
.gallery-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery-strip-item:hover img { transform: scale(1.1); opacity: .85; }
.gallery-strip-item::after { content: ''; position: absolute; inset: 0; background: rgba(204,0,0,0); transition: background .3s ease; }
.gallery-strip-item:hover::after { background: rgba(204,0,0,.18); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: #0D0000; }
.newsletter-inner { text-align: center; max-width: 520px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 0; margin-top: 28px; border: 1px solid var(--red-dark); border-radius: 40px; overflow: hidden; background: #111111; box-shadow: var(--shadow-sm); }
.newsletter-form input[type="email"] { flex: 1; border: none; padding: 14px 20px; font-size: 14px; font-family: var(--font-body); background: transparent; outline: none; color: #FFFFFF; }
.newsletter-form input[type="email"]::placeholder { color: #888888; }
.newsletter-form button { border: none; background: var(--red); color: #FFFFFF; padding: 14px 28px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-body); transition: background var(--transition); border-radius: 0 40px 40px 0; }
.newsletter-form button:hover { background: var(--red-dark); }
.newsletter-privacy { font-size: 12px; color: #888888; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0A0A0A; color: rgba(255,255,255,.75); border-top: 1px solid #2A2A2A; }
.footer-main { padding: clamp(48px, 6vw, 80px) 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .site-title { color: var(--red); margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; color: rgba(255,255,255,.60); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(204,0,0,.12); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; transition: all var(--transition); border: 1px solid rgba(204,0,0,.25); }
.footer-social a:hover { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.40); }
.footer-bottom a { color: rgba(255,255,255,.40); }
.footer-bottom a:hover { color: var(--red-light); }

/* ============================================================
   WOOCOMMERCE — SHOP PAGE
   ============================================================ */
.woocommerce-shop-wrap { padding: clamp(32px, 5vw, 64px) 0; width: 100%; box-sizing: border-box; }
.shop-header { margin-bottom: 32px; }
.shop-header h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; color: var(--red); }
.woocommerce-breadcrumb { font-size: 13px; color: #888888; margin-bottom: 8px; }
.woocommerce-breadcrumb a { color: #888888; }
.woocommerce-breadcrumb a:hover { color: var(--red); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #2A2A2A; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.woocommerce-result-count { font-size: 13px; color: #888888; }
.woocommerce-ordering select { border: 1px solid #2A2A2A; border-radius: var(--radius); padding: 8px 12px; font-size: 13px; font-family: var(--font-body); background: #111111; color: #FFFFFF; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product,
.woocommerce-page ul.products.columns-1 li.product,
.woocommerce-page ul.products.columns-2 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-5 li.product,
.woocommerce-page ul.products.columns-6 li.product {
  width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important;
  background: #111111; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid #2A2A2A;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--red-dark); }
.woocommerce ul.products li.product a img { margin: 0; border-radius: 0; transition: transform .5s ease; width: 100% !important; aspect-ratio: 1/1; object-fit: cover; display: block; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 12px 16px 4px; font-size: 14px; font-weight: 600; font-family: var(--font-body); color: #FFFFFF; }
.woocommerce ul.products li.product .price { padding: 0 16px 16px; font-size: 15px; font-weight: 700; color: #FFFFFF; }
.woocommerce ul.products li.product .price del { color: #888888; font-weight: 400; font-size: 13px; }
.woocommerce ul.products li.product .price ins { color: var(--red-light); text-decoration: none; }
.woocommerce ul.products li.product .button { display: block; margin: 0 16px 16px; background: var(--red); color: #FFFFFF; border-radius: var(--radius); padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; border: none; transition: background var(--transition); }
.woocommerce ul.products li.product .button:hover { background: var(--red-dark); color: #FFFFFF; }
.woocommerce ul.products li.product .onsale { background: var(--red); color: #FFFFFF; border-radius: 20px; font-size: 10px; font-weight: 700; padding: 4px 10px; top: 12px; left: 12px; min-height: 0; line-height: 1.4; min-width: 0; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 0 !important; padding: 0 !important; width: 100%; }
.woocommerce .products .star-rating { margin: 0 16px 4px; }

/* ============================================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================================ */
.single-product-wrap { padding: clamp(32px, 5vw, 64px) 0; }
.woocommerce div.product { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 56px !important; align-items: start; max-width: 1400px; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; clear: none !important; box-sizing: border-box; }
.woocommerce div.product::after, .woocommerce div.product::before { display: none !important; }
.woocommerce div.product div.images { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; width: 100%; }
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: block; width: 100%; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img.wp-post-image { border-radius: var(--radius-lg); width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 1/1; object-fit: cover; display: block; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex !important; flex-direction: row !important; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 12px 0 4px; margin: 0; list-style: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--red-light) transparent; }
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar { height: 4px; }
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-thumb { background: var(--red-light); border-radius: 4px; }
.woocommerce div.product div.images .flex-control-thumbs li { flex: 0 0 80px; scroll-snap-align: start; }
.woocommerce div.product div.images .flex-control-thumbs li img { width: 80px !important; height: 80px !important; object-fit: cover; border-radius: 8px; border: 2px solid transparent; transition: border-color var(--transition), opacity var(--transition); cursor: pointer; opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { border-color: var(--red); opacity: 1; }
@media (max-width: 768px) { .woocommerce div.product { grid-template-columns: 1fr !important; gap: 32px !important; } }
.woocommerce div.product div.summary .product_title { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 12px; color: var(--red); }
.woocommerce div.product div.summary .price { font-size: 26px; font-weight: 700; color: var(--red); margin-bottom: 16px; font-family: var(--font-display); }
.woocommerce div.product div.summary .price del { font-size: 18px; color: #888888; font-weight: 400; margin-right: 8px; }
.woocommerce div.product div.summary .price ins { text-decoration: none; color: var(--red-light); }
.woocommerce div.product div.summary .woocommerce-product-rating { margin-bottom: 16px; }
.woocommerce div.product div.summary .woocommerce-product-details__short-description { font-size: 15px; color: #888888; line-height: 1.7; border-bottom: 1px solid #2A2A2A; padding-bottom: 20px; margin-bottom: 20px; }
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--red); color: #FFFFFF; border-radius: var(--radius); padding: 14px 28px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: none; font-family: var(--font-body); transition: background var(--transition); }
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--red-dark); color: #FFFFFF; }
.woocommerce div.product form.cart .qty { border: 1px solid #2A2A2A; border-radius: var(--radius); font-size: 15px; padding: 12px 14px; width: 72px; text-align: center; font-family: var(--font-body); background: #111111; color: #FFFFFF; }
.woocommerce .star-rating { color: var(--red); }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 2px solid #2A2A2A; padding: 0; margin-bottom: 24px; display: flex; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: none; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #888888; padding: 12px 18px; display: block; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red); border-bottom-color: var(--red); }

/* Sticky add to cart */
.sticky-atc { position: fixed; bottom: 0; left: 0; right: 0; background: #111111; border-top: 1px solid #2A2A2A; padding: 12px var(--gutter); z-index: 99; display: flex; align-items: center; gap: 20px; transform: translateY(100%); transition: transform .3s ease; box-shadow: 0 -4px 20px rgba(0,0,0,.6); }
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc-title { font-weight: 600; font-size: 15px; flex: 1; color: #FFFFFF; }
.sticky-atc-price { font-size: 18px; font-weight: 700; color: var(--red); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.shop-full-width { width: 100%; padding-left: clamp(20px, 3vw, 60px); padding-right: clamp(20px, 3vw, 60px); box-sizing: border-box; }
.shop-layout-modern { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.shop-sidebar .widget { margin-bottom: 32px; }
.shop-sidebar .widget-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; padding-bottom: 10px; border-bottom: 2px solid var(--red); margin-bottom: 16px; font-family: var(--font-body); }
.shop-sidebar .widget ul { display: flex; flex-direction: column; gap: 8px; }
.shop-sidebar .widget li { font-size: 13px; }
.shop-sidebar .widget li a { color: #CCCCCC; }
.shop-sidebar .widget li a:hover { color: var(--red); }
.shop-sidebar .widget .count { color: #888888; font-size: 12px; margin-left: 4px; }
.price_slider_wrapper .price_slider { background: #2A2A2A; height: 4px; border-radius: 4px; margin-bottom: 16px; }
.price_slider_wrapper .ui-slider-range { background: var(--red); }
.price_slider_wrapper .ui-slider-handle { width: 16px; height: 16px; background: var(--red); border: none; border-radius: 50%; top: -6px; box-shadow: var(--shadow-sm); }

/* ============================================================
   CART AND CHECKOUT
   ============================================================ */
.woocommerce-cart table.cart, .woocommerce-checkout table.cart { width: 100%; border-collapse: collapse; }
.woocommerce-cart table.cart th, .woocommerce-cart table.cart td { padding: 14px 12px; border-bottom: 1px solid #2A2A2A; color: #FFFFFF; }
.woocommerce-cart table.cart th { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888888; }
.woocommerce .cart-collaterals .cart_totals { float: right; width: 40%; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 18px; margin-bottom: 14px; color: var(--red); }
.woocommerce .cart-collaterals .cart_totals table th { font-size: 13px; padding: 10px 0; color: #888888; }
.woocommerce .cart-collaterals .cart_totals table td { font-size: 14px; padding: 10px 0; color: #FFFFFF; }
.woocommerce #payment { background: #111111; border-radius: var(--radius-lg); padding: 24px; border: 1px solid #2A2A2A; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: #FFFFFF; margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select { border: 1px solid #2A2A2A; border-radius: var(--radius); padding: 10px 12px; font-size: 14px; font-family: var(--font-body); width: 100%; transition: border-color var(--transition); background: #111111; color: #FFFFFF; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--red); outline: none; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header { background: #0D0000; padding: clamp(36px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(204,0,0,.18) 0%, transparent 60%); }
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(28px, 4vw, 48px); color: var(--red); margin-bottom: 8px; }
.page-header .breadcrumb { color: rgba(255,255,255,.50); font-size: 13px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.50); }
.page-header .breadcrumb a:hover { color: var(--red-light); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.97); z-index: 999; flex-direction: column; align-items: center; justify-content: center; }
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #FFFFFF; font-size: 28px; cursor: pointer; line-height: 1; }
.mobile-nav-overlay ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-overlay a { font-family: var(--font-display); font-size: clamp(22px, 5vw, 32px); color: #FFFFFF; display: block; padding: 8px 24px; transition: color var(--transition); }
.mobile-nav-overlay a:hover { color: var(--red-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-image { min-height: 360px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-layout-modern { grid-template-columns: 1fr; }
  .shop-layout-modern .shop-sidebar { order: 2; }
  .shop-layout-modern > div { order: 1; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-search-wrap { display: none; }
  .header-inner { height: 60px; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp-item { border-right: none; border-bottom: 1px solid #2A2A2A; }
  .usp-item:nth-child(odd) { border-right: 1px solid #2A2A2A; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .topbar-links { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter-form button { border-radius: var(--radius); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }
.fade-up-delay-4 { animation-delay: .4s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WOOCOMMERCE NOTICES
   ============================================================ */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--red) !important;
  border-radius: var(--radius-lg);
  background: #111111 !important;
  color: #FFFFFF !important;
}
.woocommerce-message::before { color: var(--red) !important; }
