
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: #161111;
  border-radius: 50%;
  flex-shrink: 0;
  text-decoration: none;
}

.cart-link:hover {
  background: #e4e4e4;
  color: #161111;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count[hidden] {
  display: none;
}

.nav-title {
  margin: 0 auto 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #161111;
}

.page-wrap {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 15px 40px;
  min-height: 100vh;
}

.page-heading {
  color: #161111;
  font-weight: 800;
  margin-bottom: 18px;
}

.cart-page {
  max-width: 1260px;
  padding-top: 34px;
}

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

.cart-layout.cart-empty {
  grid-template-columns: minmax(0, 1fr);
}

.cart-main,
.cart-list {
  min-width: 0;
}

.cart-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.cart-kicker {
  margin: 0 0 8px;
  color: #607087;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cart-kicker span {
  padding: 0 5px;
  color: #0b7652;
}

.cart-page .page-heading {
  margin: 0 0 5px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cart-intro {
  margin: 0;
  color: #667085;
}

.cart-items-count {
  margin: 0 0 5px;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-continue {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid #d8e0e8;
  border-radius: 9px;
  background: #fff;
  color: #18312a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cart-actions .cart-continue {
  width: 100%;
}

.cart-continue:hover {
  border-color: #0b7652;
  background: #f3faf7;
  color: #075a3e;
  text-decoration: none;
  transform: translateY(-1px);
}

.cart-summary-panel {
  position: sticky;
  top: 20px;
}

.cart-summary-panel[hidden] {
  display: none;
}

.empty-state {
  background: #fff;
  color: #555;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(20, 35, 54, 0.06);
}

.empty-state i {
  font-size: 48px;
  color: #0b7652;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.cart-list .empty-state h2 {
  margin: 10px 0 8px;
  color: #1d2939;
  font-size: 1.3rem;
}

.cart-list .empty-state .btn {
  padding: 10px 18px;
  font-weight: 700;
}

.cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) minmax(135px, auto);
  align-items: center;
  gap: 16px;
  background: #fff;
  color: #212121;
  border: 1px solid #e8edf1;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 5px 20px rgba(20, 35, 54, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-item:hover {
  border-color: #cbd9d3;
  box-shadow: 0 9px 26px rgba(20, 35, 54, 0.08);
  transform: translateY(-1px);
}

.cart-item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f9fa;
  flex-shrink: 0;
}

.cart-image-placeholder {
  display: flex;
  width: 104px;
  height: 104px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f2f5f6;
  color: #9aa8b2;
  font-size: 30px;
}

.cart-info {
  min-width: 0;
}

.cart-name {
  display: block;
  color: #1d2939;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 5px;
}

.cart-price {
  margin-bottom: 10px;
  color: #0b7652;
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-meta {
  margin: -1px 0 7px;
  color: #758195;
  font-size: 0.8rem;
}

.cart-meta span {
  padding: 0 4px;
  color: #9aa8b2;
}

.cart-price s {
  margin-right: 5px;
  color: #8993a0;
  font-weight: 400;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-line-subtotal {
  min-width: 135px;
  text-align: right;
  color: #667085;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cart-line-subtotal strong {
  display: block;
  margin-top: 2px;
  color: #1d2939;
  font-size: 0.95rem;
  white-space: nowrap;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e0e8;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.qty-box button {
  width: 38px;
  height: 38px;
  border: none;
  background: #f7f9fa;
  color: #18312a;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.qty-box button:hover {
  background: #e6f4ee;
  color: #075a3e;
}

.qty-box button:disabled {
  color: #aab4bf;
  cursor: not-allowed;
}

.qty-box span {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  color: #1d2939;
}

.remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #a43d3d;
  font-size: 0.86rem;
  gap: 7px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.remove-btn:hover {
  background: #fff1f0;
  color: #8d2929;
}

.cart-summary {
  background: #fff;
  color: #212121;
  border: 1px solid #e8edf1;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(20, 35, 54, 0.07);
}

.cart-summary h2 {
  margin: 0 0 18px;
  color: #1d2939;
  font-size: 1.15rem;
  font-weight: 800;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f2;
  color: #667085;
  font-size: 0.92rem;
}

.cart-summary-row span {
  flex: 1;
}

.cart-summary-row strong {
  color: #344054;
  text-align: right;
}

.cart-summary-total {
  padding-top: 15px;
  border-bottom: 0;
  color: #1d2939;
  font-size: 1rem;
  font-weight: 800;
}

.cart-summary-total strong {
  color: #0b7652;
  font-size: 1.12rem;
}

.cart-summary-note {
  margin: 5px 0 17px;
  color: #758195;
  font-size: 0.8rem;
  line-height: 1.5;
}

.cart-summary-note[hidden] {
  display: none;
}

.cart-actions {
  display: grid;
  gap: 10px;
}

.cart-actions .btn {
  min-height: 46px;
  font-weight: 700;
}

.cart-clear {
  border: 0;
  background: transparent;
  color: #a43d3d;
  min-height: 40px;
  font-weight: 700;
  cursor: pointer;
}

.cart-clear:hover {
  color: #8d2929;
  text-decoration: underline;
}

.cart-page button:focus-visible,
.cart-page a:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
}

.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #212121;
  color: #fff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.toast-msg.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 800px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .cart-page {
    padding-top: 24px;
  }

  .cart-page-head {
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 17px;
  }

  .cart-items-count {
    font-size: 0.76rem;
  }

  .cart-item img {
    width: 76px;
    height: 76px;
  }

  .cart-image-placeholder {
    width: 76px;
    height: 76px;
  }

  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 12px;
  }

  .cart-item img,
  .cart-image-placeholder {
    grid-column: 1;
    grid-row: 1;
  }

  .cart-info {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-name {
    font-size: 0.94rem;
  }

  .cart-price {
    margin-bottom: 7px;
    font-size: 0.86rem;
  }

  .cart-meta {
    font-size: 0.75rem;
  }

  .cart-item .qty-box button {
    width: 38px;
    height: 40px;
  }

  .cart-item-side {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-left: 88px;
  }

  .cart-line-subtotal {
    min-width: 0;
    text-align: left;
  }

  .cart-line-subtotal strong {
    display: inline;
    margin: 0 0 0 3px;
  }

  .cart-item .remove-btn {
    width: auto;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .cart-item .remove-btn i {
    font-size: 14px;
  }

  .cart-summary {
    padding: 17px;
  }
}

@media (max-width: 380px) {
  .cart-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item-side {
    padding-left: 0;
  }
}
  
.brand-strip {
  max-width: 1100px;
  width: calc(100% - 30px);
  margin: 0 auto 30px;
  text-align: center;
}

.strip-title {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-tile {
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand-tile:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ===== Filter chips ===== */
#products {
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 20px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 30px);
  margin: 0 auto 20px;
}

.chip {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chip.active {
  background: #fff;
  color: #0b1437;
  border-color: #fff;
}

.chip:focus-visible {
  outline: 3px solid #ffd54f;
  outline-offset: 2px;
}

/* ===== Card extras ===== */
.card-img-wrap {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.card-body .btn-wa {
  background: #1faa59;
  color: #fff;
}

.card-body .btn-wa:hover {
  background: #168a47;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
}

.no-results[hidden] {
  display: none;
}

.page-wrap { max-width: 1240px; min-height: 0; color: #161111; }
.cart-page { max-width: 1200px; padding-top: 30px; }
.cart-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
.cart-main {
  background: #fff;
  border: 1px solid var(--shop-line, #e7e9e8);
  border-radius: 10px;
}
.cart-page-head { margin-bottom: 16px; }
.cart-kicker { color: #777d79; font-size: .68rem; letter-spacing: .1em; }
.cart-kicker span { color: var(--shop-green, #0f3d2e); }
.cart-page .page-heading { color: #161111; font-size: 1.35rem; font-weight: 700; }
.cart-intro, .cart-items-count { color: #777d79; font-size: .82rem; }
.cart-item {
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px 0;
  margin: 0;
  background: #fff;
  border: 0;
  border-top: 1px solid #eceeed;
  border-radius: 0;
  box-shadow: none;
}
.cart-item:hover { transform: none; box-shadow: none; }
.cart-item img, .cart-image-placeholder { width: 90px; height: 90px; background: var(--shop-tile, #f4f5f5); border-radius: 7px; }
.cart-info { align-self: center; }
.cart-name { color: #161111; font-size: .91rem; }
.cart-meta { color: #8a908c; font-size: .72rem; }
.cart-price { margin: 4px 0 8px; color: #161111; font-size: .85rem; }
.cart-price s { margin-left: 6px; color: #8a908c; font-size: .74rem; }
.discount-label { display: inline-block; margin-left: 6px; color: var(--shop-green, #0f3d2e); font-size: .72rem; font-weight: 700; }
.cart-item-side { gap: 5px; }
.cart-line-subtotal { color: #777d79; font-size: .72rem; }
.cart-line-subtotal strong { color: #161111; font-size: .9rem; }
.qty-box { border: 1px solid #e1e4e2; border-radius: 999px; }
.qty-box button { width: 36px; height: 36px; color: var(--shop-green, #0f3d2e); background: #fff; }
.qty-box span { min-width: 34px; color: #161111; font-size: .85rem; }
.remove-btn { color: #777d79; }
.remove-btn:hover { color: #a43d3d; background: transparent; }
.cart-summary-panel { position: sticky; top: 96px; }
.cart-summary {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--shop-line, #e7e9e8);
  border-radius: 10px;
  box-shadow: none;
}
.cart-summary h2 { margin-bottom: 14px; color: #161111; font-size: 1.12rem; }
.cart-summary-row { padding: 10px 0; color: #777d79; border-color: #eceeed; font-size: .82rem; }
.cart-summary-row strong { color: #161111; }
.cart-summary-discount strong { color: var(--shop-green, #0f3d2e); }
.cart-summary-total { font-weight: 700; }
.cart-summary-total strong { color: var(--shop-green, #0f3d2e); font-size: 1rem; }
.cart-summary-note { color: #777d79; font-size: .74rem; }
.cart-actions { gap: 9px; }
.cart-actions .btn, .cart-actions .checkout-link {
  width: 100%;
  min-height: 46px;
  color: #fff;
  background: var(--shop-green, #0f3d2e);
  border: 1px solid var(--shop-green, #0f3d2e);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}
.cart-actions .btn:hover { color: #fff; background: #0b3024; }
.cart-actions .checkout-whatsapp {
  color: var(--shop-green, #0f3d2e);
  background: #fff;
  border-color: var(--shop-green, #0f3d2e);
}
.cart-actions .checkout-whatsapp:hover {
  color: var(--shop-green, #0f3d2e);
  background: #f3faf7;
}
.cart-continue { border: 0; color: var(--shop-green, #0f3d2e); font-size: .8rem; }
.cart-clear { min-height: 44px; color: #777d79; font-size: .78rem; }
.empty-state { color: #161111; background: #fff; border: 1px solid var(--shop-line, #e7e9e8); border-radius: 10px; box-shadow: none; }
.empty-state i { color: var(--shop-green, #0f3d2e); }
.orders-page { max-width: 980px; padding-top: 34px; }
.orders-page > .page-heading, .database-orders-section h3 { color: #161111; font-size: 1.35rem; font-weight: 700; }
.database-orders-section { margin-bottom: 22px; }
.database-orders-section h3 { padding-bottom: 12px; border-bottom: 1px solid #eceeed; }