@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Source+Sans+3:wght@400;500;600;700&display=swap');

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

:root {
  --black: #111111;
  --white: #ffffff;
  --off-white: #f7f6f4;
  --gray-100: #eceae6;
  --gray-300: #b8b4ad;
  --gray-600: #5c5a57;
  --accent: #c8102e;
  --accent-dark: #9e0c24;
  --max: 1220px;
  --header-h: 76px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --shadow: 0 8px 32px rgba(17, 17, 17, 0.08);
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo img {
  width: min(220px, 42vw);
  height: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.25rem 1.25rem;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-tools a {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}

.hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* Shop sections */
.shop-section {
  padding: 3rem 0 1rem;
}

.shop-section:nth-child(even) {
  background: var(--off-white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.shop-section:nth-child(even) .product-card {
  border-color: #e3e0da;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-link {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--off-white);
  overflow: hidden;
}

.product-image-wrap img,
.product-image--placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image--placeholder {
  background: linear-gradient(135deg, var(--gray-100), #ddd8d0);
}

.product-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
}

.product-title {
  padding: 0.85rem 0.85rem 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-price {
  padding: 0 0.85rem 0.85rem;
  font-size: 0.9rem;
}

.price-old {
  color: var(--gray-600);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.price-new {
  color: var(--accent);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.85rem 0.85rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent);
}

.btn-sm {
  margin-top: auto;
}

/* About */
.about-section {
  padding: 4rem 0;
  background: var(--white);
}

.about-section .content {
  max-width: 820px;
  margin-inline: auto;
}

.about-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.75rem;
}

.about-section h2:first-child {
  margin-top: 0;
}

.about-section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 1.5rem 0 0.5rem;
}

.about-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
}

.about-section p,
.about-section li {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.about-section ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.about-section a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-section a:hover {
  color: var(--accent);
}

/* FAQ */
.faq-section {
  padding: 3rem 0 4rem;
  background: var(--off-white);
}

.faq-section .section-title {
  margin-bottom: 1.5rem;
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: left;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--gray-600);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--black);
  color: var(--gray-300);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--white);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-tools .hide-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-nav a {
    display: block;
    padding: 0.5rem 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .shop-section {
    padding-top: 2.25rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
