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

/* American 250 patriotic store theme.
   Drop this after css/styles.css to restyle the storefront without changing
   ecommerce/cart behavior. Standalone CSS, no official America250 marks,
   government seals, or image assets required. */
:root {
  --primary: #B22234;
  --primary-dark: #7C1723;
  --primary-light: #F8E5E5;
  --secondary: #C99A3D;
  --secondary-dark: #8B6724;
  --accent: #1D5F7A;
  --text-primary: #17223B;
  --text-secondary: #5E6675;
  --text-light: #8E96A3;
  --bg-white: #FFFDF5;
  --bg-light: #F4EBDD;
  --bg-gray: #E6D8C4;
  --border: #D6C4A6;
  --shadow-sm: 0 1px 3px rgba(23, 34, 59, 0.09);
  --shadow-md: 0 8px 24px rgba(23, 34, 59, 0.12);
  --shadow-lg: 0 22px 52px rgba(23, 34, 59, 0.17);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(178, 34, 52, 0.06), transparent 24%),
    linear-gradient(90deg, rgba(23, 34, 59, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 34, 59, 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: #111B33;
  color: #FFF3D7;
}

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

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

.header {
  background: rgba(255, 253, 245, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(214, 196, 166, 0.72);
}

.header .logo {
  color: var(--text-primary);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.header .logo svg {
  display: none;
}

.header .logo::before {
  content: "250";
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #FFFDF5;
  font: 800 0.78rem/1 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.16), transparent 48%),
    conic-gradient(from 0deg, #B22234 0 10deg, #FFFDF5 10deg 20deg, #17223B 20deg 30deg, #B22234 30deg 40deg, #FFFDF5 40deg 50deg, #17223B 50deg 60deg, #B22234 60deg 70deg, #FFFDF5 70deg 80deg, #17223B 80deg 90deg, #B22234 90deg 100deg, #FFFDF5 100deg 110deg, #17223B 110deg 120deg, #B22234 120deg 130deg, #FFFDF5 130deg 140deg, #17223B 140deg 150deg, #B22234 150deg 160deg, #FFFDF5 160deg 170deg, #17223B 170deg 180deg, #B22234 180deg 190deg, #FFFDF5 190deg 200deg, #17223B 200deg 210deg, #B22234 210deg 220deg, #FFFDF5 220deg 230deg, #17223B 230deg 240deg, #B22234 240deg 250deg, #FFFDF5 250deg 260deg, #17223B 260deg 270deg, #B22234 270deg 280deg, #FFFDF5 280deg 290deg, #17223B 290deg 300deg, #B22234 300deg 310deg, #FFFDF5 310deg 320deg, #17223B 320deg 330deg, #B22234 330deg 340deg, #FFFDF5 340deg 350deg, #17223B 350deg 360deg);
  border: 2px solid rgba(201, 154, 61, 0.78);
  box-shadow:
    inset 0 0 0 7px #17223B,
    inset 0 0 0 9px rgba(255,255,255,0.28),
    0 10px 24px rgba(23, 34, 59, 0.18);
}

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

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

.search-bar input {
  border-radius: 999px;
  background: #FFF7E6;
  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, 245, 0.94);
  border-bottom: 1px solid rgba(214, 196, 166, 0.78);
}

.main-nav li a {
  color: #4F596A;
  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% 20%, rgba(232, 196, 107, 0.28), transparent 32%),
    linear-gradient(115deg, #101A33 0%, #17223B 48%, #8B1C2C 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

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

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 30, 0.78), rgba(10, 16, 30, 0.34) 52%, rgba(10, 16, 30, 0.08)),
    radial-gradient(circle at 82% 45%, rgba(255, 253, 245, 0.18) 0 10%, transparent 11%),
    repeating-linear-gradient(0deg, rgba(255,253,245,0.055) 0 9px, transparent 9px 46px),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(255,253,245,0.04) 56px 57px);
}

.hero::after {
  width: min(40vw, 540px);
  aspect-ratio: 1;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #17223B 0 24%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(255,253,245,0.96) 0 36%, transparent 37%),
    conic-gradient(from 0deg, #B22234 0 10deg, #FFFDF5 10deg 20deg, #17223B 20deg 30deg, #B22234 30deg 40deg, #FFFDF5 40deg 50deg, #17223B 50deg 60deg, #B22234 60deg 70deg, #FFFDF5 70deg 80deg, #17223B 80deg 90deg, #B22234 90deg 100deg, #FFFDF5 100deg 110deg, #17223B 110deg 120deg, #B22234 120deg 130deg, #FFFDF5 130deg 140deg, #17223B 140deg 150deg, #B22234 150deg 160deg, #FFFDF5 160deg 170deg, #17223B 170deg 180deg, #B22234 180deg 190deg, #FFFDF5 190deg 200deg, #17223B 200deg 210deg, #B22234 210deg 220deg, #FFFDF5 220deg 230deg, #17223B 230deg 240deg, #B22234 240deg 250deg, #FFFDF5 250deg 260deg, #17223B 260deg 270deg, #B22234 270deg 280deg, #FFFDF5 280deg 290deg, #17223B 290deg 300deg, #B22234 300deg 310deg, #FFFDF5 310deg 320deg, #17223B 320deg 330deg, #B22234 330deg 340deg, #FFFDF5 340deg 350deg, #17223B 350deg 360deg);
  border: 1px solid rgba(232, 196, 107, 0.5);
  opacity: 0.72;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.26);
}

.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, 245, 0.14);
  color: #E8C46B;
  border-color: rgba(232, 196, 107, 0.42);
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-badge::before {
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(232, 196, 107, 0.18);
}

.hero h1 {
  max-width: 570px;
  font-family: 'Libre Baskerville', Georgia, serif;
  color: #FFFDF5;
  font-size: clamp(3.15rem, 5.7vw, 5.55rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

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

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

.hero p {
  color: rgba(255, 253, 245, 0.9);
  max-width: 540px;
}

.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(232, 196, 107, 0.24), rgba(232, 196, 107, 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.3));
  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: #E8C46B;
}

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

.btn {
  border-radius: 999px;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(178, 34, 52, 0.28);
}

.btn-secondary {
  background: rgba(255, 253, 245, 0.94);
  border-color: rgba(255, 253, 245, 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, 245, 0.78);
  border: 1px solid rgba(214, 196, 166, 0.84);
}

.feature-icon {
  background: #FFF3D7;
  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: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

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

.categories {
  background: #EDE1CC;
}

.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, 34, 59, 0.16);
}

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

.collection-card {
  background: #111B33;
}

.collection-card .coll-overlay {
  background: linear-gradient(to bottom, rgba(17, 27, 51, 0.1) 32%, rgba(17, 27, 51, 0.9));
}

.product-card {
  background: #FFFDF5;
  border-color: rgba(214, 196, 166, 0.92);
}

.product-image {
  background:
    radial-gradient(circle at 76% 24%, rgba(232, 196, 107, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(23,34,59,0.045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(23,34,59,0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    #FFF7E6;
}

.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: #17223B;
}

.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(178, 34, 52, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(23,34,59,0.045) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(135deg, #FFFDF5, #EDE1CC);
}

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

.sidebar {
  top: 132px;
}

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

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

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

.newsletter {
  background:
    linear-gradient(135deg, rgba(17, 27, 51, 0.95), rgba(124, 23, 35, 0.9)),
    radial-gradient(circle at 78% 28%, rgba(232, 196, 107, 0.28), transparent 30%),
    repeating-linear-gradient(0deg, rgba(255,253,245,0.055) 0 9px, transparent 9px 42px);
  color: #FFFDF5;
}

.newsletter p {
  color: rgba(255, 253, 245, 0.76);
}

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

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

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

.footer {
  background: #111B33;
  color: #FFF3D7;
}

.footer h4 {
  color: #FFFDF5;
}

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

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

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

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

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 16, 30, 0.86), rgba(10, 16, 30, 0.52)),
      radial-gradient(circle at 86% 42%, rgba(255, 253, 245, 0.16) 0 12%, transparent 13%),
      repeating-linear-gradient(0deg, rgba(255,253,245,0.055) 0 9px, transparent 9px 44px);
  }

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

  .hero .container {
    display: block;
  }

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

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

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

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