/* =========================================================
   iClose Shop — clean commerce UI
   Forest brand, minimal chrome, strong hierarchy
   ========================================================= */

:root {
  --shop-ink: #15261c;
  --shop-forest: var(--icl-forest, #0b4d28);
  --shop-lime: var(--icl-lime, #9be36d);
  --shop-muted: #6b7c72;
  --shop-line: #e4ece7;
  --shop-soft: #f3f7f4;
  --shop-paper: #fff;
  --shop-radius: 10px;
  --shop-accent: #1f6b4a;
  --shop-green: #0b4d28;
}

.shop-page {
  background: var(--shop-soft);
  color: var(--shop-ink);
}

/* Kill page-frame / header drop shadow on shop surfaces */
.shop-page .header,
body.shop-page.scrolled .header,
body.shop-page .header {
  box-shadow: none !important;
  border-bottom: 1px solid var(--shop-line);
}

.shop-page .main {
  background: transparent;
  box-shadow: none;
}

/* ----- Breadcrumb banner ----- */
.shop-crumb-banner {
  margin-top: 5.75rem;
  padding: 0.85rem 0;
  background: var(--shop-soft);
  border-bottom: 1px solid var(--shop-line);
}

.shop-crumb-banner .shop-breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--shop-muted);
  line-height: 1.4;
}

.shop-crumb-banner .shop-breadcrumb a {
  color: var(--shop-forest);
  text-decoration: none;
  font-weight: 600;
}

.shop-crumb-banner .shop-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-crumb-banner .shop-breadcrumb span[aria-hidden] {
  margin: 0 0.15rem;
  opacity: 0.45;
  color: var(--shop-muted);
}

.shop-crumb-banner .shop-breadcrumb > span:last-child {
  color: var(--shop-ink);
  font-weight: 550;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----- Vendor store banner ----- */
.shop-store-banner {
  padding: 1.75rem 0 1.85rem;
  background:
    linear-gradient(135deg, #0a3a1c 0%, #0b4d28 55%, #146c38 100%);
  color: #edf7f0;
}

.shop-store-banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.shop-store-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 46rem;
}

.shop-store-logo,
.shop-store-logo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.shop-store-logo-fallback {
  display: grid;
  place-items: center;
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.shop-store-banner .shop-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shop-lime);
}

.shop-store-banner h1 {
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.4rem;
  color: #fff;
}

.shop-store-meta {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: rgba(237, 247, 240, 0.75);
}

.shop-store-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(237, 247, 240, 0.85);
  max-width: 42ch;
}

.shop-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.shop-store-count {
  font-size: 0.88rem;
  color: rgba(237, 247, 240, 0.8);
  margin-right: 0.25rem;
}

.shop-store-banner .btn-primary {
  background: var(--shop-lime);
  border-color: var(--shop-lime);
  color: #07150e;
}

.shop-store-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.shop-store-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.shop-shell-tight {
  padding-top: 1.75rem;
}

/* ----- Shared page shell ----- */
.shop-shell {
  padding: 6.25rem 0 4.5rem;
}

.shop-page-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.shop-page-head .shop-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shop-forest);
}

.shop-page-head h1 {
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.55rem;
  color: var(--shop-ink);
}

.shop-page-head p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.shop-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--shop-muted);
}

.shop-breadcrumb a {
  color: var(--shop-muted);
  text-decoration: none;
}

.shop-breadcrumb a:hover {
  color: var(--shop-forest);
}

.shop-breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.55;
}

.shop-alert {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #f3c6c2;
  background: #fef6f5;
  color: #912018;
  font-size: 0.92rem;
}

.shop-alert.is-ok {
  border-color: #b7e0c4;
  background: #f3faf5;
  color: #0b4d28;
}

/* ----- Shop listing ----- */
.shop-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--shop-line);
}

.shop-topbar .shop-page-head {
  margin-bottom: 0;
}

.shop-topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--shop-muted);
}

.shop-topbar-meta a {
  color: var(--shop-forest);
  font-weight: 600;
  text-decoration: none;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.shop-filters input[type="search"],
.shop-filters select {
  min-height: 44px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  background: var(--shop-paper);
  color: var(--shop-ink);
  font: inherit;
}

.shop-filters input[type="search"] {
  flex: 1 1 240px;
  min-width: min(100%, 200px);
}

.shop-filters input:focus,
.shop-filters select:focus {
  outline: none;
  border-color: var(--shop-forest);
}

.shop-filters .btn {
  min-height: 44px;
  border-radius: 8px;
  padding-inline: 1rem;
  font-weight: 600;
}

.shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.shop-cats a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--shop-line);
  color: var(--shop-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 550;
  background: var(--shop-paper);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.shop-cats a:hover {
  border-color: #b8cfc2;
  color: var(--shop-ink);
}

.shop-cats a.is-on {
  border-color: var(--shop-forest);
  background: var(--shop-forest);
  color: #fff;
}

.shop-vendor-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--shop-line);
  border-bottom: 1px solid var(--shop-line);
  color: var(--shop-muted);
  font-size: 0.92rem;
}

.shop-vendor-banner strong {
  color: var(--shop-ink);
}

.shop-vendor-banner a {
  color: var(--shop-forest);
  font-weight: 600;
  text-decoration: none;
  margin-left: auto;
}

.shop-result-count {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: var(--shop-muted);
}

/* ----- Product grid / marketplace cards ----- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.shop-card {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 58, 28, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 58, 28, 0.12);
  border-color: transparent;
}

.shop-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--shop-soft);
  overflow: hidden;
  border-radius: 0;
}

.shop-card-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.04);
}

.shop-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  color: var(--shop-muted);
  font-size: 0.8rem;
}

.shop-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

.shop-badge-stock {
  background: #0b4d28;
}

.shop-badge-out {
  background: #6b7280;
}

.shop-badge-sale {
  background: #c45c26;
}

.shop-card-wish {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #8a9b93;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 58, 28, 0.1);
  transition: color 0.15s, transform 0.15s;
}

.shop-card-wish:hover,
.shop-card-wish.is-on {
  color: #c0392b;
}

.shop-card-wish.is-on i {
  font-weight: 700;
}

.shop-card-view {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--shop-ink);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 58, 28, 0.16);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Show View only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
  .shop-card-media:hover .shop-card-view,
  .shop-card:hover .shop-card-view,
  .shop-card-media:focus-within .shop-card-view {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Touch: show View when card is tapped/focused */
@media (hover: none), (pointer: coarse) {
  .shop-card.is-active .shop-card-view,
  .shop-card-media:focus-within .shop-card-view {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.shop-card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  background: #fff;
}

.shop-card-cat {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a9b93;
  order: 0;
}

.shop-card-cat a {
  color: inherit;
  text-decoration: none;
}

.shop-card-cat a:hover {
  color: var(--shop-forest);
}

.shop-card-title {
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
  color: #15261c;
}

.shop-card-title a {
  color: inherit;
  text-decoration: none;
}

.shop-card-title a:hover {
  color: var(--shop-forest);
}

.shop-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.shop-card-pricing {
  min-width: 0;
}

.shop-card-price {
  margin: 0;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--shop-ink, #14301f);
  letter-spacing: -0.02em;
  font-family: var(--default-font, Manrope, sans-serif);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.2;
}

.shop-card-price .shop-price-from {
  font-weight: 700;
  font-size: 0.78em;
  color: var(--shop-muted, #6b7c72);
  letter-spacing: 0;
}

.shop-card-price .shop-price-now {
  font-weight: 800;
  color: var(--shop-ink, #14301f);
}

.shop-compare {
  margin: 0;
  color: #9aa8a0;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.84rem;
}

.shop-card-unit {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--shop-muted);
}

.shop-card-unit a {
  color: inherit;
  text-decoration: none;
}

.shop-card-unit a:hover {
  color: var(--shop-forest);
}

.shop-card-cart,
.shop-card-cart-form .shop-card-cart {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: #0b4d28;
  background: var(--shop-forest, #0b4d28);
  color: #fff !important;
  display: grid !important;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  font-size: 1.05rem;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.shop-card-cart i,
.shop-card-cart-form .shop-card-cart i {
  color: #fff !important;
  line-height: 1;
}

.shop-card-cart-form {
  margin: 0;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.shop-card-cart:hover {
  background: #083820;
  color: #fff;
  transform: translateY(-1px);
}

.shop-card-stock {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #b42318;
}

.shop-card-vendor {
  display: none;
}

/* Related products */
.shop-related {
  margin-top: 3rem;
  padding: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--shop-line);
}

.shop-related-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.shop-related-head .shop-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shop-forest);
}

.shop-related-head h2 {
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--shop-ink);
}

.hm-section .shop-card {
  height: 100%;
}

.hm-section .shop-card-media {
  border: 0;
}

.shop-empty {
  text-align: center;
  padding: 3.5rem 1.25rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  color: var(--shop-muted);
  background: var(--shop-soft);
}

.shop-empty strong {
  display: block;
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: 1.15rem;
  color: var(--shop-ink);
  margin-bottom: 0.4rem;
}

.shop-empty p {
  margin: 0.4rem 0;
}

.shop-empty .btn {
  margin-top: 0.75rem;
}

.shop-pager {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: auto;
}

.shop-pager a {
  font-weight: 600;
  color: var(--shop-forest);
  text-decoration: none;
}

.shop-pager span {
  color: var(--shop-muted);
  font-size: 0.9rem;
}

/* ----- Product detail ----- */
.shop-product-page.shop-shell {
  padding-top: 6rem;
}

@media (max-width: 1100px) {
  .shop-product-layout {
    grid-template-columns: 1fr;
  }

  .shop-product-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
  }
}

@media (max-width: 992px) {
  .shop-product-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-gallery {
    position: static;
  }

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

.shop-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 1.75rem 1.5rem;
  align-items: start;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.shop-product-aside {
  position: sticky;
  top: 5.75rem;
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.shop-aside-block {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  border: 1px solid rgba(11, 77, 40, 0.1);
  border-radius: 14px;
  padding: 0.95rem 0.95rem 1rem;
  box-shadow: 0 8px 22px rgba(10, 58, 28, 0.045);
}

.shop-aside-block h2 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(11, 77, 40, 0.08);
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-muted, #6b7c72);
}

.shop-aside-list {
  display: grid;
  gap: 0.75rem;
}

.shop-side-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.35rem;
  margin: -0.35rem;
  border-radius: 12px;
  transition: background 0.18s ease;
}

.shop-side-card:hover {
  background: rgba(11, 77, 40, 0.04);
}

.shop-side-card-media {
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--shop-soft, #eef4f0);
  flex-shrink: 0;
}

.shop-side-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.shop-side-card:hover .shop-side-card-media img {
  transform: scale(1.04);
}

.shop-side-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #9aada2;
  font-size: 1.15rem;
  background:
    linear-gradient(135deg, rgba(11, 77, 40, 0.04), transparent 55%),
    var(--shop-soft, #eef4f0);
}

.shop-side-card-sale {
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: #0b4d28;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.shop-side-card-body {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  padding-top: 0.05rem;
}

.shop-side-card-vendor {
  display: block;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--shop-muted, #6b7c72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-side-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--shop-ink, #14301f);
  text-decoration: none;
}

.shop-side-card-title:hover {
  color: var(--shop-green, #0b4d28);
}

.shop-side-card-price {
  margin: 0.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.4rem;
  line-height: 1.2;
  font-family: var(--default-font, Manrope, sans-serif);
}

.shop-side-card-price .shop-price-from {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--shop-muted, #6b7c72);
}

.shop-side-card-price .shop-price-now {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--shop-ink, #14301f);
  letter-spacing: -0.02em;
}

.shop-side-card-price .shop-compare {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9aa8a0;
  text-decoration: line-through;
}

.shop-side-badge {
  display: inline-block;
  width: fit-content;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a5a00;
  background: #fff4d6;
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}

.shop-product-gallery {
  position: sticky;
  top: 5.75rem;
}

.shop-product-cover-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 58, 28, 0.08);
  background: #fff;
}

.shop-product-cover-wrap .shop-card-badges {
  top: 1rem;
  left: 1rem;
}

.shop-product-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  background: var(--shop-soft);
  display: block;
}

.shop-product-zoom-btn {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.shop-product-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--shop-ink, #14301f);
  box-shadow: 0 4px 14px rgba(10, 58, 28, 0.12);
  pointer-events: none;
}

.shop-product-placeholder {
  aspect-ratio: 1;
  min-height: 0;
  border-radius: 12px;
  background: var(--shop-soft);
}

.shop-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.shop-thumb {
  appearance: none;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.shop-thumb.is-active,
.shop-thumb:focus-visible {
  border-color: var(--shop-forest, #0b4d28);
}

.shop-thumbs img,
.shop-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--shop-line);
  display: block;
}

.shop-lightbox {
  border: 0;
  padding: 0;
  max-width: min(92vw, 920px);
  max-height: 92vh;
  background: transparent;
  overflow: visible;
}

.shop-lightbox::backdrop {
  background: rgba(8, 24, 14, 0.78);
}

.shop-lightbox img {
  display: block;
  max-width: min(92vw, 920px);
  max-height: 86vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.shop-lightbox-close {
  appearance: none;
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #14301f;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.shop-product-info .shop-card-vendor {
  margin-bottom: 0.35rem;
}

.shop-product-info .shop-card-vendor a {
  color: var(--shop-forest);
  font-weight: 600;
}

.shop-product-info h1 {
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.shop-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--shop-muted);
}

.shop-rating-score {
  font-weight: 700;
  color: var(--shop-ink);
}

.shop-rating-stars {
  color: #b8860b;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.shop-product-info .shop-card-price {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.shop-product-info .shop-compare {
  font-size: 0.95rem;
}

.shop-product-info .shop-card-stock {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--shop-muted);
}

.shop-product-info .shop-card-stock.is-out {
  color: #b42318;
}

.shop-bulk-deals {
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  background: #f3faf5;
  border: 1px solid #d5e6db;
  border-radius: 12px;
}

.shop-bulk-deals li {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0b4d28;
}

.shop-bulk-deals li::before {
  content: "★ ";
  color: #2f7a45;
}

.shop-price-was {
  color: #98a2b3;
  font-size: 0.85em;
  margin-right: 6px;
}

.shop-free-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 0.88rem;
  font-weight: 700;
}

.shop-free-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #ecfdf3;
  color: #067647;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-add-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 0 0 1.5rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.shop-add-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shop-muted);
  text-transform: none;
  letter-spacing: 0;
}

.shop-add-form input,
.shop-add-form select {
  min-height: 44px;
  min-width: 100px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
}

.shop-add-form input:focus,
.shop-add-form select:focus {
  outline: none;
  border-color: var(--shop-forest);
}

.shop-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
}

.shop-buy-actions .btn {
  min-height: 44px;
  border-radius: 8px;
  padding-inline: 1.1rem;
  font-weight: 650;
}

.shop-btn-wa {
  background: #128c7e;
  border: 1px solid #128c7e;
  color: #fff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-btn-wa:hover {
  background: #0e6f64;
  border-color: #0e6f64;
  color: #fff !important;
}

.shop-product-desc {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--shop-line);
  line-height: 1.7;
  color: #3d4f45;
  font-size: 0.98rem;
}

.shop-product-about {
  margin: 0 0 0.55rem;
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--shop-ink, #14301f);
  letter-spacing: -0.01em;
}

.shop-product-desc-body > *:first-child { margin-top: 0; }
.shop-product-desc-body > *:last-child { margin-bottom: 0; }
.shop-product-desc-body p { margin: 0 0 0.85rem; }
.shop-product-desc-body ul,
.shop-product-desc-body ol { margin: 0 0 0.85rem; padding-left: 1.2rem; }
.shop-product-desc-body a { color: var(--shop-forest, #0b4d28); }

.shop-reviews {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--shop-line);
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}

.shop-reviews h2 {
  font-family: var(--heading-font, Sora, sans-serif);
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.shop-review-list {
  display: grid;
  gap: 0;
  margin-bottom: 1.75rem;
}

.shop-review-card {
  padding: 1.1rem 0;
  border: 0;
  border-bottom: 1px solid var(--shop-line);
  border-radius: 0;
  background: none;
}

.shop-review-card:first-child {
  border-top: 1px solid var(--shop-line);
}

.shop-review-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.shop-review-card p {
  margin: 0;
  line-height: 1.55;
  color: #3d4f45;
}

.shop-review-form {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 0.85rem;
  padding-top: 0.5rem;
  border-top: 0;
}

.shop-review-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 0.85rem;
}

.shop-review-form h3 {
  font-family: var(--heading-font, Sora, sans-serif);
  margin: 0;
  font-size: 1rem;
}

.shop-review-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shop-muted);
}

.shop-review-form input,
.shop-review-form select,
.shop-review-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font: inherit;
  background: #fff;
}

.shop-review-form textarea {
  min-height: 88px;
  resize: vertical;
}

.shop-review-form input:focus,
.shop-review-form select:focus,
.shop-review-form textarea:focus {
  outline: none;
  border-color: var(--shop-forest);
}

/* ----- Cart ----- */
.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 2.5rem;
  align-items: start;
}

.shop-cart-list {
  display: grid;
  gap: 0;
}

.shop-cart-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--shop-line);
}

.shop-cart-row:first-child {
  border-top: 1px solid var(--shop-line);
}

.shop-cart-row img,
.shop-cart-thumb-fallback {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--shop-soft);
  border: 1px solid var(--shop-line);
}

.shop-cart-row-info a {
  color: var(--shop-ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
}

.shop-cart-row-info a:hover {
  color: var(--shop-forest);
}

.shop-cart-row-info small {
  display: block;
  margin-top: 0.25rem;
  color: var(--shop-muted);
  font-size: 0.82rem;
}

.shop-cart-row-price {
  margin-top: 0.45rem;
  font-weight: 650;
  font-size: 0.92rem;
}

.shop-cart-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.shop-qty-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.shop-qty-form input {
  width: 64px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--shop-line);
  padding: 0.3rem 0.45rem;
  text-align: center;
  font: inherit;
}

.shop-qty-form .btn,
.shop-cart-remove {
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.84rem;
}

.shop-cart-remove {
  appearance: none;
  background: none;
  border: 0;
  color: var(--shop-muted);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  min-height: 0;
}

.shop-cart-remove:hover {
  color: #b42318;
}

/* ----- Checkout ----- */
.shop-checkout-page {
  padding-bottom: 3.5rem;
}

.shop-checkout-head {
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.shop-checkout-head h1 {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--shop-ink);
}

.shop-checkout-head p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.shop-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.shop-checkout-form {
  background: #fff;
  border: 1px solid rgba(11, 77, 40, 0.1);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 10px 28px rgba(10, 58, 28, 0.04);
}

.shop-checkout-block {
  margin: 0 0 1.35rem;
  padding: 0 0 1.35rem;
  border: 0;
  border-bottom: 1px solid var(--shop-line);
  min-inline-size: 0;
}

.shop-checkout-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-checkout-block legend {
  font-family: var(--heading-font, Sora, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--shop-ink);
  margin-bottom: 0.85rem;
  padding: 0;
}

.shop-checkout-signed {
  margin: -0.25rem 0 0.9rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #f3faf5;
  border: 1px solid #d7e8dc;
  color: #0b4d28;
  font-size: 0.86rem;
}

.shop-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.95rem;
}

.shop-form-grid label {
  display: grid;
  gap: 0.35rem;
}

.shop-form-grid .shop-span-2 {
  grid-column: 1 / -1;
}

.shop-checkout-form .shop-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--shop-ink);
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}

.shop-checkout-form .shop-check-panel {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--shop-soft);
  border: 1px solid var(--shop-line);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.shop-checkout-form .shop-check-panel:hover {
  border-color: #b9cec2;
}

.shop-checkout-form .shop-check-panel:has(input:checked) {
  border-color: var(--shop-forest);
  background: #f4faf6;
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.08);
}

.shop-checkout-form .shop-check input,
.shop-account-opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  margin: 0.1rem 0 0;
  border: 1.5px solid #9eb0a6;
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.shop-checkout-form .shop-check input::before,
.shop-account-opt input::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  transform: scale(0);
  transition: transform 0.12s ease;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  background: #fff;
}

.shop-checkout-form .shop-check input:checked,
.shop-account-opt input:checked {
  border-color: var(--shop-forest);
  background: var(--shop-forest);
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.12);
}

.shop-checkout-form .shop-check input:checked::before,
.shop-account-opt input:checked::before {
  transform: scale(1);
}

.shop-checkout-form .shop-check input:focus-visible,
.shop-account-opt input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.18);
}

.shop-checkout-form .shop-check strong {
  font-weight: 700;
}

.shop-account-opt {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.7rem 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid #d8e3dc;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.shop-account-opt:hover {
  border-color: #b9cec2;
}

.shop-account-opt.is-on {
  border-color: var(--shop-forest);
  background: #f4faf6;
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.08);
}

.shop-account-opt input {
  margin-top: 0.45rem;
}

@media (max-width: 640px) {
  .shop-checkout-form .shop-check-panel,
  .shop-account-opt {
    padding: 0.9rem;
  }

  .shop-checkout-form .shop-check {
    gap: 0.7rem;
    font-size: 0.9rem;
  }

  .shop-checkout-form .shop-check input,
  .shop-account-opt input {
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    min-height: 1.35rem;
  }

  .shop-account-opt {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check copy"
      "icon copy";
    column-gap: 0.7rem;
    row-gap: 0.55rem;
  }

  .shop-account-opt input {
    grid-area: check;
    margin-top: 0.15rem;
  }

  .shop-account-icon {
    grid-area: icon;
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  .shop-account-copy {
    grid-area: copy;
  }

  .shop-account-copy strong {
    font-size: 0.9rem;
  }

  .shop-account-copy em {
    font-size: 0.8rem;
  }
}

.shop-account-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #eaf5ee;
  color: var(--shop-forest);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.shop-account-opt.is-on .shop-account-icon {
  background: var(--shop-forest);
  color: #fff;
}

.shop-account-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding-top: 0.1rem;
}

.shop-account-copy strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--shop-ink);
}

.shop-account-copy em {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--shop-muted);
}

.shop-signup-fields {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 12px;
  background: var(--shop-soft);
  border: 1px solid var(--shop-line);
}

.shop-signup-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--shop-muted);
}

.shop-checkout-note {
  margin-top: 0.85rem;
}

.shop-checkout-form label > span {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--shop-muted);
}

.shop-checkout-form label > span em {
  font-style: normal;
  font-weight: 500;
  color: #8a9b93;
}

.shop-checkout-form input,
.shop-checkout-form select,
.shop-checkout-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e3dc;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-checkout-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7c74' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
  cursor: pointer;
}

.shop-checkout-form textarea {
  min-height: 76px;
  resize: vertical;
}

.shop-checkout-form input:focus,
.shop-checkout-form select:focus,
.shop-checkout-form textarea:focus {
  outline: none;
  border-color: var(--shop-forest);
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.1);
}

.shop-location-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 0.95rem;
}

.shop-address-wrap {
  position: relative;
}

.shop-address-wrap .js-address {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z' stroke='%230b4d28' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='9' r='2.4' stroke='%230b4d28' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.05rem;
}

.shop-address-wrap .js-address:focus {
  border-color: var(--shop-forest);
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.12);
}

.shop-checkout-form .shop-address-wrap .address-suggest {
  top: calc(100% + 6px);
  border: 1px solid rgba(11, 77, 40, 0.14);
  border-radius: 12px;
  max-height: 280px;
  padding: 0.35rem;
  box-shadow: 0 12px 32px rgba(10, 58, 28, 0.12), 0 2px 8px rgba(10, 58, 28, 0.06);
  z-index: 40;
  background: #fff;
}

.shop-checkout-form .shop-address-wrap .address-suggest button {
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--shop-ink);
}

.shop-checkout-form .shop-address-wrap .address-suggest button:hover,
.shop-checkout-form .shop-address-wrap .address-suggest button:focus,
.shop-checkout-form .shop-address-wrap .address-suggest button.is-active {
  background: #f3faf5;
  outline: none;
}

.shop-checkout-form .shop-address-wrap .address-suggest .suggest-pin {
  margin-top: 0.15rem;
  color: #7f9488;
}

.shop-checkout-form .shop-address-wrap .address-suggest button.is-pinned .suggest-pin,
.shop-checkout-form .shop-address-wrap .address-suggest button.is-active .suggest-pin {
  color: var(--shop-forest);
}

.shop-checkout-form .shop-address-wrap .address-suggest .suggest-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--shop-ink);
}

.shop-checkout-form .shop-address-wrap .address-suggest .suggest-copy small {
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--shop-muted);
}

.shop-fee-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #f3faf5;
  border: 1px solid #d5e6db;
  color: #0b4d28;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.shop-fee-chip i {
  color: #2f7a45;
  font-size: 1rem;
  flex: 0 0 auto;
}

.shop-pay-list {
  display: grid;
  gap: 0.55rem;
}

.shop-pay-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d8e3dc;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.shop-pay-option:hover {
  border-color: #b9cec2;
}

.shop-pay-option:has(input:checked) {
  border-color: var(--shop-forest);
  background: #f4faf6;
  box-shadow: 0 0 0 3px rgba(11, 77, 40, 0.08);
}

.shop-pay-option input {
  width: auto;
  min-height: 0;
  margin-top: 0.2rem;
  accent-color: var(--shop-forest);
}

.shop-pay-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.shop-pay-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--shop-ink);
}

.shop-pay-copy em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--shop-muted);
  line-height: 1.35;
}

.shop-checkout-hint {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--shop-muted);
}

.shop-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--shop-line);
}

.shop-checkout-actions .btn {
  min-height: 48px;
  padding-inline: 1.55rem;
  border-radius: 10px;
  font-weight: 700;
}

.shop-checkout-back {
  color: var(--shop-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.shop-checkout-back:hover {
  color: var(--shop-forest);
}

.shop-cart-summary,
.shop-checkout-summary {
  background: #fff;
  border: 1px solid rgba(11, 77, 40, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.35rem;
  position: sticky;
  top: 5.75rem;
  box-shadow: 0 10px 28px rgba(10, 58, 28, 0.04);
}

.shop-checkout-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--shop-line);
}

.shop-cart-summary h2,
.shop-checkout-summary h2 {
  font-family: var(--heading-font, Sora, sans-serif);
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.shop-checkout-count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--shop-muted);
}

.shop-summary-vendor {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--shop-line);
}

.shop-summary-vendor h3 {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shop-muted);
}

.shop-summary-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
  margin: 0 0 0.7rem;
}

.shop-summary-item:last-child {
  margin-bottom: 0;
}

.shop-summary-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--shop-soft);
}

.shop-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-summary-thumb-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #9aada2;
  font-size: 1rem;
}

.shop-summary-item-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--shop-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-summary-item-meta {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: var(--shop-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.shop-summary-item-price {
  text-align: right;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--shop-ink);
  display: grid;
  gap: 0.1rem;
  justify-items: end;
}

.shop-summary-item-price .shop-price-was {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9aa8a0;
}

.shop-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--shop-ink);
}

.shop-summary-line > span:first-child {
  color: var(--shop-muted);
}

.shop-summary-rows {
  margin-top: 0.15rem;
}

.shop-summary-total {
  margin-top: 0.7rem !important;
  padding-top: 0.8rem;
  border-top: 1px solid var(--shop-line);
  font-size: 1.05rem !important;
}

.shop-summary-total > span:first-child,
.shop-summary-total strong {
  color: var(--shop-ink);
  font-weight: 800;
}

.shop-coupon-form {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0 1.15rem;
}

.shop-coupon-form input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  background: #fff;
  font: inherit;
}

.shop-coupon-form .btn {
  min-height: 42px;
  border-radius: 10px;
  padding-inline: 0.85rem;
}

.shop-summary-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
  border-radius: 10px;
  min-height: 46px;
  line-height: 46px;
  padding: 0;
  font-weight: 650;
}

.shop-summary-cta.btn-outline {
  line-height: 44px;
  background: transparent;
}

.shop-summary-link {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  color: var(--shop-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.shop-summary-link:hover {
  color: var(--shop-forest);
}

/* ----- Confirm / home helpers ----- */
.shop-confirm-card {
  margin-bottom: 1rem;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--shop-line);
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.shop-confirm-card h2 {
  font-family: var(--heading-font, Sora, sans-serif);
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.shop-confirm-addr {
  margin: 0.75rem 0;
  padding: 0.75rem 0.9rem;
  background: #f4faf6;
  border: 1px solid var(--shop-line, #e3eee7);
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.shop-confirm-links {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}

.shop-confirm-links a {
  font-weight: 700;
}

.shop-bank-box {
  margin-bottom: 1.25rem;
  border-radius: 8px !important;
}

.shop-home-slide .shop-card {
  height: 100%;
}

.shop-home-slide .shop-card-body {
  flex: 1;
  min-height: 0;
}

.shop-home-slide .shop-card-foot,
.hm-section .shop-card-foot {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex;
}

.shop-home-slide .shop-card-cart-form,
.hm-section .shop-card-cart-form {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.shop-home-slide .shop-card-cart,
.shop-home-slide .shop-card-cart-form .shop-card-cart,
.hm-section .shop-card-cart,
.hm-section .shop-card-cart-form .shop-card-cart {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}

.shop-home-swiper {
  padding-bottom: 0.5rem;
  overflow: visible;
}

.shop-home-swiper .swiper-wrapper {
  align-items: stretch;
}

.shop-home-swiper .swiper-slide {
  height: auto;
  overflow: visible;
}

.shop-home-pager.swiper-pagination-bullets .swiper-pagination-bullet {
  background: var(--shop-forest);
  opacity: 0.25;
}

.shop-home-pager.swiper-pagination-bullets .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--shop-lime);
}

@media (max-width: 900px) {
  .shop-shell,
  .shop-product-page.shop-shell {
    padding-top: 5.5rem;
  }

  .shop-shell-tight {
    padding-top: 1.35rem;
  }

  .shop-crumb-banner {
    margin-top: 5.1rem;
  }

  .shop-store-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-store-actions {
    width: 100%;
  }

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

  .shop-product-grid,
  .shop-checkout-grid,
  .shop-cart-layout,
  .shop-form-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .shop-aside-block {
    min-width: 0;
  }

  .shop-aside-list.is-tiles {
    grid-template-columns: 1fr;
  }

  .shop-reviews {
    margin-top: 2rem;
  }

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

  .shop-location-row {
    grid-template-columns: 1fr;
  }

  .shop-product-gallery,
  .shop-cart-summary,
  .shop-checkout-summary {
    position: static;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .shop-card {
    border-radius: 14px;
  }

  .shop-card-body {
    padding: 0.75rem 0.8rem 0.9rem;
  }

  .shop-card-title {
    font-size: 0.95rem;
  }

  .shop-card-price {
    font-size: 0.98rem;
  }

  .shop-card-cart,
  .shop-card-cart-form .shop-card-cart {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .shop-cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .shop-cart-row-actions {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .shop-checkout-grid {
    gap: 1.75rem;
  }

  .shop-buy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-buy-actions .btn,
  .shop-buy-actions .shop-btn-wa {
    width: 100%;
    justify-content: center;
  }

  .shop-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-filters input[type="search"],
  .shop-filters select,
  .shop-filters .btn {
    width: 100%;
  }

  .shop-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .shop-cats a {
    flex: 0 0 auto;
  }

  .shop-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-page-head h1 {
    font-size: 1.55rem;
  }

  .shop-related-head h2 {
    font-size: 1.35rem;
  }

  .shop-float-dock {
    right: 0.85rem;
    bottom: 5.25rem;
  }

  .shop-float-label {
    display: none;
  }

  body.shop-page .scroll-top {
    bottom: 11.5rem;
    right: 1.05rem;
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .shop-card-wish {
    width: 32px;
    height: 32px;
  }

  .shop-card-view {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .shop-badge {
    font-size: 0.58rem;
    padding: 0.22rem 0.4rem;
  }

  .shop-wish-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .shop-wish-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

/* ----- Floating cart / wishlist ----- */
.shop-float-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.shop-float-dock.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.shop-float-btn[hidden] {
  display: none !important;
}

.shop-float-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1rem 0 0.85rem;
  border-radius: 999px;
  background: #0b4d28;
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(10, 58, 28, 0.28);
  transition: transform 0.15s, background 0.15s;
}

.shop-float-btn:hover {
  background: #083820;
  color: #fff !important;
  transform: translateY(-2px);
}

.shop-float-wish {
  background: #fff;
  color: #0b4d28 !important;
  border: 1px solid #d7e5dc;
  box-shadow: 0 10px 24px rgba(10, 58, 28, 0.14);
}

.shop-float-wish:hover {
  background: #f3faf5;
  color: #0b4d28 !important;
}

.shop-float-btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.shop-float-count {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.shop-float-wish .shop-float-count {
  background: #c0392b;
}

.shop-card-cart.is-loading,
.shop-card-cart-form .shop-card-cart.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.shop-card-cart.is-added,
.shop-card-cart-form .shop-card-cart.is-added {
  background: #1a7a3c;
}

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 1.75rem;
  z-index: 1200;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: #0b4d28;
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(10, 58, 28, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(90vw, 320px);
  text-align: center;
}

.shop-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.shop-toast.is-error {
  background: #8a2e26;
}

body.shop-page .scroll-top,
body.index-page .scroll-top {
  bottom: 9.5rem;
  right: 1.45rem;
}

/* Wishlist page */
.shop-wish-list {
  display: grid;
  gap: 0;
}

.shop-wish-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--shop-line);
}

.shop-wish-row:first-child {
  border-top: 1px solid var(--shop-line);
}

.shop-wish-row img,
.shop-wish-row .shop-cart-thumb-fallback {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--shop-soft);
  border: 1px solid var(--shop-line);
}

.shop-wish-info a {
  color: var(--shop-ink);
  font-weight: 650;
  text-decoration: none;
}

.shop-wish-info a:hover {
  color: var(--shop-forest);
}

.shop-wish-info small {
  display: block;
  margin-top: 0.2rem;
  color: var(--shop-muted);
}

.shop-wish-info .shop-card-price {
  margin-top: 0.35rem;
}

.shop-wish-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
}

.shop-wish-actions .btn {
  min-height: 38px;
  border-radius: 8px;
  padding-inline: 0.9rem;
  font-size: 0.85rem;
}

.shop-wish-remove {
  appearance: none;
  border: 0;
  background: none;
  color: var(--shop-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  padding: 0;
}

.shop-wish-remove:hover {
  color: #b42318;
}
