.shop-page {
  --shop-accent: var(--accent);
  --shop-accent-strong: var(--accent-deep);
  --shop-accent-soft: rgba(15, 111, 115, 0.08);
  --shop-warm-soft: rgba(201, 122, 43, 0.08);
  --shop-line: rgba(17, 17, 17, 0.08);
  --shop-shadow: var(--shadow);
  background: linear-gradient(180deg, #fbfaf7 0%, #f6f4ee 100%);
  color: var(--text);
}

.shop-page .site-main {
  overflow-x: clip;
}

.shop-page .section {
  padding-top: clamp(2rem, 4vw, 3.4rem);
  padding-bottom: clamp(3.2rem, 6vw, 5rem);
}

.shop-page * {
  min-width: 0;
}

.shop-main {
  position: relative;
}

.shop-main::before,
.shop-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: auto;
  z-index: 0;
}

.shop-main::before {
  width: min(38vw, 28rem);
  height: min(38vw, 28rem);
  top: clamp(8rem, 12vw, 12rem);
  right: clamp(-8rem, -4vw, -2rem);
  background: radial-gradient(circle, rgba(15, 111, 115, 0.1), transparent 68%);
}

.shop-main::after {
  width: min(34vw, 24rem);
  height: min(34vw, 24rem);
  top: clamp(28rem, 54vw, 44rem);
  left: clamp(-10rem, -5vw, -3rem);
  background: radial-gradient(circle, rgba(201, 122, 43, 0.1), transparent 70%);
}

.shop-shell {
  position: relative;
  z-index: 1;
}

.shop-hero {
  padding-top: clamp(2.1rem, 4.5vw, 3.3rem);
  padding-bottom: clamp(1.25rem, 2.8vw, 2rem);
}

.shop-page--catalog .shop-hero {
  display: none;
}

.shop-page--catalog.shop-page--dynamic-category .shop-hero {
  display: block;
  padding-top: clamp(0.8rem, 1.5vw, 1.1rem);
  padding-bottom: 0.35rem;
}

.shop-page--dynamic-category .shop-breadcrumbs {
  margin-bottom: 0.5rem;
}

.shop-page--dynamic-category .shop-content {
  padding-top: 0.35rem;
}

.shop-breadcrumbs:empty,
.shop-kicker:empty,
.shop-title:empty,
.shop-lead:empty,
.shop-hero-actions:empty {
  display: none;
}

.shop-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.95rem;
}

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

.shop-breadcrumbs a:hover,
.shop-breadcrumbs a:focus-visible {
  color: var(--accent);
}

.shop-breadcrumbs span:last-child {
  color: var(--text);
  font-weight: 700;
}

.shop-kicker {
  margin: 0 0 0.85rem;
}

.shop-title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.shop-page--catalog .shop-title {
  max-width: none;
  font-size: clamp(1.95rem, 3vw, 2.85rem);
}

.shop-lead {
  max-width: 54rem;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.68;
  color: var(--muted);
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.shop-page--catalog .shop-hero,
.shop-page--product .shop-hero,
.shop-page--category .shop-hero {
  padding-top: clamp(1rem, 2vw, 1.4rem);
  padding-bottom: clamp(0.8rem, 1.6vw, 1.1rem);
}

.shop-content {
  padding-top: clamp(0.85rem, 1.8vw, 1.4rem);
}

.shop-page--catalog .shop-content {
  padding-top: clamp(0.55rem, 1.25vw, 1rem);
}

.shop-page--catalog .shop-title {
  max-width: none;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.shop-page--catalog .shop-lead {
  max-width: 42rem;
  margin-top: 0.45rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.shop-page--product .shop-hero-actions,
.shop-page--category .shop-hero-actions {
  margin-top: 0.25rem;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: 100%;
  align-items: end;
}

.shop-toolbar-search {
  display: grid;
  gap: 0.45rem;
}

.shop-toolbar-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.88);
}

.shop-toolbar-search input {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}

.shop-toolbar-search input:focus-visible {
  outline: 2px solid rgba(15, 111, 115, 0.18);
  border-color: rgba(15, 111, 115, 0.28);
}

.shop-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.shop-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.88rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.05);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.shop-chip-link strong {
  color: var(--accent);
}

.shop-chip-link:hover,
.shop-chip-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 115, 0.22);
}


.shop-search-panel {
  display: grid;
  gap: 1rem;
}

.shop-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.shop-search-field {
  display: grid;
  gap: 0.45rem;
}

.shop-search-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.88);
}

.shop-search-field input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}

.shop-search-field input:focus-visible {
  outline: 2px solid rgba(15, 111, 115, 0.18);
  border-color: rgba(15, 111, 115, 0.28);
}

.shop-search-stat {
  display: grid;
  gap: 0.2rem;
  min-width: 12rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 111, 115, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(15, 111, 115, 0.06) 100%);
}

.shop-search-stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.shop-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.shop-filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 0.78rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.72rem;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.shop-filter-chip:hover,
.shop-filter-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 111, 115, 0.22);
  color: var(--accent);
}

.shop-filter-chip.is-active {
  background: rgba(15, 111, 115, 0.11);
  border-color: rgba(15, 111, 115, 0.28);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(15, 111, 115, 0.04);
}

.shop-filter-chip--muted {
  background: rgba(201, 122, 43, 0.06);
  border-color: rgba(201, 122, 43, 0.18);
}

.shop-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-storefront-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.2rem;
}

.shop-storefront-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.shop-storefront {
  display: grid;
}

.shop-store-shell {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

.shop-page--catalog .shop-store-shell {
  gap: clamp(0.55rem, 1vw, 0.8rem);
}

.shop-store-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 16rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}

.shop-store-main {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.shop-side-nav-wrap {
  position: sticky;
  top: 6.4rem;
  align-self: start;
}

.shop-side-nav-toggle {
  display: none;
}

.shop-side-nav-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1.25rem;
}

.shop-side-nav-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-side-nav {
  display: grid;
  gap: 0.4rem;
}

.shop-side-nav-link {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.shop-side-nav-link:hover,
.shop-side-nav-link:focus-visible {
  border-color: rgba(15, 111, 115, 0.18);
  color: var(--accent);
}

.shop-side-nav-link.is-active {
  background: rgba(15, 111, 115, 0.08);
  border-color: rgba(15, 111, 115, 0.22);
  color: var(--accent-ink);
}

.shop-catalog-overview,
.shop-catalog-browser {
  display: grid;
  gap: 1rem;
}

.shop-catalog-section {
  scroll-margin-top: 6.6rem;
}

.shop-active-section-slot {
  display: grid;
}

.shop-active-panel {
  display: grid;
  gap: 0.85rem;
}

.shop-subcategory-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shop-catalog-controls {
  display: grid;
  gap: 0;
  margin-bottom: 0.2rem;
  padding: 0.78rem;
  border: 1px solid rgba(15, 111, 115, 0.12);
  border-radius: 1.05rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 249, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(14, 66, 69, 0.045);
}

.shop-catalog-controls__nav {
  min-width: 0;
}

.shop-accessory-navigation {
  display: grid;
  gap: 0.65rem;
}

.shop-accessory-subgroups {
  display: grid;
  gap: 0.45rem;
  padding: 0.62rem 0.68rem;
  border-radius: 0.82rem;
  background: rgba(15, 111, 115, 0.055);
  border: 1px solid rgba(15, 111, 115, 0.1);
}

.shop-accessory-subgroups-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.shop-empty-state-inline {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(17, 17, 17, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.shop-catalog-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.shop-catalog-group-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 111, 115, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 111, 115, 0.05) 100%);
}

.shop-catalog-group-card.is-professional {
  background: linear-gradient(180deg, #ffffff 0%, rgba(201, 122, 43, 0.08) 100%);
}

.shop-catalog-group-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.shop-catalog-group-head h3,
.shop-catalog-mini-group h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}

.shop-catalog-subcategories {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-catalog-subcategories li {
  color: var(--muted);
  line-height: 1.5;
}

.shop-catalog-mini-nav {
  display: grid;
  gap: 1rem;
}

.shop-catalog-mini-group {
  display: grid;
  gap: 0.7rem;
}

.shop-storefront-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 16.25rem) minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 1.4rem);
  align-items: start;
}

.shop-storefront-sidebar,
.shop-storefront-main,
.shop-sidebar-panel,
.shop-benefits-panel {
  display: grid;
  gap: 1rem;
}

.shop-page--catalog .shop-sidebar-panel,
.shop-page--catalog .shop-catalog-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.shop-sidebar-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-category-sidebar {
  display: grid;
  gap: 0.45rem;
}

.shop-filter-link {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-radius: 0.95rem;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.shop-filter-link:hover,
.shop-filter-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 111, 115, 0.22);
  color: var(--accent);
}

.shop-filter-link.is-active {
  background: rgba(15, 111, 115, 0.08);
  border-color: rgba(15, 111, 115, 0.24);
  color: var(--accent-ink);
}

.shop-sidebar-search {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.shop-sidebar-search span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.shop-sidebar-search input {
  width: 100%;
  min-height: 2.8rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.78rem 0.9rem;
  font: inherit;
  color: var(--text);
}

.shop-sidebar-search input:focus-visible {
  outline: 2px solid rgba(15, 111, 115, 0.18);
  border-color: rgba(15, 111, 115, 0.28);
}

.shop-benefit-stack {
  display: grid;
  gap: 0.75rem;
}

.shop-benefit-pill {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 111, 115, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 111, 115, 0.05) 100%);
}

.shop-benefit-pill strong {
  font-size: 0.96rem;
}

.shop-benefit-pill span {
  color: var(--muted);
  line-height: 1.55;
}

.shop-storefront-mobile-filters {
  display: none;
}

.shop-catalog-panel {
  display: grid;
  gap: 1rem;
}

.shop-search-count {
  margin: 0;
  color: rgba(17, 17, 17, 0.82);
  font-weight: 700;
}

.shop-listing-toolbar {
  display: grid;
  grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
  align-items: end;
  gap: 0.7rem 1rem;
  margin: 0.72rem 0 0;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(15, 111, 115, 0.1);
}

.shop-listing-count {
  margin: 0;
  padding-bottom: 0.68rem;
  color: rgba(17, 17, 17, 0.82);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.shop-listing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: end;
  gap: 0.55rem;
}

.shop-toolbar-select {
  display: grid;
  gap: 0.22rem;
  min-width: min(100%, 11.5rem);
}

.shop-toolbar-select span {
  padding-left: 0.12rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-toolbar-select select {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.58rem 2.15rem 0.58rem 0.78rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.shop-toolbar-select select:focus-visible {
  outline: 2px solid rgba(15, 111, 115, 0.18);
  border-color: rgba(15, 111, 115, 0.3);
}

.shop-filter-reset {
  min-height: 2.55rem;
  align-self: end;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.78rem;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-filter-reset:hover,
.shop-filter-reset:focus-visible {
  background: rgba(15, 111, 115, 0.09);
  border-color: rgba(15, 111, 115, 0.14);
}

.shop-filter-reset:disabled {
  display: none;
}

.shop-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.15rem;
}

.shop-load-more-button {
  min-width: min(100%, 16rem);
}

.shop-search-empty {
  display: none;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(17, 17, 17, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.shop-search-empty.is-visible {
  display: block;
}

.shop-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}

.shop-supply-note {
  margin: -0.2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.shop-product-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-product-status-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shop-product-assurance {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.shop-check-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-check-list li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(17, 17, 17, 0.86);
  line-height: 1.55;
}

.shop-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.shop-check-list--compact {
  gap: 0.35rem;
}

.shop-check-list--compact li {
  font-size: 0.92rem;
  color: var(--muted);
}

.shop-check-list--micro li {
  font-size: 0.82rem;
  line-height: 1.45;
}

.shop-cart-button[disabled],
.shop-page .button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.shop-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.shop-advantage-card {
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 111, 115, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 111, 115, 0.06) 100%);
}

.shop-advantage-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.08;
}

.shop-grid--info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-gallery {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.shop-gallery-main {
  position: relative;
  overflow: hidden;
  min-height: clamp(20rem, 34vw, 29rem);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.shop-gallery-main img {
  display: block;
  width: 100%;
  max-width: 23rem;
  height: auto;
  object-fit: contain;
}

.shop-gallery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-gallery-thumb {
  position: relative;
  overflow: hidden;
  width: 4.5rem;
  aspect-ratio: 1;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.shop-delivery-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.shop-helper-card {
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 111, 115, 0.08) 100%);
}

.shop-summary-row--start {
  align-items: start;
}

.shop-summary-row--catalog {
  align-items: end;
}

.shop-page-content {
  display: grid;
  gap: clamp(1.35rem, 2.2vw, 2rem);
}

.shop-page--catalog .shop-page-content {
  gap: clamp(1rem, 1.6vw, 1.35rem);
}

.shop-grid,
.shop-categories-grid,
.shop-products-grid,
.shop-feature-grid,
.shop-cart-layout,
.shop-order-layout,
.shop-related-grid,
.shop-sidebar-stack {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

.shop-grid--two {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.shop-categories-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-products-grid,
.shop-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-products-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-products-grid--showcase {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-cart-layout,
.shop-order-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  align-items: start;
}

.shop-panel,
.shop-category-card,
.shop-product-card,
.shop-summary-card,
.shop-empty,
.shop-form-card,
.shop-detail-card,
.shop-note-card,
.shop-order-success {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shop-shadow);
}

.shop-panel,
.shop-summary-card,
.shop-empty,
.shop-form-card,
.shop-detail-card,
.shop-order-success {
  padding: clamp(1.15rem, 2vw, 1.8rem);
}

.shop-section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.shop-section-copy,
.shop-note,
.shop-summary-note,
.shop-form-note,
.shop-empty p,
.shop-order-message,
.shop-category-copy,
.shop-product-copy,
.shop-detail-copy,
.shop-cart-meta {
  color: var(--muted);
  line-height: 1.64;
}

.shop-category-card,
.shop-product-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.shop-category-card:hover,
.shop-category-card:focus-visible,
.shop-product-card:hover,
.shop-product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(17, 17, 17, 0.1);
  border-color: rgba(15, 111, 115, 0.18);
}

.shop-category-media,
.shop-product-media,
.shop-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
  min-height: 11.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shop-category-media::before,
.shop-product-media::before,
.shop-gallery-main::before,
.shop-gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.82) 48%, transparent 66%),
    linear-gradient(180deg, #f3f1eb 0%, #e8f1ef 100%);
  background-size: 220% 100%, 100% 100%;
  transition: opacity 0.2s ease;
}

.shop-category-media.is-image-loading::before,
.shop-product-media.is-image-loading::before,
.shop-gallery-main.is-image-loading::before,
.shop-gallery-thumb.is-image-loading::before {
  opacity: 1;
  animation: shop-image-shimmer 1.35s linear infinite;
}

.shop-category-media img,
.shop-product-media img,
.shop-gallery-main img,
.shop-gallery-thumb img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-category-media.is-image-loaded img,
.shop-product-media.is-image-loaded img,
.shop-gallery-main.is-image-loaded img,
.shop-gallery-thumb.is-image-loaded img {
  opacity: 1;
}

@keyframes shop-image-shimmer {
  to {
    background-position: -220% 0, 0 0;
  }
}

.shop-detail-media {
  background: transparent;
  padding: 0;
  min-height: auto;
}

.shop-category-media img,
.shop-product-media img,
.shop-detail-media img {
  display: block;
  width: 100%;
  max-width: 15rem;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.shop-category-title,
.shop-product-title,
.shop-detail-title,
.shop-order-title {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.06;
}

.shop-category-title {
  font-size: 1.1rem;
}

.shop-product-title {
  font-size: 1rem;
}

.shop-product-copy {
  display: -webkit-box;
  margin: 0.55rem 0 0;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.shop-detail-title {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.shop-badges,
.shop-meta-row,
.shop-actions,
.shop-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.shop-badge,
.shop-stock,
.shop-brand,
.shop-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-badge,
.shop-brand,
.shop-tag {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.shop-stock {
  background: rgba(15, 111, 115, 0.12);
  color: var(--accent-deep);
}

.shop-stock.is-order,
.shop-stock.is-pending {
  background: rgba(15, 111, 115, 0.12);
  color: var(--accent-deep);
}

.shop-stock.is-pending {
  background: rgba(201, 122, 43, 0.12);
  color: var(--warm-accent-deep);
}

.shop-price-block {
  display: grid;
  gap: 0.25rem;
}

.shop-price-old {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(32, 25, 20, 0.42);
}

.shop-price-main {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  color: var(--text);
}

.shop-price-main.is-request {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--accent-ink);
}

.shop-price-student {
  color: var(--accent);
  font-weight: 800;
}

.shop-price-note,
.shop-savings {
  font-size: 0.92rem;
  color: var(--muted);
}

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

.shop-attribute-item {
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 111, 115, 0.05) 100%);
  color: var(--muted);
  line-height: 1.58;
}

.shop-attribute-item strong,
.shop-summary-value,
.shop-cart-title a,
.shop-link,
.shop-order-success strong {
  color: var(--text);
}

.shop-actions .button,
.shop-detail-actions .button,
.shop-order-actions .button {
  min-width: 0;
}

.shop-page--catalog .shop-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.shop-page--catalog .shop-actions .button {
  width: 100%;
}

.shop-mobile-cart {
  display: none;
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.05fr);
  gap: clamp(1.2rem, 2.2vw, 2rem);
  align-items: start;
}

.shop-detail-side {
  display: grid;
  gap: 1rem;
}

.shop-product-information {
  display: grid;
  gap: 1.15rem;
}

.shop-product-information__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}

.shop-product-information__layout--attributes-only {
  grid-template-columns: 1fr;
}

.shop-description-content {
  min-width: 0;
}

.shop-description-content .shop-detail-copy {
  margin: 0 0 0.9rem;
}

.shop-description-content .shop-detail-copy:last-child {
  margin-bottom: 0;
}

.shop-description-list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.64;
}

.shop-description-list:last-child {
  margin-bottom: 0;
}

.shop-product-service-grid {
  align-items: stretch;
}

.shop-product-service-grid .shop-note-card {
  padding: clamp(1.15rem, 2vw, 1.8rem);
  border-radius: 1.75rem;
}

.shop-note-card {
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--warm-accent-soft) 100%);
  border-radius: 1.2rem;
}

.shop-note-card h3,
.shop-summary-card h3,
.shop-form-card h3,
.shop-empty h2,
.shop-order-success h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.shop-summary-list,
.shop-cart-list,
.shop-order-list {
  display: grid;
  gap: 0.9rem;
}

.shop-cart-item,
.shop-order-item {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.shop-cart-item:first-child,
.shop-order-item:first-child {
  padding-top: 0;
}

.shop-cart-item:last-child,
.shop-order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.shop-cart-row,
.shop-summary-row {
  justify-content: space-between;
}

.shop-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.shop-qty-control button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.shop-qty-control button:hover,
.shop-qty-control button:focus-visible,
.shop-cart-remove:hover,
.shop-cart-remove:focus-visible,
.shop-link:hover,
.shop-link:focus-visible {
  color: var(--accent);
}

.shop-qty-control span {
  min-width: 2.4rem;
  text-align: center;
  font-weight: 700;
}

.shop-cart-remove,
.shop-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.shop-summary-card {
  position: sticky;
  top: 5.5rem;
}

.shop-summary-total {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.shop-empty {
  text-align: left;
}

.shop-empty .button {
  margin-top: 1rem;
}

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

.shop-field {
  display: grid;
  gap: 0.45rem;
}

.shop-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.88);
}

.shop-field input,
.shop-field textarea,
.shop-field select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}

.shop-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.shop-field input:focus-visible,
.shop-field textarea:focus-visible,
.shop-field select:focus-visible {
  outline: 2px solid rgba(15, 111, 115, 0.18);
  border-color: rgba(15, 111, 115, 0.28);
}

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

.shop-bonuses {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(15, 111, 115, 0.16);
  border-radius: 1.2rem;
  background:
    linear-gradient(135deg, rgba(15, 111, 115, 0.08), rgba(244, 119, 43, 0.06)),
    rgba(255, 255, 255, 0.72);
}

.shop-bonuses-copy {
  display: grid;
  gap: 0.35rem;
}

.shop-bonuses h4,
.shop-bonuses p {
  margin: 0;
}

.shop-bonuses h4 {
  font-size: 1rem;
  color: var(--accent-deep);
}

.shop-bonuses p {
  color: var(--muted);
  line-height: 1.55;
}

.shop-bonuses-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  cursor: pointer;
}

.shop-bonuses-toggle input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.05rem 0 0;
  accent-color: var(--accent-deep);
  flex: 0 0 auto;
}

.shop-bonuses-amount[hidden] {
  display: none;
}

.shop-bonuses-note {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 111, 115, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
}

.shop-order-message {
  margin: 0;
}

.shop-order-message.is-success {
  color: var(--accent-deep);
}

.shop-order-message.is-error {
  color: #bf3f46;
}

.shop-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(11, 31, 36, 0.94);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 10, 34, 0.22);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 30;
}

.shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-order-success {
  text-align: left;
}

.shop-order-success .button {
  margin-top: 0.75rem;
}

@media (max-width: 1120px) {
  .shop-categories-grid,
  .shop-products-grid,
  .shop-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-catalog-groups,
  .shop-products-grid--showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .shop-storefront-sidebar {
    display: none;
  }

  .shop-storefront-mobile-filters {
    display: block;
  }

  .shop-storefront-meta {
    min-height: 2.8rem;
  }

  .shop-products-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-advantage-grid,
  .shop-feature-grid,
  .shop-grid--two,
  .shop-grid--info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-cart-layout,
  .shop-order-layout,
  .shop-detail-layout,
  .shop-product-information__layout {
    grid-template-columns: 1fr;
  }

  .shop-summary-card {
    position: static;
  }
}

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

  .shop-side-nav-wrap {
    position: static;
  }

  .shop-side-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
    font-weight: 700;
  }

  .shop-side-nav-panel {
    display: none;
    margin-top: 0.6rem;
  }

  .shop-side-nav-panel.is-open {
    display: grid;
  }

  .shop-listing-toolbar {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .shop-listing-count {
    padding-bottom: 0;
  }

  .shop-listing-actions {
    justify-content: flex-start;
  }
}

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

  .shop-categories-grid,
  .shop-products-grid,
  .shop-related-grid,
  .shop-advantage-grid,
  .shop-feature-grid,
  .shop-form-grid,
  .shop-attribute-list,
  .shop-grid--info {
    grid-template-columns: 1fr 1fr;
  }

  .shop-search-layout,
  .shop-summary-row--catalog {
    grid-template-columns: 1fr;
  }

  .shop-products-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-catalog-groups,
  .shop-products-grid--showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .shop-page .section {
    padding-top: 1.15rem;
    padding-bottom: clamp(2.7rem, 8vw, 3.5rem);
  }

  .shop-content,
  .shop-page--catalog .shop-content {
    padding-top: 0.35rem;
  }

  .shop-page--catalog.shop-page--dynamic-category .shop-hero {
    padding-top: 0.65rem;
    padding-bottom: 0.2rem;
  }

  .shop-page--dynamic-category .shop-content {
    padding-top: 0.2rem;
  }

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

  .shop-side-nav-wrap {
    position: static;
  }

  .shop-side-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
    font-weight: 700;
  }

  .shop-side-nav-panel {
    display: none;
    margin-top: 0.7rem;
  }

  .shop-side-nav-panel.is-open {
    display: grid;
  }

  .shop-hero {
    padding-top: 0.8rem;
    padding-bottom: 0.6rem;
  }

  .shop-storefront-meta {
    display: none;
  }

  .shop-subcategory-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.6rem, 1fr));
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .shop-subcategory-nav .shop-filter-chip {
    width: 100%;
    min-height: 2.65rem;
    padding: 0.54rem 0.7rem;
    justify-content: center;
  }

  .shop-accessory-subgroups {
    padding: 0.7rem;
  }

  .shop-accessory-subgroups-title {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .shop-catalog-controls {
    padding: 0.65rem;
    border-radius: 0.92rem;
  }

  .shop-catalog-controls .shop-listing-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-catalog-controls .shop-listing-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
  }

  .shop-catalog-controls .shop-filter-reset {
    grid-column: 1 / -1;
    width: auto;
    justify-self: start;
  }

  .shop-catalog-controls .shop-toolbar-select {
    min-width: 0;
  }

  .shop-page--catalog .shop-store-shell {
    gap: 0.45rem;
  }

  .shop-title {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .shop-lead {
    line-height: 1.58;
  }

  .shop-toolbar,
  .shop-hero-actions,
  .shop-actions,
  .shop-detail-actions,
  .shop-order-actions,
  .shop-inline-actions,
  .shop-listing-toolbar,
  .shop-listing-actions,
  .shop-search-layout,
  .shop-summary-row--catalog {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-chip-link,
  .shop-actions .button,
  .shop-detail-actions .button,
  .shop-order-actions .button,
  .shop-inline-actions .button,
  .shop-toolbar-actions .button,
  .shop-load-more-button,
  .shop-search-stat {
    width: 100%;
    min-width: 0;
  }

  .shop-toolbar-select {
    min-width: 0;
  }

  .shop-toolbar-actions {
    justify-content: stretch;
  }

  .shop-categories-grid,
  .shop-related-grid,
  .shop-advantage-grid,
  .shop-feature-grid,
  .shop-form-grid,
  .shop-attribute-list,
  .shop-grid--info {
    grid-template-columns: 1fr;
  }

  .shop-products-grid,
  .shop-products-grid--catalog,
  .shop-products-grid--showcase {
    grid-template-columns: 1fr 1fr;
  }

  .shop-storefront-mobile-filters {
    display: block;
    margin-bottom: 0.35rem;
  }

  .shop-mobile-cart {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3.25rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(15, 111, 115, 0.24);
  }

  .shop-page--catalog .shop-page-content {
    padding-bottom: 5.5rem;
  }

  .shop-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .shop-category-media,
  .shop-product-media {
    min-height: 11rem;
  }

  .shop-category-media img,
  .shop-product-media img {
    max-width: 12rem;
  }

  .shop-gallery-main {
    min-height: 15rem;
  }

  .shop-gallery-thumb {
    width: 4rem;
  }

  .shop-cart-item {
    gap: 0.9rem;
  }

  .shop-cart-row,
  .shop-summary-row {
    gap: 0.6rem;
  }

  .shop-toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .shop-panel,
  .shop-summary-card,
  .shop-empty,
  .shop-form-card,
  .shop-detail-card,
  .shop-order-success,
  .shop-category-card,
  .shop-product-card {
    padding: 1rem;
    border-radius: 1.35rem;
  }

  .shop-price-main {
    font-size: 1.15rem;
  }

  .shop-breadcrumbs {
    font-size: 0.8rem;
  }

  .shop-products-grid,
  .shop-products-grid--catalog,
  .shop-products-grid--showcase,
  .shop-related-grid,
  .shop-catalog-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .shop-main::before,
  .shop-main::after {
    display: none;
  }

  .shop-subcategory-nav {
    grid-template-columns: 1fr 1fr;
  }
}
