:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #111517;
  --muted: #5b6475;
  --border: #e3e6ea;
  --accent: #d97706;
  --accent-soft: #fcd34d;
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.text-muted {
  color: var(--muted);
}

.no-scroll {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  padding: 0.6rem 0.35rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  z-index: 1200;
  align-items: flex-start;
  justify-content: flex-start;
}

.mobile-drawer.active {
  display: flex;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 80vw);
  height: 100%;
  background: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1220;
  border-radius: 0 28px 28px 0;
}

.drawer-panel.active {
  transform: translateX(0);
}

.drawer-panel nav {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-panel nav a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  letter-spacing: 0.02em;
}

.filter-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  z-index: 1150;
}

.filter-drawer.active {
  display: block;
}

.filter-drawer .filter-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: #fff;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.filter-drawer.active .filter-mobile-panel {
  transform: translateX(0);
}

main {
  width: 100%;
}

.section {
  padding: 3.5rem 1rem;
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.75rem, 4vw, 3.6rem);
  margin-bottom: 0.5rem;
}

.hero-content p {
  color: var(--muted);
  max-width: 460px;
}

.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.25);
}

.btn.secondary {
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 32px;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.hero-chips {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chip {
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-soft);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-soft);
}

.card img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card .card-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card .card-link svg {
  width: 16px;
  height: 16px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-card img {
  border-radius: 18px;
  aspect-ratio: 5 / 6;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #f59e0b;
}

.product-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.product-card .quick-add {
  background: rgba(217, 119, 6, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}

.style-banner {
  margin-top: 2rem;
  border-radius: 32px;
  padding: 3rem;
  background: linear-gradient(120deg, rgba(217, 119, 6, 0.15), rgba(255, 255, 255, 0.8));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.style-banner .banner-media {
  min-height: 220px;
}

.style-banner .banner-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.testimonial-card strong {
  display: block;
  margin-top: 0.6rem;
}

.newsletter {
  background: #111;
  color: #fff;
  border-radius: 32px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  align-items: center;
}

.newsletter form {
  display: flex;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: none;
  max-width: 320px;
}

.newsletter button {
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
}

.footer {
  padding: 3rem 1rem 2rem;
  background: #0f172a;
  color: #f5f5f5;
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.icon-row svg {
  width: 20px;
  height: 20px;
  fill: rgba(241, 245, 249, 0.8);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: 1.8rem;
}

.filters-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.filter-panel {
  background: #fff;
  border-radius: 28px;
  padding: 1.3rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}

.filter-panel h3 {
  margin-top: 0;
}

.filter-group {
  margin-bottom: 1.2rem;
}

.filter-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.55rem 0.75rem;
}

.color-row {
  display: flex;
  gap: 0.6rem;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.color-swatch.selected {
  border-color: var(--accent);
}

.color-swatch-large {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.color-swatch-large.selected {
  border-color: var(--accent);
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: 0.5rem;
}

.size-option {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
}

.size-option.selected {
  border-color: var(--accent);
  color: var(--accent);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.top-bar select {
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.4rem 0.9rem;
}

#filter-mobile-toggle {
  display: none;
}

@media (max-width: 900px) {
  #filter-mobile-toggle {
    display: inline-flex;
  }
}

.pagination {
  display: flex;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination button {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.countdown {
  border-radius: 28px;
  background: #111;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.countdown-timer {
  display: flex;
  gap: 1rem;
}

.countdown-item {
  text-align: center;
  min-width: 60px;
}

.countdown-item span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
}

.deal-card {
  position: relative;
  overflow: hidden;
}

.deal-card img {
  border-radius: 24px;
  aspect-ratio: 5 / 4;
}

.deal-card .deal-info {
  margin-top: 0.75rem;
}

.deal-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.product-gallery img,
.price-block img {
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.product-meta {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}

.product-meta h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.color-swatch-large {
  width: 38px;
  height: 38px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
}

.quantity-control input {
  width: 52px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.45rem 0;
  font-weight: 600;
  background: #fff;
}

.accordion {
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  margin-top: 1.5rem;
  background: #fff;
}

.accordion summary {
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}

.accordion p {
  padding: 0 1.2rem 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
}

.cart-list {
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.cart-item img {
  border-radius: 16px;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.summary {
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}

.summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.95rem 0;
  border-radius: 16px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.values-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.value-card,
.stat-card {
  background: #fff;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.85rem;
  resize: vertical;
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.map-placeholder {
  border-radius: 20px;
  border: 2px dashed rgba(15, 23, 42, 0.15);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .filters-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .drawer-panel {
    display: flex;
  }

  .newsletter form {
    flex-direction: column;
  }

  .hero-media img {
    height: 320px;
  }

  .filter-panel {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 2.8rem);
  }

  .drawer-panel {
    width: 100%;
  }
}
