:root {
  --ink: #182B49;
  --muted: #626a74;
  --line: #e2e5e9;
  --soft: #F5F7FA;
  --paper: #FFFFFF;
  --accent: #182B49;
  --accent-strong: #182B49;
  --action: #00A6A6;
  --action-hover: #182B49;
  --action-soft: #eefafa;
  --highlight: #FFFFFF;
  --steel: #182B49;
  --blue: #182B49;
  --green: #182B49;
  --shadow: 0 18px 45px rgba(23, 33, 44, 0.14);
  --wilter-primary: #00a9a5;
  --wilter-primary-dark: #007f7c;
  --wilter-dark: #101820;
  --wilter-text: #344047;
  --wilter-muted: #66747c;
  --wilter-border: #dfe5e8;
  --wilter-background: #f4f6f7;
  --wilter-surface: #ffffff;
  --wilter-radius-small: 6px;
  --wilter-radius-medium: 10px;
  --wilter-radius-large: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #FFFFFF;
  border-bottom: 1px solid #eef0f2;
}

.site-header.compact {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(168px, 17vw, 236px);
  height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--action-hover);
  border-color: var(--action-hover);
}

.has-mega-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  z-index: 30;
  display: none;
  padding: 34px 46px 30px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 55px rgba(24, 43, 73, 0.16);
}

.mega-open .mega-menu {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px 36px;
}

.mega-menu-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-transform: none;
}

.mega-menu-item:hover,
.mega-menu-item:focus-visible {
  color: var(--ink);
  border-color: var(--line);
  background: var(--soft);
}

.mega-menu-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 58px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef0f2;
}

.mega-menu-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.mega-menu-icon span {
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.mega-menu-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
}

.mega-menu-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.mega-menu-detail {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 18px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--soft), #fff);
  border: 1px solid var(--line);
  border-left: 4px solid var(--action);
  text-transform: none;
}

.mega-menu-detail:hover,
.mega-menu-detail:focus-visible {
  color: var(--ink);
  border-color: var(--action);
  background: #f7fbfb;
}

.mega-menu-detail::before {
  content: none;
}

.mega-detail-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 46px;
  color: #fff;
  background: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.mega-detail-copy strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-detail-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.mega-detail-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--action);
  font-size: 20px;
  font-weight: 900;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--action);
  border-radius: 2px;
  background: var(--action);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cart span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--action);
  font-size: 12px;
}

.phone-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 16px;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 900;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.phone-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: -4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--action);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-top: 8px;
  align-self: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 72px) 76px;
  overflow: hidden;
  background: var(--accent-strong);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 43, 73, 0.94) 0%, rgba(24, 43, 73, 0.74) 44%, rgba(24, 43, 73, 0.16) 100%);
}

.hero-content {
  position: relative;
  max-width: 680px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.products-hero h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 142px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-logo {
  width: min(440px, 78vw);
  height: auto;
  max-height: 112px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  padding: 0;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

.hero .hero-title {
  display: grid;
  gap: 14px;
  margin: 0;
  font-size: initial;
  line-height: 1;
}

.hero-title span {
  max-width: 760px;
  color: #fff;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}

.title-logo {
  display: inline-block;
  width: clamp(124px, 14vw, 190px);
  height: 40px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 12px;
  background: transparent;
  mix-blend-mode: multiply;
}

.inline-logo {
  display: inline-block;
  width: 82px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  background: transparent;
  mix-blend-mode: multiply;
}

.hero p:not(.eyebrow),
.products-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.button.primary {
  color: #fff;
  background: var(--action);
}

.button.primary:hover,
.button.primary:focus-visible,
.header-cart:hover,
.header-cart:focus-visible,
.quick-cart:hover,
.quick-cart:focus-visible {
  border-color: var(--action-hover);
  background: var(--action-hover);
  color: #fff;
}

.button:disabled,
.quick-cart:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--accent);
  border-color: #b8c1ca;
  background: var(--paper);
}

.button.outline:hover,
.button.outline:focus-visible {
  color: var(--action-hover);
  border-color: var(--action-hover);
  background: var(--action-soft);
}

.button.danger {
  color: #9f1d1d;
  border-color: #d9b5b5;
  background: #fff;
}

.button.danger:hover,
.button.danger:focus-visible {
  color: #fff;
  border-color: #9f1d1d;
  background: #9f1d1d;
}

.catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 58px clamp(20px, 5vw, 72px) 30px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1;
}

.catalog-hero p:not(.breadcrumb) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.category-band {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.products-hero h1,
.catalog-panel h2 {
  color: var(--ink);
}

.section h2,
.catalog-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.category-grid .empty-cart {
  grid-column: 1 / -1;
  color: var(--ink);
}

.category-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.category-card.featured {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.category-card:nth-child(2) {
  background: linear-gradient(145deg, var(--accent), #00A6A6);
}

.category-card:nth-child(3) {
  background: linear-gradient(145deg, var(--accent), var(--action));
}

.category-card:nth-child(4) {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.card-index {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.category-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.copy-stack p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: var(--ink);
}

.blog-preview-band {
  background: #fff;
}

.seo-band,
.category-seo {
  background: var(--soft);
}

.category-seo {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
}

.category-seo h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.seo-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.seo-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.seo-grid a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-preview-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.blog-preview-card,
.blog-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.blog-preview-card {
  min-height: 210px;
}

.blog-preview-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-preview-card h3,
.blog-card h2 {
  margin: 0;
  color: var(--ink);
}

.blog-preview-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-index {
  padding: 42px clamp(20px, 5vw, 72px) 80px;
  background: #f6f7f8;
}

.blog-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-keywords span {
  display: inline-flex;
  padding: 5px 9px;
  background: #eef2f5;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.blog-post-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 86px;
}

.blog-post-shell h1 {
  margin: 10px 0 18px;
  color: var(--accent);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.blog-lead {
  color: var(--muted);
  font-size: 21px;
}

.blog-post-content {
  display: grid;
  gap: 26px;
  margin-top: 36px;
}

.blog-post-content h2,
.blog-cta h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
}

.blog-post-content p,
.blog-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.blog-subsections {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.blog-subsections h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
}

.blog-cta {
  display: grid;
  gap: 14px;
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #f6f7f8;
}

.blog-related-products {
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.blog-related-products h2 {
  margin: 0 0 12px;
}

.blog-related-products ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.blog-related-products a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-strip h2 {
  color: #fff;
}

.site-footer {
  color: #fff;
  background: var(--accent-strong);
}

.footer-quick {
  display: none !important;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.9fr);
  background: var(--accent-strong);
}

.footer-brand-panel {
  min-height: 330px;
  padding: 56px clamp(24px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(0, 166, 166, 0.18), rgba(24, 43, 73, 0.96)),
    var(--accent-strong);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  width: 210px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  padding: 0;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

.footer-brand-panel p {
  max-width: 360px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: clamp(22px, 4vw, 56px);
  padding: 56px clamp(24px, 5vw, 78px);
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-columns h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.footer-columns a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
}

.footer-columns a:hover,
.footer-legal a:hover,
.footer-social a:hover {
  color: var(--action);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.footer-legal,
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-social span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.products-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 86px clamp(20px, 5vw, 72px) 52px;
  color: #fff;
  background: linear-gradient(125deg, var(--accent-strong) 0%, var(--accent) 52%, #FFFFFF 52%, #FFFFFF 100%);
}

.shop-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 760px;
  background: #fff;
}

.shop-sidebar {
  padding: 26px 18px 42px clamp(20px, 5vw, 72px);
  background: #f5f6f7;
  border-right: 1px solid var(--line);
}

.search-box {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-box input {
  min-height: 38px;
  padding: 0 12px;
}

.category-menu {
  display: grid;
  gap: 4px;
}

.catalog-filters {
  display: grid;
  gap: 10px;
  margin: 14px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-medium);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 10px 24px rgba(24, 43, 73, 0.06);
}

.catalog-filters label {
  display: grid;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-filters select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-small);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}

.catalog-filters select:focus {
  outline: 2px solid rgba(0, 166, 166, 0.2);
  border-color: var(--accent);
}

.category-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--accent-strong);
  border-radius: 0;
  color: #fff;
  background: var(--accent-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.category-menu button[aria-selected="true"] {
  color: #fff;
  border-color: var(--action);
  background: var(--action);
}

.shop-main {
  padding: 28px clamp(20px, 5vw, 52px) 70px;
}

.shop-titlebar,
.listing-toolbar,
.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.shop-titlebar {
  margin-bottom: 20px;
}

.shop-titlebar h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.view-tools {
  display: flex;
  gap: 6px;
}

.view-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
}

.view-button.active {
  background: var(--action);
  color: #fff;
}

.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.category-tile-grid .empty-cart {
  grid-column: 1 / -1;
}

.category-tile {
  display: grid;
  grid-template-rows: 116px auto;
  min-height: 250px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-tile:hover,
.category-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 169, 165, 0.45);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.08);
  outline: 0;
}

.category-visual,
.product-photo {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #F5F7FA, #FFFFFF);
  color: var(--accent);
  font-size: 44px;
  font-weight: 900;
}

.category-tile-body {
  padding: 16px;
}

.category-tile h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.category-tile ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.category-tile li {
  margin-top: 5px;
}

.category-tile li::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}

.listing-toolbar {
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.listing-toolbar strong {
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto 42px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.product-card > .product-link > .product-photo,
.product-card .product-link + .product-photo,
.product-card .product-photo:first-child {
  min-height: 0;
  overflow: hidden;
}

.product-link {
  display: contents;
}

.product-card .product-link > .product-photo {
  height: 190px;
  min-height: 0;
  overflow: hidden;
}

.product-card .product-photo img,
.detail-main-image img,
.thumb img,
.cart-item .product-photo img,
.admin-list-product .product-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card .product-body {
  min-width: 0;
  background: #fff;
}

.product-card .product-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-catalog-mode .catalog-hero .button.primary,
.admin-catalog-mode .quick-cart {
  display: none;
}

.admin-catalog-mode .site-header {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.admin-catalog-mode .brand {
  width: clamp(150px, 12vw, 184px);
  height: 34px;
}

.admin-catalog-mode .main-nav {
  font-size: 13px;
  letter-spacing: 0;
}

.admin-catalog-mode .catalog-hero {
  padding: 42px clamp(24px, 4vw, 64px) 34px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--soft) 100%);
}

.admin-catalog-mode .catalog-hero h1 {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 10px;
  color: var(--accent);
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.05;
}

.admin-catalog-mode .catalog-hero .title-logo {
  width: clamp(132px, 11vw, 172px);
  height: 34px;
  margin-right: 0;
  flex: 0 0 auto;
}

.admin-catalog-mode .catalog-hero p:not(.breadcrumb) {
  max-width: 620px;
  margin-top: 16px;
  font-size: 17px;
}

.admin-catalog-mode .product-card {
  grid-template-rows: 190px auto;
}

.admin-catalog-mode .shop-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-catalog-mode .shop-sidebar {
  padding-top: 32px;
}

.admin-catalog-mode .shop-main {
  padding-top: 36px;
}

.admin-catalog-mode .shop-titlebar h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
}

.admin-catalog-mode .category-tile {
  min-height: 232px;
}

.product-card .product-photo img,
.detail-gallery img,
.admin-preview img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-photo .placeholder-logo {
  width: min(68%, 230px);
  height: auto;
  max-height: 64px;
  background: transparent;
  mix-blend-mode: multiply;
}

.fly-to-cart {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  opacity: 0.72;
  object-fit: contain;
  transition: transform 0.72s cubic-bezier(0.18, 0.86, 0.28, 1), opacity 0.72s ease;
  will-change: transform, opacity;
}

.fly-to-cart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.buy-row strong,
.detail-price strong {
  color: var(--accent);
  font-size: 18px;
}

.buy-row span,
.detail-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-cart {
  min-height: 42px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--action);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  background: #f1f3f5;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.tag-link {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag-link:hover,
.tag-link:focus-visible {
  background: var(--action);
  color: #fff;
  outline: 0;
}

.detail-shell {
  padding: 34px clamp(20px, 5vw, 72px) 80px;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.detail-gallery {
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(58vh, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.detail-main-image img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.thumb-row {
  display: flex;
  gap: 8px;
}

.thumb {
  width: 72px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: #fff;
}

.thumb img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.detail-info h1 {
  margin: 8px 0 18px;
  color: var(--accent);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.option-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-buttons span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.variant-choice-wrap {
  display: grid;
  gap: 10px;
}

.variant-choice-title {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-choice {
  min-width: 76px;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}

.variant-choice strong,
.variant-choice span {
  display: block;
}

.variant-choice strong {
  font-size: 13px;
}

.variant-choice span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.variant-choice.active,
.variant-choice[aria-selected="true"] {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}

.variant-choice.active span,
.variant-choice[aria-selected="true"] span {
  color: rgba(255, 255, 255, 0.78);
}

.selected-variant-box {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.selected-variant-box span {
  color: var(--muted);
  font-size: 13px;
}

.technical-section {
  margin-top: 64px;
}

.technical-section h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 14px 8px;
  border-top: 1px solid var(--line);
}

.admin-shell {
  padding: 38px clamp(20px, 5vw, 72px) 80px;
  background: #f6f7f8;
}

.admin-head {
  margin-bottom: 24px;
}

.admin-head h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
}

.admin-form {
  display: grid;
  gap: 16px;
  max-width: 920px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active {
  background: var(--action);
  color: #fff;
  border-color: var(--action);
}

.admin-area[hidden] {
  display: none;
}

.admin-private[hidden] {
  display: none;
}

.admin-auth-card {
  max-width: 520px;
}

.admin-userbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-userbar div {
  display: grid;
  gap: 4px;
}

.admin-userbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.permission-grid input {
  min-height: auto;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-form input,
.admin-form select {
  min-height: 42px;
  padding: 0 12px;
}

.admin-form textarea {
  padding: 12px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.password-field span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.password-field button {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

.admin-preview {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px dashed var(--line);
}

.variant-editor {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.spec-editor {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.spec-list {
  display: grid;
  gap: 10px;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.variant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.variant-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.variant-list {
  display: grid;
  gap: 10px;
}

.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px 86px;
  gap: 10px;
  align-items: end;
}

.variant-row-extended {
  grid-template-columns: repeat(2, minmax(0, 1fr)) 140px 120px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.variant-row-extended .wide {
  grid-column: span 2;
}

.variant-row-extended .remove-button {
  grid-column: 4;
}

.variant-image-preview {
  min-height: 72px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
}

.variant-image-preview .product-photo {
  width: 86px;
  height: 58px;
}

.admin-preview .product-photo {
  width: 160px;
  height: 120px;
}

.admin-preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 8px;
  width: 100%;
}

.admin-preview-gallery .product-photo {
  width: auto;
  min-height: 74px;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.category-image-editor {
  margin-top: 28px;
}

.category-image-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.category-image-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.category-image-preview {
  display: grid;
  place-items: center;
  width: 76px;
  height: 62px;
  overflow: hidden;
  color: var(--accent);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 24px;
  font-weight: 900;
}

.category-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.category-image-row strong {
  display: block;
  color: var(--ink);
}

.category-image-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-list {
  margin-top: 28px;
  max-width: 920px;
}

.admin-list h2 {
  margin: 0 0 12px;
}

.admin-product-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 12px;
  margin: 0 0 14px;
}

.admin-product-tools label {
  display: grid;
  gap: 6px;
  color: var(--accent);
  font-weight: 900;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-list-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.admin-list-product .product-photo {
  width: 74px;
  height: 58px;
  border: 1px solid var(--line);
  font-size: 22px;
  overflow: hidden;
  flex: 0 0 auto;
}

.cart-shell {
  padding: 38px clamp(20px, 5vw, 72px) 80px;
  background: #f6f7f8;
  min-height: 720px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.cart-list,
.cart-summary {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(160px, auto);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-large);
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 43, 73, 0.06);
}

.cart-item .product-photo {
  width: 132px;
  height: 104px;
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-small);
  font-size: 28px;
}

.cart-item-info {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.cart-price-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-price-stack span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.cart-item .line-total {
  display: block;
  margin-top: 2px;
  color: var(--accent);
  font-size: 15px;
}

.cart-item-actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

.discount-editor {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.order-totals {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  border: 1px solid var(--line);
}

.quantity-control button,
.quantity-control input {
  min-height: 36px;
  border: 0;
  background: #fff;
  text-align: center;
  font: inherit;
  font-weight: 800;
}

.quantity-control input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.remove-button {
  min-height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-weight: 800;
}

.cart-summary,
.empty-cart {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.cart-summary {
  position: sticky;
  top: 94px;
}

.checkout-panel,
.account-shell {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.account-shell {
  margin-top: 0;
  padding: 38px clamp(20px, 5vw, 72px) 80px;
  background: #f6f7f8;
}

.account-grid,
.account-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checkout-form,
.account-orders {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.special-offers {
  grid-column: 1 / -1;
}

.special-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.special-offer-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.special-offer-card .product-photo {
  min-height: 96px;
  background: var(--soft);
}

.special-offer-card h3 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.offer-price del {
  color: var(--muted);
  font-weight: 700;
}

.offer-price strong {
  color: var(--action);
  font-size: 20px;
}

.checkout-form h2,
.checkout-form h3 {
  margin: 0;
}

.checkout-form p,
.account-note,
.form-message {
  margin: 0;
  color: var(--muted);
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea,
.admin-order select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.checkout-form textarea {
  padding: 12px;
  resize: vertical;
}

.success-message {
  padding: 10px 12px;
  border: 1px solid rgba(28, 121, 77, 0.25);
  background: #eef8f2;
  color: #1c794d;
  font-weight: 800;
}

.payment-choice,
.payment-settings-list,
.payment-card-settings {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.payment-choice h3,
.payment-card-settings h3 {
  margin: 0;
}

.payment-option,
.bank-choice {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.payment-option {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.bank-choice code {
  display: block;
  padding: 8px;
  overflow-wrap: anywhere;
  background: #eef2f5;
  color: var(--accent);
  font-weight: 900;
}

.payment-note,
.bank-choice small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.bank-account-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.panel-title,
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-record,
.admin-order,
.order-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-record {
  grid-template-columns: minmax(0, 1fr) auto;
}

.member-record {
  grid-template-columns: 1fr;
}

.member-picker {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  max-width: 520px;
  font-weight: 900;
  color: var(--accent);
}

.admin-member-create {
  margin-bottom: 18px;
}

.member-status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.member-status-summary span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.member-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.member-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-detail-grid > div,
.member-orders {
  padding: 12px;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.member-detail-grid h3,
.member-orders h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.member-detail-grid b {
  color: var(--accent);
}

.member-orders {
  display: grid;
  gap: 8px;
}

.member-order-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.member-order-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.member-order-card strong {
  color: var(--ink);
}

.member-order-card span {
  color: var(--muted);
  font-size: 13px;
}

.member-order-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.member-order-card .button {
  width: fit-content;
}

.member-orders a {
  color: var(--accent);
  text-decoration: none;
}

.admin-record p,
.admin-order p,
.order-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}

.admin-order h3 {
  margin: 0 0 8px;
}

.admin-order ul,
.order-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.order-head span {
  padding: 6px 10px;
  background: #eef2f5;
  color: var(--accent);
  font-weight: 800;
}

.status-badge {
  border: 1px solid var(--line);
}

.order-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.order-summary-grid span,
.order-status-note,
.order-notice {
  padding: 8px 10px;
  background: #f6f8fa;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.order-status-note {
  color: var(--accent);
  font-weight: 800;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.summary-total {
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.products-hero h1 {
  color: #fff;
  font-size: clamp(48px, 8vw, 104px);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  min-height: 680px;
  border-top: 1px solid var(--line);
}

.catalog-sidebar {
  padding: 32px 22px 48px clamp(20px, 5vw, 72px);
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.sidebar-title,
.breadcrumb {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-tabs {
  display: grid;
  gap: 8px;
}

.catalog-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.catalog-tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--action);
  background: var(--action);
}

.catalog-panel {
  padding: 38px clamp(20px, 5vw, 64px) 64px;
}

.catalog-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.catalog-panel-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.subcat-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.subcat-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.subcat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.product-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 4px;
  color: #fff;
  background: var(--steel);
  font-weight: 900;
}

.product-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.product-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .category-grid,
  .subcat-grid,
  .product-list,
  .category-tile-grid,
  .product-grid,
  .blog-preview-grid,
  .blog-grid,
  .seo-grid,
  .seo-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .catalog-layout,
  .catalog-panel-head,
  .shop-layout,
  .detail-top,
  .cart-layout,
  .account-grid,
  .account-dashboard,
  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .footer-main,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu {
    left: 20px;
    right: 20px;
    padding: 24px;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-image-list {
    grid-template-columns: 1fr;
  }

  .footer-brand-panel {
    min-height: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-sidebar {
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .shop-sidebar {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    width: clamp(150px, 44vw, 198px);
    height: 44px;
  }

  .hero-logo {
    width: min(330px, 82vw);
    max-height: 86px;
    padding: 0;
  }

  .title-logo {
    width: 132px;
    height: 34px;
    display: block;
    margin: 0 0 10px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cart {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: grid;
    gap: 4px;
  }

  .mega-menu {
    display: none;
    visibility: hidden;
    pointer-events: none;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mega-menu-item {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 72px;
  }

  .mega-menu-icon {
    width: 58px;
    height: 48px;
  }

  .mega-menu-detail {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
  }

  .mega-detail-icon {
    width: 46px;
    height: 42px;
  }

  .mega-detail-arrow {
    grid-column: 2;
    justify-self: start;
    width: auto;
    min-width: 92px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mega-detail-arrow::before {
    content: "Incele ";
  }

  .category-image-row {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .category-image-row label,
  .category-image-row button {
    grid-column: span 2;
    justify-content: center;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(24, 43, 73, 0.95), rgba(24, 43, 73, 0.76));
  }

  .category-grid,
  .subcat-grid,
  .product-list,
  .catalog-tabs,
  .category-tile-grid,
  .product-grid,
  .blog-preview-grid,
  .blog-grid,
  .seo-grid,
  .seo-grid.compact,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .products-hero,
  .catalog-hero,
  .contact-strip,
  .shop-titlebar,
  .listing-toolbar,
  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-brand-panel,
  .footer-columns {
    padding: 34px 20px;
  }

  .footer-logo {
    width: 170px;
    height: 44px;
  }

  .products-hero {
    background: var(--accent);
  }

  .admin-preview {
    grid-template-columns: 1fr;
  }

  .order-summary-grid {
    grid-template-columns: 1fr;
  }

  .member-head,
  .member-orders a {
    flex-direction: column;
  }

  .member-detail-grid {
    grid-template-columns: 1fr;
  }

  .variant-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .variant-row {
    grid-template-columns: 1fr;
  }

  .variant-row-extended .wide,
  .variant-row-extended .remove-button {
    grid-column: auto;
  }

  .variant-image-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }

  .cart-item .product-photo {
    width: 96px;
    height: 82px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(150px, 1fr) auto;
    align-items: center;
  }

  .admin-product-tools,
  .admin-list-product {
    grid-template-columns: 1fr;
  }

  .admin-list-product {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
  }

  .admin-list-item {
    display: grid;
  }

  .admin-list-product .product-photo {
    width: 58px;
    height: 48px;
    font-size: 18px;
  }
}

.catalog-filters {
  border-radius: var(--wilter-radius-medium);
}

.catalog-filters select,
.search-box input {
  border-radius: var(--wilter-radius-small);
}

.product-grid {
  align-items: stretch;
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border-radius: var(--wilter-radius-large);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 169, 165, 0.38);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.10);
}

.product-load-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 18px 0 4px;
}

.product-load-more .button {
  min-width: 220px;
  justify-content: center;
}

.product-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.product-card .product-link > .product-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 210px;
  padding: 18px;
}

.product-card .product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.product-card .product-photo img,
.detail-gallery img,
.admin-preview img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

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

.product-grid.list-view .product-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(180px, 220px);
}

.product-grid.list-view .product-link {
  display: contents;
}

.product-grid.list-view .product-card .product-photo {
  min-height: 190px;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-line b {
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--action);
  font-size: 10px;
}

.product-code-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-code-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-code-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-code-list dd {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.product-tech-list,
.detail-feature-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-tech-list li,
.detail-feature-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.product-tech-list b,
.detail-feature-list strong {
  color: var(--accent);
  text-align: right;
}

.buy-row {
  margin-top: auto;
}

.product-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  padding: 0 16px 16px;
}

.button.compact,
.quick-cart {
  min-height: 44px;
  border-radius: var(--wilter-radius-small);
}

.product-empty-state {
  grid-column: 1 / -1;
}

.detail-main-image {
  padding: 22px;
  min-height: clamp(300px, 48vw, 620px);
  max-height: none;
  display: grid;
  place-items: center;
}

.thumb {
  padding: 6px;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--action);
  box-shadow: inset 0 -3px 0 var(--action);
}

.product-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.product-detail-content article,
.product-faq,
.related-products {
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-large);
  background: #fff;
  padding: 22px;
}

.product-detail-content h2,
.product-faq h2,
.related-products h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(22px, 2.6vw, 34px);
}

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

.related-product-row a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--wilter-radius-medium);
  padding: 14px;
  background: var(--soft);
}

.related-product-row span,
.related-product-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-faq {
  margin-top: 22px;
}

.product-faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.product-faq summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 900;
}

.category-visual {
  padding: 14px;
  overflow: hidden;
}

.category-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 860px) {
  .product-grid.list-view .product-card,
  .product-detail-content,
  .related-product-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .site-header {
    min-height: 72px;
    padding: 10px 14px;
  }

  .brand {
    width: min(165px, 48vw);
    height: 42px;
  }

  .header-cart {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0 14px 28px;
  }

  .product-card,
  .product-grid.list-view .product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  .product-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
  }

  .product-card .product-link > .product-photo,
  .product-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 188px;
    max-height: 248px;
    padding: 12px;
    border-bottom: 1px solid #edf0f2;
    background: #f7f8f9;
  }

  .product-card__media img,
  .product-card .product-photo img {
    width: 100%;
    height: 100%;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    object-position: center;
  }

  .product-card__media img.is-wide {
    max-width: 96%;
    max-height: 72%;
  }

  .product-card__media img.is-tall {
    max-width: 72%;
    max-height: 94%;
  }

  .product-card__media img.is-square {
    max-width: 88%;
    max-height: 88%;
  }

  .product-body,
  .product-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 7px;
    padding: 14px 16px 0;
  }

  .product-card__brand {
    margin: 0;
    color: #66747c;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  .product-card__tags {
    flex-wrap: nowrap;
    margin: 0 0 4px;
    overflow: hidden;
  }

  .product-card__tag {
    display: block;
    max-width: 150px;
    padding: 4px 7px;
    overflow: hidden;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card h3,
  .product-card__title {
    display: -webkit-box;
    margin: 0 0 3px;
    overflow: hidden;
    color: #101820;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-card__description {
    display: none;
  }

  .product-card__description.is-fallback {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: #66747c;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-code-list.product-card__code {
    gap: 4px;
    margin-bottom: 3px;
  }

  .product-code-list.product-card__code div:not(:first-child) {
    display: none;
  }

  .product-card__features {
    gap: 5px;
    margin: 0 0 8px;
  }

  .product-card__features li {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    font-size: 13px;
    line-height: 1.4;
  }

  .product-card__features li span,
  .product-card__features li b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card__features li:nth-child(n+4) {
    display: none;
  }

  .product-card__purchase {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #edf0f2;
  }

  .product-card__price {
    font-size: 22px;
    line-height: 1.1;
  }

  .product-card__stock {
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
  }

  .product-card__actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 16px 14px;
  }

  .product-card__actions .button,
  .product-card__actions .quick-cart {
    min-height: 44px;
    width: 100%;
    border-radius: 8px;
    font-size: 13px;
  }
}


.link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--action);
  text-decoration: underline;
}

.forgot-link {
  width: max-content;
  margin-top: -2px;
}

.forgot-panel {
  margin-top: 18px;
}

.compact-form {
  max-width: 560px;
}


.home-showcase {
  padding: 108px clamp(18px, 4vw, 64px) 34px;
  background: #fff;
}

.home-hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 48%, #eef5f5 100%);
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.home-hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 10px 0 18px;
  color: var(--accent);
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.98;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.home-hero-media {
  display: grid;
  place-items: center;
  height: min(390px, 42vw);
  background: #fff;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(20px, 4vw, 46px);
}

.home-special-strip {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #fff;
}

.special-strip-card {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  color: #fff;
  background: rgba(0, 166, 166, 0.22);
}

.special-strip-card span { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.special-strip-card strong { font-size: 22px; }
.special-strip-card em { color: rgba(255,255,255,0.82); font-style: normal; }
.special-marquee { overflow: hidden; white-space: nowrap; }
.special-marquee div { display: inline-flex; gap: 14px; min-width: 100%; animation: marquee 24s linear infinite; }
.special-marquee span { padding: 9px 14px; background: rgba(255,255,255,0.12); font-weight: 900; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.home-promo-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  min-height: 160px;
  padding: 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.home-promo-card:hover { border-color: var(--accent); box-shadow: 0 18px 38px rgba(24,43,73,0.12); }
.promo-image { display: grid; place-items: center; height: 124px; background: var(--soft); }
.promo-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.home-promo-card h2 { margin: 2px 0 10px; color: var(--accent); font-size: 22px; }
.home-promo-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.compact-category-band { padding-top: 46px; }
.site-ad-list { display: grid; gap: 14px; }
.site-ad-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px; gap: 16px; padding: 14px; border: 1px solid var(--line); background: #fff; }
.ad-image-preview, [data-special-image-preview] { display: grid; place-items: center; min-height: 118px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.ad-image-preview img, [data-special-image-preview] img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ad-image-preview span, [data-special-image-preview] span { color: var(--accent); font-size: 34px; font-weight: 900; }
.ad-row-fields { display: grid; gap: 10px; }
.ad-row-actions, .ad-image-row { display: grid; align-content: start; gap: 10px; }
.compact-title { margin-bottom: 14px; }
.special-ad-editor { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .home-hero-slide, .home-special-strip, .home-promo-grid, .site-ad-row { grid-template-columns: 1fr; }
  .home-hero-slider { min-height: 720px; }
  .home-hero-media { height: 280px; }
  .home-promo-card { grid-template-columns: 104px minmax(0, 1fr); }
}


/* Home visual cleanup */
.home-hero-copy .button.ghost {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.home-hero-copy .button.ghost:hover,
.home-hero-copy .button.ghost:focus-visible {
  color: #ffffff;
  background: var(--action);
  border-color: var(--action);
}

.home-hero-media {
  background: transparent;
}

.home-hero-media .placeholder-logo {
  max-width: min(430px, 78%);
  max-height: 160px;
  height: auto;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-special-strip {
  grid-template-columns: 1fr;
}

.home-special-strip .special-marquee {
  display: none !important;
}

.special-strip-card {
  grid-template-columns: auto minmax(0, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.special-strip-card span {
  width: max-content;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 720px) {
  .special-strip-card {
    grid-template-columns: 1fr;
  }
}


/* Reverted home ads */
.home-showcase,
.home-hero-slider,
.home-special-strip,
.home-promo-grid {
  display: none !important;
}

.personal-offers-section {
  background: #f5f7fa;
}

.personal-offer-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.personal-offer-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  min-height: 360px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.personal-offer-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 38px rgba(24, 43, 73, 0.12);
}

.personal-offer-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.personal-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.personal-offer-content {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.personal-offer-content span {
  width: max-content;
  padding: 7px 10px;
  color: #fff;
  background: var(--action);
  font-size: 12px;
  font-weight: 900;
}

.personal-offer-content h3 {
  margin: 0;
  color: var(--accent);
  font-size: 22px;
}

.personal-offer-content p {
  margin: 0;
  color: var(--muted);
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.offer-price del {
  color: var(--muted);
  font-size: 15px;
}

.offer-price strong {
  color: var(--ink);
  font-size: 24px;
}


/* Current page nav and personal offer polish */
.main-nav a.is-current-page,
.header-cart.is-current-page {
  display: none !important;
}

.main-nav {
  justify-content: center;
  gap: clamp(24px, 3vw, 46px);
  letter-spacing: 0;
}

.main-nav a {
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.personal-offers-section .section-head .eyebrow {
  display: none;
}

.personal-offers-section .section-head {
  margin-bottom: 24px;
}

.personal-offers-section .section-head h2 {
  font-size: clamp(28px, 4vw, 48px);
}


.renewal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  color: #fff;
}

.renewal-copy h2 {
  margin: 0 0 18px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
}

.renewal-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.renewal-form {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.checkout-form select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.renewal-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.renewal-actions .button {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  min-height: 48px;
}

.renewal-form .form-message a {
  color: var(--action);
  font-weight: 900;
}

.renewal-calc-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.renewal-calc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 12px;
}

.renewal-calc-item strong,
.renewal-calc-item span {
  display: block;
}

.renewal-calc-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.renewal-calc-item b {
  white-space: nowrap;
  color: var(--ink);
}

.renewal-calc-total {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 166, 166, 0.28);
  background: rgba(0, 166, 166, 0.08);
  padding: 12px;
  color: var(--ink);
}

.renewal-calc-total span {
  font-weight: 900;
  font-size: 18px;
}

.renewal-calc-total small {
  color: var(--muted);
}

.source-item-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.source-item-list li + li {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .renewal-band {
    grid-template-columns: 1fr;
  }

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

  .renewal-calc-item {
    grid-template-columns: 1fr;
  }
}


.admin-renewal-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.admin-renewal-list > h2 {
  margin: 0;
  color: var(--ink);
}

.renewal-order {
  border-left: 4px solid var(--action);
}


.member-compact-list {
  display: grid;
  gap: 10px;
}

.compact-member {
  gap: 14px;
}

.compact-member-head {
  align-items: center;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-actions .button {
  min-height: 34px;
  padding: 8px 12px;
}

.member-expanded {
  display: grid;
  gap: 12px;
}

.member-expanded[hidden] {
  display: none !important;
}


.renewal-seo-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  padding-top: 8px;
}

.renewal-seo-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.renewal-seo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.renewal-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.renewal-links a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 860px) {
  .renewal-seo-copy {
    grid-template-columns: 1fr;
  }
}

.campaign-section { background: #fff; }
.campaign-row { scroll-snap-type: x mandatory; }
.campaign-card { position: relative; }
.campaign-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 38px;
  padding: 9px 14px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.campaign-admin-record { align-items: center; }

.renewal-price-box {
  border: 1px solid rgba(24, 43, 73, 0.14);
  background: #f5f7fa;
  color: var(--ink);
  padding: 14px 16px;
  margin: 12px 0 2px;
}

.renewal-price-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.renewal-price-box p {
  margin: 0;
  font-weight: 800;
}

.renewal-price-box span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.renewal-price-rule-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.price-rule-record {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.price-rule-record p {
  margin: 4px 0 0;
  color: var(--muted);
}

.slim-actions {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .renewal-actions {
    grid-template-columns: 1fr;
  }

  .renewal-calc-total {
    display: grid;
  }
}

/* Final mobile catalog polish: keep product cards compact after later overrides. */
@media (max-width: 767px) {
  .products-shell {
    display: block;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    padding: 0 14px 28px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
  }

  .product-card .product-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  .product-card .product-photo.product-card__media {
    width: 100%;
    min-height: 178px !important;
    max-height: 224px !important;
    aspect-ratio: 4 / 3;
    padding: 10px !important;
    border-bottom: 1px solid #edf0f2;
    background: #f7f8f9;
  }

  .product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .product-card__media img.is-wide {
    max-width: 96%;
    max-height: 72%;
  }

  .product-card__media img.is-tall {
    max-width: 72%;
    max-height: 96%;
  }

  .product-card__media img.is-square {
    max-width: 88%;
    max-height: 88%;
  }

  .product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 16px 0;
  }

  .product-card__brand {
    margin-bottom: 6px;
    color: #66747c;
    font-size: 12px;
    line-height: 1.25;
  }

  .product-card__tags {
    gap: 6px;
    margin-bottom: 9px;
    overflow: hidden;
  }

  .product-card__tag {
    max-width: 150px;
    padding: 4px 7px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card__tag:nth-child(n+3) {
    display: none;
  }

  .product-card__title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-card .product-body p.product-card__description,
  .product-card__description {
    display: none !important;
  }

  .product-card__description.is-fallback {
    display: none !important;
  }

  .product-code-list.product-card__code {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .product-code-list.product-card__code div:not(:first-child) {
    display: none;
  }

  .product-card__features {
    gap: 5px;
    margin: 0 0 11px;
  }

  .product-card__features li {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .product-card__features li:nth-child(n+4) {
    display: none;
  }

  .product-card__features li span,
  .product-card__features li b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card__purchase {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf0f2;
  }

  .product-card__price {
    font-size: 21px;
    line-height: 1.1;
  }

  .product-card__stock {
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
  }

  .product-card__actions.product-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 0;
    padding: 10px 16px 14px !important;
  }

  .product-card__actions .button,
  .product-card__actions .quick-cart {
    width: 100%;
    min-height: 44px !important;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.15;
  }
}
