:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #7b7b7b;
  --border: #ededed;
  --soft: #f4f4f4;
  --topbar: #1b0a0a;
  --badge: #111111;
  --alert: #e74b4b;
}

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

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

button {
  font-family: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #1a0a0a 0%, #261010 50%, #1a0a0a 100%);
  color: #f7f1f1;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-align: center;
  text-transform: uppercase;
}

.topbar__inner {
  padding: 10px 40px;
  position: relative;
}

.topbar__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #573737;
  background: #2c1616;
  color: #f7f1f1;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.topbar--hidden {
  display: none;
}

.header {
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
}

.logo__mark {
  font-size: 12px;
  vertical-align: super;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2a2a;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.main-nav .submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  min-width: 150px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.main-nav .submenu a {
  padding: 6px 16px;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.main-nav .nav-item:hover .submenu,
.main-nav .nav-item:focus-within .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.caret {
  width: 6px;
  height: 6px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
  display: inline-block;
  margin-top: -2px;
}

.header__icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.cart {
  position: relative;
}

.cart__count {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--alert);
  color: #ffffff;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #f1f1f1;
  height: 85vh;
  min-height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-fade 12s infinite;
}

.hero-slide--one {
  animation-delay: 0s;
}

.hero-slide--two {
  animation-delay: 6s;
  background-color: #f2ece6;
}

@keyframes hero-fade {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  48% {
    opacity: 1;
  }
  54% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-section {
  padding: 80px 0;
  background: #f6f4f1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 40px;
  background: #ffffff;
  border: 1px solid #e6e1d9;
  padding: 42px 46px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 0, 0, 0.05),
    transparent 60%
  );
  pointer-events: none;
}

.about-title,
.about-body {
  position: relative;
  z-index: 1;
}

.about-title h2 {
  margin: 8px 0 10px;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-kicker {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.about-line {
  width: 52px;
  height: 2px;
  background: #111111;
}

.about-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #2b2b2b;
}

.about-quote {
  font-weight: 600;
  border-left: 3px solid #111111;
  padding-left: 16px;
}

.breadcrumb {
  background: var(--soft);
  color: #8b8b8b;
  font-size: 12px;
  padding: 10px 0;
}

.simple-page {
  padding: 60px 0 100px;
}

.simple-page__title {
  margin: 0 0 12px;
  font-size: 28px;
}

.simple-page__message {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}

.subnav {
  border-bottom: 1px solid var(--border);
}

.subnav__inner {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.main {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 50px 0 90px;
}

.filters h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 26px;
}

.filter-block h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #333333;
}

.filter-list {
  display: grid;
  gap: 12px;
  font-size: 13px;
  color: #2f2f2f;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-list input {
  width: 16px;
  height: 16px;
  border: 1px solid #cfcfcf;
}

.products {
  min-width: 0;
}

.sort-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2f2f2f;
  margin-bottom: 24px;
}

.sort-row select {
  border: 1px solid #cfcfcf;
  padding: 4px 10px;
  font-size: 12px;
  background: #ffffff;
}

.category-block {
  margin-top: 36px;
}

.category-block:first-of-type {
  margin-top: 0;
}

.category-block.is-hidden,
.category-block.is-empty {
  display: none;
}

.category-title {
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #2a2a2a;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 54px 40px;
}

.product-card {
  text-align: center;
}

.product-card.is-hidden {
  display: none;
}

.product-link {
  display: grid;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.badge {
  display: inline-block;
  background: var(--badge);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 10px;
  margin-bottom: 24px;
}

.product-image {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12));
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 12px;
}

.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  background: #f7f7f7;
}

.swatch--black {
  background: #141414;
}

.swatch--grey {
  background: #d7d7d7;
}

.swatch--camo {
  background: radial-gradient(circle at 30% 30%, #a88b5d, #6e5a38);
}

.swatch--brown {
  background: #6c4b2b;
}

.swatch--tan {
  background: #c29a62;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 8px;
}

.cap-image {
  transform: translateX(0);
}

.cap-image--shift-1 {
  transform: translateX(20px);
}

.cap-image--shift-3 {
  transform: translateX(26px);
}

.price {
  font-size: 14px;
  margin: 0;
}

.product-page {
  padding: 40px 0 80px;
}

.cart-page {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 36px;
  padding: 40px 0 80px;
}

.cart-left h1 {
  margin: 0 0 16px;
  font-size: 28px;
}

.cart-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cart-progress__bar {
  flex: 1;
  height: 6px;
  background: #dcdcdc;
  border-radius: 999px;
  overflow: hidden;
}

.cart-progress__fill {
  height: 100%;
  width: 0%;
  background: #111111;
}

.cart-progress__percent {
  font-size: 12px;
  color: #0a8a16;
  min-width: 32px;
  text-align: right;
}

.cart-progress__note {
  margin: 0 0 24px;
  font-size: 13px;
}

.cart-items {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 24px 90px minmax(0, 1fr) 110px 120px 110px;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.cart-remove {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #777777;
}

.cart-thumb {
  width: 90px;
  height: 90px;
  border: 1px solid #e6e6e6;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cart-info h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.cart-info p {
  margin: 0;
  color: #777777;
  font-size: 12px;
}

.cart-unit,
.cart-line {
  font-size: 13px;
  font-weight: 600;
}

.cart-qty {
  height: 34px;
}

.cart-empty {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.cart-note {
  margin-top: 24px;
}

.cart-note label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.cart-note textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  padding: 10px;
  font-family: inherit;
  resize: vertical;
}

.cart-summary {
  background: #f6f6f6;
  padding: 20px;
  height: fit-content;
}

.cart-summary h2 {
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
}

.cart-summary__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-summary label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.cart-summary input,
.cart-summary select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d9d9d9;
  font-family: inherit;
  font-size: 12px;
}

.cart-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 12px 0 18px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-vat {
  font-size: 12px;
  color: #777777;
  text-align: right;
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 11px;
  color: #555555;
}

.payment-icons span {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 6px 8px;
  border-radius: 6px;
}

.product-detail {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.product-thumbs {
  display: grid;
  gap: 14px;
}

.thumb {
  width: 90px;
  height: 90px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  cursor: pointer;
  padding: 6px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb.is-active {
  border-color: #111111;
}

.product-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.product-main__image {
  max-width: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: 20px;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-coupon {
  font-size: 13px;
  color: #333333;
  margin-bottom: 16px;
}

.option-group {
  margin-bottom: 18px;
}

.option-label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  border: 1px solid #cfcfcf;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.option-btn.is-active {
  border-color: #111111;
}

.purchase-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.quantity {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid #cfcfcf;
  height: 40px;
}

.qty-btn {
  border: none;
  background: #ffffff;
  cursor: pointer;
}

.qty-value {
  display: grid;
  place-items: center;
  font-size: 13px;
}

.btn {
  height: 40px;
  border: 1px solid #111111;
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

.btn-outline {
  background: #ffffff;
}

.btn-primary {
  width: 100%;
  margin-bottom: 18px;
  background: #111111;
  color: #e74b4b;
  border: none;
  height: 44px;
}

.accordion {
  border-top: 1px solid #dddddd;
  padding: 12px 0;
}

.accordion summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion ul {
  margin: 10px 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: #333333;
}

.accordion p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #333333;
}

.call-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--alert);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.call-button svg {
  width: 24px;
  height: 24px;
}

.site-footer {
  margin-top: 20px;
  color: #2b2b2b;
  font-size: 13px;
}

.footer-top {
  background: #f5f5f5;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

.footer-top__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 24px;
  padding: 22px 0;
  align-items: start;
}

.footer-links,
.footer-contact,
.footer-social {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #2b2b2b;
  font-size: 13px;
}

.footer-arrow {
  margin-right: 6px;
  color: #555555;
}

.footer-contact p,
.footer-social p {
  margin: 0;
}

.footer-social p {
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d0d0d0;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-bottom {
  background: #f5f5f5;
  padding: 12px 0;
  text-align: center;
  font-size: 12px;
  color: #444444;
}

.footer-brand {
  color: #f56a1f;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .header__icons {
    justify-content: center;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-slider {
    height: auto;
  }

  .hero-slide {
    position: relative;
    opacity: 1;
    animation: none;
  }

  .hero-slide + .hero-slide {
    display: none;
  }

  .main {
    grid-template-columns: 1fr;
  }

  .sort-row {
    justify-content: flex-start;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .thumb {
    width: 90px;
    height: 90px;
  }

  .footer-top__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

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

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

  .about-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .topbar__inner {
    padding: 10px 30px;
  }

  .subnav__inner {
    flex-wrap: wrap;
    gap: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 220px;
  }

  .product-main {
    min-height: 360px;
  }

  .cart-item {
    grid-template-columns: 24px 90px 1fr;
  }

  .cart-unit,
  .cart-line {
    display: none;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-panel {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider {
    height: auto;
  }

  .hero-slide {
    position: relative;
    opacity: 1;
    animation: none;
  }

  .hero-slide + .hero-slide {
    display: none;
  }
}
