body.gulu-shop-page {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 18px 48px;
}

.gulu-shop-shell {
  display: flex;
  flex-direction: column;
  width: min(1640px, calc(100vw - 96px));
  min-width: 1180px;
  height: calc(100vh - 36px);
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.gulu-shop-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 12px;
}

.gulu-shop-main .gulu-hero {
  flex: 0 0 158px;
  height: 158px;
}

.gulu-shop-grid {
  display: grid;
  grid-template-columns: 260px minmax(620px, 1fr) 288px;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 12px;
  align-items: stretch;
}

.gulu-rail,
.gulu-catalog,
.gulu-cart {
  min-height: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
}

.gulu-rail {
  display: flex;
  flex-direction: column;
  overflow: hidden auto;
  padding: 18px;
  scrollbar-gutter: stable;
}

.gulu-catalog {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 20px;
}

.gulu-cart {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
}

.gulu-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gulu-text);
  font-size: 18px;
  font-weight: 950;
}

.gulu-section-title::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gulu-brand);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #fff 0 35%, var(--gulu-brand-soft) 36% 100%);
}

.gulu-category-list {
  display: flex;
  justify-content: flex-start;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  margin: 0;
  overflow: visible;
  padding-right: 2px;
}

.gulu-category {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--gulu-radius-md);
  background: transparent;
  color: var(--gulu-text);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gulu-category:hover,
.gulu-category.active {
  border-color: rgba(15, 121, 88, 0.18);
  background: var(--gulu-brand-soft);
}

.gulu-category:hover {
  transform: translateX(2px);
}

.gulu-category img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.gulu-category strong {
  display: block;
  overflow: hidden;
  color: var(--gulu-text);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-category small {
  display: block;
  overflow: hidden;
  color: var(--gulu-muted);
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-category-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--gulu-brand);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.gulu-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gulu-line);
  overflow: visible;
}

.gulu-quick-links a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-md);
  background: #fff;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.gulu-quick-links a:hover {
  border-color: rgba(15, 121, 88, 0.22);
  background: #f7fbf9;
}

.gulu-link-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gulu-brand-soft);
  color: var(--gulu-brand);
  font-size: 12px;
  font-weight: 950;
}

.gulu-quick-links strong {
  display: block;
  color: var(--gulu-text);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
}

.gulu-quick-links span {
  display: block;
  overflow: hidden;
  color: var(--gulu-muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-rail-fill {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 168px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 121, 88, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(230, 244, 239, 0.82)),
    url("/assets/gulu-page-bg.png") 64% 76% / 260% auto no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.gulu-rail-fill-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  border-radius: var(--gulu-radius-md);
  background: transparent;
}

.gulu-rail-fill-head img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.gulu-rail-fill-head strong {
  display: block;
  overflow: hidden;
  color: var(--gulu-text);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-rail-fill-head small {
  display: block;
  margin-top: 4px;
  color: var(--gulu-muted);
  font-size: 12px;
  line-height: 1.2;
}

.gulu-rail-fill-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(36px, 1fr));
  gap: 8px;
  flex: 1 1 auto;
}

.gulu-rail-fill-grid span {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 121, 88, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.gulu-rail-fill-grid b {
  color: var(--gulu-brand);
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
}

.gulu-rail-fill-grid small {
  overflow: hidden;
  color: var(--gulu-muted);
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-filter-area {
  flex: 0 0 auto;
}

#cat-intro {
  display: none;
}

.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 44px;
  margin: 0;
}

.filter-item {
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 0;
  border: 0;
  background: transparent;
}

.filter-label {
  color: var(--gulu-muted);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.filter-item select,
.filter-item input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
}

#tool-preview-row {
  margin: 0;
}

.gulu-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin-top: 14px;
  overflow: hidden auto;
  padding: 0 4px 4px 0;
  background:
    linear-gradient(180deg, transparent 0 52%, rgba(230, 244, 239, 0.18) 100%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(232, 238, 235, 0.42) 48px);
  background-clip: content-box;
}

.gulu-empty-state {
  display: grid;
  place-items: center;
  min-height: 168px;
  border: 1px dashed rgba(15, 121, 88, 0.24);
  border-radius: var(--gulu-radius-md);
  background: linear-gradient(135deg, rgba(230, 244, 239, 0.6), rgba(255, 255, 255, 0.88));
  color: var(--gulu-muted);
  font-size: 13px;
  text-align: center;
}

.gulu-catalog-helper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 14px;
}

.gulu-catalog-helper span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-md);
  background: linear-gradient(135deg, rgba(230, 244, 239, 0.7), rgba(255, 255, 255, 0.96));
}

.gulu-catalog-helper b {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--gulu-brand);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.gulu-catalog-helper strong {
  overflow: hidden;
  color: var(--gulu-brand);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-catalog-helper small {
  overflow: hidden;
  color: var(--gulu-muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item.gulu-product-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-md);
  background: #fff;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-item.gulu-product-row:hover {
  border-color: rgba(15, 121, 88, 0.24);
  box-shadow: 0 10px 26px rgba(15, 121, 88, 0.08);
  transform: translateY(-1px);
}

.gulu-product-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 6px;
  border: 1px solid rgba(15, 121, 88, 0.14);
  border-radius: var(--gulu-radius-md);
  background: linear-gradient(135deg, #fff8e8, var(--gulu-brand-soft));
}

.gulu-product-icon img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.product-header {
  display: block;
  margin: 0;
}

.product-title {
  margin: 0;
  color: var(--gulu-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
}

.gulu-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--gulu-brand-soft) !important;
  color: var(--gulu-brand);
  font-size: 11px;
  line-height: 20px;
  font-weight: 900;
}

.product-badge.gulu-badge-warm {
  background: #f8efd8 !important;
  color: #9b6d18;
}

.product-badge.gulu-badge-neutral {
  background: #f5f7f6 !important;
  color: var(--gulu-muted);
}

.product-desc {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--gulu-muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}

.product-price {
  color: var(--gulu-brand);
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  text-align: right;
}

.product-controls {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 8px;
  align-items: center;
}

.gulu-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 0;
  border-radius: var(--gulu-radius-sm);
  background: linear-gradient(135deg, #18a37e, var(--gulu-brand));
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 121, 88, 0.16);
}

.gulu-add-btn:hover {
  background: var(--gulu-brand-dark);
}

.qty-input {
  width: 116px;
  height: 32px;
  padding: 0 8px;
  text-align: center;
  font-weight: 950;
}

.gulu-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--gulu-text);
  font-size: 18px;
  font-weight: 950;
}

.gulu-cart-head small {
  color: var(--gulu-muted);
  font-size: 11px;
  font-weight: 800;
}

.gulu-cart-lines {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 16px;
  overflow: hidden auto;
}

.gulu-empty-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 18px;
  border: 1px dashed rgba(15, 121, 88, 0.22);
  border-radius: var(--gulu-radius-md);
  background:
    radial-gradient(circle at 50% 36%, rgba(15, 121, 88, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(230, 244, 239, 0.72), rgba(255, 250, 238, 0.88));
  color: var(--gulu-muted);
  text-align: center;
}

.gulu-empty-cart strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gulu-text);
  font-size: 14px;
}

.gulu-cart-summary {
  display: grid;
  align-self: start;
  width: 100%;
  gap: 8px;
}

.gulu-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-sm);
  background: #fff;
}

.gulu-cart-line strong {
  display: block;
  overflow: hidden;
  color: var(--gulu-text);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gulu-cart-line span {
  display: block;
  margin-top: 4px;
  color: var(--gulu-muted);
  font-size: 11px;
}

.gulu-cart-line em {
  color: var(--gulu-brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.gulu-cart-points {
  display: grid;
  gap: 7px;
  flex: 0 0 auto;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--gulu-line);
  border-bottom: 1px solid var(--gulu-line);
}

.gulu-cart-points span {
  position: relative;
  padding-left: 16px;
  color: var(--gulu-muted);
  font-size: 12px;
}

.gulu-cart-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gulu-brand);
}

.gulu-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 12px;
}

.gulu-total span {
  color: var(--gulu-muted);
  font-size: 13px;
}

#total {
  color: var(--gulu-brand) !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1;
}

.gulu-checkout {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  font-size: 15px;
}

.gulu-footer-note {
  flex: 0 0 auto;
  margin: 10px 0 0;
  color: var(--gulu-muted);
  font-size: 11px;
  line-height: 1.5;
}

.gulu-bottom-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 0 0 auto;
  margin-top: 12px;
}

.gulu-bottom-strip div {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-md);
  background: rgba(255, 255, 255, 0.96);
}

.gulu-bottom-strip strong {
  display: block;
  color: var(--gulu-brand);
  font-size: 13px;
  font-weight: 950;
}

.gulu-bottom-strip span {
  display: block;
  margin-top: 4px;
  color: var(--gulu-muted);
  font-size: 12px;
}

@media (max-width: 1320px) {
  body.gulu-shop-page {
    padding: 14px 28px;
  }

  .gulu-shop-shell {
    width: min(1280px, calc(100vw - 56px));
    min-width: 1120px;
    height: calc(100vh - 28px);
  }

  .gulu-shop-grid {
    grid-template-columns: 238px minmax(560px, 1fr) 270px;
  }
}

@media (max-width: 1180px) {
  .gulu-bottom-strip {
    display: none;
  }
}

@media (max-height: 940px) and (min-width: 1181px) {
  body.gulu-shop-page {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .gulu-shop-shell {
    height: calc(100vh - 28px);
  }

  .gulu-topbar {
    height: 52px;
  }

  .gulu-nav a {
    height: 52px;
  }

  .gulu-shop-main {
    margin-top: 8px;
  }

  .gulu-shop-main .gulu-hero {
    flex-basis: 128px;
    height: 128px;
    min-height: 128px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .gulu-shop-grid {
    margin-top: 10px;
  }

  .gulu-rail,
  .gulu-catalog,
  .gulu-cart {
    padding: 16px;
  }

  .gulu-section-title {
    margin-bottom: 14px;
  }

  .gulu-category-list {
    gap: 7px;
  }

  .gulu-category {
    min-height: 48px;
    padding: 7px 9px;
  }

  .gulu-category img {
    width: 32px;
    height: 32px;
  }

  .gulu-quick-links {
    gap: 7px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .gulu-quick-links a {
    min-height: 52px;
    padding: 8px 10px;
  }

  .gulu-rail-fill {
    min-height: 124px;
    margin-top: 14px;
    padding: 11px;
    gap: 8px;
  }

  .gulu-rail-fill-head {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .gulu-rail-fill-head img {
    width: 36px;
    height: 36px;
  }

  .gulu-rail-fill-head strong {
    font-size: 14px;
  }

  .gulu-rail-fill-head small {
    font-size: 11px;
  }

  .gulu-rail-fill-grid {
    gap: 5px;
    grid-template-rows: repeat(3, minmax(24px, 1fr));
  }

  .gulu-rail-fill-grid span {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 24px;
    padding: 4px 8px;
  }

  .gulu-rail-fill-grid b {
    font-size: 14px;
  }

  .filters {
    min-height: 40px;
  }

  .gulu-products {
    gap: 10px;
    margin-top: 10px;
  }

  .product-item.gulu-product-row {
    min-height: 100px;
    padding: 10px 14px;
  }

  .gulu-catalog-helper {
    padding-top: 10px;
  }
}

@media (max-height: 760px) and (min-width: 1181px) {
  body.gulu-shop-page {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .gulu-shop-shell {
    height: calc(100vh - 16px);
    min-height: 0;
  }

  .gulu-topbar {
    height: 52px;
  }

  .gulu-nav a {
    height: 52px;
  }

  .gulu-shop-main {
    margin-top: 6px;
  }

  .gulu-shop-main .gulu-hero {
    flex-basis: 96px;
    height: 96px;
    min-height: 96px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .gulu-hero-content img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .gulu-eyebrow {
    margin-bottom: 5px;
  }

  .gulu-title {
    font-size: 24px;
  }

  .gulu-hero-copy {
    margin-top: 7px;
    font-size: 12px;
  }

  .gulu-shop-grid {
    margin-top: 6px;
  }

  .gulu-quick-links a {
    min-height: 48px;
  }

  .gulu-rail-fill {
    min-height: 96px;
    margin-top: 10px;
    padding: 9px;
  }

  .gulu-rail-fill-head {
    display: none;
  }

  .gulu-rail-fill-grid {
    grid-template-rows: repeat(3, minmax(24px, 1fr));
    gap: 6px;
  }

  .gulu-rail-fill-grid span {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 24px;
    padding: 4px 8px;
  }

  .gulu-rail-fill-grid b {
    font-size: 14px;
  }

  .gulu-rail-fill-grid small {
    font-size: 11px;
  }

  .product-item.gulu-product-row {
    min-height: 96px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .gulu-bottom-strip {
    display: none;
  }
}

@media (max-width: 1180px) {
  body.gulu-shop-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
    padding: 12px;
  }

  .gulu-shop-shell {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    overflow: visible;
  }

  .gulu-shop-main .gulu-hero {
    flex-basis: auto;
    height: auto;
  }

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

  .gulu-rail,
  .gulu-catalog,
  .gulu-cart {
    height: auto;
  }

  .gulu-category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: initial;
    flex: 0 0 auto;
    overflow: visible;
  }

  .gulu-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: initial;
    flex: 0 0 auto;
    margin-top: 16px;
    overflow: visible;
  }

  .gulu-products {
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .gulu-category-list,
  .gulu-quick-links {
    grid-template-columns: 1fr;
  }

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

  .product-item.gulu-product-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .product-footer {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .product-price {
    text-align: left;
  }
}

@media (max-width: 1180px) {
  body.gulu-shop-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }

  .gulu-shop-shell {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .gulu-shop-main {
    display: block;
    min-height: 0;
  }

  .gulu-shop-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
    overflow: visible;
  }

  .gulu-rail,
  .gulu-catalog,
  .gulu-cart {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .gulu-products {
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .gulu-catalog-helper {
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  body.gulu-shop-page {
    padding: 8px;
    padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px));
  }

  .gulu-shop-main {
    margin-top: 8px;
  }

  .gulu-shop-main .gulu-hero {
    min-height: 136px;
    padding: 18px 14px;
    background:
      linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(248, 253, 250, 0.94) 56%, rgba(230, 244, 239, 0.46) 100%),
      url("/assets/gulu-hero-final.png") right -26px center / auto 160% no-repeat;
  }

  .gulu-hero-content {
    gap: 10px;
  }

  .gulu-hero-copy {
    font-size: 12px;
    line-height: 1.45;
  }

  .gulu-shop-grid {
    gap: 10px;
    margin-top: 10px;
  }

  .gulu-rail {
    position: sticky;
    top: 8px;
    z-index: 20;
    padding: 10px;
    border-radius: 14px;
  }

  .gulu-section-title {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .gulu-category-list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0 -2px;
    padding: 0 2px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .gulu-category {
    flex: 0 0 158px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 8px 9px;
    scroll-snap-align: start;
  }

  .gulu-category:hover {
    transform: none;
  }

  .gulu-category img {
    width: 32px;
    height: 32px;
  }

  .gulu-quick-links,
  .gulu-rail-fill {
    display: none;
  }

  .gulu-catalog {
    padding: 12px;
  }

  .filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px;
  }

  .filter-item {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .filter-item select,
  .filter-item input {
    height: 40px;
  }

  .gulu-products {
    gap: 10px;
    margin-top: 12px;
    background: none;
  }

  .product-item.gulu-product-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 12px;
  }

  .gulu-product-icon {
    width: 46px;
    height: 46px;
  }

  .gulu-product-icon img {
    width: 34px;
    height: 34px;
  }

  .product-footer {
    grid-column: 1 / -1;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .product-controls {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
  }

  .qty-input {
    width: 88px;
  }

  .gulu-add-btn {
    min-width: 0;
  }

  .gulu-catalog-helper {
    display: none;
  }

  .gulu-cart {
    position: fixed;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "head total"
      "checkout checkout";
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 121, 88, 0.18);
  }

  .gulu-cart-head {
    grid-area: head;
    display: block;
    font-size: 13px;
    line-height: 1.2;
  }

  .gulu-cart-head small {
    display: block;
    margin-top: 3px;
  }

  .gulu-cart-lines,
  .gulu-cart-points,
  .gulu-footer-note {
    display: none;
  }

  .gulu-total {
    grid-area: total;
    display: block;
    margin: 0;
    padding: 0;
    text-align: right;
  }

  .gulu-total span {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
  }

  #total {
    font-size: 20px !important;
  }

  .gulu-checkout {
    grid-area: checkout;
    height: 44px;
    margin: 0;
  }
}
