:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --border: #e5e7eb;
  --primary: #111827;
  --primary-hover: #000000;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --info: #2563eb;
  --info-soft: #dbeafe;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.page {
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search input,
.search-box input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 0 16px;
  outline: none;
}

.header-search input:focus,
.search-box input:focus,
.form-control:focus {
  border-color: var(--text);
  background: var(--surface);
}

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

.mobile-menu-btn {
  display: none;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  transition: 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text);
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 40px 0 22px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--muted);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.chip.active,
.chip:hover {
  color: var(--text);
  border-color: var(--text);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.card,
.product-card,
.form-card,
.notice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.product-card {
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 0.78;
  background: var(--surface-2);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 12px;
}

.product-title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.badge-success {
  background: var(--accent-soft);
  color: #166534;
  border-color: #bbf7d0;
}

.badge-warning {
  background: var(--warning-soft);
  color: #92400e;
  border-color: #fde68a;
}

.badge-danger {
  background: var(--danger-soft);
  color: #991b1b;
  border-color: #fecaca;
}

.product-image .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
}

.detail-gallery,
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: var(--surface-2);
}

.detail-panel {
  padding: 22px;
}

.detail-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-price {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.05em;
  margin: 12px 0;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.meta-row span:first-child {
  color: var(--muted);
}

.action-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.description {
  margin-top: 18px;
  color: var(--text);
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px;
}

.form-title {
  margin: 0 0 18px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 12px;
  outline: none;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.help-text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.alert,
.notice-card {
  padding: 14px 16px;
}

.alert-info {
  background: var(--info-soft);
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
}

.alert-warning {
  background: var(--warning-soft);
  color: #78350f;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
}

.status-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.status-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.status-step.active {
  background: var(--accent-soft);
  color: #166534;
  border-color: #bbf7d0;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.table th {
  background: var(--surface-2);
  font-size: 13px;
  color: var(--muted);
}

.auth-page {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.auth-card {
  width: min(100%, 440px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.auth-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.disclaimer {
  color: var(--muted);
  max-width: 980px;
}

.hide-desktop {
  display: none;
}

@media (max-width: 920px) {
  .header-search {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-actions .btn-secondary {
    display: none;
  }

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

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .page {
    padding-top: 16px;
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-card {
    padding: 20px;
    border-radius: 22px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .product-body {
    padding: 10px;
  }

  .product-title {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
  }

  .detail-panel,
  .form-card,
  .auth-card {
    padding: 18px;
    border-radius: 20px;
  }

  .status-stepper {
    grid-template-columns: 1fr 1fr;
  }

  .hide-mobile {
    display: none;
  }

  .hide-desktop {
    display: inline-flex;
  }

  .btn {
    padding-left: 13px;
    padding-right: 13px;
  }
}

/* Compact classifieds style inspired by list-style marketplace layouts */
:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --text: #222222;
  --muted: #666666;
  --border: #d9d9d9;
  --primary: #1d4f91;
  --primary-hover: #123a6d;
  --accent: #f28c00;
  --accent-soft: #fff4df;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-soft: none;
  --container: 1120px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  background: var(--bg);
}

a {
  color: #0759a5;
}

a:hover {
  text-decoration: underline;
}

.page {
  padding: 12px 0 32px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #cfcfcf;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.header-inner {
  min-height: 50px;
  gap: 10px;
}

.logo {
  color: #0759a5;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo span {
  color: #f28c00;
}

.header-search {
  max-width: 360px;
}

.header-search input,
.search-form input,
.search-form select,
input,
select,
textarea {
  min-height: 34px;
  border-radius: 4px;
  border-color: #bdbdbd;
  padding: 7px 9px;
  font-size: 14px;
}

.header-search input,
.search-box input {
  height: 34px;
  border-radius: 4px;
  background: #fff;
}

.btn,
button {
  min-height: 34px;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
}

.btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost),
button:not(.mobile-menu-btn) {
  background: #0759a5;
  border-color: #0759a5;
}

.btn-primary {
  background: #f28c00 !important;
  border-color: #df8100 !important;
  color: #fff;
}

.btn-primary:hover {
  background: #dc7f00 !important;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #bdbdbd;
}

.btn-ghost {
  color: #0759a5;
}

.site-nav {
  gap: 4px;
}

.site-nav .btn {
  padding-left: 8px;
  padding-right: 8px;
}

.language-select select {
  min-height: 34px;
  min-width: 118px;
  border-radius: 4px;
  font-size: 13px;
  padding-left: 8px;
}

.hero:not(.hero-card) {
  padding: 14px;
  border-radius: 6px;
  box-shadow: none;
  border-color: #d6d6d6;
  background: #fff;
}

.hero h1 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero p {
  margin-bottom: 10px;
}

.search-form {
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.home-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.category-panel,
.latest-panel,
.panel,
.form-card,
.notice-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  box-shadow: none;
}

.category-panel {
  padding: 10px;
}

.category-panel h2,
.section-head h2,
.section-head h1,
.panel h1,
.form-card h1 {
  font-size: 18px;
  letter-spacing: 0;
}

.category-panel h2 {
  margin: 0 0 8px;
}

.category-list {
  display: grid;
  gap: 2px;
}

.chip {
  min-height: 28px;
  justify-content: flex-start;
  border: 0;
  border-radius: 3px;
  background: transparent;
  padding: 5px 6px;
  color: #0759a5;
  font-size: 14px;
}

.chip:hover,
.chip.active {
  background: #eef5fc;
  border-color: transparent;
  color: #0759a5;
}

.latest-panel {
  padding: 10px;
}

.section-head {
  margin: 0 0 10px;
  align-items: center;
}

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

.product-card {
  border-radius: 4px;
  border-color: #d6d6d6;
  box-shadow: none;
  transition: none;
}

.product-card:hover {
  transform: none;
  border-color: #a9c7e6;
  text-decoration: none;
}

.product-card > img,
.product-card > a > img {
  aspect-ratio: 4 / 3;
}

.product-card-body {
  padding: 8px;
  gap: 4px;
}

.product-card h3 {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 4px;
  min-height: 32px;
  overflow: hidden;
}

.price,
.product-price {
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.meta,
.product-meta {
  color: #666;
  font-size: 12px;
}

.badge {
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  background: #f0f0f0;
  color: #555;
}

.detail-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.detail-image,
.detail-gallery,
.detail-panel {
  border-radius: 6px;
}

.detail-panel,
.panel,
.form-card {
  padding: 14px;
}

.detail-title,
.detail-panel h1 {
  font-size: 24px;
}

.detail-price {
  font-size: 24px;
}

.list-row {
  border-radius: 4px;
  box-shadow: none;
}

.table-wrap {
  border-radius: 4px;
}

th,
td {
  padding: 8px 10px;
}

.site-footer {
  padding: 16px 0;
  border-top-color: #d6d6d6;
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .category-list {
    display: flex;
    flex-wrap: wrap;
  }

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

@media (max-width: 680px) {
  .header-inner {
    min-height: 48px;
  }

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

  .hero:not(.hero-card),
  .category-panel,
  .latest-panel,
  .panel,
  .form-card,
  .notice-card {
    border-radius: 4px;
  }
}

/* PHP app compatibility layer */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-select {
  display: inline-flex;
  align-items: center;
}

.language-select select {
  width: auto;
  min-width: 132px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0 34px 0 12px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.site-nav.is-open {
  display: flex;
}

.btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost),
button:not(.mobile-menu-btn) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost):hover,
button:not(.mobile-menu-btn):hover {
  background: var(--primary-hover);
}

.btn-small {
  min-height: 38px;
}

.muted,
.meta {
  color: var(--muted);
}

.hero {
  padding: 0;
}

.hero:not(.hero-card) {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.search-form select {
  min-width: 190px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 12px;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--text);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-card h1,
.panel h1 {
  margin-top: 0;
  letter-spacing: -0.04em;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card-body {
  padding: 12px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.product-card > img,
.product-card > a > img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: var(--surface-2);
}

.price {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.detail-image {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--surface-2);
}

.order-summary {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: start;
}

.order-summary img {
  width: 160px;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.list {
  display: grid;
  gap: 10px;
}

.list-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.list-row img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.list-row small {
  display: block;
  color: var(--muted);
}

.message-row {
  grid-template-columns: minmax(150px, 0.8fr) 1fr auto;
}

.message-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.message {
  max-width: 760px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.message-own {
  margin-left: auto;
  background: var(--accent-soft);
  border-color: #bbf7d0;
}

.message p {
  margin: 6px 0;
}

.message small {
  color: var(--muted);
}

.safety-notice {
  margin-top: 24px;
}

.safety-notice p {
  margin: 4px 0 0;
  color: var(--muted);
}

.alert-success {
  background: var(--accent-soft);
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
}

.alert-danger {
  background: var(--danger-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
  }

  .site-nav .btn {
    justify-content: flex-start;
  }

  .language-select,
  .language-select select {
    width: 100%;
  }

  .site-nav.is-open .btn-secondary {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .hero:not(.hero-card) {
    padding: 20px;
    border-radius: 22px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

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

  .detail-grid,
  .order-summary,
  .list-row,
  .message-row {
    grid-template-columns: 1fr;
  }

  .order-summary img,
  .list-row img {
    width: 100%;
  }
}

/* Final compact classifieds overrides */
body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; background: #f2f2f2; color: #222; }
a { color: #0759a5; }
.page { padding: 12px 0 32px; }
.site-header { background: #fff; border-bottom: 1px solid #cfcfcf; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.header-inner { min-height: 50px; gap: 10px; }
.logo { color: #0759a5; font-size: 20px; letter-spacing: -0.02em; }
.logo span { color: #f28c00; }
.header-search { max-width: 360px; }
.header-search input, .search-form input, .search-form select, input, select, textarea {
  min-height: 34px;
  border-radius: 4px;
  border-color: #bdbdbd;
  padding: 7px 9px;
  font-size: 14px;
}
.header-search input { height: 34px; border-radius: 4px; background: #fff; }
.btn, button { min-height: 34px; border-radius: 4px; padding: 7px 12px; font-size: 14px; font-weight: 700; }
.btn-primary { background: #f28c00 !important; border-color: #df8100 !important; color: #fff; }
.btn-primary:hover { background: #dc7f00 !important; }
.btn-secondary { background: #fff; border: 1px solid #bdbdbd; }
.btn-ghost { color: #0759a5; }
.site-nav { gap: 4px; }
.site-nav .btn { padding-left: 8px; padding-right: 8px; }
.language-select select { min-height: 34px; min-width: 118px; border-radius: 4px; font-size: 13px; padding: 0 28px 0 8px; }
.menu-wrap { position: relative; margin-left: 2px; }
.hamburger-btn {
  width: 38px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff !important;
  cursor: pointer;
}
.hamburger-btn span {
  width: 18px;
  height: 2px;
  display: block;
  background: #333;
  border-radius: 2px;
}
.menu-wrap .site-nav {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 210px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.menu-wrap .site-nav.is-open { display: flex; }
.menu-wrap .site-nav .btn {
  justify-content: flex-start;
  min-height: 32px;
  border-radius: 3px;
  padding: 7px 9px;
  width: 100%;
}
.menu-wrap .site-nav .btn:hover {
  background: #eef5fc;
  text-decoration: none;
}
.hero:not(.hero-card) { padding: 14px; border-radius: 6px; box-shadow: none; border-color: #d6d6d6; background: #fff; }
.hero h1 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin-bottom: 6px; }
.hero p { margin-bottom: 10px; }
.search-form { grid-template-columns: minmax(180px, 1fr) auto; gap: 8px; margin-top: 10px; }
.home-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 14px; }
.category-panel, .latest-panel, .panel, .form-card, .notice-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  box-shadow: none;
}
.category-panel, .latest-panel { padding: 10px; }
.category-panel h2, .section-head h2, .section-head h1, .panel h1, .form-card h1 {
  font-size: 18px;
  letter-spacing: 0;
}
.category-panel h2 { margin: 0 0 8px; }
.category-panel .category-list { display: grid; gap: 2px; }
.chip { min-height: 28px; justify-content: flex-start; border: 0; border-radius: 3px; background: transparent; padding: 5px 6px; color: #0759a5; font-size: 14px; }
.chip:hover, .chip.active { background: #eef5fc; border-color: transparent; color: #0759a5; }
.section-head { margin: 0 0 10px; align-items: center; }
.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.product-card { border-radius: 4px; border-color: #d6d6d6; box-shadow: none; transition: none; }
.product-card:hover { transform: none; border-color: #a9c7e6; text-decoration: none; }
.product-card > img, .product-card > a > img { aspect-ratio: 4 / 3; }
.product-card-body { padding: 8px; gap: 4px; }
.product-card h3 { font-size: 13px; line-height: 1.25; margin-bottom: 4px; min-height: 32px; overflow: hidden; }
.price, .product-price { color: #111; font-size: 15px; font-weight: 800; }
.meta, .product-meta { color: #666; font-size: 12px; }
.badge { min-height: 20px; padding: 2px 6px; border-radius: 3px; font-size: 11px; background: #f0f0f0; color: #555; }
.detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.detail-image, .detail-gallery, .detail-panel { border-radius: 6px; }
.detail-panel, .panel, .form-card { padding: 14px; }
.detail-title, .detail-panel h1 { font-size: 24px; }
.detail-price { font-size: 24px; }
.list-row { border-radius: 4px; box-shadow: none; }
.table-wrap { border-radius: 4px; }
th, td { padding: 8px 10px; }
.site-footer { padding: 16px 0; border-top-color: #d6d6d6; }
@media (max-width: 1050px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .home-layout { grid-template-columns: 1fr; }
  .category-panel .category-list { display: flex; flex-wrap: wrap; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .header-inner { min-height: 48px; }
  .header-search { order: 4; width: 100%; max-width: none; flex-basis: 100%; }
  .language-select select { min-width: 112px; }
  .menu-wrap .site-nav { right: 0; min-width: min(260px, calc(100vw - 24px)); }
  .search-form { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero:not(.hero-card), .category-panel, .latest-panel, .panel, .form-card, .notice-card { border-radius: 4px; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* Pastel rounded theme overrides */
:root {
  --bg: #f7f4ef;
  --surface: #fffdf9;
  --surface-2: #f3f8fb;
  --text: #2f3437;
  --muted: #7b817f;
  --border: #e4ded4;
  --primary: #87a7c3;
  --primary-hover: #6f93b3;
  --accent: #f4ad8d;
  --accent-soft: #fff0e8;
  --danger: #d98585;
  --danger-soft: #fdeaea;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 8px 24px rgba(99, 88, 72, 0.08);
}

body {
  background: linear-gradient(180deg, #fbf7f0 0%, #f4f7f6 100%);
  color: var(--text);
}

a {
  color: #527fa2;
}

.site-header {
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(99, 88, 72, 0.07);
}

.header-inner {
  min-height: 58px;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f2f7, #fff0e8);
  color: #527fa2;
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.logo span {
  color: #db8d67;
}

.free-service-badge {
  flex: 1;
  min-width: 0;
  text-align: center;
  margin: 0 14px;
  padding: 7px 16px;
  border: 1px solid rgba(240, 215, 195, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 247, 236, 0.78), rgba(237, 247, 248, 0.78));
  color: #6c7778;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.language-select {
  margin-left: auto;
}

.language-select select {
  min-height: 38px;
  min-width: 136px;
  border-radius: 999px;
  border-color: #d8d0c5;
  background: #fffaf4;
  color: var(--text);
  font-size: 13px;
}

.menu-wrap {
  margin-left: 8px;
}

.hamburger-btn {
  width: 42px;
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
  border-color: #d8d0c5;
  background: #fffaf4 !important;
  box-shadow: 0 3px 12px rgba(99, 88, 72, 0.08);
}

.hamburger-btn:hover {
  background: #f7efe6 !important;
}

.hamburger-btn span {
  width: 18px;
  height: 2px;
  background: #527fa2;
}

.menu-wrap .site-nav {
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  padding: 8px;
  border-color: var(--border);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 14px 34px rgba(99, 88, 72, 0.16);
}

.menu-wrap .site-nav .btn {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 12px;
}

.menu-wrap .site-nav .btn:hover {
  background: #eef6f8;
}

.header-search-row {
  padding-bottom: 12px;
}

.header-search {
  width: 100%;
  max-width: none;
}

.header-search input {
  width: 100%;
  height: 46px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid #d8d0c5;
  background: #ffffff;
  padding: 0 18px;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 16px rgba(99, 88, 72, 0.06);
}

.header-search input:focus {
  border-color: #9ab8cf;
  box-shadow: 0 0 0 4px rgba(135, 167, 195, 0.18);
}

.btn,
button {
  border-radius: 999px;
  min-height: 38px;
}

.btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost),
button:not(.hamburger-btn):not(.mobile-menu-btn) {
  background: #87a7c3;
  border-color: #87a7c3;
  color: #fff;
}

.btn-primary {
  background: #f4ad8d !important;
  border-color: #eba17f !important;
  color: #3c3029 !important;
}

.btn-primary:hover {
  background: #ef9e78 !important;
}

.btn-secondary {
  border-color: #d8d0c5;
  background: #fffaf4;
}

.hero:not(.hero-card),
.category-panel,
.latest-panel,
.panel,
.form-card,
.notice-card,
.product-card,
.list-row,
.table-wrap {
  border-color: var(--border);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow-soft);
}

.chip {
  border-radius: 999px;
  color: #527fa2;
}

.chip:hover,
.chip.active {
  background: #eaf4f7;
  color: #416f90;
}

.product-card {
  overflow: hidden;
}

.product-card:hover {
  border-color: #aac4d6;
  box-shadow: 0 10px 24px rgba(99, 88, 72, 0.12);
}

.translation-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  margin: 18px 0 10px;
}

.translation-tools label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #2d3d53;
  font-weight: 850;
}

.translation-tools input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #cfe0f2;
  background: #fff;
  padding: 0 16px;
  color: #101828;
  font-size: 15px;
}

.translation-count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef6ff;
  color: #425b7b;
  font-weight: 850;
  white-space: nowrap;
}

.translations-table table {
  min-width: 980px;
}

.translation-edit {
  width: 100%;
  min-width: 220px;
  min-height: 72px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.35;
}

.translation-edit.is-saving {
  background: #fff7df;
}

.translation-edit.is-saved {
  border-color: #9cc9aa;
  background: #eff9f2;
}

.translation-edit.is-error {
  border-color: #d98585;
  background: #fdeaea;
}

.translation-status {
  min-height: 22px;
  margin: 8px 0 10px;
  color: #6c7778;
  font-weight: 700;
}

@media (max-width: 700px) {
  .translation-tools {
    grid-template-columns: 1fr;
  }

  .translation-tools .btn,
  .translation-count {
    width: 100%;
  }
}

.badge {
  border-radius: 999px;
  background: #eef6f8;
  color: #527fa2;
  border-color: #d6e8ef;
}

input,
select,
textarea {
  border-radius: 14px;
  border-color: #d8d0c5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9ab8cf;
  box-shadow: 0 0 0 4px rgba(135, 167, 195, 0.16);
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 56px;
  }

  .language-select select {
    min-width: 118px;
  }

  .free-service-badge {
    order: 3;
    flex-basis: 100%;
    margin: 2px 0 0;
    padding: 8px 12px;
    font-size: 13px;
    white-space: normal;
  }

  .header-search-row {
    padding-bottom: 10px;
  }

  .header-search input {
    height: 44px;
    min-height: 44px;
  }

  .menu-wrap .site-nav {
    min-width: min(260px, calc(100vw - 24px));
  }
}

/* Blue marketplace mockup direction */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --primary: #0b67f0;
  --primary-hover: #0759d6;
  --accent: #0b67f0;
  --accent-soft: #eaf2ff;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 32px rgba(16, 24, 40, 0.08);
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(11, 103, 240, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.site-header {
  width: min(100% - 32px, 1180px);
  margin: 24px auto 0;
  border: 1px solid var(--border);
  border-radius: 22px 22px 0 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
  overflow: visible;
}

.header-inner {
  min-height: 72px;
  padding: 0 28px;
}

.container {
  width: min(100% - 32px, 1180px);
}

.site-header .container {
  width: 100%;
}

.logo {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: #0b67f0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo span {
  color: #111827;
}

.free-service-badge {
  max-width: 360px;
  padding: 8px 16px;
  background: #f5f9ff;
  border-color: #d8e8ff;
  color: #35618f;
  font-size: 13px;
}

.language-select select,
.hamburger-btn {
  border-radius: 12px;
  border-color: #d6e2f0;
  background: #fff !important;
}

.hamburger-btn span {
  background: #101828;
}

.header-search-row {
  padding: 0 28px 18px;
}

.header-search input {
  height: 50px;
  min-height: 50px;
  border-radius: 14px;
  border-color: #d6e2f0;
  background: #f8fafc;
  font-size: 15px;
  box-shadow: none;
}

.page {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 24px 28px 42px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  box-shadow: 0 26px 54px rgba(16, 24, 40, 0.08);
}

.hero:not(.hero-card) {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  box-shadow: none;
}

.hero-copy {
  align-self: center;
  padding: 34px 0 34px 44px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 420px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 430px;
  color: #475467;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-art {
  min-height: 240px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .search-form {
  display: none;
}

.btn,
button {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 800;
}

.btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost),
button:not(.hamburger-btn):not(.mobile-menu-btn) {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--primary-hover) !important;
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.category-tile {
  min-height: clamp(58px, 6vw, 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: #101828;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}

.category-tile:hover {
  border-color: #b8d4fb;
  background: #f7fbff;
  text-decoration: none;
}

.category-tile span {
  flex: 0 0 auto;
  font-size: 20px;
}

.home-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
}

.filter-panel,
.latest-panel,
.panel,
.form-card,
.notice-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.filter-panel {
  padding: 18px;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.filter-head h2 {
  margin: 0;
  font-size: 18px;
}

.filter-head a {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.filter-panel label,
.filter-checks {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: #344054;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  border-radius: 10px;
  background: #fff;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: #475467;
}

.filter-checks input {
  width: auto;
  min-height: auto;
}

.latest-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.section-head {
  margin: 0 0 14px;
}

.section-head h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

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

.product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}

.product-card > img,
.product-card > a > img {
  aspect-ratio: 1.45 / 1;
}

.product-card-body {
  padding: 12px;
}

.product-card h3 {
  min-height: 0;
  margin: 4px 0 8px;
  font-size: 15px;
  color: #101828;
}

.price {
  color: var(--primary);
  font-size: 15px;
}

.meta {
  color: #667085;
  font-size: 13px;
}

.badge {
  background: #f2f4f7;
  color: #667085;
  border: 0;
}

.menu-wrap .site-nav {
  border-radius: 16px;
  border-color: var(--border);
}

.site-footer {
  width: min(100% - 32px, 1180px);
  margin: 0 auto 28px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #fff;
  box-shadow: 0 26px 54px rgba(16, 24, 40, 0.08);
}

@media (max-width: 1050px) {
  .category-strip {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 18px, 1180px);
  }

  .hero:not(.hero-card),
  .home-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 26px 24px 0;
  }

  .hero-art {
    min-height: 200px;
  }

  .filter-panel {
    order: 2;
  }

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

@media (max-width: 680px) {
  .header-inner,
  .header-search-row,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .free-service-badge {
    display: none;
  }

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

@media (min-width: 1051px) and (max-width: 1320px) {
  .category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-tile {
    min-height: 64px;
    padding: 9px;
    font-size: clamp(11px, 3.2vw, 13px);
  }
}

.section-head,
.filter-head {
  flex-wrap: wrap;
}

.section-head h2,
.filter-head h2 {
  overflow-wrap: anywhere;
}

/* Screenshot-matched desktop polish */
@media (min-width: 821px) {
  body {
    background: #eef4fb;
  }

  .site-header {
    width: min(100% - 64px, 1760px);
    margin-top: 30px;
    border-radius: 26px 26px 0 0;
  }

  .page,
  .site-footer {
    width: min(100% - 64px, 1760px);
  }

  .header-inner {
    min-height: 92px;
    padding: 0 44px;
  }

  .logo {
    font-size: 30px;
  }

  .free-service-badge {
    flex: 0 1 520px;
    margin-left: 34px;
    margin-right: auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #cfe0f6;
    background: #f4f9ff;
    color: #355579;
    font-size: clamp(13px, 1vw, 16px);
  }

  .language-select {
    margin-left: 24px;
  }

  .language-select select {
    min-width: 190px;
    min-height: 54px;
    padding-left: 18px;
    font-size: 15px;
    font-weight: 850;
  }

  .hamburger-btn {
    width: 58px;
    height: 54px;
    min-height: 54px;
    border: 2px solid #0b67f0;
    border-radius: 18px;
  }

  .hamburger-btn span {
    width: 25px;
    height: 3px;
  }

  .header-search-row {
    padding: 0 44px 32px;
  }

  .header-search input {
    height: 70px;
    min-height: 70px;
    border-radius: 20px;
    padding: 0 28px;
    font-size: 20px;
    background: #f8fbff;
  }

  .page {
    padding: 36px 44px 56px;
  }

  .hero:not(.hero-card) {
    min-height: 540px;
    grid-template-columns: 46% 54%;
    border-radius: 26px;
  }

  .hero-copy {
    padding: 70px 26px 66px 64px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 4vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.06em;
  }

  .hero p {
    max-width: 610px;
    margin-top: 26px;
    font-size: 23px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 34px;
    gap: 26px;
  }

  .hero-actions .btn {
    min-height: 62px;
    padding-left: 26px;
    padding-right: 26px;
    border-radius: 16px;
    font-size: 20px;
  }

  .hero-actions .btn-ghost {
    background: transparent;
    color: #0b67f0;
  }

  .hero-art {
    min-height: 540px;
  }

  .category-strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0 34px;
  }

  .category-tile {
    min-height: 105px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: clamp(15px, 1.15vw, 22px);
    font-weight: 950;
    gap: 12px;
  }

  .category-tile span {
    font-size: 25px;
  }

  .home-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 32px;
  }

  .filter-panel {
    padding: 28px;
    border-radius: 24px;
  }

  .filter-head h2,
  .section-head h2 {
    font-size: 30px;
  }

  .filter-head a {
    font-size: 18px;
  }

  .filter-panel label,
  .filter-checks {
    font-size: 20px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .filter-panel input,
  .filter-panel select {
    min-height: 62px;
    border-radius: 16px;
    padding-left: 16px;
    font-size: 18px;
  }

  .filter-grid {
    gap: 12px;
    margin-bottom: 28px;
  }

  .filter-checks label {
    font-size: 18px;
  }

  .section-head {
    min-height: 62px;
    margin-bottom: 20px;
  }

  .section-head .btn {
    min-height: 62px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 18px;
    font-size: 20px;
  }

  .latest-panel .panel {
    min-height: 76px;
    display: flex;
    align-items: center;
    border-radius: 22px;
    padding: 0 26px;
    font-size: 22px;
  }
}

@media (min-width: 821px) and (max-width: 1450px) {
  .category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-tile {
    min-height: 86px;
  }
}

/* New reference layout: integrated header + hero search */
body {
  background: #edf5ff;
  color: #101828;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-header,
.page,
.site-footer {
  width: min(100% - 48px, 1440px);
}

.site-header {
  margin: 8px auto 0;
  border: 1px solid rgba(255,255,255,.72);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(235,247,255,.9), rgba(231,243,255,.72));
  box-shadow: 0 22px 50px rgba(45, 73, 113, .12);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  padding: 0 36px;
}

.logo {
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 950;
  letter-spacing: -0.055em;
  color: #0b67f0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.logo span {
  color: #101828;
}

.header-info-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  margin-left: clamp(22px, 4vw, 70px);
  margin-right: auto;
  min-width: 0;
  color: #344f78;
  font-weight: 850;
  font-size: clamp(13px, .95vw, 16px);
  white-space: nowrap;
}

.header-info-links a,
.header-info-links span {
  color: #344f78;
  text-decoration: none;
}

.free-service-badge {
  display: none;
}

.language-select {
  margin-left: 16px;
}

.language-select select {
  min-width: 172px;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.42) !important;
  color: #101828;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
}

.hamburger-btn {
  width: 54px;
  height: 52px;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.38) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}

.hamburger-btn span {
  width: 22px;
  height: 2px;
  background: #101828;
}

.menu-wrap .site-nav {
  border-radius: 18px;
  border: 1px solid #dbe7f6;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 42px rgba(45, 73, 113, .18);
}

.page {
  margin: 0 auto;
  padding: 0 36px 46px;
  background: rgba(255,255,255,.76);
  border-left: 1px solid rgba(255,255,255,.72);
  border-right: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 22px 50px rgba(45, 73, 113, .12);
}

.hero:not(.hero-card) {
  position: relative;
  min-height: clamp(520px, 45vw, 640px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  overflow: hidden;
  border: 0;
  border-radius: 0 0 24px 24px;
  background: #eaf5ff;
  box-shadow: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: clamp(54px, 6vw, 82px) 0 0 clamp(42px, 5vw, 78px);
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 950;
  color: #101828;
}

.hero h1::first-line {
  color: #101828;
}

.hero p {
  max-width: 560px;
  margin-top: 26px;
  color: #46617e;
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.48;
}

.hero-art {
  min-height: 100%;
  position: relative;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.hero .search-form {
  position: absolute;
  z-index: 4;
  left: clamp(38px, 4vw, 60px);
  right: clamp(38px, 4vw, 60px);
  bottom: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(45,73,113,.18), inset 0 0 0 1px rgba(255,255,255,.36);
  backdrop-filter: blur(16px);
}

.hero .search-form input {
  height: 62px;
  min-height: 62px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 20px;
  font-size: clamp(17px, 1.4vw, 22px);
  box-shadow: none;
}

.hero .search-form input:focus {
  box-shadow: none;
}

.hero .search-form button {
  min-width: 150px;
  min-height: 62px;
  border-radius: 999px;
  background: #0b67f0;
  color: #fff;
  font-size: clamp(16px, 1.1vw, 20px);
  box-shadow: 0 12px 25px rgba(11,103,240,.28);
}

.hero-suggestions {
  position: absolute;
  z-index: 4;
  left: clamp(62px, 5vw, 86px);
  right: clamp(62px, 5vw, 86px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #46617e;
  font-size: 13px;
  font-weight: 800;
}

.hero-suggestions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  color: #46617e;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.68);
}

.category-strip {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 26px;
}

.category-tile {
  min-height: 78px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid #dfe7f1;
  color: #101828;
  box-shadow: 0 12px 26px rgba(45,73,113,.08);
  font-size: clamp(12px, .95vw, 15px);
  font-weight: 900;
  line-height: 1.15;
}

.category-tile span {
  font-size: 22px;
}

.home-layout {
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-panel,
.panel,
.form-card,
.notice-card,
.product-card {
  background: rgba(255,255,255,.86);
  border: 1px solid #dfe7f1;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45,73,113,.08);
}

.filter-panel {
  padding: 24px;
}

.filter-head h2,
.section-head h2 {
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.latest-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-head {
  min-height: 54px;
  margin-bottom: 18px;
}

.section-head .btn {
  min-height: 50px;
  border-radius: 16px;
  padding: 0 24px;
  background: #fff7ef;
  border-color: #e6d7c8;
  color: #101828;
}

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

.product-card {
  overflow: hidden;
}

.product-card > img,
.product-card > a > img {
  aspect-ratio: 1.25 / 1;
}

.product-card h3 {
  font-size: 16px;
}

.price {
  color: #0b67f0;
  font-size: 16px;
}

.latest-panel .panel {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 18px;
}

.site-footer {
  width: min(100% - 48px, 1440px);
  margin: 0 auto 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 22px 50px rgba(45, 73, 113, .12);
}

@media (max-width: 1200px) {
  .category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 18px, 1440px);
  }

  .header-info-links {
    display: none;
  }

  .hero:not(.hero-card) {
    grid-template-columns: 1fr;
  }

  .hero-art {
    position: absolute;
    inset: 0;
    opacity: .45;
  }

  .hero-copy {
    padding: 46px 28px 190px;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }
}

/* Homepage top category compact sizing */
.category-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  width: 100% !important;
  justify-content: stretch !important;
}

.category-tile {
  font-size: 12px !important;
  line-height: 1.08 !important;
  min-height: 58px !important;
  padding: 9px 12px !important;
  width: 100% !important;
  justify-content: center !important;
}

.category-tile span {
  font-size: 20px !important;
}

@media (max-width: 900px) {
  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final Gnem.am brand assets */
.logo.logo-image {
  display: inline-flex !important;
  align-items: center !important;
  width: clamp(128px, 12vw, 178px) !important;
  min-width: clamp(128px, 12vw, 178px) !important;
  height: 42px !important;
  padding: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.logo.logo-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

@media (max-width: 700px) {
  .logo.logo-image {
    width: 120px !important;
    min-width: 120px !important;
    height: 34px !important;
  }

  .logo.logo-image img {
    max-height: 34px !important;
  }
}

/* Final Gnem.am brand assets */
.logo.logo-image {
  display: inline-flex !important;
  align-items: center !important;
  width: clamp(128px, 12vw, 178px) !important;
  min-width: clamp(128px, 12vw, 178px) !important;
  height: 42px !important;
  padding: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.logo.logo-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

@media (max-width: 700px) {
  .logo.logo-image {
    width: 120px !important;
    min-width: 120px !important;
    height: 34px !important;
  }

  .logo.logo-image img {
    max-height: 34px !important;
  }
}

/* Final autocomplete dropdown fix: keep it above categories/examples */
.hero:not(.hero-card),
.hero .search-form,
.products-search-main {
  overflow: visible !important;
}

.hero .search-form {
  z-index: 500 !important;
}

.hero-suggestions,
.category-strip {
  position: relative !important;
  z-index: 1 !important;
}

.smart-search-field,
.smart-search-wrap {
  position: relative !important;
  z-index: 510 !important;
}

.smart-suggestions,
.hero .smart-suggestions {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999 !important;
  display: grid !important;
  gap: 5px !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  padding: 8px !important;
  border: 1px solid #d9e5f2 !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 18px 45px rgba(40,68,105,.22) !important;
  backdrop-filter: blur(14px) !important;
}

.smart-suggestions[hidden] {
  display: none !important;
}

.smart-suggestion {
  width: 100% !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #0d1728 !important;
  box-shadow: none !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.smart-suggestion:hover,
.smart-suggestion.is-active {
  background: #eef6ff !important;
}

.smart-suggestion small {
  color: #66778c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* Final search system reset */
.header-smart-search {
  flex: 1 1 460px !important;
  max-width: 560px !important;
  min-width: 240px !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  margin-right: 14px !important;
  padding: 5px !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.55) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2) !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 600 !important;
}

.header-smart-search .smart-search-field {
  min-width: 0 !important;
}

.header-smart-search input {
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  padding: 0 12px !important;
  color: #5b687a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.header-smart-search button {
  min-width: 78px !important;
  height: 34px !important;
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0b67f0 !important;
  color: #fff !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.product-filter-form {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 12px 0 18px !important;
}

.product-filter-form select,
.product-filter-form button {
  min-height: 40px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.product-filter-form button {
  background: #0b67f0 !important;
  color: #fff !important;
}

.search-form.is-suggesting ~ .hero-suggestions {
  opacity: 0 !important;
  pointer-events: none !important;
}

.smart-suggestions,
.hero .smart-suggestions,
.header-smart-search .smart-suggestions,
.products-search-main .smart-suggestions {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  gap: 2px !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  padding: 6px !important;
  border: 1px solid #d9e5f2 !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 12px 28px rgba(40,68,105,.18) !important;
  backdrop-filter: blur(12px) !important;
}

.hero .smart-suggestions {
  top: calc(100% + 10px) !important;
  left: 8px !important;
  right: 160px !important;
}

.smart-suggestions[hidden] {
  display: none !important;
}

.smart-suggestion,
.smart-suggestion:hover,
.smart-suggestion:focus {
  appearance: none !important;
  width: 100% !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #5b687a !important;
  box-shadow: none !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}

.smart-suggestion:hover,
.smart-suggestion.is-active {
  background: #f1f6fd !important;
  color: #27364a !important;
}

.smart-suggestion small {
  color: #8996a8 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}

/* Final compact suggestions: below search, no scrollbar */
.hero .search-form {
  z-index: 5000 !important;
}

.hero .smart-search-field {
  z-index: 5010 !important;
}

.hero .smart-suggestions,
.header-smart-search .smart-suggestions,
.smart-suggestions {
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-height: none !important;
  overflow: visible !important;
  gap: 1px !important;
  padding: 5px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 14px 34px rgba(40,68,105,.2) !important;
  z-index: 99999 !important;
}

.hero .smart-suggestions {
  right: 170px !important;
}

.smart-suggestion {
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 9px !important;
  color: #5e6b7c !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.smart-suggestion small {
  color: #9aa5b4 !important;
  font-size: 9px !important;
}

@media (max-width: 700px) {
  .hero .smart-suggestions {
    right: 0 !important;
  }
}

.hero-suggestions {
  position: absolute !important;
  z-index: 12 !important;
  left: clamp(70px, 6vw, 98px) !important;
  right: clamp(70px, 6vw, 98px) !important;
  bottom: 24px !important;
  top: auto !important;
}

@media (max-width: 900px) {
  .header-smart-search {
    order: 10 !important;
    flex-basis: 100% !important;
    max-width: none !important;
    margin: 6px 0 10px !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
  }

  .product-filter-form {
    grid-template-columns: 1fr !important;
  }

  .hero .smart-suggestions {
    left: 0 !important;
    right: 0 !important;
  }
}

/* Final products page search sizing */
.products-search-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin: 18px 0 24px !important;
}

.products-search-main {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255,255,255,.86) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.62) !important;
  box-shadow: 0 18px 45px rgba(40, 68, 105, .14), inset 0 0 0 1px rgba(255,255,255,.34) !important;
  backdrop-filter: blur(18px);
}

.products-search-main input {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  padding: 0 18px !important;
  color: #0d1728 !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.products-search-main button {
  min-width: 126px !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #1477ff, #075ee6) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 25px rgba(11,103,240,.28) !important;
}

.products-search-main button::before {
  content: "⌕";
  margin-right: 7px;
  font-size: 20px;
  vertical-align: -2px;
}

.products-search-filters {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.products-search-filters select {
  min-height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid #d9e5f2 !important;
  background: rgba(255,255,255,.78) !important;
  font-weight: 800 !important;
}

@media (max-width: 700px) {
  .products-search-main {
    grid-template-columns: 1fr !important;
    border-radius: 24px !important;
  }

  .products-search-main button {
    width: 100% !important;
  }

  .products-search-filters {
    grid-template-columns: 1fr !important;
  }
}

/* Final smart suggestions stacking fix */
.hero:not(.hero-card) {
  overflow: visible !important;
}

.hero .search-form {
  z-index: 200 !important;
}

.hero-suggestions {
  z-index: 20 !important;
}

.smart-search-wrap {
  position: relative !important;
  z-index: 210 !important;
}

.hero .smart-suggestions {
  top: auto !important;
  bottom: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 220 !important;
  max-height: 230px !important;
  overflow-y: auto !important;
}

.smart-suggestions {
  z-index: 220 !important;
}

.category-strip {
  position: relative;
  z-index: 1;
}

/* Smart multilingual search suggestions */
.smart-search-wrap {
  position: relative !important;
}

.smart-search-field {
  min-width: 0;
  display: block;
  position: relative;
}

.hero .smart-search-field,
.products-search-main .smart-search-field {
  grid-row: 1;
  grid-column: 1;
}

.hero .search-form::before,
.hero .search-form::after {
  content: none !important;
}

.hero .smart-search-field::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid #0d1728;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
  box-sizing: border-box;
}

.hero .smart-search-field::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 40px;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: #0d1728;
  transform: translateY(8px) rotate(45deg);
  pointer-events: none;
}

.smart-suggestions {
  position: absolute;
  z-index: 90;
  left: 18px;
  right: 18px;
  top: calc(100% + 8px);
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 45px rgba(40, 68, 105, .18);
  backdrop-filter: blur(14px);
}

.smart-suggestions[hidden] {
  display: none;
}

.smart-suggestion {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0d1728;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.smart-suggestion:hover,
.smart-suggestion.is-active {
  background: #eef6ff;
}

.smart-suggestion small {
  color: #66778c;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.hero .smart-suggestions {
  left: 10px;
  right: 10px;
}

@media (max-width: 700px) {
  .smart-suggestions,
  .hero .smart-suggestions {
    left: 10px;
    right: 10px;
    top: calc(100% + 6px);
  }
}

/* Products page search matches homepage search style */
.products-search-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin: 18px 0 24px !important;
}

.products-search-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 18px 45px rgba(40, 68, 105, .14), inset 0 0 0 1px rgba(255,255,255,.34);
  backdrop-filter: blur(18px);
}

.products-search-main input {
  width: 100%;
  min-height: 48px;
  height: 48px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  padding: 0 18px;
  color: #0d1728;
  font-size: 16px;
  font-weight: 650;
  box-shadow: none !important;
}

.products-search-main button {
  min-width: 126px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1477ff, #075ee6);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(11,103,240,.28);
}

.products-search-main button::before {
  content: "⌕";
  margin-right: 7px;
  font-size: 20px;
  vertical-align: -2px;
}

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

.products-search-filters select {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid #d9e5f2;
  background: rgba(255,255,255,.78);
  font-weight: 800;
}

@media (max-width: 700px) {
  .products-search-main {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .products-search-main button {
    width: 100%;
  }

  .products-search-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding: 0 16px;
  }

  .language-select select {
    min-width: 120px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero .search-form {
    left: 18px;
    right: 18px;
    bottom: 78px;
    padding: 10px;
  }

  .hero .search-form input,
  .hero .search-form button {
    min-height: 50px;
    height: 50px;
  }

  .hero .search-form {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .hero-suggestions {
    display: none;
  }

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

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

/* Final homepage layout based on the requested new design */
:root {
  --market-blue: #0b67f0;
  --market-blue-dark: #064ec0;
  --market-ink: #101828;
  --market-muted: #53657c;
  --market-line: #d9e5f2;
  --market-soft: #eef7ff;
  --market-card: rgba(255,255,255,.78);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(215,235,255,.92), transparent 34%),
    radial-gradient(circle at 92% 2%, rgba(225,241,255,.72), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fc 50%, #f8fbff 100%);
  color: var(--market-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-header {
  width: min(100% - 48px, 1480px);
  margin: 8px auto 0;
  border: 1px solid rgba(255,255,255,.9);
  border-bottom-color: rgba(210,225,242,.72);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, rgba(232,245,255,.98), rgba(209,229,248,.9));
  box-shadow: 0 28px 80px rgba(56, 82, 115, .13);
  position: sticky;
  top: 8px;
  z-index: 50;
  overflow: visible;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(255,255,255,.72);
}

.container.header-inner,
.container.page {
  max-width: none;
}

.header-inner {
  min-height: 92px;
  padding: 0 clamp(28px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
}

.logo {
  flex: 0 0 auto;
  color: var(--market-blue);
  font-size: clamp(28px, 2.25vw, 38px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.logo span {
  color: #071327;
}

.header-info-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  margin: 0;
  color: #3f5a7a;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 850;
  white-space: nowrap;
}

.header-info-links span,
.header-info-links a {
  color: #3f5a7a;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-select {
  flex: 0 0 auto;
  margin-left: auto;
}

.language-select select {
  min-width: 178px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
  color: #071327;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
}

.hamburger-btn {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.hamburger-btn span {
  width: 23px;
  height: 3px;
  border-radius: 99px;
  background: #071327;
}

.site-nav {
  right: 0;
  top: calc(100% + 10px);
}

.page {
  width: min(100% - 48px, 1480px);
  margin: 0 auto 0;
  padding: 0 clamp(28px, 3vw, 42px) 52px;
  border: 1px solid rgba(255,255,255,.9);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 35px 90px rgba(56, 82, 115, .13);
  backdrop-filter: blur(10px);
}

.hero:not(.hero-card) {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: clamp(500px, 48vw, 610px);
  margin: 0 calc(clamp(28px, 3vw, 42px) * -1) 0;
  padding: 0 clamp(44px, 5vw, 80px);
  border: 0;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232,244,255,.96) 0%, rgba(232,244,255,.94) 44%, rgba(232,244,255,.42) 60%, rgba(232,244,255,.18) 100%),
    #eaf5ff;
  box-shadow: none;
}

.hero:not(.hero-card)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(54px, 5.8vw, 82px) 0 188px;
  max-width: 650px;
}

.hero-copy h1 {
  max-width: 630px;
  margin: 0 0 24px;
  color: #0d1728;
  font-size: clamp(42px, 4.25vw, 72px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.hero-copy h1::first-line {
  color: #0d1728;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #4d6179;
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.55;
  font-weight: 650;
}

.hero-art {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  min-height: 100%;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero .search-form {
  position: absolute;
  z-index: 5;
  left: clamp(42px, 4.7vw, 70px);
  right: clamp(42px, 4.7vw, 70px);
  bottom: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 24px 60px rgba(40, 68, 105, .2), inset 0 0 0 1px rgba(255,255,255,.34);
  backdrop-filter: blur(18px);
}

.hero .search-form::before {
  content: "";
  width: 30px;
  height: 30px;
  margin-left: 8px;
  border: 3px solid #0d1728;
  border-radius: 50%;
  box-sizing: border-box;
  grid-row: 1;
  grid-column: 1;
  align-self: center;
}

.hero .search-form::after {
  content: "";
  width: 12px;
  height: 3px;
  margin-left: 30px;
  margin-top: 28px;
  border-radius: 99px;
  background: #0d1728;
  transform: rotate(45deg);
  grid-row: 1;
  grid-column: 1;
  align-self: center;
}

.hero .search-form input {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  min-height: 64px;
  height: 64px;
  padding: 0 22px 0 58px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0d1728;
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 650;
  box-shadow: none;
}

.hero .search-form input::placeholder {
  color: #63758d;
  opacity: 1;
}

.hero .search-form button {
  min-width: 166px;
  min-height: 64px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1477ff, #075ee6);
  color: #fff;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(11,103,240,.34);
}

.hero .search-form button::before {
  content: "⌕";
  margin-right: 10px;
  font-size: 26px;
  line-height: 0;
  vertical-align: -2px;
}

.hero-suggestions {
  position: absolute;
  z-index: 6;
  left: clamp(70px, 6vw, 98px);
  right: clamp(70px, 6vw, 98px);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #536b88;
  font-size: 13px;
  font-weight: 850;
}

.hero-suggestions strong {
  color: #536b88;
  font-weight: 900;
}

.hero-suggestions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.46);
  color: #526b89;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(55, 85, 120, .08);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 26px;
}

.category-tile {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--market-line);
  border-radius: 16px;
  background: var(--market-card);
  color: #111827;
  text-align: center;
  text-decoration: none;
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 920;
  line-height: 1.14;
  box-shadow: 0 16px 34px rgba(45, 73, 113, .08);
  backdrop-filter: blur(8px);
}

.category-tile span {
  font-size: 26px;
  line-height: 1;
}

.home-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.filter-panel {
  position: sticky;
  top: 118px;
  padding: 26px;
  border: 1px solid var(--market-line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(45,73,113,.09);
  backdrop-filter: blur(10px);
}

.filter-head {
  align-items: center;
  margin-bottom: 22px;
}

.filter-head h2,
.section-head h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.filter-head a {
  color: var(--market-blue);
  font-weight: 850;
  text-decoration: none;
}

.filter-panel label,
.filter-checks strong {
  color: #253247;
  font-size: 15px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  border: 1px solid #ded3c7;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  font-weight: 720;
}

.filter-panel input[type="range"] {
  min-height: 30px;
  accent-color: var(--market-blue);
}

.filter-grid {
  gap: 10px;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-weight: 720;
}

.latest-panel {
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-head {
  min-height: 62px;
  align-items: center;
  margin-bottom: 16px;
}

.section-head .btn {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid #ddcfc1;
  border-radius: 16px;
  background: #fff9f1;
  color: #101828;
  font-weight: 900;
  box-shadow: none;
}

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

.product-card,
.panel,
.notice-card,
.form-card {
  border: 1px solid var(--market-line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(45,73,113,.09);
  backdrop-filter: blur(8px);
}

.product-card {
  overflow: hidden;
  color: #101828;
  text-decoration: none;
}

.product-card > img,
.product-card > a > img {
  aspect-ratio: 1.15 / 1;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
}

.product-card-body {
  padding: 14px 16px 17px;
}

.product-card h3 {
  margin: 8px 0 8px;
  color: #101828;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.price {
  color: #0b67f0;
  font-size: 17px;
  font-weight: 950;
}

.meta {
  color: #66778c;
  font-size: 13px;
  font-weight: 700;
}

.badge {
  border-radius: 999px;
  background: #eef4fb;
  color: #617089;
}

.latest-panel .panel {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 18px;
  color: #202b3e;
}

.safety-notice {
  margin-top: 30px;
}

.site-footer {
  width: min(100% - 48px, 1480px);
  margin: 0 auto 28px;
  padding: 28px clamp(28px, 3vw, 42px);
  border: 1px solid rgba(255,255,255,.9);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 24px 70px rgba(56, 82, 115, .12);
}

@media (max-width: 1180px) {
  .header-info-links {
    gap: 24px;
  }

  .hero:not(.hero-card) {
    min-height: 560px;
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: 70%;
    opacity: .72;
  }

  .category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 18px, 1480px);
  }

  .site-header {
    top: 6px;
    border-radius: 22px 22px 0 0;
  }

  .header-inner {
    min-height: 78px;
    padding: 0 18px;
    gap: 12px;
  }

  .header-info-links {
    display: none;
  }

  .logo {
    font-size: 28px;
  }

  .language-select select {
    min-width: 132px;
    height: 48px;
    border-radius: 15px;
    padding-left: 12px;
    padding-right: 32px;
  }

  .hamburger-btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .page {
    padding: 0 18px 34px;
  }

  .hero:not(.hero-card) {
    margin: 0 -18px;
    padding: 0 24px;
    min-height: 650px;
    border-radius: 0 0 24px 24px;
  }

  .hero-copy {
    padding: 48px 0 235px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 8vw, 56px);
    max-width: 540px;
  }

  .hero-art {
    width: 100%;
    opacity: .42;
  }

  .hero .search-form {
    left: 20px;
    right: 20px;
    bottom: 86px;
    padding: 12px;
  }

  .hero-suggestions {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .logo {
    font-size: 24px;
  }

  .language-select select {
    min-width: 118px;
    font-size: 13px;
  }

  .hero:not(.hero-card) {
    min-height: auto;
    padding: 0 18px 24px;
  }

  .hero-copy {
    padding: 38px 0 20px;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-art {
    inset: auto 0 0;
    height: 48%;
    opacity: .28;
  }

  .hero .search-form {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin: 18px 0 14px;
    border-radius: 28px;
  }

  .hero .search-form input {
    min-height: 56px;
    height: 56px;
    font-size: 17px;
  }

  .hero .search-form button {
    width: 100%;
    min-height: 56px;
  }

  .hero-suggestions {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    gap: 8px;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .category-tile {
    min-height: 70px;
    padding: 10px 12px;
  }

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

  .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-head .btn {
    width: 100%;
  }
}

/* Real-size desktop correction: keep the new design, remove oversized/zoomed proportions */
@media (min-width: 901px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 64px, 1180px);
  }

  .site-header {
    top: 10px;
    border-radius: 22px 22px 0 0;
  }

  .header-inner {
    min-height: 72px;
    padding: 0 32px;
    gap: 36px;
  }

  .logo {
    font-size: 26px;
    letter-spacing: -0.055em;
  }

  .header-info-links {
    gap: 44px;
    font-size: 13px;
  }

  .language-select select {
    min-width: 142px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }

  .hamburger-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hamburger-btn span {
    width: 20px;
    height: 2px;
  }

  .page {
    padding: 0 32px 40px;
  }

  .hero:not(.hero-card) {
    min-height: 408px;
    margin: 0 -32px;
    padding: 0 48px;
    grid-template-columns: 47% 53%;
    border-radius: 0 0 22px 22px;
  }

  .hero-copy {
    padding: 58px 0 128px;
    max-width: 470px;
  }

  .hero-copy h1 {
    max-width: 470px;
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .hero-copy p {
    max-width: 440px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-art {
    width: 58%;
  }

  .hero .search-form {
    left: 48px;
    right: 48px;
    bottom: 48px;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 999px;
  }

  .hero .search-form::before {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    border-width: 2px;
  }

  .hero .search-form::after {
    width: 10px;
    height: 2px;
    margin-left: 31px;
    margin-top: 23px;
  }

  .hero .search-form input {
    min-height: 48px;
    height: 48px;
    padding-left: 54px;
    font-size: 16px;
  }

  .hero .search-form button {
    min-width: 126px;
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
  }

  .hero .search-form button::before {
    margin-right: 7px;
    font-size: 20px;
  }

  .hero-suggestions {
    left: 58px;
    right: 58px;
    bottom: 16px;
    gap: 7px;
    font-size: 11px;
  }

  .hero-suggestions a {
    min-height: 24px;
    padding: 3px 10px;
  }

  .category-strip {
    gap: 12px;
    margin: 24px 0 22px;
  }

  .category-tile {
    min-height: 62px;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 12px;
    line-height: 1.12;
  }

  .category-tile span {
    font-size: 22px;
  }

  .home-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
  }

  .filter-panel {
    top: 98px;
    padding: 20px;
    border-radius: 18px;
  }

  .filter-head {
    margin-bottom: 16px;
  }

  .filter-head h2,
  .section-head h2 {
    font-size: 22px;
    letter-spacing: -0.035em;
  }

  .filter-panel label,
  .filter-checks strong {
    font-size: 13px;
  }

  .filter-panel input,
  .filter-panel select {
    min-height: 40px;
    border-radius: 10px;
    font-size: 13px;
  }

  .filter-panel input[type="range"] {
    min-height: 24px;
  }

  .filter-checks label {
    margin: 9px 0;
  }

  .section-head {
    min-height: 50px;
    margin-bottom: 14px;
  }

  .section-head .btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card,
  .panel,
  .notice-card,
  .form-card {
    border-radius: 16px;
  }

  .product-card > img,
  .product-card > a > img {
    border-radius: 14px 14px 0 0;
  }

  .product-card-body {
    padding: 12px 13px 14px;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }

  .meta {
    font-size: 12px;
  }

  .latest-panel .panel {
    min-height: 58px;
    padding: 0 18px;
    font-size: 15px;
  }
}

/* Mobile-friendly correction for the new layout */
@media (max-width: 700px) {
  body {
    background: linear-gradient(180deg, #f5faff 0%, #eef6fd 100%);
    overflow-x: hidden;
  }

  .site-header,
  .page,
  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .site-header {
    top: 0;
    position: sticky;
    background: rgba(229,244,255,.94);
    backdrop-filter: blur(14px);
  }

  .header-inner {
    min-height: 66px;
    padding: 0 14px;
    gap: 8px;
  }

  .logo {
    font-size: 22px;
    flex: 0 0 auto;
  }

  .language-select {
    min-width: 0;
    flex: 1 1 auto;
  }

  .language-select select {
    width: 100%;
    min-width: 0;
    height: 38px;
    border-radius: 12px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 24px;
  }

  .hamburger-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hamburger-btn span {
    width: 18px;
    height: 2px;
  }

  .page {
    padding: 0 14px 28px;
    background: rgba(255,255,255,.66);
    box-shadow: none;
  }

  .hero:not(.hero-card) {
    display: block;
    min-height: auto;
    margin: 0 -14px;
    padding: 0 14px 22px;
    border-radius: 0 0 24px 24px;
    background:
      linear-gradient(180deg, rgba(237,247,255,.95) 0%, rgba(237,247,255,.82) 58%, rgba(237,247,255,.94) 100%),
      #edf8ff;
  }

  .hero:not(.hero-card)::before {
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    padding: 34px 6px 14px;
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(30px, 9.2vw, 39px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
  }

  .hero-art {
    inset: auto 0 0;
    width: 100%;
    height: 56%;
    opacity: .32;
  }

  .hero-art img {
    object-position: center bottom;
  }

  .hero .search-form {
    position: relative;
    z-index: 4;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 18px 0 14px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,255,255,.74);
  }

  .hero .search-form::before {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    border-width: 2px;
  }

  .hero .search-form::after {
    width: 10px;
    height: 2px;
    margin-left: 31px;
    margin-top: 23px;
  }

  .hero .search-form input {
    min-width: 0;
    min-height: 50px;
    height: 50px;
    padding: 0 10px 0 52px;
    font-size: 15px;
  }

  .hero .search-form button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-suggestions {
    position: relative;
    z-index: 4;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    gap: 8px;
    padding: 0 4px;
    font-size: 11px;
  }

  .hero-suggestions a {
    min-height: 26px;
    padding: 4px 10px;
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 24px;
  }

  .category-tile {
    min-height: 66px;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
    text-align: left;
  }

  .category-tile span {
    font-size: 22px;
  }

  .home-layout {
    display: block;
  }

  .filter-panel {
    position: static;
    padding: 18px;
    margin-bottom: 22px;
    border-radius: 18px;
  }

  .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    margin-bottom: 14px;
  }

  .filter-head h2,
  .section-head h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .section-head .btn {
    width: 100%;
    min-height: 44px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .latest-panel .panel {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 20px;
  }

  .language-select select {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 29px;
  }

  .hero-copy p {
    font-size: 14px;
  }
}

/* Final header control sizing */
@media (min-width: 901px) {
  .header-inner {
    min-height: 62px !important;
  }

  .header-info-links {
    gap: 0 !important;
  }

  .language-select select {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    padding: 0 24px 0 10px !important;
  }

  .hamburger-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1 !important;
  }

  .hamburger-btn span {
    width: 17px !important;
    height: 2px !important;
    margin: 0 !important;
    display: block !important;
    flex: 0 0 auto !important;
    line-height: 1 !important;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 50px !important;
    gap: 8px;
  }

  .language-select select {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    padding: 0 20px 0 8px !important;
  }

  .hamburger-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1 !important;
  }

  .hamburger-btn span {
    width: 15px !important;
    height: 2px !important;
    margin: 0 !important;
    display: block !important;
    flex: 0 0 auto !important;
    line-height: 1 !important;
  }
}

/* Final homepage top category compact sizing */
.category-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.category-tile {
  font-size: 12px !important;
  line-height: 1.08 !important;
  min-height: 58px !important;
  padding: 9px 12px !important;
}

.category-tile span {
  font-size: 20px !important;
}

@media (max-width: 900px) {
  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final Gnem.am brand assets */
.logo.logo-image {
  display: inline-flex !important;
  align-items: center !important;
  width: clamp(128px, 12vw, 178px) !important;
  min-width: clamp(128px, 12vw, 178px) !important;
  height: 42px !important;
  padding: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.logo.logo-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

@media (max-width: 700px) {
  .logo.logo-image {
    width: 120px !important;
    min-width: 120px !important;
    height: 34px !important;
  }

  .logo.logo-image img {
    max-height: 34px !important;
  }
}
