: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;
}

.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.58rem 0.78rem;
  color: rgba(255,255,255,0.7);
  transition: 0.2s ease;
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.guest-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.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: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--accent-2);
  font-weight: 700;
}

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;
}

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: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.finder-form {
  display: grid;
  gap: 0.85rem;
}

.finder-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.finder-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
}

.btn-support {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: rgba(242, 101, 34, 0.08);
  border-radius: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-support:hover {
  background: rgba(242, 101, 34, 0.15);
  box-shadow: 0 8px 16px rgba(242, 101, 34, 0.2);
  transform: translateY(-2px);
}

.support-icon {
  font-size: 1.2rem;
}

.finder-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

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.62rem;
  border: 1px solid transparent;
  padding: 0.64rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c4430e);
  color: #fff;
  box-shadow: 0 12px 24px rgba(242, 101, 34, 0.32);
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(242, 101, 34, 0.1);
}

.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;
}

.sync-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.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) {
  .hero-grid,
  .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% - 1rem));
  }

  .menu-toggle {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
    padding: 0.46rem 0.7rem;
    background: transparent;
    color: var(--text);
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: start;
    background: #1a1410;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.8rem;
    padding: 0.6rem;
  }

  .main-nav.show {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-search {
    flex: 1;
  }

  .header-search input {
    width: 100%;
  }

  .finder-row,
  .category-grid,
  .benefit-grid,
  .product-grid,
  .branch-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .profile-menu {
    width: auto;
  }

  .guest-auth-actions {
    width: 100%;
    justify-content: space-between;
  }

  .profile-toggle {
    width: 40px;
  }

  .profile-dropdown {
    right: auto;
    left: 0;
    min-width: min(320px, 100%);
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .finder-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 0.9rem 0.65rem 0.75rem;
    font-size: 0.85rem;
  }

  input,
  select {
    font-size: 16px;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    min-height: 64px;
    gap: 0.6rem;
  }

  .logo-img {
    height: 40px;
  }

  .hero {
    padding: 1.5rem 0 1.2rem;
  }

  .hero-panel {
    padding: 1rem;
  }

  .finder-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.3rem, 5vw, 1.9rem);
  }

  .btn {
    padding: 0.72rem 0.9rem;
    font-size: 0.95rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .product-content {
    padding: 0.65rem;
  }

  .price {
    font-size: 1.05rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-item-img {
    width: 70px;
    height: 70px;
  }

  .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;
  }
}
