:root {
  --home-bg: #f4eee7;
  --home-surface: #fff9f1;
  --home-panel: #ece3d9;
  --home-text: #1e1e1e;
  --home-mid: #5f5b57;
  --home-border: #d4c8bc;
  --home-gold: #76533f;
  --home-accent: #1f3a5f;
  --home-success: #2e6b4d;
  --home-shadow: 0 8px 28px rgba(65, 48, 35, 0.08);
  --home-shadow-lg: 0 24px 60px rgba(65, 48, 35, 0.1);
  --home-container: 1480px;
}

body {
  background: var(--home-bg) !important;
  color: var(--home-text);
}

body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 231, 0.92) !important;
  color: var(--home-text) !important;
  border-bottom: 1px solid rgba(212, 200, 188, 0.82);
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(150%);
}

body > header a,
body > header nav a,
body > header span {
  color: var(--home-text) !important;
}

body > header + .bg-blue-800 {
  display: none;
}

body > header > .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1024px) {
  body > header > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

body > header > .container > a[aria-label] {
  flex: 0 0 auto;
}

body > header > .container > form.hidden.md\:flex {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 220px;
  margin-left: 24px !important;
  margin-right: 24px !important;
}

body > header > .container > div.flex.items-center {
  flex: 0 0 auto;
}

.header-search-wrap {
  border: 2px solid rgba(31, 58, 95, 0.72);
  border-radius: 16px !important;
  background: #fffdf8 !important;
  padding: 5px 6px 5px 16px;
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.12), 0 0 0 4px rgba(31, 58, 95, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.header-search-wrap:focus-within {
  border-color: var(--home-accent);
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(31, 58, 95, 0.18), 0 0 0 4px rgba(31, 58, 95, 0.11);
}

header .header-search-clear {
  width: 2.75rem;
  height: 2.75rem;
  color: #8e8580;
}

header .header-search-input {
  height: 2.75rem !important;
  padding: 0.82rem 0.75rem 0.38rem !important;
  font-size: 1.0625rem !important;
  line-height: 1.2 !important;
  color: var(--home-text) !important;
}

.header-search-input::placeholder {
  color: var(--home-mid) !important;
  opacity: 0.82 !important;
}

.header-search-btn {
  width: 3.1rem !important;
  height: 2.75rem !important;
  border-radius: 12px !important;
  background: var(--home-accent) !important;
  color: var(--home-surface) !important;
}

.header-search-btn:hover {
  background: #172e4e !important;
  color: var(--home-surface) !important;
}

.home-v2 {
  background: var(--home-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-top: 10px;
  overflow: hidden;
}

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

.home-v2 > .w-full.mb-6,
.home-v2 > .container.mx-auto.px-4.py-8,
.home-v2 > .bg-gray-50.border-y.border-gray-200 {
  display: none !important;
}

.home-hero {
  max-width: 1480px;
  width: calc(100% - 32px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  align-items: stretch;
  border: 1px solid var(--home-border);
  border-radius: 24px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.home-hero-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-kicker,
.section-title {
  color: var(--home-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-title {
  max-width: 660px;
  margin: 10px 0 16px;
  color: var(--home-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.98;
  text-wrap: balance;
}

.home-sub {
  max-width: 680px;
  color: var(--home-mid);
  font-size: 16px;
  line-height: 1.7;
}

.home-cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--home-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.home-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.home-cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-signals {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.home-signals li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--home-mid);
  font-size: 13px;
  font-weight: 500;
}

.home-signals li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--home-success);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(212, 200, 188, 0.9);
  border-radius: 28px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 249, 241, 0.5);
}

.home-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 56% 50%;
}

.category-toggle:focus-visible,
.category-chip:focus-visible,
.section-link:focus-visible,
.product-card:focus-visible,
.promo-banner-cta:focus-visible {
  outline: 2px solid rgba(31, 58, 95, 0.55);
  outline-offset: 3px;
}

.home-proof-item svg,
.category-chip-icon svg,
.promo-banner svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-section,
.home-products {
  padding: 32px 16px 40px;
}

.home-section-inner,
.home-products-inner {
  max-width: 1480px;
  margin: 0 auto;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-toggle {
  border: 0;
  background: transparent;
  color: var(--home-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.category-scroll {
  min-height: 116px;
  max-height: 116px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 18px;
  overflow: hidden;
  padding: 16px 0 4px;
  transition: max-height 0.2s ease;
}

.category-scroll.is-expanded {
  min-height: 116px;
  max-height: 1200px;
}

.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--home-text);
  text-decoration: none;
}

.category-chip-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 200, 188, 0.84);
  border-radius: 18px;
  background: rgba(255, 249, 241, 0.84);
  color: var(--home-accent);
}

.category-chip span {
  color: var(--home-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-color: var(--home-border) !important;
}

.section-heading {
  color: var(--home-text);
  font-size: 28px;
  font-weight: 600;
}

.section-link {
  color: var(--home-mid);
  font-size: 13px;
  text-decoration: none;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(212, 200, 188, 0.88);
  border-radius: 18px;
  background: var(--home-surface);
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 58, 95, 0.38);
  box-shadow: var(--home-shadow);
}

.product-card-img {
  aspect-ratio: 1 / 1;
  margin: 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--home-surface);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 14px;
}

.product-card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}

.product-card-brand {
  color: #8e8580;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-name {
  min-height: 40px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--home-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-price {
  margin-top: auto;
  padding-top: 8px;
  color: var(--home-text);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.promo-wrap {
  padding: 0 16px;
  background: var(--home-bg);
}

.promo-banner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(212, 200, 188, 0.66);
  border-radius: 24px;
  background: var(--home-accent);
  color: var(--home-surface);
}

.promo-banner-text {
  font-size: 14px;
  line-height: 1.45;
}

.promo-banner-text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 600;
}

.promo-banner-cta {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid rgba(255, 249, 241, 0.36);
  border-radius: 16px;
  background: var(--home-surface);
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}


body > footer {
  background: #121212 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body > footer h3,
body > footer .text-white {
  color: #d9c7af !important;
}

body > footer a,
body > footer p,
body > footer span,
body > footer div {
  color: rgba(255, 255, 255, 0.72) !important;
}

body > footer .bg-white {
  background: rgba(255, 255, 255, 0.9) !important;
}

body > footer .footer-payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow: none !important;
}

body > footer .footer-payment-visa {
  color: #1f3a8a !important;
}

body > footer .footer-payment-mastercard {
  color: #b91c1c !important;
}

body > footer .footer-payment-payflex {
  background: #eee7f6 !important;
  color: #2d2a6e !important;
}

body > footer .footer-payment-ozow {
  color: #282830 !important;
}

@media (min-width: 1024px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 28px;
    padding: 28px;
  }

  .category-scroll {
    gap: 20px 32px;
  }

  .category-chip-icon {
    width: 72px;
    height: 72px;
  }

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

@media (max-width: 540px) {
  .home-kicker {
    font-size: 11px;
  }

  .home-title {
    font-size: clamp(28px, 9vw, 38px);
    margin: 8px 0 10px;
    line-height: 1.05;
  }

  .home-sub {
    font-size: 14px;
    line-height: 1.6;
  }

  .home-cta-btn {
    padding: 11px 18px;
    font-size: 14px;
  }

  .promo-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero {
    width: calc(100% - 24px);
    padding: 14px;
    overflow: hidden;
  }

  .home-hero-visual {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }
}
