:root {
  --shop-navy: #0f172a;
  --shop-blue: #1e3a8a;
  --shop-ice: #e2e8f0;
  --shop-orange: #f59e0b;
  --shop-slate: #334155;
}

body {
  background: #f8fafc;
}

.main-nav a.active {
  color: var(--shop-orange);
}

.shop-hero {
  padding: 140px 0 70px;
  background: radial-gradient(900px 420px at 8% 15%, rgba(245,158,11,.12), transparent 55%),
              linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0b4c8a 100%);
  color: #fff;
}

.shop-hero-content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 32px;
}

.shop-hero-text h1 {
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.1;
  margin: 14px 0 16px;
}

.shop-hero-text p {
  color: rgba(255,255,255,.88);
  max-width: 560px;
}

.shop-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.4);
}

.shop-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.shop-highlights {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255,255,255,.82);
}

.shop-highlights i {
  color: var(--shop-orange);
  margin-right: 6px;
}

.shop-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.shop-hero-visual img {
  max-width: 100%;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
}

.shop-section {
  padding: 70px 0 90px;
}

.featured-section {
  padding: 70px 0;
  background: radial-gradient(700px 320px at 12% 0%, rgba(30,58,138,.08), transparent 60%),
              linear-gradient(120deg, #ffffff 0%, #f1f5f9 100%);
}

.featured-title h2 {
  margin-bottom: 8px;
}

.featured-title p {
  color: #475569;
  max-width: 620px;
}

.featured-grid .product-card {
  border: 1px solid rgba(30,58,138,.12);
}

.featured-grid .featured-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  box-shadow: 0 18px 36px rgba(15,23,42,.14);
}

.featured-grid .featured-card .product-image {
  height: 170px;
  border: 1px solid rgba(15,23,42,.08);
}

.featured-grid .featured-card .product-title {
  font-size: 18px;
}

.featured-grid .featured-card .product-price {
  color: #1e3a8a;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #0f172a;
  background: rgba(245,158,11,.22);
  border: 1px solid rgba(245,158,11,.45);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 28px;
}

.shop-section-title h2 {
  text-align: left;
  margin-bottom: 10px;
}

.shop-section-title p {
  color: var(--shop-slate);
  margin-bottom: 18px;
}

.shop-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  margin-bottom: 18px;
}

.filter-group {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--shop-slate);
}

.filter-group input,
.filter-group select,
.checkout-form input,
.checkout-form textarea {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  display: grid;
  gap: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
}

.product-image {
  border-radius: 14px;
  overflow: hidden;
  height: 150px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--shop-slate);
}

.product-title {
  font-weight: 700;
  color: var(--shop-navy);
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.product-actions .btn {
  width: 100%;
  text-align: center;
}

.shop-cart {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
  position: sticky;
  top: 110px;
  height: fit-content;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-count {
  background: var(--shop-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 10px;
}

.cart-item-title {
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  border: 1px solid #d9e2ef;
  background: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.cart-summary {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
}

.checkout-form {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--shop-slate);
}

.checkout-actions {
  display: grid;
  gap: 8px;
}

.checkout-note {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 980px) {
  .shop-hero-content {
    grid-template-columns: 1fr;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-cart {
    position: static;
  }
}

@media (max-width: 600px) {
  .shop-hero {
    padding-top: 120px;
  }
  .shop-hero-actions {
    flex-direction: column;
  }
}
