@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* Firefighter premium store theme.
   Drop this after css/styles.css to restyle the storefront without changing
   ecommerce/cart behavior. Compatible with the current firefighter-store
   public HTML classes and app.js generated product cards. */
:root {
  --primary: #C9271D;
  --primary-dark: #8F1712;
  --primary-light: #FCE6E2;
  --secondary: #F5B642;
  --secondary-dark: #A96F14;
  --accent: #2F5F6A;
  --text-primary: #171D22;
  --text-secondary: #5A646D;
  --text-light: #8C969F;
  --bg-white: #FFFDF7;
  --bg-light: #F2EBDD;
  --bg-gray: #E3DACB;
  --border: #D4C6B4;
  --shadow-sm: 0 1px 3px rgba(23, 29, 34, 0.1);
  --shadow-md: 0 8px 24px rgba(23, 29, 34, 0.14);
  --shadow-lg: 0 22px 52px rgba(23, 29, 34, 0.2);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

body {
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 39, 29, 0.07), transparent 24%),
    linear-gradient(90deg, rgba(23, 29, 34, 0.04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 29, 34, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--bg-light);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.top-bar {
  background: #101519;
  color: #FFF1D0;
}

.top-bar a {
  color: #F5B642;
}

.top-bar a:hover {
  color: #fff;
}

.header {
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(212, 198, 180, 0.76);
}

.header .logo {
  color: var(--text-primary);
  font-family: 'Roboto Condensed', Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.header .logo svg {
  display: none;
}

.header .logo::before {
  content: "";
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  clip-path: polygon(50% 0%, 92% 16%, 92% 58%, 50% 100%, 8% 58%, 8% 16%);
  background:
    radial-gradient(circle at 50% 52%, #F5B642 0 15%, transparent 16%),
    linear-gradient(180deg, transparent 0 28%, #FFF4D9 28% 34%, transparent 34%),
    linear-gradient(45deg, transparent 0 44%, #FFF4D9 44% 51%, transparent 51%),
    linear-gradient(135deg, #E03A2D 0%, #A81E17 58%, #171D22 100%);
  border: 1px solid rgba(245, 182, 66, 0.48);
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,0.12),
    0 10px 24px rgba(143, 23, 18, 0.24);
}

.logo .logo-brand {
  font-size: 1.38rem;
}

.logo .logo-brand span,
.footer-about .logo .highlight {
  color: var(--primary);
}

.search-bar input {
  border-radius: 999px;
  background: #FFF5E4;
  border-color: var(--border);
}

.search-bar button,
.cart-count {
  background: var(--primary);
}

.nav-actions a:hover {
  color: var(--primary);
}

.main-nav {
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(212, 198, 180, 0.8);
}

.main-nav li a {
  color: #525D65;
  font-weight: 800;
}

.main-nav li a:hover,
.main-nav li a.active {
  color: var(--primary);
}

.main-nav li a::after {
  height: 3px;
  background: var(--secondary);
  border-radius: 999px;
}

.hero {
  min-height: 675px;
  display: flex;
  align-items: center;
  padding: 108px 0 96px;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 182, 66, 0.32), transparent 34%),
    linear-gradient(115deg, #101519 0%, #22282E 46%, #8B1D16 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  inset: 0;
  /* Reset border-radius:50% inherited from the shared base rule — without
     this the full-cover overlay renders as a giant ellipse. */
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.78), rgba(8, 11, 13, 0.36) 52%, rgba(8, 11, 13, 0.08)),
    radial-gradient(circle at 82% 44%, rgba(255, 253, 247, 0.16) 0 11%, transparent 12%),
    repeating-linear-gradient(135deg, rgba(245, 182, 66, 0.1) 0 12px, transparent 12px 30px),
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(255, 253, 247, 0.045) 48px 49px);
}

.hero::after {
  /* Reset base's `left: 10%; bottom: -80px;` so this card stays on the right
     side (theme intent) instead of falling to the bottom-left over text. */
  left: auto;
  bottom: auto;
  animation: none;
  width: min(40vw, 545px);
  aspect-ratio: 0.92;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
  clip-path: polygon(50% 0%, 92% 16%, 92% 58%, 50% 100%, 8% 58%, 8% 16%);
  background:
    radial-gradient(circle at 50% 46%, rgba(245,182,66,0.28) 0 13%, transparent 14%),
    linear-gradient(180deg, transparent 0 34%, rgba(255,253,247,0.24) 34% 39%, transparent 39%),
    linear-gradient(45deg, transparent 0 46%, rgba(255,253,247,0.22) 46% 52%, transparent 52%),
    linear-gradient(145deg, rgba(255,253,247,0.18), rgba(245,182,66,0.18) 40%, rgba(201,39,29,0.56));
  border: 10px solid rgba(255, 253, 247, 0.14);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.32);
  opacity: 0.78;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
  color: #fff;
}

.hero-badge {
  background: rgba(255, 253, 247, 0.14);
  color: #F5B642;
  border-color: rgba(245, 182, 66, 0.45);
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-badge::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 39, 29, 0.2);
}

.hero h1 {
  max-width: 560px;
  font-family: 'Roboto Condensed', Impact, sans-serif;
  color: #FFFDF7;
  font-size: clamp(3.35rem, 6vw, 5.9rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.hero h1 .highlight {
  color: #F5B642;
}

.hero h1 .highlight::after {
  display: none;
}

.hero p {
  color: rgba(255, 253, 247, 0.88);
  max-width: 530px;
}

.hero-buttons {
  gap: 14px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  position: relative;
  animation: none;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: min(86%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 182, 66, 0.28), rgba(245, 182, 66, 0));
  transform: translate(10%, -8%);
}

.hero-image img {
  width: min(78%, 480px);
  max-height: 520px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 46px rgba(0, 0, 0, 0.34));
  border-radius: 8px;
  animation: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
}

.hero-trust-item {
  min-width: 0;
}

.hero-trust-item strong {
  display: block;
  font-size: 1.08rem;
  white-space: normal;
}

.hero-trust-item strong,
.hero-trust-stars {
  color: #F5B642;
}

.hero-trust-item span {
  color: rgba(255, 253, 247, 0.72);
}

.btn {
  border-radius: 999px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(201, 39, 29, 0.3);
}

.btn-secondary {
  background: rgba(255, 253, 247, 0.94);
  border-color: rgba(255, 253, 247, 0.88);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--secondary);
  color: var(--primary);
}

.features-strip,
.featured-collections,
.products-section,
.newsletter,
.footer {
  background: var(--bg-light);
}

.feature-item {
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(212, 198, 180, 0.84);
}

.feature-icon {
  background: #FFF1D0;
  color: var(--primary);
}

.feature-icon svg {
  stroke: var(--primary);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: #fff;
}

.feature-item:hover .feature-icon svg {
  stroke: #fff;
}

.section-title h2,
.products-header h2,
.page-header h1,
.collection-hero h1,
.newsletter h2 {
  font-family: 'Roboto Condensed', Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-title .underline {
  background: var(--secondary);
}

.categories {
  background: #E8DFD0;
}

.category-card,
.collection-card,
.product-card,
.filter-group,
.cart-summary,
.checkout-form,
.cart-table,
.main-image,
.product-type-section {
  border-radius: 8px;
}

.category-card:hover,
.product-card:hover {
  box-shadow: 0 18px 42px rgba(23, 29, 34, 0.18);
}

.category-card:hover .cat-img::after {
  background: linear-gradient(to top, rgba(16, 21, 25, 0.86), rgba(16, 21, 25, 0.24), transparent);
}

.collection-card {
  background: #101519;
}

.collection-card .coll-overlay {
  background: linear-gradient(to bottom, rgba(16, 21, 25, 0.1) 32%, rgba(16, 21, 25, 0.9));
}

.product-card {
  background: #FFFDF7;
  border-color: rgba(212, 198, 180, 0.92);
}

.product-image {
  background:
    radial-gradient(circle at 72% 22%, rgba(245, 182, 66, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(23,29,34,0.045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(23,29,34,0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    #FFF5E4;
}

.product-badge {
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.badge-new {
  background: var(--accent);
  color: #fff;
}

.badge-sale {
  background: var(--secondary);
  color: #171D22;
}

.badge-hot {
  background: var(--primary);
  color: #fff;
}

.badge-hot::before {
  content: "";
}

.product-category {
  color: var(--primary);
}

.price-current {
  color: var(--primary);
}

.page-header,
.collection-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 39, 29, 0.08), transparent 24%),
    linear-gradient(135deg, #FFFDF7, #E8DFD0);
}

.breadcrumb {
  color: var(--text-light);
}

.sidebar {
  top: 132px;
}

.filter-group,
.sort-bar {
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid var(--border);
}

.main-image {
  background: #FFF5E4;
  border: 1px solid var(--border);
}

.detail-description-wrap {
  border-left: 3px solid var(--primary);
  padding-left: 18px;
}

.newsletter {
  background:
    linear-gradient(135deg, rgba(16, 21, 25, 0.95), rgba(139, 29, 22, 0.9)),
    repeating-linear-gradient(135deg, rgba(245,182,66,0.12) 0 12px, transparent 12px 30px);
  color: #FFFDF7;
}

.newsletter p {
  color: rgba(255, 253, 247, 0.74);
}

.newsletter-form input {
  background: rgba(255, 253, 247, 0.96);
}

.newsletter-form button {
  background: var(--secondary);
  color: #171D22;
}

.newsletter-form button:hover {
  background: #FFD26A;
}

.footer {
  background: #101519;
  color: #FFF1D0;
}

.footer h4 {
  color: #FFFDF7;
}

.footer ul li a,
.footer-about p,
.footer-bottom {
  color: rgba(255, 241, 208, 0.7);
}

.footer ul li a:hover {
  color: #F5B642;
}

.empty-cart p {
  color: var(--text-secondary);
}


/* Hide the decorative card on viewports below desktop — between 769-1199px
   it would otherwise sit over the hero text area. */
@media (max-width: 1199px) {
  .hero::after { display: none; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 570px;
    padding: 74px 0 72px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 11, 13, 0.86), rgba(8, 11, 13, 0.52)),
      radial-gradient(circle at 86% 42%, rgba(255, 253, 247, 0.16) 0 12%, transparent 13%),
      repeating-linear-gradient(135deg, rgba(245,182,66,0.1) 0 12px, transparent 12px 30px),
      repeating-linear-gradient(0deg, transparent 0 44px, rgba(255,253,247,0.045) 44px 45px);
  }

  .hero::after,
  .hero-image {
    display: none;
  }

  .hero .container {
    display: block;
  }

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

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

  .hero-buttons .btn-secondary {
    background: rgba(255, 253, 247, 0.94);
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
