/*
Theme Name: Infire Store
Theme URI: https://infire.store/
Author: Marko Vaupotič
Author URI: https://infire.si/
Description: Dark merch tema za Infire (majice, hoodiji, merch).
Version: 1.0
Text Domain: infirestore
*/

:root {
  --bg-dark: #050608;
  --bg-darker: #020307;
  --bg-card: #101219;
  --accent: #f36100;
  --accent-soft: #ff8a3c;
  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --border-soft: #1f2933;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #161827 0, #050608 45%, #020307 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, rgba(243, 97, 0, 0.1), transparent 55%),
              radial-gradient(circle at bottom right, rgba(243, 97, 0, 0.12), transparent 60%),
              var(--bg-dark);
}

.site-main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.82), rgba(0,0,0,0.68), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0, #ffd0a0 0, var(--accent-soft) 25%, var(--accent) 60%, #3b0b00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(243, 97, 0, 0.7);
}

.site-logo span {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
}

.site-title-wrap {
  display: flex;
  flex-direction: column;
}

.site-title a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.site-description {
  font-size: 12px;
  color: var(--text-muted);
}

/* Navigation */

.nav-toggle {
  display: none;
  border: 1px solid rgba(156, 163, 175, 0.6);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  transition: all 0.18s ease-out;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #fff;
  background: rgba(243, 97, 0, 0.14);
  box-shadow: 0 0 0 1px rgba(243, 97, 0, 0.6);
}

/* CTA in nav */

.nav-cta {
  margin-left: 6px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent-soft), var(--accent));
  border: none;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 18px 45px rgba(243, 97, 0, 0.5);
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(243, 97, 0, 0.65);
}

/* Hero */

.hero {
  max-width: 1180px;
  margin: 26px auto 10px;
  padding: 0 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 20px 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(243, 97, 0, 0.28);
  color: var(--accent-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero h1 span {
  background: linear-gradient(120deg, #ffe7c9, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 420px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.btn-ghost:hover {
  border-color: rgba(243, 97, 0, 0.7);
  color: #fff;
}

.hero-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero grafika */

.hero-art {
  border-radius: var(--radius-xl);
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(243, 97, 0, 0.28), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.9));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-art-inner {
  border-radius: 18px;
  padding: 18px;
  background: radial-gradient(circle at 10% 0, #111827, #020617);
  border: 1px solid rgba(17, 24, 39, 0.8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(243, 97, 0, 0.6);
  font-size: 11px;
  color: var(--accent-soft);
  margin-bottom: 12px;
}

.hero-mannequin {
  border-radius: 16px;
  padding: 20px;
  background: radial-gradient(circle at 50% 0, rgba(255, 237, 213, 0.06), transparent 70%);
  border: 1px solid rgba(55, 65, 81, 0.7);
  position: relative;
  overflow: hidden;
}

.hero-shirt {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 18px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background:
    radial-gradient(circle at 30% 0, rgba(255, 237, 213, 0.06), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(243, 97, 0, 0.2), rgba(0,0,0,0.95));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shirt-logo {
  width: 52%;
  height: 52%;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  background:
    radial-gradient(circle at 20% 0, #fff7ed 0, #fed7aa 12%, var(--accent-soft) 32%, var(--accent) 60%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 22px rgba(243, 97, 0, 0.65),
    0 0 60px rgba(243, 97, 0, 0.35);
}

.hero-shirt-logo span {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 14px;
  color: #0b0b11;
}

.hero-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.hero-tag-pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-muted);
}

/* Product section */

.section {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
}

.section-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.product-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(243, 97, 0, 0.8);
}

.product-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.product-card-title {
  margin-top: 8px;
  font-size: 14px;
}

.product-card-price {
  margin-top: 2px;
  font-size: 13px;
  color: var(--accent-soft);
}

/* Content */

.site-content {
  max-width: 900px;
  margin: 26px auto 40px;
  padding: 0 20px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.site-content-inner {
  padding: 22px 22px 26px;
}

.site-content h1,
.site-content h2,
.site-content h3 {
  color: #f9fafb;
}

.site-content p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(243, 97, 0, 0.08), rgba(3, 7, 18, 0.98));
  padding: 18px 20px 22px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 12px;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

/* WooCommerce basic */

.woocommerce .products ul,
.woocommerce ul.products {
  margin: 0 !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.woocommerce ul.products li.product a img {
  border-radius: 14px;
}

.woocommerce ul.products li.product .price {
  color: var(--accent-soft);
  font-weight: 600;
}

.woocommerce div.product {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.woocommerce div.product .product_title {
  color: #f9fafb;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--accent-soft);
  font-weight: 600;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent-soft), var(--accent));
  border: none;
  padding: 9px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  filter: brightness(1.05);
}

/* Responsive */

@media (max-width: 768px) {
  .site-header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.18s ease-out;
  }

  .main-nav.is-open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
  }

  .site-content {
    margin-top: 20px;
  }
}
