:root {
  --shop-bg: #fffaf1;
  --shop-surface: #ffffff;
  --shop-ink: #18211f;
  --shop-muted: #69736f;
  --shop-line: #eadfce;
  --shop-coral: #ff6b4a;
  --shop-coral-dark: #dd472c;
  --shop-mint: #22b8a4;
  --shop-lime: #c8e84a;
  --shop-yellow: #ffd45a;
  --shop-berry: #d83b72;
  --shop-radius: 14px;
  --shop-radius-sm: 9px;
  --shop-shadow: 0 18px 50px rgba(69, 50, 27, .12);
  --shop-shadow-soft: 0 10px 30px rgba(69, 50, 27, .08);
  --shop-max: 1180px;
}

* {
  box-sizing: border-box;
}

body.shop {
  margin: 0;
  background: var(--shop-bg);
  color: var(--shop-ink);
  font-family: "Manrope", "Trebuchet MS", system-ui, sans-serif;
  line-height: 1.55;
}

.shop a {
  color: inherit;
}

.shop :focus-visible {
  outline: 3px solid rgba(34, 184, 164, .45);
  outline-offset: 3px;
}

.shop-wrap {
  width: min(var(--shop-max), calc(100% - 32px));
  margin: 0 auto;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 241, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 223, 206, .8);
}

.shop-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.shop-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: conic-gradient(from 180deg, var(--shop-coral), var(--shop-yellow), var(--shop-mint), var(--shop-coral));
  box-shadow: 0 8px 22px rgba(255, 107, 74, .24);
}

.shop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.shop-nav a {
  text-decoration: none;
  color: #33413d;
}

.shop-nav a:hover {
  color: var(--shop-coral-dark);
}

.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-btn,
.shop button.shop-btn,
.shop .shop-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--shop-coral);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255, 107, 74, .22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.shop-btn:hover {
  background: var(--shop-coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(255, 107, 74, .3);
}

.shop-btn--ghost {
  background: #fff;
  color: var(--shop-ink);
  border: 1px solid var(--shop-line);
  box-shadow: none;
}

.shop-btn--ghost:hover {
  background: #fff7e8;
  color: var(--shop-coral-dark);
  box-shadow: none;
}

.shop-cart-link {
  position: relative;
  min-width: 46px;
  padding-inline: 13px;
}

.shop-cart-link .ms3_total_count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--shop-lime);
  color: #22300f;
  font-size: 12px;
}

.shop-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fff;
}

.shop-mobile-toggle span,
.shop-mobile-toggle span::before,
.shop-mobile-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--shop-ink);
  content: "";
}

.shop-mobile-toggle span::before {
  transform: translateY(-6px);
}

.shop-mobile-toggle span::after {
  transform: translateY(4px);
}

.shop-hero {
  padding: 44px 0 28px;
}

.shop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 34px;
  align-items: center;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(34, 184, 164, .24);
  border-radius: 999px;
  background: #ecfffa;
  color: #0e7468;
  font-size: 13px;
  font-weight: 900;
}

.shop-hero h1,
.shop-page-hero h1 {
  margin: 18px 0 14px;
  max-width: 780px;
  font-family: "Trebuchet MS", "Manrope", system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}

.shop-lead {
  max-width: 660px;
  color: #4f5c57;
  font-size: clamp(17px, 2vw, 21px);
}

.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.shop-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shop-quick__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--shop-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  text-align: center;
}

.shop-visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 212, 90, .95), rgba(255, 107, 74, .82)),
    #ffd45a;
  box-shadow: var(--shop-shadow);
  overflow: hidden;
}

.shop-visual::before {
  position: absolute;
  inset: 22px;
  border: 2px dashed rgba(255, 255, 255, .62);
  border-radius: 20px;
  content: "";
}

.shop-pack {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 45px rgba(75, 43, 22, .16);
  font-size: 46px;
}

.shop-pack--one {
  width: 160px;
  height: 190px;
  left: 40px;
  top: 78px;
  transform: rotate(-8deg);
}

.shop-pack--two {
  width: 190px;
  height: 150px;
  right: 44px;
  top: 42px;
  transform: rotate(7deg);
}

.shop-pack--three {
  width: 210px;
  height: 132px;
  right: 74px;
  bottom: 56px;
  background: #ecfffa;
  transform: rotate(-3deg);
}

.shop-section {
  padding: 40px 0;
}

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

.shop-section h2,
.shop-section__head h2,
.shop-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.shop-section__head p {
  max-width: 540px;
  margin: 8px 0 0;
  color: var(--shop-muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

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

.shop-category-tile,
.shop-product-card,
.shop-info-card,
.shop-review,
.shop-faq-item {
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-surface);
  box-shadow: var(--shop-shadow-soft);
}

.shop-category-tile {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease;
}

.shop-category-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 74, .5);
}

.shop-category-tile__icon,
.shop-product-card__image,
.shop-product-gallery__main,
.shop-thumb {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .9), transparent 34%),
    linear-gradient(135deg, var(--tile-a, #ffcf5a), var(--tile-b, #22b8a4));
}

.shop-category-tile__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 28px;
}

.shop-category-tile h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.shop-category-tile p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 13px;
}

.shop-product-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}

.shop-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(69, 50, 27, .15);
}

.shop-product-card__image {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  color: rgba(24, 33, 31, .72);
  text-decoration: none;
  overflow: hidden;
}

.shop-product-card__image span {
  max-width: 78%;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
  font-weight: 900;
}

.shop-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.shop-product-card h3 {
  min-height: 48px;
  margin: 8px 0 8px;
  font-size: 17px;
  line-height: 1.2;
}

.shop-product-card h3 a {
  text-decoration: none;
}

.shop-product-card__text {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--shop-muted);
  font-size: 14px;
}

.shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfffa;
  color: #0e7468;
  font-size: 12px;
  font-weight: 900;
}

.shop-badge--hit {
  background: #fff1b9;
  color: #7d5600;
}

.shop-badge--sale {
  background: #ffe4e8;
  color: #9e244a;
}

.shop-badge--last {
  background: #f1e9ff;
  color: #5b2db7;
}

.shop-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.shop-price__current {
  color: var(--shop-coral-dark);
  font-size: 22px;
  font-weight: 1000;
}

.shop-price__old {
  color: var(--shop-muted);
  text-decoration: line-through;
}

.shop-product-card__meta,
.shop-stock {
  color: var(--shop-muted);
  font-size: 13px;
}

.shop-product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 14px;
}

.shop-product-card__actions form {
  margin: 0;
}

.shop-product-card__actions .shop-btn {
  width: 100%;
}

.shop-page-hero {
  padding: 36px 0 18px;
}

.shop-page-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 26px;
  border: 1px solid var(--shop-line);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #fff3dc);
  box-shadow: var(--shop-shadow-soft);
}

.shop-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--shop-muted);
  font-size: 14px;
}

.shop-breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(112, 93, 67, .55);
}

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

.shop-breadcrumbs a:hover {
  color: var(--shop-coral-dark);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.shop-toolbar.is-loading {
  opacity: .58;
  pointer-events: none;
}

.shop-filters {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: #fff;
  box-shadow: var(--shop-shadow-soft);
}

.shop-filters__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 1000;
}

.shop-filters [data-shop-filters-toggle] {
  display: none;
}

@media (min-width: 821px) {
  .shop-filters [data-shop-filters-toggle] {
    display: none !important;
  }
}

.shop-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.shop-field label {
  font-size: 13px;
  font-weight: 900;
}

.shop-price-filter {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.shop-price-filter__head,
.shop-price-filter__values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-price-filter__head {
  font-size: 13px;
  font-weight: 900;
}

.shop-price-filter__values {
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 800;
}

.shop-price-filter .noUi-target {
  height: 8px;
  margin: 8px 10px 12px;
  border: 0;
  border-radius: 999px;
  background: #efe3cd;
  box-shadow: none;
}

.shop-price-filter .noUi-connect {
  background: var(--shop-coral);
}

.shop-price-filter .noUi-handle {
  width: 22px;
  height: 22px;
  right: -11px;
  top: -7px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--shop-ink);
  box-shadow: 0 8px 18px rgba(24, 33, 31, .2);
  cursor: grab;
}

.shop-price-filter .noUi-handle::before,
.shop-price-filter .noUi-handle::after {
  display: none;
}

.shop-price-filter .noUi-handle:focus {
  outline: 3px solid rgba(255, 107, 74, .28);
}

.shop-field input,
.shop-field select,
.shop-field textarea,
.shop-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--shop-ink);
  font: inherit;
}

.shop-checks {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.shop-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.shop-sort form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.shop-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .55fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background: #18211f;
  color: #fff;
  overflow: hidden;
}

.shop-promo p {
  color: rgba(255, 255, 255, .76);
}

.shop-promo__tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shop-promo__tile {
  min-height: 105px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--shop-ink);
  font-size: 34px;
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.shop-info-card,
.shop-review,
.shop-faq-item {
  padding: 18px;
}

.shop-info-card strong,
.shop-review strong {
  display: block;
  margin-bottom: 5px;
}

.shop-muted {
  color: var(--shop-muted);
}

.shop-product-page {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 34px;
  align-items: start;
}

.shop-product-gallery {
  display: grid;
  gap: 14px;
}

.shop-product-gallery__main {
  min-height: 490px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  box-shadow: var(--shop-shadow);
  font-size: 58px;
  font-weight: 1000;
  text-align: center;
}

.shop-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.shop-thumb {
  min-height: 92px;
  border-radius: 14px;
}

.shop-product-buy {
  padding: 24px;
  border: 1px solid var(--shop-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shop-shadow-soft);
}

.shop-product-buy h1 {
  margin: 12px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.shop-product-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.shop-option {
  padding: 12px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fffaf1;
}

.shop-option span {
  display: block;
  color: var(--shop-muted);
  font-size: 12px;
  font-weight: 900;
}

.shop-product-actions {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin-top: 18px;
}

.shop-product-actions input[type="number"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  text-align: center;
  font: inherit;
  font-weight: 900;
}

.shop-content {
  max-width: 800px;
  color: #3d4a46;
}

.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.shop-cart-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--shop-radius);
  background: #fff;
  box-shadow: var(--shop-shadow-soft);
}

.shop-cart-table th,
.shop-cart-table td {
  padding: 14px;
  border-bottom: 1px solid var(--shop-line);
  text-align: left;
  vertical-align: middle;
}

.shop-cart-table th {
  background: #fff3dc;
  font-size: 13px;
  text-transform: uppercase;
}

.shop-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-cart-item__image {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shop-yellow), var(--shop-mint));
}

.shop-order-form {
  padding: 22px;
  border: 1px solid var(--shop-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shop-shadow-soft);
}

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

.shop-full {
  grid-column: 1 / -1;
}

.shop-radio-list {
  display: grid;
  gap: 10px;
}

.shop-radio-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fffdf8;
}

.shop-radio-card input[type="radio"],
.shop-radio-card input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
}

.shop-radio-card span {
  flex: 1;
}

.shop-empty {
  padding: 30px;
  border: 1px dashed var(--shop-line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.shop-grid > .shop-empty {
  grid-column: 1 / -1;
}

.shop-footer {
  margin-top: 54px;
  padding: 36px 0;
  background: #18211f;
  color: #fff;
}

.shop-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .6fr));
  gap: 22px;
}

.shop-footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
}

.shop-footer a:hover {
  color: #fff;
}

.ms3-cart-controls[data-cart-state="change"],
.ms3_form[data-cart-state="change"] {
  display: none;
}

.shop .old_price {
  color: var(--shop-muted);
  text-decoration: line-through;
}

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

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

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

@media (max-width: 820px) {
  .shop-header__inner {
    min-height: 66px;
  }

  .shop-mobile-toggle {
    order: 3;
    display: grid;
    place-items: center;
  }

  .shop-logo {
    order: 1;
  }

  .shop-header__actions {
    order: 2;
    margin-left: auto;
  }

  .shop-nav {
    order: 4;
    position: fixed;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shop-shadow);
  }

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

  .shop-hero__grid,
  .shop-page-hero__panel,
  .shop-promo,
  .shop-product-page,
  .shop-toolbar,
  .shop-footer__grid {
    grid-template-columns: 1fr;
  }

  .shop-visual {
    min-height: 300px;
  }

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

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

  .shop-toolbar .shop-grid--products {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    position: static;
  }

  .shop-filters [data-shop-filters-toggle] {
    display: inline-flex;
  }

  .shop-filters__body {
    display: none;
  }

  .shop-filters.is-open .shop-filters__body {
    display: block;
  }

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

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

@media (max-width: 520px) {
  .shop-wrap {
    width: min(100% - 22px, var(--shop-max));
  }

  .shop-header__actions .shop-btn--ghost {
    display: none;
  }

  .shop-hero h1,
  .shop-page-hero h1 {
    font-size: 38px;
  }

  .shop-grid--categories,
  .shop-grid--products,
  .shop-grid,
  .shop-info-grid,
  .shop-product-options,
  .shop-product-actions {
    grid-template-columns: 1fr;
  }

  .shop-product-card {
    min-height: 0;
  }

  .shop-product-gallery__main {
    min-height: 310px;
    font-size: 36px;
  }

  .shop-cart-table thead {
    display: none;
  }

  .shop-cart-table,
  .shop-cart-table tbody,
  .shop-cart-table tr,
  .shop-cart-table td {
    display: block;
    width: 100%;
  }

  .shop-cart-table td {
    border-bottom: 0;
  }
}
