/*!
Theme Name: kovyxo
*/
:root {
  --ink: #050505;
  --paper: #f4f3f0;
  --muted: #969696;
  --line: rgba(244, 243, 240, .42);
  --accent: #ed1c24;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: #000; }
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--paper);
  background: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.site-frame {
  position: relative;
  min-height: calc(100vh - clamp(16px, 4vw, 48px));
  overflow: hidden;
  border: 0;
  background: var(--ink);
  box-shadow: none;
}

.site-frame::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
  content: "";
  pointer-events: none;
}

.content-layer { position: relative; z-index: 1; }
.brand { color: var(--paper); font-size: 1.23rem; font-weight: 500; letter-spacing: -.06em; line-height: 1; text-decoration: none; }
.brand-mark { color: var(--accent); }
.brand .brand-mark img { width: 15%; }
.site-header { position: relative; z-index: 10; display: grid; grid-template-columns: auto 1fr; align-items: center; padding: clamp(18px, 3.2vw, 36px) clamp(24px, 8vw, 112px); }
.main-nav { position: absolute; left: 50%; display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); transform: translateX(-50%); }
.main-nav a { color: #bdbdbd; font-size: 18px; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--paper); }
.menu-toggle { display: none; width: 38px; height: 36px; padding: 0; border: 1px solid rgba(244, 243, 240, .35); border-radius: 7px; color: var(--paper); background: transparent; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 15px; height: 1px; margin: auto; background: currentColor; content: ""; }
.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(4px); }
.header-controls { display: flex; grid-column: 2; align-items: center; gap: 28px; }
.auth-links { display: flex; align-items: center; gap: 18px; }
.auth-links a { display: inline-flex; align-items: center; height: 30px; padding: 0 15px; border: 1px solid var(--paper); border-radius: 99px; color: var(--ink); background: var(--paper); font-size: 18px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.auth-links a:hover, .auth-links a:focus-visible { border-color: var(--accent); color: var(--paper); background: var(--accent); }
.nav-dropdown { position: relative; z-index: 20; }
.nav-dropdown > .dropdown-toggle { padding: 0; border: 0; color: #bdbdbd; background: transparent; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; transition: color .2s ease; }
.nav-dropdown > .dropdown-toggle::after { margin-left: 7px; color: var(--accent); border-top-width: .42em; border-right-width: .35em; border-left-width: .35em; vertical-align: 2px; }
.nav-dropdown > .dropdown-toggle:hover, .nav-dropdown > .dropdown-toggle:focus-visible, .nav-dropdown.show > .dropdown-toggle { color: var(--paper); }
.shop-menu { top: 100%; left: 50%; z-index: 2000; min-width: 176px; padding: 10px 0; border: 1px solid rgba(244, 243, 240, .26); border-radius: 0; background: rgba(5, 5, 5, .97); box-shadow: 0 14px 24px rgba(0, 0, 0, .45); transform: translateX(-50%); }
.shop-menu.show { display: grid; }
.shop-menu a { display: block; padding: 9px 18px; color: #bdbdbd; font-size: 15px; letter-spacing: .08em; white-space: nowrap; }
.shop-menu a:hover, .shop-menu a:focus-visible { color: var(--paper); background: rgba(244, 243, 240, .08); }
.site-header .search-shell { justify-self: end; }
.search-shell, .email-shell { display: flex; align-items: center; width: min(100%, 208px); height: 22px; padding: 2px 3px 2px 12px; border-radius: 99px; background: var(--paper); }
.search-shell input, .email-shell input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .7rem; }
.search-shell { width: min(100%, 270px); height: 30px; }
.round-button { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; color: #8b8b8b; background: #dededc; font-size: 1rem; line-height: 1; cursor: pointer; }

.image-carousel { position: relative; width: 100%; aspect-ratio: 7 / 2; overflow: hidden; background: #000; }
.carousel-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; opacity: 0; object-fit: contain; object-position: center; transition: opacity .7s var(--ease); }
.carousel-slide.is-active { opacity: 1; }
.carousel-control { position: absolute; top: 50%; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(244, 243, 240, .5); border-radius: 50%; color: var(--paper); background: rgba(0, 0, 0, .35); font-size: 1.5rem; line-height: 1; opacity: .75; transform: translateY(-50%); transition: background .2s ease, opacity .2s ease; }
.carousel-control:hover, .carousel-control:focus-visible { background: rgba(0, 0, 0, .75); opacity: 1; }
.carousel-control.previous { left: clamp(12px, 3vw, 36px); }
.carousel-control.next { right: clamp(12px, 3vw, 36px); }
.carousel-dots { position: absolute; bottom: 14px; left: 50%; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--paper); border-radius: 50%; background: transparent; }
.carousel-dot.is-active { background: var(--accent); }

.site-footer { padding: clamp(44px, 7vw, 78px) 24px 24px; text-align: center; }
.footer-brand { display: inline-block; margin-bottom: 16px; font-size: 1.35rem; }
.footer-label { margin: 0 0 15px; color: #c3c3c3; font-size: .88rem; }
.email-shell { width: min(100%, 208px); height: 25px; margin: 0 auto; }
.copyright { margin: 26px 0 0; color: var(--muted); font-size: .62rem; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 145px)); justify-content: center; gap: clamp(18px, 3vw, 34px); margin: 26px auto 0; padding: 0 24px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid rgba(244, 243, 240, .8); border-radius: 8px; background: rgba(255, 255, 255, .015); }
.product-card a { display: block; color: var(--paper); text-decoration: none; }
.product-card-image { display: grid; aspect-ratio: 1 / .92; place-items: center; padding: 16px; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 68%); }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card-title { margin: 0; padding: 0 8px 10px; color: #c7c7c7; font-size: .62rem; letter-spacing: .06em; text-align: center; text-transform: uppercase; }

@media (max-width: 767px) {
  .site-header { padding-inline: 22px; grid-template-columns: 1fr auto; row-gap: 24px; }
  .menu-toggle { display: grid; place-items: center; justify-self: end; }
  .header-controls { display: none; grid-column: 1 / -1; grid-row: 2; }
  .header-controls.is-open { display: grid; justify-items: center; gap: 22px; padding: 4px 0 8px; }
  .main-nav { position: static; align-items: center; flex-direction: column; justify-content: center; gap: 16px; transform: none; }
  .nav-dropdown { position: static; }
  .nav-dropdown > .dropdown-toggle { display: block; margin: 0 auto; }
  .nav-dropdown:hover > .dropdown-toggle { color: #bdbdbd; }
  .shop-menu { position: static !important; inset: auto !important; width: min(100%, 230px); min-width: 0; margin: 12px auto 0 !important; transform: none !important; box-shadow: none; }
  .site-header .search-shell { width: min(100%, 290px); justify-self: center; }
  .carousel-control { width: 34px; height: 34px; font-size: 1.2rem; }
  .carousel-dots { bottom: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 140px)); gap: 16px; margin-top: 24px; }
  .brand .brand-mark img { width: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
