.nav-shop-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  border-radius: 10px;
}
.nav-shop-ico:hover { color: var(--cta); background: var(--mint); }
.nav-shop-ico svg { width: 22px; height: 22px; }
.nav-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--cta);
  color: #1a1408;
  font-size: .62rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.shop-toast {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 650;
  font-size: .92rem;
  display: none;
}
.shop-toast.show { display: block; }

.shop-page { background: #edf2f6; padding: 12px 0 48px; }
.shop-wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.shop-head { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; justify-content: space-between; margin: 8px 0 16px; }
.shop-head h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.shop-head p { margin: 0; color: var(--muted); }
.shop-count { font-weight: 700; color: var(--navy); }
.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.shop-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  position: sticky;
  top: 88px;
}
.shop-filters h2 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.shop-filters a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: .92rem;
}
.shop-filters a:hover, .shop-filters a.on { background: var(--mint); color: var(--navy); }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sku-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  position: relative;
}
.sku-card:hover { border-color: #b9d3e4; color: inherit; }
.sku-card .wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sku-card .wish.on, .sku-card .wish[aria-pressed="true"] { color: #c81e1e; }
.sku-card .wish svg { width: 18px; height: 18px; }
.sku-media {
  display: block;
  background: #f6fafc;
  aspect-ratio: 1;
  overflow: hidden;
}
.sku-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sku-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sku-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.sku-title { font-size: .98rem; font-weight: 750; line-height: 1.3; margin: 0; color: var(--ink); }
.sku-meta { font-size: .82rem; color: var(--muted); margin: 0; }
.sku-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.sku-price small { font-size: .78rem; font-weight: 650; color: var(--muted); margin-left: 4px; }
.sku-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.sku-actions .btn { text-align: center; padding: 8px 8px; font-size: .82rem; border-radius: 10px; }
.btn.navy {
  background: var(--navy);
  color: #fff;
  border: 0;
  font-weight: 750;
}
.btn.navy:hover { color: #fff; filter: brightness(1.08); }
.btn.ghost {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-weight: 750;
}
.btn.wide { width: 100%; }
.shop-empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
}
.shop-empty h2 { margin-bottom: 8px; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; }
.pdp-gallery { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: sticky; top: 88px; }
.pdp-main {
  aspect-ratio: 1;
  background: #f6fafc;
  border-radius: 12px;
  overflow: hidden;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pdp-thumbs button {
  width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer;
}
.pdp-thumbs button.on { border-color: var(--cta); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.pdp-buy h1 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 6px; }
.pdp-rbi {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pdp-rate { color: var(--muted); margin: 0 0 12px; }
.pdp-price { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.pdp-break { font-size: .88rem; color: var(--muted); margin: 0 0 16px; }
.qty-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  margin: 0 0 10px;
}
.qty-custom button {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.qty-custom input {
  flex: 1;
  height: 40px;
  min-width: 0;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
}
.pdp-est { margin: 0 0 8px; color: var(--ink); }
.pdp-kyc {
  background: #fff6e8;
  border: 1px solid #f0d9a8;
  color: #7a4a00;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 0 0 14px;
  font-weight: 650;
}
.pack-row, .qty-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pack-row a, .qty-row button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.pack-row a.on, .qty-row button.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.pdp-cta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin: 8px 0 16px; }
.pdp-cta .wish {
  width: 48px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; color: var(--muted); cursor: pointer;
}
.pdp-cta .wish.on { color: #c81e1e; border-color: #f0b4b4; }
.pdp-cta .wish svg { width: 22px; height: 22px; margin: 0 auto; }
.pdp-points { margin: 0; padding: 0; list-style: none; }
.pdp-points li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); }
.pdp-points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pdp-copy, .pdp-specs { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-top: 18px; }
.pdp-specs table { width: 100%; border-collapse: collapse; }
.pdp-specs th, .pdp-specs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.pdp-specs th { width: 38%; color: var(--muted); font-weight: 650; }
.pdp-bar {
  display: none;
  position: sticky;
  bottom: 64px;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin-top: 16px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 16px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #f6fafc; }
.cart-item h2 { font-size: 1rem; margin: 0 0 4px; }
.cart-item .muted { margin: 0 0 8px; }
.cart-qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; align-items: center; }
.cart-qty button, .cart-qty span { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: #fff; font-weight: 800; }
.cart-qty button { cursor: pointer; }
.cart-qty input {
  width: 72px;
  height: 32px;
  border: 0;
  text-align: center;
  font-weight: 800;
  background: #fff;
}
.cart-remove { border: 0; background: none; color: var(--danger); font-weight: 700; cursor: pointer; padding: 0; }
.cart-sum { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: sticky; top: 88px; }
.cart-sum h2 { font-size: 1rem; margin: 0 0 12px; }
.cart-sum .row { display: flex; justify-content: space-between; margin: 0 0 8px; color: var(--muted); }
.cart-sum .due { font-size: 1.2rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }

@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shop-layout, .pdp, .cart-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 10px; }
  .shop-filters h2 { display: none; }
  .shop-filters a { white-space: nowrap; }
  .pdp-gallery { position: static; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-cta { grid-template-columns: 1fr 1fr; }
  .pdp-cta .wish { width: 100%; grid-column: 1 / -1; min-height: 44px; }
  .pdp-bar { display: grid; }
  .nav-cta .nav-phone { display: none; }
}
@media (max-width: 640px) {
  .sku-actions { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .cart-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}
