:root {
  --bg: #f3eee4;
  --surface: #ffffff;
  --surface-alt: #eee7da;
  --text: #1f1a17;
  --muted: #645b54;
  --primary: #2f463c;
  --primary-dark: #253730;
  --accent: #8e6b34;
  --danger: #8a3434;
  --border: #d8cdbb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  background: #f4efe5;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

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

.site-header {
  background: rgba(249, 245, 238, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav,
.menu,
.hero,
.section-head,
.detail-header,
.actions,
.inline-status,
.footer-row,
.utility-inner,
.utility-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav,
.hero,
.section-head,
.detail-header,
.footer-row {
  justify-content: space-between;
}

.nav {
  min-height: 82px;
}

.menu {
  flex-wrap: wrap;
}

.utility-inner {
  justify-content: space-between;
  min-height: 44px;
}

.utility-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.utility-actions-top {
  justify-content: flex-start;
}

.utility-actions a {
  color: #ff8e78;
  font-weight: 700;
}

.utility-register-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 114, 87, 0.45);
  background: rgba(183, 38, 22, 0.32);
}

.logo {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 178px;
  max-width: 42vw;
  height: auto;
  flex: 0 0 auto;
}

.logo-image-custom {
  max-height: 220px;
  width: auto;
  max-width: 720px;
  object-fit: contain;
}

.logo-text {
  display: grid;
}

.logo-text strong {
  font-size: 1.3rem;
}

.logo-text small {
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu a,
.text-link,
table,
.pagination,
.flash,
.validation-errors,
.category-chip,
.spec-mini-row span,
.trust-card,
.footer-links,
.mini-label,
.section-kicker,
.listing-meta,
.muted-text,
.badge,
.status-pill,
.button,
button {
  font-family: "Times New Roman", Times, serif;
}

.menu a {
  color: var(--text);
  font-weight: 600;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin: 24px 0;
  box-shadow: 0 4px 14px rgba(56, 43, 20, 0.04);
}

.hero {
  padding: 34px 0 12px;
  gap: 24px;
}

.hero-sales {
  align-items: stretch;
  padding-top: 28px;
}

.hero-panel {
  align-items: stretch;
}

.hero-copy {
  max-width: 780px;
  background: #fbf8f2;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(56, 43, 20, 0.04);
}

.hero-sales-copy {
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(246, 239, 228, 0.98) 100%);
}

.eyebrow,
.mini-label,
.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.featured-band h2 {
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 14px 0 18px;
  max-width: 11ch;
}

.hero-copy h2 {
  margin: 6px 0 10px;
  font-size: 1.8rem;
}

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

.hero-primary-button {
  min-width: 220px;
}

.hero-benefits-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-benefits-inline span,
.hero-benefits-inline a {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-hero {
  position: relative;
  margin: 24px 0 32px;
  padding: 46px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.26) 0%, rgba(8, 8, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.56) 42%, rgba(10, 10, 10, 0.4) 100%),
    url("/uploads/site-assets/hero-8ecc2220-03bf-41e3-8796-580f5bff0ee2.webp") center center / cover no-repeat,
    #120f0d;
  border: 1px solid rgba(240, 169, 75, 0.18);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 169, 75, 0.16), transparent 30%),
    radial-gradient(circle at right center, rgba(240, 169, 75, 0.08), transparent 26%);
}

.home-hero-inner,
.home-hero-search {
  position: relative;
  z-index: 1;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: end;
}

.home-hero-content {
  max-width: 780px;
}

.home-hero-content h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.9rem, 5vw, 5rem);
  line-height: 0.93;
  color: #fff7ea;
  letter-spacing: -0.05em;
}

.home-hero-content p {
  max-width: 720px;
  margin: 0;
  color: #efe1d0;
  font-size: 1.08rem;
  line-height: 1.72;
}

.home-hero-actions {
  margin-top: 30px;
}

.home-hero-search {
  margin-top: 18px;
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 169, 75, 0.18);
  box-shadow: 0 24px 44px rgba(9, 8, 7, 0.18);
}

.search-autocomplete-shell {
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
}

.search-autocomplete-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(240, 169, 75, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  z-index: 30;
}

.search-autocomplete-panel[hidden] {
  display: none !important;
}

.search-autocomplete-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: #fff4e4;
  text-align: left;
}

.search-autocomplete-option small {
  color: #d6b48a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.detail-hero-premium {
  align-items: start;
}

.detail-highlight-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.detail-highlight-row span {
  background: #f7f2e8;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
}

.hero-copy p,
.hero-side-card p,
.site-footer p,
.featured-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.hero-panel-side {
  width: min(340px, 100%);
  flex-direction: column;
}

.hero-side-card {
  background: #fbf8f2;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.conversion-card,
.conversion-card-dark {
  margin: 0;
}

.hero-side-card h3,
.hero-side-card strong {
  font-size: 1.35rem;
}

.dark-card {
  background: #31443d;
  color: #f6efe1;
  border-color: #31443d;
}

.dark-card p {
  color: rgba(246, 239, 225, 0.78);
}

.light-button {
  background: #f7f1e7;
  color: var(--primary-dark);
}

.mini-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mini-trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.mini-trust-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mini-trust-item span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.stat-box {
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.stat-box strong,
.status-pill {
  font-weight: 700;
}

.stat-box span,
.trust-card span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
}

.secondary-button {
  background: #e7dece;
  color: var(--text);
}

.link-button,
.danger-link {
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.danger-link {
  color: var(--danger);
}

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

.filters {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

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

.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fffdfa;
}

.checkbox {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
}

.checkbox input {
  width: auto;
}

.trust-row,
.featured-grid,
.grid {
  display: grid;
  gap: 22px;
}

.trust-band {
  margin: 10px 0 20px;
  padding: 8px 0 2px;
}

.trust-band-head h2 {
  margin: 8px 0 0;
}

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.trust-band-card {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(246, 237, 222, 0.94));
  border: 1px solid rgba(194, 165, 124, 0.28);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(51, 34, 15, 0.08);
}

.trust-band-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.trust-band-card span {
  color: var(--muted);
}

.trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.trust-card {
  background: #fbf8f2;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.featured-band {
  padding: 14px 0 6px;
}

.editorial-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin: 16px 0 8px;
}

.editorial-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 234, 220, 0.95) 100%);
}

.alt-editorial {
  background: linear-gradient(150deg, rgba(38, 57, 50, 0.96) 0%, rgba(24, 37, 33, 0.96) 100%);
  color: #f7f0e3;
}

.alt-editorial p,
.alt-editorial .section-kicker,
.alt-editorial h3 {
  color: inherit;
}

.featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.featured-grid-prominent {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.featured-slider-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.featured-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 4px 2px 10px;
}

.featured-slider-track::-webkit-scrollbar {
  display: none;
}

.featured-slider-track > * {
  scroll-snap-align: start;
}

.featured-slider-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(240, 169, 75, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4c81, #1d72b8);
  color: #eef7ff;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.featured-slider-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.featured-card {
  background: #31443d;
  color: #f7f0e3;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.featured-card a,
.featured-card p {
  color: rgba(247, 240, 227, 0.84);
}

.featured-card-prominent {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.featured-card-media img,
.featured-placeholder {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.featured-card-media {
  position: relative;
  overflow: hidden;
}

.featured-card-media::after {
  content: "MANIA4X4";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 15, 0.48);
  color: #fff7ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  z-index: 2;
}

.featured-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c694d 0%, #31443d 100%);
  color: #f7f0e3;
  font-size: 1.25rem;
  font-weight: 700;
}

.featured-card-prominent .featured-copy {
  padding: 20px;
}

.featured-card-prominent .featured-copy strong {
  display: block;
  margin-top: 14px;
  font-size: 1.4rem;
}

.benefits-section,
.how-it-works-section,
.quick-links-section,
.featured-home-section,
.pricing-section {
  margin: 12px 0 18px;
}

.stacked-head {
  align-items: flex-start;
}

.benefit-grid,
.steps-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.benefit-card,
.step-card,
.pricing-card,
.quick-links-card {
  margin: 0;
}

.benefit-card h3,
.step-card h3,
.pricing-card h3 {
  margin: 0 0 10px;
}

.benefit-card p,
.step-card p,
.pricing-card p {
  color: var(--muted);
  line-height: 1.55;
}

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

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f2eadc;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.quick-links-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.quick-link-tile {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fbf8f2;
  color: var(--text);
  font-weight: 700;
}

.quick-link-tile:hover {
  background: #fff;
  border-color: #c8baa4;
}

.pricing-panel {
  background: linear-gradient(180deg, rgba(250, 245, 236, 0.98) 0%, rgba(245, 237, 225, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.pricing-copy {
  max-width: 620px;
  margin-bottom: 18px;
}

.pricing-copy h2 {
  margin: 8px 0 12px;
}

.pricing-copy p {
  color: var(--muted);
}

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

.pricing-card strong {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.category-strip {
  margin: 8px 0 22px;
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.category-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(56, 43, 20, 0.03);
}

.category-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.category-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f2eadc;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}

.category-card strong {
  display: block;
  font-size: 1.08rem;
}

.category-card span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.category-subtags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.category-subtags em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #faf6ef;
}

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

.catalog-sidebar {
  position: sticky;
  top: 96px;
  margin-top: 0;
}

.catalog-sidebar h2 {
  margin-top: 6px;
}

.sidebar-category-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sidebar-category-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.sidebar-category-link span,
.sidebar-category-link small {
  display: block;
}

.sidebar-category-link span {
  font-weight: 700;
  margin-bottom: 4px;
}

.sidebar-category-link small {
  color: var(--muted);
}

.sidebar-category-link-active {
  background: #f6f0e5;
}

.sidebar-filter-kicker {
  margin-top: 24px;
}

.sidebar-filters {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.sidebar-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-main {
  min-width: 0;
}

.catalog-head {
  margin-top: 0;
}

.category-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.filter-panel {
  background: #fbf8f2;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.listing-card {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f1e5 100%);
  border: 1px solid rgba(203, 179, 144, 0.32);
  box-shadow: 0 20px 38px rgba(73, 51, 24, 0.12);
}

.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 145, 72, 0.5);
  box-shadow: 0 22px 40px rgba(56, 43, 20, 0.16);
}

.listing-media {
  position: relative;
  overflow: hidden;
  background: #e8dece;
}

.listing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 4, 0) 35%, rgba(4, 4, 4, 0.52) 100%);
  pointer-events: none;
  z-index: 1;
}

.listing-card-body {
  padding: 22px 22px 20px;
}

.listing-title {
  margin: 8px 0 10px;
  font-size: 1.42rem;
  line-height: 1.2;
}

.listing-title a {
  color: var(--text);
}

.listing-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: #e9dfcf;
  transition: transform 0.35s ease;
}

.listing-thumb-placeholder {
  background:
    linear-gradient(135deg, rgba(196, 73, 29, 0.2), rgba(20, 16, 14, 0.92)),
    #1b1613;
}

.listing-card:hover .listing-thumb {
  transform: scale(1.03);
}

.listing-media-brandmark {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 15, 0.46);
  color: #fff7ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.placeholder-thumb {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(31, 26, 23, 0.18), rgba(31, 26, 23, 0.04)),
    linear-gradient(135deg, #d8cab4 0%, #9b8663 100%);
  color: #fff;
}

.placeholder-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.placeholder-thumb strong {
  font-size: 1.35rem;
}

.placeholder-thumb small {
  color: rgba(255, 255, 255, 0.85);
}

.listing-thumb-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.34) 0%, rgba(24, 19, 15, 0.04) 38%, rgba(24, 19, 15, 0) 100%);
  z-index: 2;
}

.listing-media-badge-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-media-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.listing-media-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(251, 247, 240, 0.92);
  color: #2d241c;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(17, 12, 8, 0.08);
}

.featured-media-badge {
  background: rgba(47, 70, 60, 0.92);
  color: #f7f0e3;
}

.listing-media-badge-top,
.badge-top {
  background: linear-gradient(135deg, #f0a94b, #ffcb6b);
  color: #2a1907;
}

.listing-media-badge-urgent,
.badge-urgent {
  background: linear-gradient(135deg, #c4491d, #ef6d32);
  color: #fff4ea;
}

.listing-meta,
.pagination,
.thumbs-row,
.spec-mini-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.listing-meta {
  color: #6c5b45;
  font-size: 0.9rem;
}

.listing-meta-top {
  justify-content: space-between;
  flex-wrap: wrap;
}

.listing-meta-item,
.listing-price strong,
.spec-mini-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listing-meta-icon,
.listing-price-icon,
.spec-mini-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.listing-price {
  margin: 10px 0 10px;
}

.listing-price strong {
  font-size: 1.9rem;
  color: #2d2013;
}

.listing-summary {
  margin: 0 0 14px;
  color: #4f4030;
  line-height: 1.5;
  min-height: 2.8em;
}

.badge {
  display: inline-block;
  background: #ead9b8;
  color: #5f4313;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.subtle-badge {
  background: #ece6da;
  color: #625545;
}

.badge-package {
  background: rgba(15, 76, 129, 0.18);
  color: #9ed0ff;
}

.spec-mini-row {
  margin: 10px 0 12px;
}

.spec-mini-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff8ee;
  border: 1px solid rgba(201, 145, 72, 0.18);
  color: #5d4b37;
  font-size: 0.82rem;
}

.listing-source-line {
  margin: 14px 0 0;
  color: #7c654c;
  font-size: 0.84rem;
}

.card-footer-row {
  display: flex;
  margin-top: 18px;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.inline-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.muted-text {
  color: var(--muted);
  font-size: 0.86rem;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.pagination a {
  min-width: 44px;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid rgba(203, 179, 144, 0.4);
  border-radius: 12px;
  background: #fffaf2;
  color: #3b2b1a;
}

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

.pagination-nav {
  font-weight: 700;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px 0 12px;
}

.detail-hero-copy,
.detail-price-card {
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(56, 43, 20, 0.04);
}

.detail-hero-copy {
  background: #fbf8f2;
}

.detail-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.03;
  margin: 14px 0 12px;
}

.detail-top-meta,
.detail-quick-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-top-meta span,
.detail-quick-specs span {
  background: #f7f2e8;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: 0.88rem;
}

.detail-price-card {
  background: #31443d;
  color: #f6efe1;
  display: grid;
  align-content: center;
  gap: 14px;
}

.sticky-card {
  position: sticky;
  top: 98px;
}

.sticky-contact-box {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.listing-detail-shell {
  padding-bottom: 10px;
}

.listing-detail-main {
  padding: 0;
  overflow: hidden;
}

.detail-gallery-large {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 22px;
}

.detail-gallery-large img {
  min-height: 260px;
  max-height: 320px;
}

.detail-gallery-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-gallery-featured img,
.detail-gallery-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(56, 43, 20, 0.04);
}

.detail-gallery-featured {
  min-height: 470px;
}

.detail-gallery-featured img {
  min-height: 470px;
}

.detail-package-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.detail-gallery-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-gallery-stack img {
  min-height: 226px;
}

.detail-empty-photo {
  min-height: 320px;
  display: grid;
  place-items: center;
  background: #5a665f;
  color: #fff;
  font-size: 5rem;
  font-weight: 800;
}

.detail-empty-photo-large {
  min-height: 470px;
  border-radius: 24px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
}

.enhanced-grid {
  gap: 18px;
  margin-bottom: 18px;
}

.detail-section {
  margin: 0;
}

.detail-description {
  min-height: 100%;
}

.detail-contact {
  background: linear-gradient(180deg, rgba(249, 245, 237, 0.95) 0%, rgba(241, 233, 220, 0.95) 100%);
}

.sticky-side-card {
  position: sticky;
  top: 98px;
}

.detail-views-counter {
  margin-top: 8px;
  color: #d4b58d;
  font-size: 0.92rem;
}

.contact-note {
  margin-top: 14px;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

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

.package-plan-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(240, 169, 75, 0.16);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.package-plan-card input {
  accent-color: #f0a94b;
  justify-self: start;
}

.package-plan-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff4e4;
}

.package-plan-card strong {
  color: #ffcb82;
}

.package-plan-card small {
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: #f0a94b;
}

.site-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.site-asset-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(240, 169, 75, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.site-asset-card strong {
  color: #fff4e4;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.site-asset-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-asset-card-empty {
  align-content: center;
  min-height: 180px;
}

.site-asset-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(240, 169, 75, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.site-asset-url {
  width: 100%;
  font-size: 0.84rem;
}

.detail-specs-card {
  margin: 0 0 18px;
}

.detail-map-card {
  margin: 0 0 18px;
}

.detail-map-embed {
  margin-top: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(240, 169, 75, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.detail-map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.premium-specs {
  background: #fbf8f2;
}

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

.spec-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(213, 200, 178, 0.55);
  font-family: "Times New Roman", Times, serif;
}

.spec-line span {
  color: var(--muted);
}

.detail-bottom-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.micro-promo {
  margin: 0;
}

.detail-gallery img,
.thumbs-row img {
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

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

.specs {
  margin: 0;
  padding-left: 18px;
}

.price-box {
  font-size: 1.6rem;
  font-weight: 700;
}

.contact-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

.inline-form {
  display: inline;
}

.inline-status {
  flex-wrap: wrap;
}

.flash,
.validation-errors {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}

.flash-success {
  background: #e3f3e9;
  color: #155b34;
}

.flash-error,
.validation-errors {
  background: #f8e1e1;
  color: #7d2020;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.status-active,
.status-featured {
  background: #e3f3e9;
  color: #155b34;
}

.status-draft {
  background: #ece8df;
  color: #685c43;
}

.status-expired {
  background: #f8e1e1;
  color: #7d2020;
}

.status-muted {
  background: #ece8df;
  color: #685c43;
}

.narrow {
  max-width: 560px;
}

.site-footer {
  margin-top: 50px;
  border-top: 1px solid rgba(213, 200, 178, 0.8);
  background: #f7f2e8;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-logo-image {
  max-height: 140px;
  width: auto;
  width: 170px;
  height: auto;
}

.footer-row {
  gap: 20px;
  padding: 24px 0 40px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .hero,
  .detail-header,
  .nav,
  .footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-grid,
  .form-grid,
  .trust-row,
  .trust-band-grid,
  .benefit-grid,
  .steps-grid,
  .mini-trust-grid,
  .quick-links-shell,
  .quick-link-grid,
  .pricing-grid,
  .editorial-row,
  .detail-hero,
  .detail-content-grid,
  .detail-bottom-band {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-primary-button,
  .hero-cta-row .button {
    width: 100%;
  }

  .hero-benefits-inline {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .detail-gallery-shell,
  .detail-gallery-stack {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .logo {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .logo-image {
    width: min(200px, 60vw);
    max-width: 200px;
  }

  .logo-text {
    justify-items: center;
  }
}

.page-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 26px 0 10px;
}

.compact-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.compact-hero p {
  max-width: 760px;
  color: var(--muted);
}

.hero-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  font-family: "Times New Roman", Times, serif;
  color: var(--muted);
}

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

.form-shell {
  background: #fbf8f2;
}

.form-section-head {
  margin-top: 8px;
  padding-top: 6px;
}

.form-section-head h2 {
  margin: 6px 0 0;
}

.upload-box span {
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
  font-size: 0.92rem;
}

.preview-row img {
  width: 170px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.table-card {
  background: #fbf8f2;
}

.auth-shell {
  display: grid;
  grid-template-columns: 0.95fr 0.8fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0 20px;
}

.auth-intro {
  padding: 18px 0;
}

.auth-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 10px 0 12px;
}

.auth-intro p {
  color: var(--muted);
  max-width: 540px;
}

.auth-card {
  margin: 0;
}

.contact-page-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  margin: 24px 0 34px;
  align-items: start;
}

.contact-page-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 10px 0 14px;
}

.contact-page-intro p {
  color: var(--muted);
  max-width: 620px;
}

.contact-page-details {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-detail-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
}

.contact-detail-card strong {
  color: #fff4e4;
}

.contact-detail-card span {
  color: var(--muted);
}

.contact-form-card {
  padding: 22px;
}

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

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-consent {
  grid-auto-flow: column;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 500;
  color: var(--muted);
}

.contact-consent input {
  margin-top: 4px;
}

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

.auth-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-auth-block {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.social-auth-divider {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(240, 169, 75, 0.14);
}

.social-auth-divider span {
  position: relative;
  padding: 0 12px;
  background: #1d1714;
}

.social-auth-grid {
  display: grid;
  gap: 10px;
}

.social-auth-button {
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(240, 169, 75, 0.14);
  box-shadow: none;
}

.social-auth-button-google {
  background: linear-gradient(135deg, #ffffff, #efe6d7);
  color: #3c2c20;
}

.social-auth-button-facebook {
  background: linear-gradient(135deg, #1877f2, #0f5dc4);
  color: #fff8ef;
}

.auth-switch-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
}

@media (max-width: 768px) {
  .page-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-strip,
  .auth-shell,
  .contact-page-shell {
    grid-template-columns: 1fr;
  }

  .sticky-card,
  .sticky-side-card {
    position: static;
  }

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

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

  .catalog-sidebar {
    position: static;
  }
}

:root {
  --bg: #191512;
  --surface: #241f1b;
  --surface-alt: #2d2621;
  --text: #f0e7db;
  --muted: #beaf9e;
  --primary: #c4491d;
  --primary-dark: #953615;
  --accent: #f0a94b;
  --danger: #d46161;
  --border: #4a3f36;
}

body {
  background:
    radial-gradient(circle at top, rgba(196, 73, 29, 0.14), transparent 32%),
    linear-gradient(180deg, #15110f 0%, #1a1512 40%, #130f0d 100%);
  color: var(--text);
}

a {
  color: #f4c98b;
}

.site-header-commerce {
  background: rgba(17, 14, 12, 0.92);
  border-bottom: 1px solid rgba(240, 169, 75, 0.18);
  backdrop-filter: blur(14px);
}

.site-header-commerce .container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.utility-inner,
.utility-copy,
.commerce-hero,
.commerce-hero-side,
.commerce-contact-band,
.footer-row-commerce {
  display: flex;
  gap: 16px;
}

.utility-inner {
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
}

.utility-copy {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.utility-copy-right {
  justify-content: flex-end;
}

.nav-commerce {
  min-height: 72px;
}

.nav-commerce-stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}

.nav-brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.nav-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  width: 100%;
  align-items: center;
}

.logo-compact {
  margin-right: auto;
  flex: 0 1 260px;
  max-width: 260px;
}

.logo-image-custom {
  max-height: 264px;
  max-width: 1000px;
}

.logo-compact .logo-text strong {
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.logo-compact .logo-text small {
  color: #d7b98c;
}

.menu-commerce {
  gap: 24px;
}

.menu-toggle-button {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 169, 75, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff4e4;
  box-shadow: none;
}

.menu-toggle-button strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle-button-icon {
  display: inline-grid;
  gap: 4px;
}

.menu-toggle-button-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-commerce-primary {
  grid-column: 1;
  justify-self: start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-commerce-account {
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.menu-commerce-primary-mobile {
  display: none;
}

.menu-commerce-secondary {
  grid-column: 1;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-commerce a,
.menu-commerce .link-button {
  color: var(--text);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu-commerce-secondary a,
.menu-commerce-secondary .link-button,
.menu-dropdown-toggle {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5ead8;
}

.menu-commerce-primary a,
.menu-commerce-primary .link-button {
  padding: 8px 14px;
  border-radius: 999px;
}

.menu-commerce-primary .menu-cta-link {
  background: linear-gradient(135deg, #f08e31, #d86629);
  color: #fff7ef;
}

.nav-link-active {
  background: rgba(240, 169, 75, 0.18) !important;
  color: #fff7ef !important;
}

.menu-commerce-secondary a:hover,
.menu-commerce-secondary .link-button:hover,
.menu-dropdown-toggle:hover,
.menu-commerce-primary a:hover,
.menu-commerce-primary .link-button:hover {
  background: rgba(240, 169, 75, 0.16);
  color: #fff7ef;
  transform: translateY(-1px);
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.menu-dropdown summary::-webkit-details-marker {
  display: none;
}

.menu-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-dropdown-toggle::after {
  content: "▾";
  font-size: 0.78rem;
}

.menu-dropdown[open] .menu-dropdown-toggle::after {
  content: "▴";
}

.menu-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(29, 114, 184, 0.35);
  background: rgba(8, 22, 38, 0.98);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 8px;
  z-index: 20;
}

.menu-dropdown-panel a {
  display: block;
  text-align: left;
  border-radius: 14px;
  text-decoration: none;
}

.menu-cta-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #dd6c25);
  color: #fff5eb !important;
}

.commerce-hero {
  align-items: stretch;
  gap: 24px;
  padding: 32px 0 18px;
}

.commerce-hero-copy,
.commerce-panel,
.commerce-shortcut-card,
.commerce-contact-card,
.commerce-category-card,
.commerce-benefit-card,
.commerce-pricing-card,
.commerce-empty-card,
.commerce-sidebar,
.commerce-editorial-card {
  background: linear-gradient(180deg, rgba(40, 33, 28, 0.98) 0%, rgba(26, 21, 18, 0.98) 100%);
  border: 1px solid rgba(240, 169, 75, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.commerce-hero-copy {
  flex: 1 1 0;
  border-radius: 22px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.commerce-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 169, 75, 0.22), transparent 70%);
}

.commerce-hero-copy h1 {
  max-width: none;
  width: 100%;
  margin: 14px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
}

.commerce-hero-copy p,
.commerce-panel p,
.commerce-editorial-card p,
.commerce-contact-copy p,
.site-footer-commerce p,
.commerce-pricing-card p,
.commerce-benefit-card p {
  color: var(--muted);
}

.commerce-primary-button {
  background: linear-gradient(135deg, var(--primary), #d86629);
}


.commerce-hero-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 169, 75, 0.12);
}

.commerce-hero-search label {
  gap: 6px;
  font-size: 0.84rem;
  color: #ead8c1;
  letter-spacing: 0.02em;
}

.commerce-hero-search .full-span {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-search-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.hero-search-more-toggle {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  white-space: nowrap;
}

.hero-search-more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 6px;
}

.hero-search-more[hidden] {
  display: none !important;
}

.commerce-hero-search input,
.commerce-hero-search select {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 232, 204, 0.18);
  background: rgba(14, 11, 10, 0.72);
  color: #fff6ea;
}

.search-btn,
.commerce-hero-search > button[type="submit"] {
  display: flex;
  width: 100%;
  align-self: stretch;
  justify-self: stretch;
  min-height: 56px;
  padding: 0 26px;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 18px;
  outline: 0;
  background: linear-gradient(135deg, #f08e31 0%, #d86629 100%) !important;
  background-image: linear-gradient(135deg, #f08e31 0%, #d86629 100%) !important;
  background-color: #e6772f !important;
  box-shadow: none !important;
  text-shadow: none;
  color: #fff8ef;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
}

.search-btn::before,
.search-btn::after,
.commerce-hero-search > button[type="submit"]::before,
.commerce-hero-search > button[type="submit"]::after {
  display: none !important;
  content: none !important;
}

input[type="search"] {
  background: white !important;
  color: black !important;
  box-shadow: none !important;
}

.category-chip-active {
  background: linear-gradient(135deg, #f08e31, #d86629);
  color: #fff9f1;
  border-color: transparent;
}

.catalog-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-toolbar-group {
  display: grid;
  gap: 10px;
}

.catalog-toolbar-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b7357;
}

.catalog-sort-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.commerce-secondary-button,
.secondary-button {
  background: #342c26;
  color: #f8ead5;
}

.commerce-benefits-inline span,
.hero-benefits-inline span,
.hero-benefits-inline a {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 169, 75, 0.14);
  color: #ead8c1;
}

.commerce-hero-side {
  width: min(360px, 100%);
  flex-direction: column;
}

.commerce-panel {
  border-radius: 20px;
  padding: 24px;
}

.commerce-panel-dark {
  background: linear-gradient(180deg, rgba(53, 33, 23, 0.98) 0%, rgba(28, 20, 16, 0.98) 100%);
}

.commerce-panel-light {
  background: linear-gradient(180deg, rgba(44, 36, 31, 0.98) 0%, rgba(22, 18, 16, 0.98) 100%);
}

.commerce-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 169, 75, 0.16);
}

.commerce-shortcuts-shell,
.featured-home-section-commerce,
.commerce-benefits-section,
.commerce-brand-strip,
.commerce-pricing-section,
.commerce-category-strip,
.commerce-contact-band {
  margin: 18px 0 28px;
}

.commerce-section-head h2,
.commerce-editorial-card h2,
.commerce-contact-copy h2 {
  color: #fff4e4;
}

.commerce-shortcuts-grid,
.commerce-brand-grid {
  display: grid;
  gap: 16px;
}

.commerce-shortcuts-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.commerce-shortcut-card {
  min-height: 126px;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff0de;
}

.commerce-shortcut-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.commerce-shortcut-card small {
  color: #dcb78a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.commerce-editorial-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin: 18px 0 24px;
}

.commerce-editorial-card {
  margin: 0;
}

.commerce-editorial-card-dark {
  background: linear-gradient(135deg, rgba(197, 74, 27, 0.26), rgba(22, 18, 16, 0.98));
}

.commerce-featured-card,
.featured-card {
  background: linear-gradient(180deg, #241d19 0%, #181310 100%);
  border: 1px solid rgba(240, 169, 75, 0.14);
}

.commerce-featured-card .badge,
.badge {
  background: rgba(196, 73, 29, 0.16);
  color: #ffb96e;
}

.commerce-brand-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.commerce-brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 169, 75, 0.14);
  color: #fff2e2;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.commerce-pricing-panel {
  background: linear-gradient(180deg, rgba(31, 25, 21, 0.98), rgba(20, 16, 14, 0.98));
  border: 1px solid rgba(240, 169, 75, 0.14);
}

.commerce-category-card,
.category-card,
.catalog-sidebar,
.sidebar-category-link,
input,
select,
textarea,
.card {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(240, 169, 75, 0.14);
}

.category-card span,
.sidebar-category-link small,
.muted-text {
  color: var(--muted);
}

.button,
button {
  background: linear-gradient(135deg, var(--primary), #d86629);
}

.link-button,
.danger-link {
  background: transparent;
}

.commerce-contact-band {
  justify-content: space-between;
  align-items: stretch;
  padding: 28px 0 8px;
}

.blog-card,
.blog-post-shell {
  background: linear-gradient(180deg, rgba(40, 33, 28, 0.98) 0%, rgba(26, 21, 18, 0.98) 100%);
  border: 1px solid rgba(240, 169, 75, 0.16);
}

.blog-card h2,
.blog-card h3,
.blog-post-shell h1 {
  color: #fff4e4;
}

.blog-post-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 20px;
  margin: 18px 0 20px;
}

.blog-post-excerpt {
  font-size: 1.12rem;
  color: #f0dcc0;
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-post-content {
  color: #ead8c1;
  line-height: 1.8;
}

.commerce-contact-copy {
  max-width: 760px;
}

.commerce-contact-card {
  width: min(340px, 100%);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer-commerce {
  margin-top: 30px;
  background: #120f0d;
  border-top: 1px solid rgba(240, 169, 75, 0.14);
}

.footer-row-commerce {
  justify-content: space-between;
  padding: 26px 0;
}

.footer-contact-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.footer-contact-meta a,
.footer-contact-meta span {
  color: var(--muted);
}

.footer-links-commerce {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .home-hero {
    padding: 30px;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.24) 0%, rgba(8, 8, 8, 0.8) 100%),
      linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.58) 55%, rgba(10, 10, 10, 0.34) 100%),
      url("/uploads/site-assets/hero-8ecc2220-03bf-41e3-8796-580f5bff0ee2.webp") center center / cover no-repeat,
      #120f0d;
  }

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

  .commerce-hero,
  .commerce-contact-band,
  .utility-inner,
  .nav-commerce {
    flex-direction: column;
    align-items: stretch;
  }

  .commerce-shortcuts-grid,
  .commerce-brand-grid,
  .commerce-editorial-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .commerce-hero-side,
  .commerce-contact-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 22px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.84) 100%),
      linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.18) 100%),
      url("/uploads/site-assets/hero-8ecc2220-03bf-41e3-8796-580f5bff0ee2.webp") center center / cover no-repeat,
      #120f0d;
  }

  .home-hero-content h1 {
    font-size: 2.5rem;
  }

  .home-hero-search {
    margin-top: 18px;
  }

  .search-autocomplete-panel {
    position: static;
    margin-top: 10px;
  }

  .package-plan-grid {
    grid-template-columns: 1fr;
  }

  .commerce-hero-copy {
    padding: 26px;
  }

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

  .hero-search-actions,
  .hero-search-more {
    grid-template-columns: 1fr;
  }

  .hero-search-actions {
    flex-direction: column;
  }

  .commerce-shortcuts-grid,
  .commerce-brand-grid,
  .commerce-editorial-row {
    grid-template-columns: 1fr;
  }

  .nav-brand-row {
    gap: 16px;
  }

  .menu-commerce-account {
    display: none;
  }

  .menu-toggle-button {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(240, 169, 75, 0.12);
  }

  .nav-panel.is-open {
    display: grid;
  }

  .menu-commerce {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .menu-commerce-primary,
  .menu-commerce-secondary {
    justify-content: stretch;
  }

  .menu-commerce-primary-mobile {
    display: flex;
  }

  .menu-commerce a,
  .menu-commerce .inline-form,
  .menu-commerce .link-button,
  .menu-dropdown {
    width: 100%;
  }

  .menu-commerce .inline-form {
    display: block;
  }

  .menu-commerce .link-button,
  .menu-commerce-secondary a,
  .menu-dropdown-toggle,
  .menu-cta-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .menu-dropdown-panel {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    margin-top: 10px;
  }

  .footer-row-commerce,
  .utility-copy,
  .utility-copy-right {
    justify-content: center;
    text-align: center;
  }

  .listing-thumb {
    height: 250px;
  }
}

.admin-surface {
  background: #fbf8f2;
  color: #1f1a17;
  border-color: #d8cdbb;
  box-shadow: 0 8px 24px rgba(56, 43, 20, 0.08);
}

.admin-surface-hero {
  border: 1px solid #d8cdbb;
  border-radius: 16px;
  padding: 24px;
  margin-top: 22px;
}

.admin-surface h1,
.admin-surface h2,
.admin-surface h3,
.admin-surface strong,
.admin-surface label,
.admin-surface th,
.admin-surface td,
.admin-surface a,
.admin-surface .text-link,
.admin-surface .danger-link,
.admin-surface .section-kicker,
.admin-surface .muted-text,
.admin-surface p,
.admin-surface span,
.admin-surface div,
.admin-surface small {
  color: #1f1a17;
}

.admin-surface .muted-text,
.admin-surface .trust-card span,
.admin-surface .compact-hero p,
.admin-surface p {
  color: #645b54;
}

.admin-surface input,
.admin-surface select,
.admin-surface textarea {
  background: #fffdfa;
  color: #1f1a17;
  border-color: #d8cdbb;
}

.admin-surface .secondary-button {
  background: #e7dece;
  color: #1f1a17;
}

.admin-code-block {
  margin: 12px 0 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #d8cdbb;
  background: #fffdfa;
  color: #1f1a17;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

@media (max-width: 900px) {
  .featured-slider-shell {
    grid-template-columns: 1fr;
  }

  .featured-slider-button {
    display: none;
  }

  .featured-slider-track {
    grid-auto-columns: minmax(260px, 82vw);
  }
}

.admin-logo-preview-wrap {
  display: grid;
  gap: 12px;
}

.admin-logo-preview {
  max-width: 280px;
  max-height: 120px;
  width: auto;
  height: auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.admin-file-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-logo-image-large {
  max-height: 180px;
  max-width: 720px;
}
