:root {
  --solen-ink: #24140b;
  --solen-brown: #3a1f0c;
  --solen-brown-2: #5a3418;
  --solen-muted: #6f665e;
  --solen-line: #eee7df;
  --solen-soft: #fffaf3;
  --solen-panel: rgba(255, 255, 255, 0.88);
  --solen-pink: #ec5ca8;
  --solen-green: #18b96f;
  --solen-shadow: 0 14px 38px rgba(58, 31, 12, 0.11);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.94), transparent 28%),
    linear-gradient(135deg, #f6efe7 0%, #fffdf9 45%, #f2e7dc 100%);
  color: var(--solen-ink);
}

.legacy-header,
.footer,
.scroll-to-top {
  display: none !important;
}

.solen-app {
  width: min(100% - 28px, 620px);
  min-height: 100vh;
  margin: 18px auto;
  padding: 18px 18px 74px;
  border: 1px solid rgba(119, 83, 52, 0.08);
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: var(--solen-shadow);
}

.solen-app--category {
  padding-top: 0;
}

.solen-hero {
  min-height: 270px;
}

.solen-hero__top,
.solen-category-header,
.solen-section__head,
.solen-cart-drawer header,
.solen-cart-drawer footer div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.solen-logo {
  display: inline-flex;
  align-items: center;
  max-width: min(58vw, 230px);
  min-height: 52px;
  text-decoration: none;
}

.solen-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.solen-lang-btn,
.solen-icon-link,
.solen-cart-icon,
.solen-home-cat,
.solen-filter-btn,
.solen-add-btn,
.solen-outline-btn,
.solen-clear-cart,
.solen-checkout {
  border: 1px solid var(--solen-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--solen-ink);
  text-decoration: none;
  cursor: pointer;
}

.solen-lang-btn {
  min-width: 48px;
  padding: 13px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(58, 31, 12, 0.08);
}

.solen-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 220px);
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.solen-hero__copy h1 {
  margin: 0 0 12px;
  font-size: clamp(35px, 9vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.solen-hero__copy p {
  max-width: 310px;
  margin: 0;
  color: var(--solen-muted);
  font-size: 16px;
  line-height: 1.55;
}

.solen-hero__plate {
  position: relative;
  aspect-ratio: 1;
}

.solen-hero__plate::after {
  content: "";
  position: absolute;
  inset: 16% 8% 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(58, 31, 12, 0.14);
  filter: blur(18px);
}

.solen-hero__plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(58, 31, 12, 0.2));
}

.solen-home-cats,
.solen-story-nav {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: none;
}

.solen-home-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow-x: visible;
}

.solen-home-cats::-webkit-scrollbar,
.solen-story-nav::-webkit-scrollbar {
  display: none;
}

.solen-home-cat {
  min-width: 0;
  height: 92px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(58, 31, 12, 0.08);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.solen-home-cat img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.solen-home-cat__icon {
  font-size: 30px;
  line-height: 1;
}

.solen-home-cat.is-active,
.solen-add-btn,
.solen-cart-bar,
.solen-checkout {
  background: linear-gradient(135deg, var(--solen-brown), #2a1406);
  color: #fff;
}

.solen-featured {
  min-height: 150px;
  margin: 12px 0 22px;
  padding: 26px;
  border-radius: 14px;
  color: #fff;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.solen-featured span,
.solen-featured h2,
.solen-featured__price {
  display: block;
  max-width: 70%;
}

.solen-featured span {
  font-size: 14px;
  font-weight: 700;
}

.solen-featured h2 {
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.25;
}

.solen-featured__price {
  margin-bottom: 18px;
  font-size: 25px;
  font-weight: 900;
}

.solen-outline-btn {
  padding: 11px 17px;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: rgba(58, 31, 12, 0.35);
  color: #fff;
  font-weight: 800;
}

.solen-section__head {
  margin: 8px 0 14px;
}

.solen-section__head h2,
.solen-why h2 {
  margin: 0;
  font-size: 22px;
}

.solen-section__head a {
  color: var(--solen-brown);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

.solen-product-card,
.solen-menu-item,
.solen-why {
  border: 1px solid var(--solen-line);
  background: var(--solen-panel);
  box-shadow: 0 10px 28px rgba(58, 31, 12, 0.06);
}

.solen-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.solen-product-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.solen-product-card__body {
  position: relative;
  min-height: 112px;
  padding: 12px 44px 14px 12px;
}

.solen-product-card h3,
.solen-menu-item h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.22;
}

.solen-product-card p,
.solen-menu-item p {
  margin: 6px 0 9px;
  color: var(--solen-muted);
  font-size: 13px;
  line-height: 1.35;
}

.solen-product-card strong,
.solen-menu-item strong {
  font-size: 18px;
  font-weight: 900;
}

.solen-add-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(58, 31, 12, 0.22);
}

.solen-product-card .solen-add-btn {
  position: absolute;
  right: 12px;
  bottom: 14px;
}

.solen-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--solen-brown), #2a1406);
  color: #fff;
}

.solen-trust div,
.solen-why__grid div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.solen-trust span {
  font-size: 24px;
}

.solen-trust strong {
  margin-top: 7px;
  font-size: 13px;
}

.solen-trust small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.solen-why {
  padding: 20px 16px;
  border-radius: 18px;
  text-align: center;
}

.solen-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.solen-why__grid span {
  color: var(--solen-brown);
  font-size: 29px;
}

.solen-why__grid p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.2;
}

.solen-rate {
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--solen-brown), #2a1406);
  color: #fff;
}

.solen-rate__stars {
  margin: 10px 0 8px;
  color: #ffbd31;
  font-size: 31px;
  letter-spacing: 0;
}

.solen-rate__details {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  text-align: left;
}

.solen-rate__details a,
.solen-rate__details div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.solen-rate__details span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.solen-rate__details strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.solen-rate__cta {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffbd31;
  color: var(--solen-brown);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.solen-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 20;
  width: min(100% - 38px, 560px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  transform: translateX(-50%);
  padding: 9px;
  border: 1px solid var(--solen-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(58, 31, 12, 0.14);
}

.solen-bottom-nav a,
.solen-bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--solen-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.solen-bottom-nav .is-active {
  color: var(--solen-brown);
}

.solen-category-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0 -18px 18px;
  padding: 18px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, #2a1406, var(--solen-brown));
  color: #fff;
}

.solen-category-header h1 {
  margin: 0;
  font-size: 18px;
}

.solen-icon-link,
.solen-cart-icon,
.solen-clear-cart {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 31px;
}

.solen-cart-icon {
  position: relative;
  font-size: 22px;
}

.solen-cart-icon span {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  padding: 3px 5px;
  border-radius: 999px;
  background: #ef3f4d;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.solen-story-item {
  flex: 0 0 82px;
  color: var(--solen-muted);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.solen-story-item__image {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 9px 22px rgba(58, 31, 12, 0.08);
}

.solen-story-item__image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.solen-story-item__image--plain {
  font-size: 26px;
}

.solen-story-item.is-active {
  color: var(--solen-brown);
}

.solen-story-item.is-active .solen-story-item__image {
  border-color: var(--solen-brown);
}

.solen-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 4px 0 18px;
}

.solen-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--solen-line);
  border-radius: 10px;
  background: #fff;
}

.solen-search span {
  color: var(--solen-muted);
  font-size: 22px;
}

.solen-search input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--solen-ink);
  font-size: 15px;
}

.solen-filter-btn {
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

.solen-menu-list {
  display: grid;
  gap: 12px;
  padding-bottom: 64px;
}

.solen-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 10px 12px 10px 10px;
  border-radius: 12px;
}

.solen-menu-item[hidden] {
  display: none;
}

.solen-menu-item > img {
  width: 150px;
  height: 98px;
  border-radius: 10px;
  object-fit: cover;
}

.solen-menu-item .solen-add-btn {
  align-self: center;
}

.solen-empty {
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--solen-muted);
  text-align: center;
}

.solen-cart-bar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 20;
  width: min(100% - 38px, 560px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateX(-50%);
  padding: 16px 22px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(58, 31, 12, 0.24);
}

.solen-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 16px;
  background: rgba(36, 20, 11, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.solen-cart-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.solen-cart-drawer__panel {
  width: min(100%, 560px);
  max-height: min(86vh, 720px);
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 20px 50px rgba(36, 20, 11, 0.22);
  overflow: hidden;
}

.solen-cart-drawer header {
  padding: 16px;
  border-bottom: 1px solid var(--solen-line);
}

.solen-cart-drawer h2 {
  margin: 0;
  font-size: 18px;
}

.solen-cart-items {
  display: grid;
  gap: 10px;
  padding: 16px;
  overflow: auto;
}

.solen-cart-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--solen-line);
  border-radius: 10px;
}

.solen-cart-item img {
  width: 68px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.solen-cart-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.solen-cart-item strong {
  font-size: 14px;
}

.solen-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--solen-line);
  border-radius: 10px;
}

.solen-qty button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff8f1;
  color: var(--solen-ink);
  font-size: 18px;
  cursor: pointer;
}

.solen-cart-drawer footer {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--solen-line);
}

.solen-cart-drawer footer div {
  color: var(--solen-muted);
  font-size: 14px;
}

.solen-cart-drawer footer .solen-cart-total {
  color: var(--solen-ink);
  font-size: 18px;
}

.solen-checkout {
  display: block;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

@media (min-width: 900px) {
  .solen-app {
    width: min(100% - 40px, 980px);
  }

  .solen-app--home {
    max-width: 700px;
  }

  .solen-app--category {
    max-width: 640px;
  }
}

@media (max-width: 520px) {
  .solen-app {
    width: 100%;
    margin: 0;
    padding: 18px 14px 76px;
    border-width: 0;
    border-radius: 0;
  }

  .solen-category-header {
    margin: 0 -14px 16px;
    border-radius: 0;
  }

  .solen-hero__body {
    grid-template-columns: minmax(0, 1fr) 130px;
  }

  .solen-hero__copy h1 {
    font-size: 35px;
  }

  .solen-hero__copy p {
    font-size: 14px;
  }

  .solen-home-cat {
    height: 86px;
    font-size: 12px;
  }

  .solen-featured {
    padding: 22px;
  }

  .solen-featured span,
  .solen-featured h2,
  .solen-featured__price {
    max-width: 76%;
  }

  .solen-popular-grid {
    gap: 12px;
  }

  .solen-product-card__body {
    padding-right: 40px;
  }

  .solen-trust {
    padding: 14px 10px;
  }

  .solen-trust strong {
    font-size: 11px;
  }

  .solen-trust small {
    display: none;
  }

  .solen-menu-item {
    grid-template-columns: 43% minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .solen-menu-item > img {
    width: 100%;
    height: 96px;
  }

  .solen-menu-item h2 {
    font-size: 15px;
  }

  .solen-menu-item p {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .solen-popular-grid,
  .solen-why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .solen-search-row {
    grid-template-columns: 1fr;
  }
}
