/*
Theme Name: Zemeljski Vijaki
Theme URI: https://zemeljski-vijaki.si
Author: Zemeljski Vijaki
Author URI: https://zemeljski-vijaki.si
Description: Industrial theme za zemeljske vijake. WooCommerce ready, večjezičnost, PayPal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
License: Private
Text Domain: zemeljski-vijaki
Tags: woocommerce, multilingual, industrial
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand */
  --brand-50:  #f0fdf4;
  --brand-100: #dcfce7;
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --brand-800: #166534;
  --brand-900: #14532d;

  /* Steel / Neutral */
  --steel-50:  #f8fafc;
  --steel-100: #f1f5f9;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1e293b;
  --steel-900: #0f172a;
  --steel-950: #020617;

  /* Earth */
  --earth-50:  #fdf8f0;
  --earth-100: #faefd9;
  --earth-400: #e09d3c;
  --earth-600: #b86516;
  --earth-700: #974c14;

  /* Typography */
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Spacing */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--steel-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  padding: 0 !important;
}

/* WordPress full width fix */
.site,
#page,
#content,
#primary,
.site-content,
.content-area {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Remove WordPress default sidebar padding */
.wp-site-blocks,
.entry-content,
.post-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Full width sections */
.hero,
.usp-bar,
.categories,
.why-us,
.cta-banner,
.site-footer,
section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display { font-family: var(--font-display); letter-spacing: 0.04em; line-height: 0.95; }
.heading  { font-family: var(--font-heading); font-weight: 600; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--steel-900); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .875rem 2rem;
  border-radius: var(--radius-lg);
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand-700);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(21,128,61,.3);
}

.btn-secondary {
  border-color: var(--steel-300);
  color: var(--steel-700);
}
.btn-secondary:hover {
  border-color: var(--steel-600);
  color: var(--steel-900);
}

.btn-outline-white {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-100);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.navbar__logo-icon {
  width: 40px; height: 40px;
  background: var(--brand-700);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.navbar__logo:hover .navbar__logo-icon { background: var(--brand-600); }

.navbar__logo-text-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .12em;
  color: var(--steel-900);
  line-height: 1;
  display: block;
}
.navbar__logo-text-sub {
  font-family: var(--font-heading);
  font-size: .65rem;
  letter-spacing: .3em;
  color: var(--brand-700);
  text-transform: uppercase;
  display: block;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel-600);
  transition: color .2s;
  position: relative;
}
.navbar__nav a:hover,
.navbar__nav a.active { color: var(--brand-700); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.lang-switcher a {
  padding: .25rem .5rem;
  border-radius: 4px;
  color: var(--steel-500);
  transition: all .2s;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--brand-700);
  color: #fff;
}

/* Cart icon */
.cart-btn {
  position: relative;
  padding: .5rem;
  color: var(--steel-600);
  transition: color .2s;
}
.cart-btn:hover { color: var(--brand-700); }

.cart-btn__count {
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--brand-600);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  padding: .5rem;
  color: var(--steel-700);
}

.navbar__body-spacer { height: 72px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--steel-900);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0, #fff 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--steel-950) 40%, transparent);
}

.hero__screw {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: .08;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 100px;
  padding: .375rem 1rem;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero__badge span {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-400);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  color: #fff;
  line-height: .9;
  margin-bottom: 1.5rem;
}
.hero__title span { color: var(--brand-400); }

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--steel-300);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-400);
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-top: .25rem;
}

/* ============================================================
   USP BAR
   ============================================================ */
.usp-bar {
  background: var(--brand-700);
  padding: .875rem 0;
}
.usp-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.usp-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .05em;
  color: #fff;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  margin-bottom: 3rem;
}
.section-header--center { text-align: center; }
.section-header__label {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .5rem;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--steel-900);
  letter-spacing: .04em;
}
.section-header__title--light { color: #fff; }
.section-header__sub {
  margin-top: .75rem;
  color: var(--steel-500);
  max-width: 520px;
}
.section-header--center .section-header__sub { margin: .75rem auto 0; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.categories { background: var(--steel-50); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--steel-100);
  transition: all .3s;
  display: block;
}
.category-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.category-card__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--steel-100), var(--steel-200));
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.category-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.category-card:hover .category-card__img img { transform: scale(1.05); }

.category-card__body { padding: 1.25rem; }
.category-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--steel-900);
  transition: color .2s;
}
.category-card:hover .category-card__name { color: var(--brand-700); }
.category-card__count {
  font-size: .8rem;
  color: var(--steel-400);
  margin-top: .25rem;
}
.category-card__link {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  color: var(--brand-700);
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--steel-100);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.product-card__img {
  aspect-ratio: 1;
  background: var(--steel-50);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform .5s;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__badge {
  position: absolute;
  top: .75rem; left: .75rem;
  padding: .25rem .625rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card__badge--sale { background: #e24b4a; color: #fff; }
.product-card__badge--featured { background: var(--brand-700); color: #fff; }

.product-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.product-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--steel-900);
  margin-top: .25rem;
  line-height: 1.3;
  flex: 1;
  transition: color .2s;
}
.product-card:hover .product-card__name { color: var(--brand-700); }

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.product-card__price { }
.product-card__price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--steel-900);
}
.product-card__price .sale .amount { color: var(--brand-700); }
.product-card__price del .amount {
  font-size: 1rem;
  color: var(--steel-400);
}
.product-card__price-note {
  font-size: .7rem;
  color: var(--steel-400);
  margin-top: .125rem;
}

.product-card__add {
  width: 40px; height: 40px;
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.product-card__add:hover {
  background: var(--brand-600);
  transform: scale(1.1);
}

/* WooCommerce add to cart override */
.product-card .add_to_cart_button {
  width: 40px; height: 40px;
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: all .2s;
  padding: 0;
}
.product-card .add_to_cart_button::before {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}
.product-card .add_to_cart_button:hover { background: var(--brand-600); }
.product-card .added_to_cart { display: none; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--steel-900); }

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

.why-card {
  display: flex;
  gap: 1rem;
}
.why-card__icon {
  width: 48px; height: 48px;
  background: rgba(34,197,94,.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand-400);
}
.why-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: .375rem;
}
.why-card__text {
  font-size: .875rem;
  color: var(--steel-400);
  line-height: 1.6;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--steel-100);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.blog-card__img {
  aspect-ratio: 16/9;
  background: var(--steel-100);
  overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: .5rem;
}
.blog-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--steel-900);
  line-height: 1.4;
  flex: 1;
  transition: color .2s;
}
.blog-card:hover .blog-card__title { color: var(--brand-700); }
.blog-card__excerpt {
  font-size: .875rem;
  color: var(--steel-500);
  margin-top: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__more {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  color: var(--brand-700);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--brand-700);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.cta-banner__text {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--brand-800);
}
.btn-white:hover {
  background: var(--brand-50);
  color: var(--brand-900);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--steel-900);
  color: var(--steel-300);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-brand__icon {
  width: 36px; height: 36px;
  background: var(--brand-700);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .12em;
  color: #fff;
}
.footer-brand__tagline { font-size: .875rem; color: var(--steel-400); line-height: 1.6; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social {
  width: 36px; height: 36px;
  background: var(--steel-800);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel-400);
  transition: all .2s;
}
.footer-social:hover { background: var(--brand-700); color: #fff; }

.footer-col__title {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: var(--steel-400);
  transition: color .2s;
}
.footer-links a:hover { color: var(--brand-400); }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  margin-bottom: .875rem;
  font-size: .875rem;
  color: var(--steel-400);
}
.footer-contact svg { flex-shrink: 0; margin-top: .1rem; color: var(--brand-500); }
.footer-contact a { color: var(--steel-400); }
.footer-contact a:hover { color: var(--brand-400); }

.footer-bottom {
  border-top: 1px solid var(--steel-800);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--steel-500);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--steel-500); }
.footer-bottom-links a:hover { color: var(--steel-300); }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Shop page */
.woocommerce-page .woocommerce { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Product single */
.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3rem 0;
}

.woocommerce div.product div.images { }
.woocommerce div.product div.images img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--steel-100);
}

.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: .04em;
  color: var(--steel-900);
  margin-bottom: .5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--steel-900);
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--brand-700); }
.woocommerce div.product p.price del { font-size: 1.5rem; color: var(--steel-400); }

/* Add to cart button */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  background: var(--brand-700) !important;
  color: #fff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: .875rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  padding: .875rem 2rem !important;
  border-radius: var(--radius-lg) !important;
  border: none !important;
  transition: all .2s !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--brand-600) !important;
  color: #fff !important;
}

/* Cart & Checkout */
.woocommerce table.shop_table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--steel-100);
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--brand-700) !important;
  background: var(--brand-50) !important;
}
.woocommerce-error { border-top-color: #e24b4a !important; }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--font-heading);
  font-size: .875rem;
  color: var(--steel-400);
  padding: 1.5rem 0;
}

/* Star ratings */
.woocommerce .star-rating span::before { color: var(--brand-600); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-message {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 9999;
  max-width: 360px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.flash-message--success { background: var(--brand-700); color: #fff; }
.flash-message--error   { background: #e24b4a; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--steel-100);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    gap: .25rem;
    z-index: 999;
  }
  .menu-toggle { display: flex; }
  .usp-bar__inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .single-product .product { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .usp-bar__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  .hero__cta { flex-direction: column; }
}
