:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --surface-2: #f0ebe5;
  --text: #1a1410;
  --muted: #6b5f55;
  --line: #e0d6cc;
  --accent: #f26522;
  --accent-2: #ff9655;
  --warn: #f59e0b;
  --danger: #d93025;
  --ok: #15803d;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% -5%, rgba(242, 101, 34, 0.07), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255, 150, 85, 0.05), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.6rem;
  border-radius: 0.4rem;
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(26, 20, 16, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header.compact {
  position: static;
}

.catalog-page .site-header.compact {
  position: sticky;
  top: 0;
  z-index: 94;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.logo-img--footer {
  height: 46px;
  opacity: 1;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.logo-mark {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #c4430e);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.logo-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 0.4rem;
  color: rgba(255,255,255,0.7);
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(242, 101, 34, 0.12);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-search input {
  width: 220px;
  padding: 0.56rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.icon-btn {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.cart-icon {
  font-size: 1rem;
  line-height: 1;
}

.cart-label {
  line-height: 1;
}

.mobile-menu-auth,
.mobile-menu-logout {
  display: none;
}

.guest-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.guest-signup-btn {
  border-color: var(--accent);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #c4430e);
}

.guest-signup-btn:hover {
  color: #fff;
  border-color: var(--accent-2);
  box-shadow: 0 10px 20px rgba(242, 101, 34, 0.28);
}

.profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.profile-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(242, 101, 34, 0.12);
}

.profile-menu.open .profile-toggle {
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #c4430e);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 250px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  padding: 0.5rem;
  display: none;
  z-index: 90;
}

.profile-menu.open .profile-dropdown {
  display: grid;
}

.profile-name {
  margin: 0;
  padding: 0.6rem 0.65rem 0.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line);
}

.profile-dropdown a,
.profile-logout {
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  color: var(--text);
  border-radius: 0.58rem;
  padding: 0.62rem 0.65rem;
  font-weight: 600;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-logout:hover {
  background: var(--surface-2);
}

.cart-count {
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  color: #fff;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 1.8rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1.8rem;
  align-items: start;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--accent-2);
  font-weight: 700;
}

.hero-logo {
  width: clamp(185px, 34vw, 315px);
  height: auto;
  display: block;
  margin: -2.35rem 0 0.25rem 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  margin: 0.65rem 0 0.8rem;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  margin: 0.35rem 0 0.55rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  margin: 1.2rem 0;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.quick-trust {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.hero-panel {
  background: linear-gradient(170deg, #ffffff 0%, #fff8f3 100%);
  border: 1px solid #f0ddd0;
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: 0 20px 42px rgba(31, 18, 10, 0.12);
  width: min(100%, 500px);
  justify-self: end;
  margin-top: 5.8rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f26522 0%, #f39a3c 48%, #f26522 100%);
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 2.45rem);
  line-height: 1.02;
}

.finder-intro {
  margin: 0.45rem 0 0.95rem;
  font-size: 0.9rem;
  color: #6b5e55;
  max-width: 42ch;
}

.finder-form {
  display: grid;
  gap: 0.9rem;
}

.finder-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.finder-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.2rem;
  font-size: 0.95rem;
  min-height: 54px;
}

.btn-support {
  border: 1px solid #f3d2bc;
  color: var(--accent);
  background: linear-gradient(180deg, #fffaf6 0%, #ffeedf 100%);
  border-radius: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-support:hover {
  background: linear-gradient(180deg, #fff2e8 0%, #ffe3ce 100%);
  box-shadow: 0 10px 18px rgba(242, 101, 34, 0.22);
  transform: translateY(-2px);
}

.support-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.finder-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.finder-form label {
  display: grid;
  gap: 0.4rem;
  color: #3d3127;
  font-size: 0.9rem;
  font-weight: 700;
}

.finder-form > label {
  margin-top: 0.2rem;
}

.finder-form input,
.finder-form select {
  border: 1px solid #e6d6cb;
  background: #fffdfa;
  color: var(--text);
  border-radius: 0.85rem;
  padding: 0.72rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.finder-form input::placeholder {
  color: #9e8f84;
}

.finder-form input:focus,
.finder-form select:focus {
  outline: none;
  border-color: #f39a3c;
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.14);
  background: #fff;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.92rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 0.62rem;
  padding: 0.62rem 0.75rem;
}

.btn {
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c4430e);
  color: #fff;
  box-shadow: 0 12px 24px rgba(242, 101, 34, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(242, 101, 34, 0.4);
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(242, 101, 34, 0.1);
  border-color: var(--accent);
}

.btn.full {
  width: 100%;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.text-link {
  color: var(--accent-2);
  font-weight: 700;
}

.spotlight,
.products,
.benefits,
.brands,
.faq {
  padding: 2.8rem 0;
}
.section-subtitle {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.flow-section {
  position: relative;
  padding: 3.25rem 0;
}

.flow-section + .flow-section {
  border-top: 2px dashed rgba(242, 101, 34, 0.24);
}

.flow-section .section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  align-items: center;
  background: linear-gradient(90deg, rgba(242, 101, 34, 0.12), rgba(242, 101, 34, 0.04) 45%, transparent 78%);
  border-left: 5px solid var(--accent);
  border-radius: 0.75rem;
  padding: 0.82rem 1rem;
  margin-bottom: 1.35rem;
}

.flow-section .section-head .eyebrow,
.flow-section .section-head h2,
.flow-section .section-head .section-subtitle {
  grid-column: 1;
}

.flow-section .section-head .text-link {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
}

.flow-section .eyebrow {
  color: var(--accent);
}

.spotlight.flow-section .section-head {
  border-left-color: #ff9655;
}

.products.flow-section .section-head {
  border-left-color: #f26522;
}

.benefits.flow-section .section-head {
  border-left-color: #d87b3f;
}

.branches.flow-section .section-head {
  border-left-color: #bf672f;
}

.faq.flow-section .section-head {
  border-left-color: #a25328;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-2);
  border-radius: 1rem;
  padding: 1.05rem;
  min-height: 160px;
  transition: 0.2s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(242, 101, 34, 0.16);
}

.category-card p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(242, 101, 34, 0.18);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  padding: 0.5rem;
}

.product-content {
  padding: 0.9rem;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin: 0.4rem 0;
  font-weight: 800;
  font-size: 1.2rem;
}

.old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.95rem;
  margin-right: 0.35rem;
}

.stock {
  margin: 0.2rem 0 0.8rem;
  font-weight: 700;
}

.stock.in {
  color: var(--ok);
}

.stock.warn {
  color: var(--warn);
}

.stock.low {
  color: var(--danger);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.benefit-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid #e89a6e;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.03);
}

.benefit-grid p {
  color: var(--muted);
}

.brands .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.brand-logo {
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-2px) scale(1.03);
  opacity: 0.96;
}

.brand-logo img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid #f2b08a;
  border-radius: 0.7rem;
  padding: 0.72rem 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

details summary {
  font-weight: 700;
  cursor: pointer;
}

details p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #1a1410;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: #c8bfb6;
}

.footer-grid ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.catalog-layout {
  padding: 1.8rem 0 2.5rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
}

.filters-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  align-self: start;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.filters-card:hover {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.filters-card::-webkit-scrollbar {
  width: 10px;
}

.filters-card::-webkit-scrollbar-track {
  background: transparent;
}

.filters-card::-webkit-scrollbar-thumb {
  background: rgba(107, 95, 85, 0.45);
  border-radius: 999px;
  border: 2px solid var(--surface);
}

.filter-group {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  margin-top: 0.65rem;
}

.filters-card .filter-group label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.3;
}

.filters-card .filter-group input[type="checkbox"],
.filters-card .filter-group input[type="radio"] {
  margin: 0;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.catalog-head p {
  color: var(--muted);
}

.catalog-head-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.catalog-mobile-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.catalog-mobile-summary #resultsCount {
  margin: 0;
}

.filters-drawer-actions {
  display: none;
}

.sync-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.clear-filters-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.mobile-filters-toggle,
.filters-drawer-close,
.filters-overlay {
  display: none;
}

.sync-status {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.sync-status.error {
  color: #b12020;
}

.auth-layout {
  padding: 2rem 0 2.6rem;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.auth-subtitle {
  color: var(--muted);
  margin: 0.25rem 0 1rem;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.auth-panel {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: #fff;
}

.auth-panel h2 {
  margin: 0 0 0.65rem;
}

.auth-note {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.auth-feedback {
  margin: 0;
  min-height: 1.2rem;
  font-weight: 600;
}

.auth-feedback.ok {
  color: var(--ok);
}

.auth-feedback.error {
  color: var(--danger);
}

.purchases-card {
  width: min(760px, 100%);
}

.purchases-list {
  display: grid;
  gap: 0.75rem;
}

.purchase-card,
.purchase-empty {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: #fff;
}

.purchase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.purchase-folio,
.purchase-meta {
  margin: 0;
}

.purchase-folio {
  font-weight: 700;
}

.purchase-meta {
  color: var(--muted);
  margin-top: 0.35rem;
}

.purchase-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: #e7f7ed;
  color: #1f6b3f;
  font-size: 0.82rem;
  font-weight: 700;
}

.purchase-items {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  color: var(--text);
}

.purchase-items li {
  margin: 0.2rem 0;
}

.purchase-item-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.purchase-item-image {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
  padding: 0.2rem;
  flex: 0 0 auto;
}

.purchase-item-text {
  display: grid;
  gap: 0.12rem;
}

.purchase-item-text span {
  color: var(--muted);
}

.purchase-empty h3 {
  margin: 0 0 0.35rem;
}

.purchase-empty p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.product-page {
  padding: 1.4rem 0 2.5rem;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.gallery,
.product-summary,
.product-specs,
.related-products,
.cart-items,
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.gallery,
.product-summary,
.product-specs,
.related-products {
  padding: 1rem;
}

.gallery img {
  border-radius: 0.8rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  display: block;
  max-height: 520px;
  background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
  padding: 0.5rem;
}

.thumbs {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.thumb {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 0.55rem;
  padding: 0.5rem;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--accent);
}

.summary-points {
  margin: 0.9rem 0;
  color: var(--text);
  padding-left: 1rem;
}

.cta-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.delivery-note {
  color: var(--muted);
  margin-top: 0.8rem;
}

.product-specs {
  margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.65rem 0.45rem;
}

th {
  color: var(--muted);
  width: 35%;
}

.related-products {
  margin-top: 1rem;
}

.cart-layout {
  padding: 1.8rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
}

.cart-items,
.cart-summary {
  padding: 1rem;
}

.cart-subtitle {
  color: var(--muted);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  padding: 3rem 1.5rem;
  border: 2px dashed var(--line);
  border-radius: 1.25rem;
  color: var(--muted);
  margin-top: 1rem;
}

.cart-empty svg {
  color: var(--accent);
  opacity: 0.7;
}

.cart-empty h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 0;
}

.cart-empty p {
  max-width: 34ch;
  font-size: 0.95rem;
  margin: 0;
}

.cart-empty-note {
  background: #fff3ed;
  border: 1.5px solid var(--accent);
  color: #b84a0e;
  border-radius: 0.6rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cart-list {
  display: grid;
  gap: 0.7rem;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 0.8rem;
  align-items: center;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
  padding: 0.3rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.qty-control button {
  border: 0;
  width: 30px;
  height: 30px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.qty-control span {
  width: 36px;
  text-align: center;
}

.remove-btn {
  border: 1px solid rgba(217, 48, 37, 0.4);
  color: var(--danger);
  background: transparent;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
}

.cart-summary {
  align-self: start;
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.summary-row.total {
  color: var(--text);
  font-size: 1.05rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.safe-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.branches {
  padding: 2.8rem 0;
}

.conversion-band {
  padding: 0.8rem 0 1.8rem;
}

.conversion-wrap {
  background: linear-gradient(135deg, #f26522, #c4430e);
  color: #fff;
  border-radius: 1rem;
  padding: 1.2rem 1.35rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 16px 34px rgba(196, 67, 14, 0.32);
}

.conversion-wrap .eyebrow,
.conversion-wrap p,
.conversion-wrap h2 {
  color: #fff;
  margin-top: 0;
}

.conversion-wrap h2 {
  margin-bottom: 0.35rem;
}

.conversion-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.conversion-wrap .btn-primary {
  background: #fff;
  color: #b94714;
  box-shadow: none;
}

.conversion-wrap .btn-ghost {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.conversion-wrap .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.branch-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid #e89a6e;
  border-radius: 1rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.branch-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.branch-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.93rem;
}

.branch-card .btn {
  margin-top: auto;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.72rem 1.1rem 0.72rem 0.85rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  flex-shrink: 0;
}

.reveal-up {
  animation: revealUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .product-detail-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid,
  .product-grid,
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .conversion-wrap {
    grid-template-columns: 1fr;
  }

  .conversion-actions {
    justify-content: flex-start;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters-card,
  .cart-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .nav-wrap {
    position: relative;
    flex-wrap: nowrap;
    min-height: 70px;
    gap: 0.5rem;
  }

  .logo {
    margin-right: auto;
    order: 1;
  }

  .logo-img {
    height: 44px;
  }

  .menu-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.55rem;
    width: 44px;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1;
    min-height: 44px;
  }

  .main-nav {
    display: none;
    width: min(92vw, 340px);
    position: absolute;
    left: 0;
    top: calc(100% + 0.45rem);
    order: 4;
    flex-direction: column;
    align-items: start;
    background: #1a1410;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.8rem;
    padding: 0.55rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
    z-index: 65;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a,
  .mobile-menu-logout {
    padding: 0.74rem 0.66rem;
    font-size: 0.95rem;
    width: 100%;
    border-radius: 0.55rem;
  }

  .main-nav .mobile-menu-auth,
  .main-nav .mobile-menu-logout {
    display: block;
  }

  .mobile-menu-logout {
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: rgba(255,255,255,0.78);
    text-align: left;
    cursor: pointer;
    font-weight: 600;
  }

  .mobile-menu-logout:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(242, 101, 34, 0.12);
  }

  .header-actions {
    order: 2;
    margin-left: 0;
    width: auto;
    justify-content: flex-start;
    gap: 0.45rem;
    flex-wrap: nowrap;
  }

  .header-actions .icon-btn {
    width: auto;
    justify-content: center;
  }

  .header-actions .cart-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 0.55rem;
    justify-content: center;
  }

  .header-actions [data-auth-link],
  .header-actions .guest-auth-actions,
  .header-actions .profile-menu,
  .header-actions .icon-btn:not(.cart-btn) {
    display: none !important;
  }

  .header-search {
    flex: 1;
    min-width: 200px;
  }

  .header-search input {
    width: 100%;
    padding: 0.7rem;
    font-size: 16px;
    min-height: 44px;
  }

  .finder-row,
  .category-grid,
  .benefit-grid,
  .product-grid,
  .branch-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 0.9rem;
  }

  .product-card {
    border-radius: 0.8rem;
  }

  .product-content {
    padding: 0.9rem;
  }

  .product-content h3 {
    font-size: 1.05rem;
    margin: 0.5rem 0;
  }

  .price {
    font-size: 1.2rem;
    margin: 0.6rem 0;
  }

  .product-grid .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem;
  }

  .finder-actions {
    grid-template-columns: 1fr;
  }

  .flow-section {
    padding: 2.4rem 0;
  }

  .flow-section .section-head {
    grid-template-columns: 1fr;
  }

  .flow-section .section-head .text-link {
    grid-column: 1;
    grid-row: auto;
  }

  .cart-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.9rem;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .profile-menu {
    width: auto;
  }

  .cart-btn {
    width: auto;
    justify-content: center;
    min-width: 92px;
    padding: 0.56rem 0.74rem;
    font-size: 0.87rem;
  }

  .cart-btn .cart-label {
    display: none;
  }

  .cart-btn .cart-count {
    position: absolute;
    top: -0.4rem;
    right: -0.35rem;
  }

  .catalog-layout {
    gap: 0.75rem;
  }

  .filters-card {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 355px);
    max-height: 100vh;
    border-radius: 1rem 0 0 1rem;
    transform: translateX(104%);
    transition: transform 0.26s ease;
    z-index: 96;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 1rem;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  }

  .filters-drawer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
  }

  .filters-drawer-open .filters-card {
    transform: translateX(0);
  }

  .filters-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 11, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 95;
  }

  .filters-drawer-open .filters-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.3rem 0.58rem;
    font-size: 0.77rem;
    border-radius: 0.5rem;
    flex: 0 0 auto;
  }

  .mobile-filters-toggle::after {
    content: "→";
    font-size: 0.85rem;
    line-height: 1;
    font-weight: 800;
  }

  .filters-drawer-close {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 0.55rem;
    padding: 0.38rem 0.65rem;
    font-weight: 700;
    min-height: 34px;
    font-size: 0.76rem;
    cursor: pointer;
  }

  .filters-drawer-close::before {
    content: "←";
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
  }

  .filters-drawer-close:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .filters-card:hover {
    overflow-y: auto;
  }

  .catalog-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .catalog-head h2 {
    margin: 0;
  }

  .catalog-head-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem;
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-mobile-summary {
    width: 100%;
    justify-content: space-between;
  }

  .clear-filters-btn,
  .sync-btn {
    width: 100%;
    justify-content: center;
  }

  #clearFiltersBtn {
    display: none;
  }

  .clear-filters-drawer-btn {
    display: inline-flex;
    width: auto;
    min-height: 34px;
    padding: 0.32rem 0.62rem;
    font-size: 0.76rem;
    border-radius: 0.5rem;
  }

  .sync-status {
    width: 100%;
  }

  .profile-toggle {
    width: 40px;
    min-height: 44px;
  }

  .profile-dropdown {
    right: auto;
    left: 0;
    min-width: min(320px, 100%);
  }

  .hero {
    padding: 0.9rem 0 1.8rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-logo {
    width: clamp(150px, 46vw, 260px);
    margin: -1.2rem 0 0.4rem 0;
  }

  .hero-copy h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-panel {
    padding: 1.2rem;
    border-radius: 1rem;
    margin-top: 0;
  }

  .hero-panel h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .finder-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .finder-row label,
  .finder-row input,
  .finder-row select {
    font-size: 0.95rem;
  }

  .finder-row input,
  .finder-row select {
    padding: 0.75rem;
    min-height: 44px;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 5.4rem;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .btn {
    padding: 0.8rem 1rem;
    font-size: 0.97rem;
    min-height: 44px;
    border-radius: 0.7rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1rem 0.7rem 0.85rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  input,
  select {
    font-size: 16px;
    padding: 0.75rem;
    min-height: 44px;
  }

  .branch-card {
    padding: 1.2rem;
    border-radius: 0.8rem;
  }

  .branch-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .branch-card p {
    font-size: 0.95rem;
    margin: 0.5rem 0;
  }

  .branch-card .btn {
    width: 100%;
    margin-top: 0.8rem;
    min-height: 44px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .footer-grid p,
  .footer-grid ul {
    font-size: 0.95rem;
  }

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-bar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .sort-bar select {
    min-height: 44px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: 100%;
    margin-top: 0;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }

  .nav-wrap {
    min-height: 64px;
    gap: 0.6rem;
  }

  .logo-img {
    height: 40px;
  }

  .hero {
    padding: 0.7rem 0 1.5rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-copy {
    gap: 1rem;
  }

  .hero-logo {
    width: clamp(145px, 62vw, 220px);
    margin: -0.7rem 0 0.45rem 0;
  }

  .hero-copy h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-panel {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .hero-panel h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .finder-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .finder-row label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
  }

  .finder-row input,
  .finder-row select {
    padding: 0.8rem;
    font-size: 16px;
    border-radius: 0.6rem;
    min-height: 44px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
  }

  .btn-primary {
    font-weight: 600;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .product-card {
    border-radius: 0.8rem;
    overflow: hidden;
  }

  .product-content {
    padding: 0.8rem;
  }

  .product-content h3 {
    font-size: 1rem;
    margin: 0.4rem 0;
  }

  .price {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.5rem 0;
  }

  .product-grid .btn {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.95rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .category-card {
    padding: 1rem;
    border-radius: 0.8rem;
  }

  .category-card h3 {
    font-size: 1rem;
  }

  .branch-card {
    padding: 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid var(--line);
  }

  .branch-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.6rem 0;
  }

  .branch-card p {
    font-size: 0.95rem;
    margin: 0.4rem 0;
    line-height: 1.5;
  }

  .branch-card .btn {
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .cart-item-img {
    width: 80px;
    height: 80px;
  }

  .cart-item {
    gap: 0.8rem;
  }

  .profile-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 1rem 1rem 0 0;
    min-width: 100%;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.18);
  }

  .whatsapp-float span:not(.whatsapp-icon) {
    display: none;
  }

  .whatsapp-float {
    padding: 0.75rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  /* Better form inputs */
  input,
  select,
  textarea {
    font-size: 16px !important;
    padding: 0.8rem !important;
    min-height: 44px;
    border-radius: 0.6rem;
  }

  label {
    font-size: 0.95rem;
  }

  /* Section spacing */
  .flow-section {
    padding: 2rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .section-head h2 {
    margin-bottom: 0.5rem;
  }

  /* Footer improvement */
  .site-footer {
    padding: 2rem 0;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-grid h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .footer-grid p,
  .footer-grid ul {
    font-size: 0.95rem;
  }

  /* Quick trust list */
  .quick-trust {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .quick-trust li {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    font-size: 0;
    line-height: 0;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
