/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .static {
    position: static;
  }
  .block {
    display: block;
  }
  .hidden {
    display: none;
  }
}
:root {
  --ink: #080d13;
  --panel: #101923;
  --panel-2: #151f2b;
  --line: #263441;
  --muted: #98a7b6;
  --blue: #087cff;
  --cyan: #16d2ea;
  --font-ui: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: #f4f7fa;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
.site-header {
  height: 68px;
  background: rgba(8, 13, 19, .96);
  border-bottom: 1px solid #1b2631;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1320px;
  height: 100%;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 210px;
  height: auto;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  height: 100%;
  font-size: 13px;
  color: #d1d8e0;
  white-space: nowrap;
}
.desktop-nav>a,
.nav-dropdown summary {
  transition: color .2s;
}
.desktop-nav>a:hover,
.nav-dropdown summary:hover {
  color: var(--cyan);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.dropdown-menu {
  position: absolute;
  top: 34px;
  left: -12px;
  width: 240px;
  padding: 8px;
  background: #101923;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 14px 40px #0008;
}
.dropdown-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 3px;
}
.dropdown-menu a:hover {
  background: #1a2734;
  color: var(--cyan);
}
.header-search {
  margin-left: auto;
  width: 300px;
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 11px;
  border: 1px solid #344250;
  border-radius: 5px;
  color: #9ba9b7;
}
.header-search input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: white;
  font-size: 12px;
}
.header-search button {
  height: 35px;
  width: 40px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
}
.mobile-menu {
  display: none;
}
.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px;
}
.home-page {
  padding-top: 22px;
}
.hero-carousel {
  height: 400px;
  position: relative;
  overflow: hidden;
  border: 1px solid #263440;
  border-radius: 7px;
  background: #07101b;
}
.hero-carousel>img {
  object-fit: cover;
  object-position: center 44%;
  transition: transform .8s;
}
.hero-carousel:hover>img {
  transform: scale(1.025);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,10,17,.96), rgba(4,10,17,.82) 35%, rgba(4,10,17,.15) 76%),
  linear-gradient(0deg, rgba(4,10,17,.48), transparent 40%);
}
.hero-copy {
  position: absolute;
  left: 7.4%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 490px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.1px;
  color: var(--cyan);
}
.hero-copy h1 {
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.08;
  margin: 10px 0 12px;
  max-width: 510px;
}
.hero-copy p {
  font-size: 15px;
  color: #d0dae4;
  max-width: 410px;
  margin: 0 0 21px;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.button-primary:hover {
  background: #0067dd;
  transform: translateY(-1px);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  background: #09121aa8;
  color: white;
}
.carousel-arrow:hover {
  background: var(--blue);
}
.carousel-arrow.previous {
  left: 16px;
}
.carousel-arrow.next {
  right: 16px;
}
.carousel-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.carousel-controls button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #aab5c2a8;
  transition: width .2s, background .2s;
}
.carousel-controls button.active {
  width: 23px;
  background: var(--cyan);
}
.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 14px 0 42px;
}
.category-tile {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #101923;
  border: 1px solid #202c37;
  border-radius: 5px;
  color: #dce4eb;
  font-size: 13px;
  font-weight: 650;
  transition: background .2s, border-color .2s, transform .2s;
}
.category-tile:hover {
  transform: translateY(-2px);
  border-color: #168dff;
  background: #132338;
}
.category-tile svg {
  color: var(--cyan);
  flex: none;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 16px;
}
.section-heading h2 {
  font-size: 23px;
  margin: 0;
}
.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.text-link {
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
}
.text-link:hover {
  color: white;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.post-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid #202c37;
  border-radius: 5px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: #2e5268;
}
.post-image-link {
  position: relative;
  display: block;
  aspect-ratio: 1.82;
  background: #111d28;
  overflow: hidden;
}
.post-image-link img {
  object-fit: cover;
  transition: transform .5s;
}
.post-card:hover .post-image-link img {
  transform: scale(1.04);
}
.image-arrow {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #08121cb5;
  color: white;
  opacity: 0;
  transition: opacity .2s;
}
.post-card:hover .image-arrow {
  opacity: 1;
}
.post-card-content {
  padding: 15px;
}
.post-card h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 6px 0 7px;
}
.post-card h3 a:hover {
  color: #79c2ff;
}
.post-card p {
  font-size: 13px;
  color: #a8b5c1;
  line-height: 1.5;
  margin: 0 0 15px;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #8795a3;
  font-size: 11px;
}
.compact .post-image-link {
  aspect-ratio: 1.7;
}
.compact .post-card-content {
  padding: 12px;
}
.compact .post-card h3 {
  font-size: 14px;
}
.compact .post-meta {
  font-size: 10px;
}
.home-products {
  margin-top: 43px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.product-carousel-shell {
  position: relative;
}
.product-carousel-controls {
  position: absolute;
  right: 0;
  top: -52px;
  display: flex;
  gap: 7px;
}
.product-carousel-controls button {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
}
.product-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #344b5d transparent;
  padding-bottom: 8px;
}
.product-rail-item {
  flex: 0 0 calc((100% - 42px)/4);
  min-width: 210px;
  scroll-snap-align: start;
}
.product-rail-item .product-card {
  height: 100%;
}
.product-card {
  background: #fff;
  color: #101820;
  border: 1px solid #d9e0e7;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1.35;
  background: #f0f3f6;
}
.product-image img {
  object-fit: contain;
  padding: 12px;
  transition: transform .35s;
}
.product-card:hover .product-image img {
  transform: scale(1.035);
}
.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}
.store-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #087cff;
  font-weight: 750;
}
.product-info h3 {
  min-height: 44px;
  font-size: 15px;
  line-height: 1.35;
  margin: 6px 0 8px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d99800;
  font-size: 11px;
}
.product-rating span {
  color: #697887;
}
.product-price {
  font-size: 19px;
  margin: 7px 0 12px;
}
.product-cta {
  margin-top: auto;
  font-size: 12px;
  padding: 9px;
}
.wide-promo {
  margin: 40px 0 10px;
  padding: 25px 28px;
  min-height: 135px;
  border: 1px solid #283747;
  border-radius: 6px;
  background: linear-gradient(105deg,#111d29 0%,#102e42 60%,#084778 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.wide-promo h2 {
  font-size: 24px;
  line-height: 1.15;
  max-width: 500px;
  margin: 0 0 8px;
}
.wide-promo p {
  font-size: 12px;
  color: #b8c6d1;
  margin: 0 0 13px;
}
.wide-promo .button-primary {
  padding: 8px 13px;
}
.site-footer {
  margin-top: 35px;
  border-top: 1px solid #202c37;
  background: #090e14;
}
.footer-main {
  max-width: 1320px;
  margin: auto;
  padding: 34px 28px 27px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr .9fr;
  gap: 36px;
}
.footer-brand-block p {
  font-size: 12px;
  color: #9aa7b3;
}
.footer-main>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #9ca9b6;
}
.footer-main h2 {
  font-size: 12px;
  color: white;
  margin: 0 0 4px;
}
.footer-main>div>a:hover {
  color: var(--cyan);
}
.social-links {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.social-links a {
  color: #bac5ce;
}
.social-links a:hover {
  color: var(--cyan);
}
.footer-bottom {
  max-width: 1264px;
  margin: auto;
  border-top: 1px solid #202c37;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  color: #8794a1;
  font-size: 10px;
}
.footer-bottom a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.inner-page {
  padding-top: 32px;
  padding-bottom: 48px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d9ba8;
  font-size: 12px;
  margin: 0 0 17px;
}
.breadcrumb a:hover {
  color: var(--cyan);
}
.page-title {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 9px;
}
.page-intro {
  color: #aab6c1;
  margin: 0 0 27px;
  max-width: 700px;
}
.article-page {
  max-width: 980px;
}
.article-header {
  margin-bottom: 22px;
}
.article-header h1 {
  max-width: 850px;
}
.article-header .page-intro {
  margin: 10px 0 15px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b4c0cb;
  font-size: 12px;
}
.author-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1d4966;
  color: #a9e5ff;
  font-weight: 700;
}
.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2.15;
  border-radius: 6px;
  overflow: hidden;
  background: #172330;
}
.article-hero img {
  object-fit: cover;
}
.article-body {
  max-width: 760px;
  margin: 23px auto;
  color: #d0d8df;
  font-size: 16px;
  line-height: 1.85;
}
.article-body p {
  margin: 0 0 18px;
}
.article-products {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-products h2 {
  font-size: 21px;
  margin: 0 0 15px;
}
.article-products .product-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 630px;
}
.empty-state {
  padding: 42px;
  text-align: center;
  border: 1px dashed #33424f;
  border-radius: 5px;
  color: #aab6c1;
}
.empty-state h2 {
  color: white;
  margin-top: 0;
}
.login-page {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 28px;
}
.login-panel {
  width: min(100%,420px);
  padding: 30px;
  background: #101923;
  border: 1px solid #273441;
  border-radius: 6px;
}
.login-panel h1 {
  font-size: 25px;
  margin: 0 0 5px;
}
.login-panel>p {
  color: #98a7b6;
  font-size: 13px;
  margin: 0 0 22px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 12px;
  font-weight: 650;
  color: #c8d1d9;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: #0a1118;
  color: #f1f5f8;
  border: 1px solid #33414d;
  border-radius: 4px;
  padding: 10px 11px;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #087cff28;
}
.form-field textarea {
  min-height: 115px;
  resize: vertical;
}
.error-message {
  color: #ff9e9e;
  font-size: 12px;
  margin: 10px 0;
}
.admin-shell {
  max-width: 1320px;
  margin: auto;
  padding: 28px;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.admin-top h1 {
  font-size: 25px;
  margin: 0;
}
.admin-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.admin-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.button-secondary,
.button-danger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #3a4b59;
  border-radius: 4px;
  padding: 9px 12px;
  background: #121d27;
  color: #dce5eb;
  font-size: 12px;
}
.button-secondary:hover {
  border-color: #6b8293;
}
.button-danger {
  border-color: #733c43;
  color: #ffb4b4;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
  gap: 22px;
}
.editor-panel,
.posts-panel {
  border: 1px solid #263440;
  border-radius: 5px;
  background: #0f171f;
  padding: 19px;
}
.editor-panel h2,
.posts-panel h2 {
  font-size: 16px;
  margin: 0 0 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.upload-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.upload-row input[type=file] {
  font-size: 11px;
  max-width: 240px;
}
.image-preview {
  width: 70px;
  height: 48px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #34414c;
}
.product-editor {
  border-top: 1px solid #2a3743;
  margin-top: 17px;
  padding-top: 17px;
}
.product-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.product-editor-head h3 {
  font-size: 14px;
  margin: 0;
}
.product-row {
  position: relative;
  padding: 13px;
  margin-bottom: 11px;
  border: 1px solid #293744;
  border-radius: 4px;
  background: #111c26;
}
.product-row .remove-product {
  position: absolute;
  right: 10px;
  top: 8px;
  color: #ffadad;
  background: transparent;
  border: 0;
}
.admin-post-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-post-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  padding: 11px;
  border: 1px solid #263440;
  border-radius: 4px;
  background: #111b24;
}
.admin-post-item h3 {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 5px;
}
.admin-post-item p {
  font-size: 10px;
  color: #96a4b0;
  margin: 0;
}
.admin-post-buttons {
  display: flex;
  gap: 4px;
}
.admin-post-buttons button {
  background: transparent;
  color: #aab8c4;
  border: 0;
  padding: 5px;
}
.admin-post-buttons button:hover {
  color: var(--cyan);
}
.product-count {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
@media (max-width:1000px) {
  .header-inner {
    gap: 20px;
    padding: 0 20px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .header-search {
    width: 230px;
  }
  .page-shell {
    padding: 23px 20px;
  }
  .hero-carousel {
    height: 360px;
  }
  .footer-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-bottom {
    margin-left: 20px;
    margin-right: 20px;
  }
  .post-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .product-rail-item {
    flex-basis: calc((100% - 14px)/2);
  }
}
@media (max-width:720px) {
  .product-carousel-controls {
    top: -45px;
  }
  .product-carousel-controls button {
    width: 31px;
    height: 31px;
  }
  .product-rail {
    gap: 9px;
  }
  .product-rail-item {
    flex-basis: 44%;
    min-width: 155px;
  }
  .site-header {
    height: 60px;
  }
  .header-inner {
    padding: 0 15px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-logo {
    width: 170px;
  }
  .desktop-nav {
    display: none;
  }
  .header-search {
    width: 170px;
    min-width: 0;
    max-width: 170px;
    height: 34px;
    margin-left: auto;
    flex: 1 1 auto;
  }
  .header-search>svg {
    display: none;
  }
  .header-search input {
    font-size: 11px;
  }
  .header-search button {
    height: 32px;
    width: 34px;
  }
  .mobile-menu {
    display: block;
    position: relative;
    flex: none;
  }
  .mobile-menu summary {
    list-style: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: white;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu nav {
    position: absolute;
    right: -7px;
    top: 44px;
    width: min(88vw,310px);
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: #101923;
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 14px 40px #000b;
  }
  .mobile-menu:not([open]) nav {
    display: none;
  }
  .mobile-menu nav a {
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
  }
  .mobile-menu nav a:hover {
    background: #192735;
    color: var(--cyan);
  }
  .page-shell {
    padding: 18px 15px;
  }
  .hero-carousel {
    height: 340px;
  }
  .hero-carousel>img {
    object-position: 60% center;
  }
  .hero-shade {
    background: linear-gradient(90deg,rgba(4,10,17,.94),rgba(4,10,17,.55) 64%,rgba(4,10,17,.25)),
    linear-gradient(0deg,rgba(4,10,17,.5),transparent 55%);
  }
  .hero-copy {
    left: 9%;
    right: 8%;
    max-width: 400px;
  }
  .hero-copy h1 {
    font-size: 31px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel-arrow.previous {
    left: 8px;
  }
  .carousel-arrow.next {
    right: 8px;
  }
  .category-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    margin: 12px 0 33px;
  }
  .category-tile {
    height: 62px;
    padding: 0 11px;
    font-size: 11px;
    gap: 9px;
  }
  .category-tile svg {
    width: 19px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .post-card {
    display: grid;
    grid-template-columns: 39% 1fr;
  }
  .post-image-link {
    aspect-ratio: auto;
    min-height: 150px;
  }
  .post-card-content {
    padding: 12px;
  }
  .post-card h3 {
    font-size: 14px;
  }
  .post-card p {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .post-meta {
    font-size: 9px;
  }
  .compact .post-image-link {
    aspect-ratio: auto;
    min-height: 128px;
  }
  .compact .post-card h3 {
    font-size: 13px;
  }
  .compact .post-card-content {
    padding: 10px;
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }
  .product-info {
    padding: 10px;
  }
  .product-info h3 {
    font-size: 12px;
    min-height: 49px;
  }
  .product-price {
    font-size: 16px;
  }
  .product-cta {
    font-size: 10px;
    padding: 8px;
  }
  .product-image {
    aspect-ratio: 1.15;
  }
  .wide-promo {
    padding: 19px;
    min-height: 150px;
    margin-top: 30px;
  }
  .wide-promo h2 {
    font-size: 20px;
    max-width: 290px;
  }
  .wide-promo p {
    max-width: 250px;
    font-size: 11px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 25px 15px;
    gap: 22px 14px;
  }
  .footer-brand-block {
    grid-column: 1/-1;
  }
  .footer-bottom {
    margin: 0 15px;
    padding: 12px 0;
    gap: 12px;
  }
  .footer-bottom span {
    max-width: 220px;
  }
  .inner-page {
    padding-top: 23px;
  }
  .page-title {
    font-size: 30px;
  }
  .article-hero {
    aspect-ratio: 1.45;
  }
  .article-byline {
    flex-wrap: wrap;
    font-size: 11px;
  }
  .article-body {
    font-size: 14px;
  }
  .article-products .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .login-page {
    min-height: calc(100vh - 60px);
  }
  .admin-shell {
    padding: 18px 14px;
  }
  .admin-top {
    align-items: flex-start;
  }
  .admin-top h1 {
    font-size: 20px;
  }
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-panel,
  .posts-panel {
    padding: 14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
