/* Rented shop storefront. Loaded only when body.is-child-store. */

body.is-child-store {
  --cs-bg: #070814;
  --cs-bg-2: #101322;
  --cs-card: #141726;
  --cs-line: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 32%, #2c3148);
  --cs-text: #f6f3ff;
  --cs-muted: #c8c2dc;
  --cs-soft: #9b95b0;
  --cs-field: #1b1e30;
  --cs-field-line: #4a4568;
  overflow-x: clip;
  color: var(--cs-text);
  background:
    radial-gradient(920px 420px at 100% -8%, color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 26%, transparent), transparent 62%),
    radial-gradient(680px 360px at -8% 0%, color-mix(in srgb, var(--g4c-child-accent, #22d3ee) 16%, transparent), transparent 58%),
    var(--cs-bg);
}

html[data-theme="light"] body.is-child-store {
  --cs-bg: #f4f6fb;
  --cs-bg-2: #ffffff;
  --cs-card: #ffffff;
  --cs-line: color-mix(in srgb, var(--g4c-child-primary, #334155) 28%, #d5dbe8);
  --cs-text: #14161f;
  --cs-muted: #3c4254;
  --cs-soft: #5c6478;
  --cs-field: #ffffff;
  --cs-field-line: #c5ccda;
  background:
    radial-gradient(880px 380px at 100% -10%, color-mix(in srgb, var(--g4c-child-primary, #334155) 16%, transparent), transparent 60%),
    radial-gradient(640px 320px at -10% 0%, color-mix(in srgb, var(--g4c-child-accent, #64748b) 12%, transparent), transparent 58%),
    var(--cs-bg);
}

body.is-child-store .site-header {
  background: color-mix(in srgb, var(--cs-bg) 86%, transparent);
  border-bottom: 1px solid var(--cs-line);
  backdrop-filter: blur(16px);
}

body.is-child-store .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--cs-text);
}

body.is-child-store .header-inner {
  align-items: center;
  gap: 0.4rem;
  min-height: 3.25rem;
}

body.is-child-store .header-left,
body.is-child-store .header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body.is-child-store .brand-logo--child img {
  height: 28px;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

body.is-child-store .icon-btn,
body.is-child-store .lang-btn {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
}

body.is-child-store .cs-brand-name {
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

body.is-child-store .product-search-field,
body.is-child-store .cs-hero-search .product-search-field,
body.is-child-store .cs-mobile-search .product-search-field {
  border-radius: 999px;
  border: 1px solid var(--cs-field-line);
  background: var(--cs-field);
  box-shadow: none;
  min-height: 2.75rem;
}

body.is-child-store .product-search-field:focus-within {
  border-color: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 70%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 22%, transparent);
}

body.is-child-store .product-search-icon {
  color: var(--g4c-child-primary, #7c5cff);
}

body.is-child-store .product-search-input {
  background: transparent;
  color: var(--cs-text);
  font-weight: 560;
  -webkit-text-fill-color: var(--cs-text);
}

body.is-child-store .product-search-input::placeholder {
  color: var(--cs-soft);
  font-weight: 450;
  opacity: 1;
  -webkit-text-fill-color: var(--cs-soft);
}

body.is-child-store .cs-mobile-search {
  display: block;
  padding: 0 0.85rem 0.7rem;
}

body.is-child-store .catalog-name-filter input,
body.is-child-store .cs-sort select,
body.is-child-store .catalog-tool-btn,
body.is-child-store .catalog-sort-option {
  background: var(--cs-field);
  color: var(--cs-text);
  border: 1px solid var(--cs-field-line);
}

body.is-child-store .product-search-input::placeholder,
body.is-child-store .catalog-name-filter input::placeholder {
  color: var(--cs-soft);
}

body.is-child-store .nav-dropdown-menu,
body.is-child-store .catalog-sort-menu {
  background: var(--cs-card);
  color: var(--cs-text);
  border: 1px solid var(--cs-line);
}

body.is-child-store .nav-desktop a,
body.is-child-store .nav-dropdown-trigger,
body.is-child-store .lang-btn,
body.is-child-store .icon-btn {
  color: var(--cs-text);
}

@media (min-width: 1024px) {
  body.is-child-store .cs-mobile-search {
    display: none;
  }
}

body.is-child-store:has([data-child-panel-home]) .cs-mobile-search {
  display: none;
}

.cs {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.65rem 0 1.35rem;
}

.cs-hero {
  display: grid;
  gap: 0.75rem;
  padding: 0.15rem 0 0.2rem;
}

.cs-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem 0.65rem;
  overflow: hidden;
  min-height: 0;
  padding: 0.95rem 0.85rem 0.9rem;
  border-radius: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 45%, transparent);
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 62%, transparent), transparent 58%),
    radial-gradient(70% 70% at 0% 110%, color-mix(in srgb, var(--g4c-child-accent, #22d3ee) 42%, transparent), transparent 62%),
    #14081f;
  box-shadow: 0 18px 40px rgba(8, 2, 20, 0.28);
}

.cs-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: none;
  min-width: 0;
}

.cs-hero-logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 0.9rem;
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
}

.cs-hero h1 {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.cs-hero-accent {
  background: linear-gradient(100deg, #fff 10%, var(--g4c-child-primary, #ff4fa3) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cs-hero-stage p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.78rem, 2.6vw, 0.86rem);
  line-height: 1.35;
}

.cs-hero-tiles {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 2.75rem);
  gap: 0.35rem;
  transform: rotate(7deg);
  margin-inline-end: 0.1rem;
}

.cs-hero-tile {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 6, 24, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.cs-hero-tile:nth-child(2) { transform: translateY(0.35rem); }
.cs-hero-tile:nth-child(3) { transform: translateY(-0.2rem); }

.cs-hero-tile img,
.cs-hero-tile svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cs-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.9rem;
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
  color: var(--cs-text);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.cs-trust svg {
  flex: 0 0 auto;
  color: var(--g4c-child-primary, #7c5cff);
}

.cs-help {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.9rem;
  border-radius: 1.15rem;
  border: 1px solid var(--cs-line);
  background:
    radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 28%, transparent), transparent 60%),
    var(--cs-card);
}

.cs-help-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 18%, transparent);
  color: var(--g4c-child-primary, #7c5cff);
}

.cs-help-copy strong {
  display: block;
  color: var(--cs-text);
  font-size: 0.98rem;
}

.cs-help-copy p {
  margin: 0.15rem 0 0;
  color: var(--cs-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.cs-help-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--g4c-child-primary, #7c5cff);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

body.is-child-store .cs-hero-search .product-search-field-wrap {
  position: relative;
}

body.is-child-store .cs-hero-search .product-search-field {
  padding-inline-start: 0.72rem;
  padding-inline-end: 3.15rem;
  min-height: 2.65rem;
}

body.is-child-store .cs-hero-search .product-search-input {
  font-size: clamp(0.78rem, 2.85vw, 1rem);
  font-weight: 520;
  text-overflow: ellipsis;
}

body.is-child-store .cs-hero-search .product-search-input::placeholder {
  font-size: clamp(0.72rem, 2.55vw, 0.92rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-child-store .cs-hero-search button[type="submit"] {
  position: absolute;
  z-index: 2;
  top: 0.32rem;
  inset-inline-end: 0.32rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: auto;
  border: 0;
  border-radius: 999px;
  background: var(--g4c-child-primary, #ff4d9a) center / 1.05rem no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l5 5'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
  white-space: nowrap;
}

.cs-cats--grid .cs-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
  gap: 0.45rem;
  padding: 0;
  scroll-snap-type: none;
  align-items: stretch;
}

.cs-cats--grid .cs-cat {
  width: auto;
  min-height: 7.1rem;
  height: 100%;
  padding: 0.5rem 0.25rem 0.45rem;
  grid-template-rows: 2.75rem minmax(2.45rem, 1fr);
  gap: 0.32rem;
}

.cs-cats--grid .cs-cat-media {
  width: 2.75rem;
  height: 2.75rem;
}

.cs-cats--grid .cs-cat-label {
  -webkit-line-clamp: 3;
  min-height: 2.45em;
  font-size: clamp(0.58rem, 2.2vw, 0.64rem);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.cs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.15rem 0 0.7rem;
}

.cs-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--cs-text);
}

.cs-section-head > a {
  color: var(--cs-text);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.cs-rail {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.15rem 0.15rem 0.55rem;
  scroll-padding-inline: 0.15rem;
  scrollbar-width: none;
}

.cs-rail::-webkit-scrollbar {
  display: none;
}

.cs-cat {
  flex: 0 0 7.15rem;
  width: 7.15rem;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 3.15rem auto;
  justify-items: center;
  align-content: start;
  gap: 0.4rem;
  height: auto;
  min-height: 8.15rem;
  padding: 0.65rem 0.45rem 0.55rem;
  border-radius: 1.05rem;
  text-decoration: none;
  color: var(--cs-text);
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
  box-shadow: 0 8px 22px rgba(4, 6, 16, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cs-cat-media {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 16%, transparent);
  color: var(--cs-text);
}

.cs-cat-media .category-svg,
.cs-cat-media svg {
  width: 1.55rem;
  height: 1.55rem;
}

.cs-cat-media img,
.cs-cat-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.cs-cat-label {
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-cat.is-current {
  border-color: var(--g4c-child-primary, #7c5cff);
  box-shadow: 0 0 0 1px var(--g4c-child-primary, #7c5cff), 0 10px 24px rgba(4, 6, 16, 0.18);
}

.cs-sort {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cs-sort label {
  color: var(--cs-muted);
  font-size: 0.78rem;
}

.cs-sort select {
  min-height: 2.5rem;
  border-radius: 999px;
  padding: 0 0.8rem;
  font: inherit;
  font-size: 0.82rem;
}

.cs-empty,
body.is-child-store .store-empty,
body.is-child-store .store-empty-state {
  padding: 2rem 1rem;
  border-radius: 1.1rem;
  text-align: center;
  color: var(--cs-muted);
  background: var(--cs-card);
  border: 1px dashed var(--cs-line);
}

body.is-child-store .product-grid--catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

body.is-child-store .product-grid--catalog.is-list {
  grid-template-columns: 1fr;
}

body.is-child-store .product-card--shop {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
  box-shadow: 0 12px 28px rgba(4, 6, 16, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.is-child-store .product-card--shop .product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

body.is-child-store .product-card--shop .product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 18%, transparent), transparent 55%),
    color-mix(in srgb, var(--cs-bg) 55%, var(--cs-card));
}

body.is-child-store .product-card--shop .product-media img,
body.is-child-store .product-card--shop .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

body.is-child-store .product-card--shop .product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
  padding: 0.75rem 0.75rem 0.8rem;
}

body.is-child-store .product-card--shop h3 {
  margin: 0;
  color: var(--cs-text);
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  overflow-wrap: anywhere;
}

body.is-child-store .product-card-package,
body.is-child-store .product-card-delivery,
body.is-child-store .product-card-qty {
  margin: 0;
  color: var(--cs-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

body.is-child-store .product-card-package {
  min-height: 1.3em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-child-store .product-card-qty {
  min-height: 1.15em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-child-store .product-card-fav {
  position: absolute;
  top: 0.4rem;
  inset-inline-end: 0.4rem;
  z-index: 3;
}

body.is-child-store .product-wishlist-btn,
body.is-child-store .product-card-fav button,
body.is-child-store .product-monitor-btn {
  width: 1.85rem;
  height: 1.85rem;
}

body.is-child-store .product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.15rem;
  min-height: 1.35em;
}

body.is-child-store .product-card-price strong {
  color: var(--cs-text);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

body.is-child-store .product-card-price s {
  color: var(--cs-soft);
  font-size: 0.78rem;
}

body.is-child-store .cs-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.55rem;
  margin-top: auto;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 78%, #111),
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 52%, #111)
  );
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

body.is-child-store .cs-badge {
  position: absolute;
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 1;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--g4c-child-accent, #f59e0b) 88%, #111);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
}

body.is-child-store .product-card-fav {
  z-index: 2;
}

body.is-child-store .product-wishlist-btn,
body.is-child-store .product-card-fav button {
  background: color-mix(in srgb, var(--cs-card) 88%, transparent);
  color: var(--cs-text);
  border: 1px solid var(--cs-line);
}

body.is-child-store .type-card {
  border-radius: 1.1rem;
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
  color: var(--cs-text);
  box-shadow: 0 10px 24px rgba(4, 6, 16, 0.14);
  overflow: hidden;
}

body.is-child-store .type-card h3,
body.is-child-store .store-page-head h1,
body.is-child-store .store-section-title {
  color: var(--cs-text);
}

body.is-child-store .store-page-head p,
body.is-child-store .catalog-breadcrumb,
body.is-child-store .catalog-breadcrumb a {
  color: var(--cs-muted);
}

body.is-child-store .type-card-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 12%, var(--cs-bg));
}

body.is-child-store .type-card-image,
body.is-child-store .type-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.is-child-store .site-footer {
  background: transparent;
  color: var(--cs-muted);
  border-top: 1px solid var(--cs-line);
}

body.is-child-store .site-footer a,
body.is-child-store .site-footer h2,
body.is-child-store .footer-brand p {
  color: var(--cs-text);
}

body.is-child-store .footer-brand a[href*="wa.me"],
body.is-child-store .footer-brand a[href*="t.me"] {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  margin: 0.35rem 0.35rem 0 0;
  padding: 0 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
}

body.is-child-store .cs-footer-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

body.is-child-store .cs-footer-lang a {
  min-height: 2.25rem;
  min-width: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--cs-line);
  background: var(--cs-card);
}

body.is-child-store .cs-footer-lang a.is-active {
  border-color: var(--g4c-child-primary, #7c5cff);
  color: var(--cs-text);
}

body.is-child-store .btn-primary,
body.is-child-store .product-detail-btn-main {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 78%, #111),
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 52%, #111)
  );
  color: #fff;
  border-color: transparent;
}

body.is-child-store .pagination,
body.is-child-store .catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

body.is-child-store .pagination a,
body.is-child-store .pagination span,
body.is-child-store .catalog-pagination-btn {
  color: var(--cs-text);
  background: var(--cs-card);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
}

.cs .product-card,
.cs-cat,
body.is-child-store .type-card {
  animation: cs-rise 0.45s ease both;
}

.cs .product-card:nth-child(2) { animation-delay: 0.04s; }
.cs .product-card:nth-child(3) { animation-delay: 0.08s; }
.cs .product-card:nth-child(4) { animation-delay: 0.12s; }
.cs .product-card:nth-child(5) { animation-delay: 0.16s; }
.cs .product-card:nth-child(6) { animation-delay: 0.2s; }
.cs .product-card:nth-child(7) { animation-delay: 0.24s; }
.cs .product-card:nth-child(8) { animation-delay: 0.28s; }

body.is-child-store .product-grid.is-loading .product-card {
  position: relative;
}

body.is-child-store .product-grid.is-loading .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, #fff 18%, transparent) 45%, transparent 70%);
  animation: cs-shimmer 1.15s ease infinite;
}

@media (hover: hover) {
  body.is-child-store .product-card--shop:hover,
  body.is-child-store .cs-cat:hover,
  body.is-child-store .type-card:hover {
    transform: translateY(-3px);
  }

  body.is-child-store .cs-buy {
    filter: saturate(1.05);
  }
}

body.is-child-store .header-wallet-chip {
  border-color: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 42%, transparent);
  background: color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 14%, transparent);
}

body.is-child-store .header-wallet-chip [data-wallet-balance] {
  color: var(--cs-text);
}

body.is-child-store .mobile-home-tab.is-active {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 82%, #111),
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 55%, #111)
  );
  box-shadow: none;
}

body.is-child-store .mobile-home-tab.is-active::after {
  background: #fff;
  box-shadow: none;
}

body.is-child-store .floating-contact-btn-icon {
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 88%, #fff),
    color-mix(in srgb, var(--g4c-child-primary, #7c5cff) 62%, #111)
  );
}

@media (max-width: 720px) {
  .cs-hero {
    gap: 0.65rem;
    padding-top: 0.2rem;
  }

  body.is-child-store .header-left {
    display: contents;
  }

  body.is-child-store .brand {
    order: 1;
    flex: 1;
  }

  body.is-child-store .header-actions {
    order: 2;
  }

  body.is-child-store [data-sidebar-open] {
    order: 3;
  }

  .cs-hero-stage p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cs-hero-stage {
    gap: 0.45rem 0.5rem;
    padding: 0.85rem 0.75rem 0.8rem;
  }

  .cs-hero h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.65rem);
  }

  .cs-hero-tiles {
    grid-template-columns: repeat(2, 2.5rem);
    gap: 0.3rem;
    transform: rotate(6deg);
  }

  .cs-hero-tile {
    width: 2.5rem;
    height: 2.5rem;
  }

  .cs-section-head {
    margin-top: 0.85rem;
  }

  body.is-child-store .product-card--shop .product-media {
    aspect-ratio: 4 / 3;
  }

  body.is-child-store .product-card--shop .product-media img,
  body.is-child-store .product-card--shop .product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.is-child-store .product-card--shop .product-card-body {
    gap: 0.2rem;
    padding: 0.6rem 0.65rem 0.65rem;
  }

  body.is-child-store .product-card--shop h3 {
    min-height: 2.5em;
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
  }

  body.is-child-store .product-card-delivery {
    display: none;
  }

  body.is-child-store .cs-buy {
    min-height: 2.35rem;
    margin-top: auto;
  }

  body.is-child-store:not(.has-mobile-home-tab) #main {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  body.is-child-store .floating-dock {
    bottom: calc(1.1rem + env(safe-area-inset-bottom));
  }

  body.is-child-store.has-mobile-home-tab .floating-dock {
    display: none;
  }

  body.is-child-store.has-mobile-home-tab .cs-catalog {
    padding-bottom: 0.35rem;
  }
}

html[data-theme="light"] .cs-hero-stage {
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--g4c-child-primary, #0f766e) 24%, #fff), transparent 60%),
    radial-gradient(70% 70% at 0% 110%, color-mix(in srgb, var(--g4c-child-accent, #f59e0b) 18%, #fff), transparent 62%),
    #f8f7fb;
}

html[data-theme="light"] .cs-hero h1,
html[data-theme="light"] .cs-hero-stage p {
  color: var(--cs-text);
}

html[data-theme="light"] .cs-hero-accent {
  background: none;
  color: var(--g4c-child-primary, #0f766e);
  -webkit-text-fill-color: var(--g4c-child-primary, #0f766e);
}

html[data-theme="light"] .cs-hero-tile {
  background: #fff;
  border-color: var(--cs-line);
}

body.is-child-store .footer-accordions,
body.is-child-store .footer-col {
  display: none;
}

body.is-child-store .footer-brand > p:first-of-type {
  display: none;
}

body.is-child-store .cs-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.55rem;
}

body.is-child-store .cs-footer-links a {
  color: var(--cs-muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}

body.is-child-store .site-footer {
  background: transparent;
  border-top: 1px solid var(--cs-line);
  padding-top: 0.85rem;
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom));
}

body.is-child-store .footer-grid--compact {
  gap: 0.55rem;
}

body.is-child-store .footer-brand {
  gap: 0.35rem;
}

body.is-child-store .footer-brand > p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

body.is-child-store .footer-brand > p:has(a) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.2rem;
}

body.is-child-store .cs-footer-links {
  gap: 0.28rem 0.65rem;
  margin-top: 0.35rem;
}

body.is-child-store .cs-footer-lang {
  margin-top: 0.35rem;
}

body.is-child-store .footer-bottom {
  padding: 0.55rem 0 0.35rem;
  font-size: 0.72rem;
  line-height: 1.3;
}

body.is-child-store.has-mobile-home-tab .site-footer {
  padding-bottom: calc(0.25rem + var(--mobile-home-tab-space, 5.85rem) + env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
  .cs {
    width: min(1120px, calc(100% - 2.5rem));
  }

  .cs-hero-copy,
  .cs-hero-stage p {
    max-width: 28rem;
  }

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

  .cs-help {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .cs-help-btn {
    grid-column: auto;
  }

  body.is-child-store .product-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .cs-cats--grid .cs-rail {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  body.is-child-store .product-grid--catalog:not(.is-list) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cs-hero {
    grid-template-columns: 1fr;
  }

  .cs-hero-copy,
  .cs-hero-stage p {
    max-width: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs .product-card,
  .cs-cat,
  body.is-child-store .type-card,
  body.is-child-store .product-card--shop,
  body.is-child-store .product-grid.is-loading .product-card::after {
    animation: none;
    transition: none;
  }
}

@keyframes cs-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cs-shimmer {
  from { transform: translateX(-40%); }
  to { transform: translateX(40%); }
}
