:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.08);
  --link: #06c;
  --dark: #0b0b0f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.global-nav {
  width: 1024px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav-menu-toggle,
.mobile-menu,
.mobile-header-search {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  background: rgba(255, 255, 255, 0.7);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
}

.brand-logo {
  width: 60px;
}

.nav-menu-toggle {
  position: relative;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.nav-menu-toggle span {
  position: absolute;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-menu-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-menu-toggle span:last-child {
  transform: translateY(4px);
}

body.menu-open .nav-menu-toggle span:first-child {
  transform: rotate(45deg);
}

body.menu-open .nav-menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 0.75rem;
  color: rgba(29, 29, 31, 0.86);
  line-height: 1;
}

.shop-search {
  display: flex;
  align-items: center;
  min-height: 36px;
  gap: 8px;
  margin-bottom: 0;
}

.shop-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-self: center;
}

.shop-search-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 1.6px solid rgba(29, 29, 31, 0.46);
  border-radius: 50%;
  pointer-events: none;
}

.shop-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.6px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.46);
  transform: rotate(45deg);
  transform-origin: center;
}

.shop-search-input {
  width: 0;
  min-height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: width 180ms ease, padding 180ms ease, opacity 120ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.shop-search-input::placeholder {
  color: rgba(110, 110, 115, 0.9);
}

.shop-search-input:focus {
  outline: none;
  border-color: rgba(0, 102, 204, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.shop-search.is-open .shop-search-input {
  width: 240px;
  padding: 0 14px;
  border-color: rgba(29, 29, 31, 0.12);
  opacity: 1;
  pointer-events: auto;
}

.hero {
  padding: 12px 0;
}

.hero-inner {
  display: block;
}

.hero-copy,
.info-card,
.contact-box {
  border-radius: 12px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  padding: 64px;
  color: #f5f5f7;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.42) 0%, rgba(5, 5, 7, 0.68) 100%),
    url("/img/warehouse.png") center / cover no-repeat;
}

.eyebrow,
.section-kicker {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #4f8dee;
}

h1 {
  max-width: none;
  margin-top: 14px;
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 60%;
  margin-top: 22px;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.35;
  color: rgba(245, 245, 247, 0.84);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.primary-link {
  color: #0b0b0f;
  background: #f5f5f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.secondary-link {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-box a {
  color: var(--link);
  font-size: 1.08rem;
}

.contact-box .primary-link {
  color: #0b0b0f;
  border-color: rgba(29, 29, 31, 0.14);
  box-shadow: none;
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-1px);
}

.primary-link:hover {
  background: #ffffff;
}

.secondary-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.feature-section,
.grid-section,
.contact-section {
  padding: 0 0 12px;
}

.section-header,
.contact-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 56px 64px;
  text-align: center;
  background: var(--surface);
}

.section-header h2,
.contact-box h2,
.info-card h3 {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-header p:last-child,
.contact-box .contact-copy,
.info-card p:last-child {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.42;
  color: var(--muted);
}

.contact-box .contact-copy + p {
  margin-top: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  min-height: 540px;
  padding: 54px 42px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f7 100%);
}

.info-card.dark {
  color: #f5f5f7;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #18181b 0%, #050507 100%);
}

.info-card.dark p:last-child {
  color: rgba(245, 245, 247, 0.78);
}

.info-card.wide {
  grid-column: 1 / -1;
  min-height: 650px;
  background: url("/img/e-commerce.jpg") bottom / cover no-repeat;
  background-size: 45%;
  background-color: #dcdde2;
}

.boutique-section .section-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boutique-title {
  font-size: 56px;
}

.boutique-copy {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.42;
  color: var(--muted);
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.boutique-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f7 100%);
  text-align: center;
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 60%, #f3f4f7 100%);
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.product-title {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 20px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.pagination {
  margin-top: 12px;
  padding-bottom: 32px;
  text-align: center;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin: 0 4px;
  border-radius: 999px;
  background: #ececf0;
  font-size: 0.95rem;
  font-weight: 600;
}

.pagination a.active {
  background: #1d1d1f;
  color: #ffffff;
}

.site-footer {
  padding: 8px 0 32px;
}

.footer-inner {
  padding-top: 16px;
  text-align: center;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero-inner,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .info-card.wide {
    grid-column: auto;
  }

  .boutique-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1200px);
  }

  .global-nav {
    width: 100%;
    gap: 12px;
    padding: 6px 14px;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .nav-menu-toggle,
  .mobile-menu,
  .mobile-header-search {
    display: flex;
  }

  .mobile-header-search {
    margin-left: auto;
  }

  .mobile-header-search .shop-search-input {
    max-width: 0;
  }

  .mobile-header-search.is-open .shop-search-input {
    max-width: 190px;
  }

  .nav-menu-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .mobile-header-search + .nav-menu-toggle {
    margin-left: 0;
  }

  .mobile-menu {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    transition: max-height 220ms ease, padding-bottom 220ms ease;
  }

  body.menu-open .mobile-menu {
    max-height: 360px;
    padding-bottom: 14px;
    width: 100%;
    height: 100%;
  }

  .mobile-nav {
    display: grid;
    width: 100%;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--surface-soft);
  }

  .brand-logo {
    width: 80px;
  }

  .container {
    padding: 0;
  }

  .shop-search {
    justify-content: center;
  }

  .shop-search-input {
    width: 0;
  }

  .shop-search.is-open .shop-search-input {
    width: min(100%, 360px);
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .hero-copy,
  .section-header,
  .info-card,
  .contact-box,
  .product-card {
    min-height: auto;
    padding: 34px 24px;
    border-radius: 12px;
  }

  .lead {
    max-width: 100%;
  }

  .info-card.wide {
    min-height: 510px;
    background-size: 100%;
    background-position: calc(100% + 28px) bottom;
  }

  .boutique-grid {
    padding: 0;
  }

  .product-card img {
    height: 100px;
  }

  .product-title {
    font-size: 0.82rem;
  }

  .product-price {
    font-size: 0.95rem;
  }

  .product-link {
    min-height: 40px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.6rem);
  }

  .boutique-title {
    font-size: 40px;
  }

}
