@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --background: #f1f2fc;
  --surface: #fff;
  --text: #161538;
  --accent: #4930cf;
  --accent-soft: #e5e0ff;
  --muted: #77748f;
  --line: #dcdcf0;
  --radius: 24px;
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  background-size: cover;
  background-attachment: fixed;
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
}
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}
h1 {
  font-size: 40px;
  line-height: 1.18;
  font-weight: 750;
}
h2 {
  font-size: 24px;
  font-weight: 750;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.7;
}
small {
  font-size: 12px;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
}
.small {
  width: 15px;
  height: 15px;
}
.header {
  position: relative;
  max-width: 1240px;
  height: 115px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
  padding-top: max(14px, var(--tg-content-safe-area-inset-top, 0px));
}
.header-action {
  position: absolute;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 0;
  color: #79646b;
}
.header-action .icon {
  width: 18px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.brand img {
  border-radius: 13px;
  width: 38px;
  height: 38px;
}
.brand strong {
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-left: 3px;
}
.header-right {
  position: absolute;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #a34f63;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 36px 40px 140px;
  min-height: 75vh;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 11px;
}
.intro h1 {
  font-size: 35px;
  margin: 0;
  letter-spacing: -0.055em;
}
.intro h1 span {
  color: var(--accent);
}
.intro p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-button,
.search-box {
  border: 1px solid #e7e8e1;
  background: var(--surface);
  border-radius: 13px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
}
.filter-button {
  font-size: 12px;
  font-weight: 650;
  min-width: 165px;
  justify-content: flex-start;
}
.filter-button .small {
  margin-left: auto;
  transform: rotate(90deg);
  color: var(--muted);
}
.filter-button.chosen {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-button > .icon:first-child {
  width: 18px;
}
.search-box {
  flex: 1;
  min-width: 0;
  color: var(--muted);
}
.search-box .icon {
  width: 19px;
}
.search-box input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  outline: none;
  font-size: 12px;
  color: var(--text);
}
.search-box:focus-within {
  border-color: var(--accent);
}
.banner {
  margin-bottom: 24px;
}
.hero {
  display: block;
  text-align: left;
  isolation: isolate;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  height: 320px;
  background: #641b2e;
  padding: 32px 38px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 54%;
  height: 100%;
}
.hero .eyebrow {
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #edd3d9;
}
.hero-title {
  font-size: 64px;
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 0.99;
  color: #fff6f0;
  margin: 7px 0 15px;
}
.hero-subtitle {
  font-size: 12px;
  color: #e5c8cf;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 700;
  background: #fffaf0d9;
  border-radius: 25px;
  padding: 10px 17px;
  margin-top: auto;
}
.hero-cta .icon {
  width: 17px;
  height: 17px;
}
.hero-photo {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-position: center 40%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #641b2e 42%,
    #641b2e80 57%,
    transparent 72%
  );
  pointer-events: none;
}
.hero-sticker {
  z-index: 2;
  position: absolute;
  right: 35px;
  bottom: 28px;
  background: #f0f0df;
  border: 1px solid #e5e5d0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
  transform: rotate(12deg);
  color: #59634b;
}
.hero-sticker em {
  font-family: Georgia, serif;
  font-size: 21px;
}
.hero-sticker .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.hero-1 {
  background: #822c3f;
}
.hero-1:after {
  background: linear-gradient(
    90deg,
    #822c3f 42%,
    #822c3f80 57%,
    transparent 72%
  );
}
.hero-1 .hero-title {
  color: #fff6f0;
}
.hero-2 {
  background: #492030;
}
.hero-2:after {
  background: linear-gradient(
    90deg,
    #492030 42%,
    #49203080 57%,
    transparent 72%
  );
}
.hero-2 .hero-title {
  color: #fff6f0;
}
.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 2px;
  color: var(--muted);
  font-size: 10px;
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.slider-dots button {
  height: 20px;
  width: 13px;
  padding: 0;
  position: relative;
}
.slider-dots button:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 8px;
  background: #d6b8c0;
  position: absolute;
  top: 7px;
  left: 4px;
}
.slider-dots button.active {
  width: 25px;
}
.slider-dots button.active:after {
  width: 21px;
  background: var(--accent);
}
.category-chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
  padding: 1px 1px 10px;
  margin-bottom: 22px;
}
.category-chips::-webkit-scrollbar {
  display: none;
}
.chip {
  border: 1px solid #dedfd9;
  border-radius: 30px;
  padding: 10px 19px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  background: #ffffff35;
  transition: background 0.15s;
}
.chip.active {
  background: var(--text);
  border-color: var(--text);
  color: white;
}
.chip:hover:not(.active) {
  background: var(--surface);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}
.product-card {
  min-width: 0;
}
.product-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  background: #e9e8e2;
}
.product-photo > a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-photo img {
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease;
}
.product-photo:hover img {
  transform: scale(1.035);
}
.favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fffffff0;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px #00000004;
}
.favorite .icon {
  width: 18px;
  height: 18px;
  color: #5d6059;
}
.favorite.selected .icon {
  fill: var(--accent);
  stroke: var(--accent);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 12px;
  background: #fffdf3e8;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.02em;
  max-width: 65%;
}
.product-badge.new {
  background: #f3dce2ee;
  color: #4930cf;
}
.discount {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #f3dce2;
  padding: 6px 9px;
  border-radius: 6px;
  color: #4930cf;
  font-weight: 750;
  font-size: 11px;
}
.unavailable {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  font-size: 10px;
}
.product-info {
  padding: 14px 2px 0;
}
.price {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.price strong {
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.price s {
  font-size: 11px;
  color: #96998f;
  font-weight: 500;
}
.product-name {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.product-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-meta span {
  margin: 0 3px;
}
.add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  padding: 10px;
  margin-top: 12px;
}
.add-cart .icon {
  width: 15px;
  height: 15px;
}
.add-cart:hover {
  filter: brightness(0.96);
}
.endnote {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #907e84;
  font-size: 11px;
  margin: 45px 0 0;
}
.endnote .icon {
  width: 17px;
}
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #fffffff2;
  backdrop-filter: blur(20px);
  border: 1px solid #dcdcf0;
  border-radius: 24px;
  width: 440px;
  max-width: calc(100% - 32px);
  box-shadow: 0 8px 40px #45102318;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  gap: 5px;
}
.nav-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 9px;
  font-weight: 650;
  color: #907e84;
}
.nav-item .icon {
  width: 21px;
  height: 21px;
}
.nav-item.active {
  color: var(--accent);
}
.nav-item.active:before {
  content: "";
  position: absolute;
  top: -6px;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.nav-badge {
  position: absolute;
  top: -2px;
  left: 55%;
  background: var(--accent);
  color: #fff;
  min-width: 15px;
  height: 15px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 8px;
  padding: 0 4px;
  border: 2px solid white;
}
.page-heading {
  margin: 5px 0 30px;
}
.page-heading h1 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.title-count {
  background: var(--accent-soft);
  font-size: 13px;
  letter-spacing: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 520px;
  margin: auto;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 26px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 25px;
}
.empty-icon .icon {
  width: 32px;
  height: 32px;
}
.empty-state h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover {
  filter: brightness(0.95);
}
.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}
.wide {
  width: 100%;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs .icon {
  width: 12px;
  height: 12px;
}
.breadcrumbs button {
  padding: 0;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin-bottom: 54px;
}
.detail-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #e8e7e2;
}
.detail-photo > img {
  height: 100%;
  width: 100%;
}
.detail-photo .favorite {
  width: 40px;
  height: 40px;
}
.detail-photo .product-badge {
  font-size: 10px;
}
.detail-info {
  padding-top: 15px;
}
.detail-info h1 {
  font-size: 34px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.detail-price strong {
  font-size: 29px;
}
.detail-price s {
  font-size: 15px;
}
.sale-pill {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.stock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--accent);
  margin: 14px 0;
}
.stock.out {
  color: #ac695d;
}
.stock.out .live-dot {
  background: #ac695d;
}
.detail-divider {
  height: 1px;
  background: var(--line);
  margin: 23px 0;
}
.detail-label {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.detail-label strong {
  color: var(--text);
  font-weight: 600;
}
.size-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 12px;
  font-size: 12px;
}
.size-label button {
  font-size: 10px;
  color: var(--muted);
  text-decoration: underline;
}
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size {
  border: 1px solid #dfc9ce;
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 45px;
  min-height: 44px;
  background: var(--surface);
  font-size: 12px;
}
.size.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.detail-actions > .button {
  flex: 1;
}
.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  width: 100%;
  margin-top: 15px;
  min-height: 34px;
}
.share-button .icon {
  width: 16px;
  height: 16px;
}
.detail-info h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.description {
  white-space: pre-line;
  font-size: 12px;
  color: #78666c;
}
.purchase-note {
  display: flex;
  gap: 11px;
  padding: 17px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.65;
  margin: 20px 0;
}
.purchase-note .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumbnails button {
  width: 65px;
  height: 80px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
}
.thumbnails img {
  width: 100%;
  height: 100%;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 35px;
  align-items: start;
}
.cart-list {
  background: var(--surface);
  padding: 5px 24px;
  border-radius: 20px;
}
.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child {
  border: 0;
}
.cart-item > a {
  flex-shrink: 0;
  width: 100px;
  align-self: flex-start;
}
.cart-item img {
  width: 100px;
  height: 130px;
  border-radius: 12px;
}
.cart-item-info {
  flex: 1;
  padding-right: 30px;
  min-width: 0;
}
.cart-item h3 {
  font-size: 14px;
  margin: 3px 0 5px;
  letter-spacing: -0.025em;
}
.cart-item p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.cart-item strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  font-size: 12px;
}
.quantity button {
  width: 30px;
  height: 30px;
  background: var(--background);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.quantity .icon {
  width: 14px;
  height: 14px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  color: #967780;
}
.icon-button:hover {
  background: var(--accent-soft);
}
.icon-button .icon {
  width: 19px;
  height: 19px;
}
.remove-item {
  position: absolute;
  right: -7px;
  top: 19px;
}
.cart-summary {
  background: var(--surface);
  border-radius: 20px;
  padding: 27px;
}
.cart-summary h2 {
  font-size: 21px;
  margin-bottom: 23px;
}
.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 12px;
}
.cart-summary > div.savings {
  color: var(--accent);
}
.cart-summary .total {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 20px 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.cart-summary p {
  color: var(--muted);
  font-size: 10px;
  margin: 16px 0 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
}
.profile-card {
  background: var(--surface);
  padding: 35px 24px;
  border-radius: 24px;
  text-align: center;
  align-self: start;
}
.avatar {
  display: grid;
  place-items: center;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin: 0 auto 20px;
  overflow: hidden;
}
.avatar .icon {
  width: 35px;
  height: 35px;
}
.avatar img {
  width: 100%;
  height: 100%;
}
.profile-card h2 {
  font-size: 23px;
  margin-bottom: 9px;
}
.profile-card p {
  font-size: 12px;
  color: var(--muted);
}
.role-pill {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--accent);
  font-size: 10px;
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 20px;
}
.role-pill .icon {
  width: 13px;
  height: 13px;
}
.profile-stats {
  display: flex;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-bottom: 20px;
}
.profile-stats a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.profile-stats a + a {
  border-left: 1px solid var(--line);
}
.profile-stats strong {
  font-size: 26px;
  font-weight: 750;
}
.profile-stats span {
  font-size: 11px;
  color: var(--muted);
}
.profile-menu > button {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  padding: 23px;
  width: 100%;
  text-align: left;
  border-radius: 16px;
  margin-bottom: 10px;
}
.profile-menu > button > .icon {
  color: var(--accent);
  width: 22px;
}
.profile-menu > button > .icon:last-child {
  margin-left: auto;
  width: 16px;
  color: var(--muted);
}
.profile-menu > button > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.profile-menu strong {
  font-size: 13px;
  font-weight: 650;
}
.profile-menu small {
  font-size: 10px;
  color: var(--muted);
}
.profile-quote {
  text-align: center;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.6;
  padding: 35px 0;
}
.profile-quote span {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.sheet {
  border: 0;
  border-radius: 24px;
  width: 480px;
  max-width: calc(100vw - 28px);
  max-height: 85dvh;
  padding: 25px;
  box-shadow: 0 20px 80px #1d261a33;
  background: var(--surface);
  color: var(--text);
  overscroll-behavior: contain;
}
.sheet::backdrop {
  background: #20271f66;
  backdrop-filter: blur(4px);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.sheet-top h2 {
  font-size: 23px;
  margin: 0;
}
.sheet-top .icon-button {
  flex: none;
}
.sheet p {
  font-size: 13px;
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.option-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.option-list button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding: 15px;
  border-radius: 12px;
  background: var(--background);
  font-size: 13px;
  min-height: 49px;
}
.option-list button.selected {
  background: var(--accent-soft);
  color: var(--accent);
}
.option-list button > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.option-list .icon:last-child {
  margin-left: auto;
  width: 17px;
}
.option-list span + .icon {
  margin-left: 0;
}
.seller-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps {
  padding-left: 23px;
  margin: 0;
}
.steps li {
  padding-left: 7px;
  margin-bottom: 18px;
}
.steps li::marker {
  color: var(--accent);
  font-weight: 750;
}
.steps strong {
  font-size: 14px;
}
.steps p {
  color: var(--muted);
  margin: 5px 0;
}
.toast {
  position: fixed;
  bottom: 130px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #292e27;
  color: white;
  padding: 13px 20px;
  border-radius: 14px;
  z-index: 100;
  font-size: 12px;
  text-align: center;
  max-width: calc(100% - 35px);
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  box-shadow: 0 6px 25px #0002;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  text-align: center;
  padding: 100px 20px;
  color: var(--muted);
}
.loading img {
  margin: 0 auto 20px;
  animation: breathe 1.2s ease-in-out infinite alternate;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-heading h1 {
  margin-bottom: 10px;
}
.admin-list {
  background: var(--surface);
  padding: 10px 24px;
  border-radius: 22px;
}
.admin-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-row:last-child {
  border: 0;
}
.admin-row > img {
  width: 55px;
  height: 70px;
  border-radius: 10px;
}
.admin-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.admin-row strong {
  font-size: 12px;
}
.admin-row span,
.admin-row small {
  color: var(--muted);
  font-size: 10px;
}
.admin-row > .icon-button {
  flex: none;
}
.danger {
  color: #aa6259;
}
.danger-button {
  background: #b1665a;
  color: white;
}
.product-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}
.product-form input:not([type="checkbox"]):not([type="file"]),
.product-form textarea {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 9px;
  min-height: 44px;
  font-size: 13px;
  color: var(--text);
}
.product-form textarea {
  resize: vertical;
}
.product-form small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-columns > * {
  min-width: 0;
}
.product-form .upload-area {
  padding: 20px;
  border: 1px dashed #c995a2;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  cursor: pointer;
}
.upload-area input {
  font-size: 10px;
  max-width: 100%;
}
.upload-area input::file-selector-button {
  background: var(--surface);
  border: 0;
  border-radius: 6px;
  padding: 8px;
  color: var(--accent);
  font: inherit;
}
.product-form .checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.error-text {
  color: #b15a4c;
  font-size: 11px;
  display: block;
  line-height: 1.5;
  margin: 8px 0;
}
.error-text:empty {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes breathe {
  to {
    opacity: 0.5;
    transform: scale(0.96);
  }
}
@media (min-width: 1500px) {
  .header,
  main {
    max-width: 1320px;
  }
  .hero {
    height: 365px;
  }
  .hero-title {
    font-size: 75px;
  }
  .hero-copy {
    padding: 5px 10px;
  }
}
@media (max-width: 900px) {
  .header {
    padding-left: 25px;
    padding-right: 25px;
  }
  .header-action {
    left: 25px;
  }
  .header-right {
    right: 25px;
  }
  main {
    padding-left: 25px;
    padding-right: 25px;
  }
  .intro h1 {
    font-size: 29px;
  }
  .intro p {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero {
    height: 290px;
  }
  .hero-title {
    font-size: 57px;
  }
  .detail {
    gap: 30px;
  }
  .detail-info h1 {
    font-size: 28px;
  }
  .cart-layout {
    gap: 20px;
    grid-template-columns: 1.3fr 1fr;
  }
  .cart-list {
    padding: 5px 15px;
  }
  .cart-item {
    gap: 14px;
  }
  .cart-item > a,
  .cart-item img {
    width: 80px;
  }
  .cart-item img {
    height: 110px;
  }
  .cart-summary {
    padding: 22px;
  }
  .cart-summary .total {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .header {
    height: 99px;
    margin: 0 18px;
    padding: 12px 0;
  }
  .header-action {
    left: 0;
    font-size: 11px;
    gap: 4px;
  }
  .header-action .icon {
    width: 15px;
  }
  .brand img {
    width: 33px;
    height: 33px;
    border-radius: 11px;
  }
  .brand strong {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .header-right {
    right: 0;
    font-size: 9px;
    gap: 5px;
  }
  .header-right .live-dot {
    width: 5px;
    height: 5px;
  }
  main {
    padding: 25px 18px 130px;
  }
  .intro {
    margin-bottom: 21px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
  }
  .intro h1 {
    font-size: 26px;
    letter-spacing: -0.05em;
  }
  .toolbar {
    gap: 7px;
    margin-bottom: 19px;
  }
  .filter-button {
    min-width: 0;
    padding: 0 11px;
    gap: 6px;
    height: 43px;
    border-radius: 11px;
    font-size: 10px;
  }
  .filter-button > .icon:first-child {
    width: 15px;
    height: 15px;
  }
  .filter-button .small {
    display: none;
  }
  .search-box {
    height: 43px;
    padding: 0 10px;
    gap: 6px;
    border-radius: 11px;
  }
  .search-box .icon {
    width: 15px;
    height: 15px;
  }
  .search-box input {
    font-size: 10px;
    min-width: 30px;
  }
  .search-box input::placeholder {
    color: #91958b;
  }
  .hero {
    height: 234px;
    padding: 23px 21px;
    border-radius: 19px;
  }
  .hero-copy {
    max-width: 65%;
  }
  .hero .eyebrow {
    font-size: 6.5px;
    letter-spacing: 0.13em;
    white-space: nowrap;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 46px;
    margin: 0 0 13px;
    line-height: 1.02;
  }
  .hero-subtitle {
    font-size: 9px;
    line-height: 1.65;
    max-width: 150px;
  }
  .hero-cta {
    font-size: 9px;
    gap: 10px;
    padding: 8px 12px;
  }
  .hero-cta .icon {
    width: 14px;
    height: 14px;
  }
  .hero-photo {
    width: 54%;
    object-position: 50% 40%;
  }
  .hero:after {
    background: linear-gradient(
      90deg,
      #641b2e 28%,
      #641b2ee0 42%,
      #641b2e30 64%,
      transparent 80%
    );
  }
  .hero-1:after {
    background: linear-gradient(
      90deg,
      #822c3f 28%,
      #822c3fe0 42%,
      #822c3f30 64%,
      transparent 80%
    );
  }
  .hero-2:after {
    background: linear-gradient(
      90deg,
      #492030 28%,
      #492030e0 42%,
      #49203030 64%,
      transparent 80%
    );
  }
  .hero-sticker {
    right: 15px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    font-size: 9px;
  }
  .hero-sticker em {
    font-size: 16px;
  }
  .hero-sticker .icon {
    width: 11px;
    height: 11px;
    margin-top: 1px;
  }
  .hero-footer {
    font-size: 8px;
    padding: 8px 1px;
  }
  .banner {
    margin-bottom: 16px;
  }
  .category-chips {
    gap: 6px;
    margin-right: -18px;
    padding-right: 18px;
    margin-bottom: 16px;
  }
  .chip {
    font-size: 10px;
    padding: 9px 14px;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 21px;
    letter-spacing: -0.045em;
  }
  .section-heading > span {
    font-size: 9px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 12px;
  }
  .product-photo {
    border-radius: 14px;
    aspect-ratio: 3/4;
  }
  .product-badge {
    top: 10px;
    left: 9px;
    font-size: 6.5px;
    padding: 5px 6px;
    border-radius: 5px;
  }
  .favorite {
    top: 8px;
    right: 8px;
    width: 29px;
    height: 29px;
  }
  .favorite .icon {
    width: 16px;
    height: 16px;
  }
  .discount {
    bottom: 9px;
    left: 9px;
    font-size: 9px;
    padding: 5px 7px;
  }
  .product-info {
    padding-top: 11px;
  }
  .price {
    gap: 6px;
  }
  .price strong {
    font-size: 16px;
    letter-spacing: -0.04em;
  }
  .price s {
    font-size: 9px;
  }
  .product-name {
    font-size: 10px;
    margin-top: 5px;
  }
  .product-meta {
    font-size: 9px;
    margin-top: 5px;
  }
  .add-cart {
    padding: 9px;
    font-size: 10px;
    border-radius: 9px;
    margin-top: 10px;
    min-height: 36px;
  }
  .add-cart .icon {
    width: 13px;
    height: 13px;
  }
  .endnote {
    font-size: 9px;
    margin-top: 35px;
  }
  .bottom-nav {
    bottom: 12px;
    max-width: calc(100% - 28px);
    border-radius: 22px;
    padding: 10px 9px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .nav-item {
    font-size: 8px;
    gap: 5px;
  }
  .nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .nav-item.active:before {
    top: -4px;
    width: 16px;
    height: 2px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 32px;
    gap: 10px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .title-count {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-bottom: 35px;
  }
  .detail-photo {
    aspect-ratio: 4/4.7;
  }
  .breadcrumbs {
    margin-bottom: 17px;
    font-size: 10px;
  }
  .detail-info {
    padding: 0 2px;
  }
  .detail-info h1 {
    font-size: 29px;
    max-width: 300px;
    margin-bottom: 15px;
  }
  .detail-info .eyebrow {
    font-size: 9px;
  }
  .detail-price strong {
    font-size: 28px;
  }
  .detail-price s {
    font-size: 13px;
  }
  .detail-actions {
    margin-top: 23px;
  }
  .detail-actions .button {
    min-height: 49px;
  }
  .description {
    font-size: 12px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cart-list {
    padding: 0 16px;
  }
  .cart-item {
    gap: 14px;
    padding: 20px 0;
  }
  .cart-item > a,
  .cart-item img {
    width: 85px;
  }
  .cart-item img {
    height: 115px;
  }
  .cart-item h3 {
    font-size: 12px;
  }
  .cart-item p {
    font-size: 10px;
  }
  .cart-item strong {
    font-size: 15px;
  }
  .cart-summary {
    padding: 23px;
  }
  .cart-summary h2 {
    font-size: 20px;
  }
  .cart-summary .total {
    font-size: 21px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .profile-card {
    padding: 28px 22px;
  }
  .profile-menu > button {
    padding: 20px;
  }
  .profile-quote {
    font-size: 23px;
    padding: 25px 0;
  }
  .empty-state {
    padding: 55px 12px;
  }
  .empty-state h2 {
    font-size: 23px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .sheet {
    margin: auto 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 90dvh;
    border-radius: 24px 24px 0 0;
    padding: 22px 22px calc(25px + env(safe-area-inset-bottom, 0px));
  }
  .sheet-top {
    margin-bottom: 18px;
  }
  .sheet-top h2 {
    font-size: 22px;
  }
  .sheet .sizes {
    margin: 20px 0;
  }
  .sheet input:not([type="checkbox"]),
  .sheet textarea {
    font-size: 16px !important;
  }
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .admin-heading .button {
    width: 100%;
  }
  .admin-list {
    padding: 5px 12px;
  }
  .admin-row {
    gap: 10px;
  }
  .admin-row > img {
    width: 42px;
    height: 58px;
  }
  .admin-row strong {
    font-size: 10px;
  }
  .admin-row span,
  .admin-row small {
    font-size: 8px;
  }
  .admin-row .icon-button {
    width: 30px;
  }
  .admin-row .icon {
    width: 16px;
  }
  .toast {
    bottom: 115px;
    font-size: 11px;
  }
  .form-columns {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* RELOVED / COLOR CLUB — the logo's blue, violet, aqua and heart red. */
:root { --background:#f1f2fc; --surface:#fff; --text:#161538; --accent:#4930cf; --accent-soft:#e5e0ff; --muted:#77748f; --line:#dcdcf0; color-scheme:light; }
body { background-color:var(--background); background-image:radial-gradient(ellipse at 100% 0%,#53d5db25,transparent 40%),radial-gradient(ellipse at 0% 35%,#9a65fa12,transparent 35%); }
.header { height:142px; border-bottom:1px solid #d8daf1; }
.header-action,.header-right { color:#666285; }
.brand { gap:7px; }
.brand img { width:80px; height:78px; border-radius:16px; object-fit:contain; background:white; box-shadow:5px 5px 0 #53d5db; transform:rotate(-4deg); }
.brand strong { color:#35249c; font-size:11px; letter-spacing:.15em; margin-top:4px; }
.live-dot { background:#18aaa9; }
.intro { align-items:center; margin-bottom:28px; }
.intro .eyebrow { color:#4930cf; font-size:9px; letter-spacing:.18em; }
.intro h1 { font-size:49px; font-weight:800; line-height:1.03; letter-spacing:-.065em; }
.intro h1 span { color:#4930cf; position:relative; display:inline-block; font-family:inherit; font-style:normal; font-weight:800; }
.intro h1 span:after { content:''; display:block; height:6px; background:#58d9da; transform:rotate(-2deg); border-radius:50%; margin-top:7px; }
.intro p { max-width:220px; text-align:right; font-size:12px; color:#74718e; }
.filter-button,.search-box { border-color:#d9d8ee; border-radius:12px; background:#ffffffd9; }
.banner { position:relative; }
.hero { background:#3020b2; border:1px solid #3625b6; border-radius:22px; box-shadow:0 12px 32px #3220ad1c; }
.hero:after { background:linear-gradient(90deg,#3020b2 34%,#3020b2c9 51%,#3020b215 74%); }
.hero-1 { background:#6624b6; }
.hero-1:after { background:linear-gradient(90deg,#6624b6 34%,#6624b6c9 51%,#6624b615 74%); }
.hero-2 { background:#056e80; }
.hero-2:after { background:linear-gradient(90deg,#056e80 34%,#056e80c9 51%,#056e8015 74%); }
.hero .eyebrow { color:#8af1ee; font-weight:800; }
.hero-title,.hero-1 .hero-title,.hero-2 .hero-title { color:#fff; font-weight:800; font-size:66px; letter-spacing:-.06em; }
.hero-subtitle { color:#e3dcff; }
.hero-photo { filter:none; }
.hero-cta { background:#78ece0; color:#17286c; border-radius:9px; padding:11px 17px; box-shadow:3px 3px 0 #140c6370; }
.hero-sticker { background:#e44354; color:#fff; border:2px solid #fff2; border-radius:17px; transform:rotate(12deg); box-shadow:4px 4px 0 #20106170; }
.hero-sticker em { font-family:inherit; font-size:22px; font-style:normal; font-weight:800; }
.hero-footer { color:#77748f; }
.slider-dots button:after { background:#c6c2e6; }
.slider-dots button.active:after { background:#4930cf; }
.chip { border-color:#d7d6ed; background:#ffffff80; color:#5b567b; }
.chip.active { background:#251c65; border-color:#251c65; color:white; }
.product-photo { border-radius:16px; background:#e4e4f2; }
.product-badge,.product-badge.new { background:#fff; color:#43318f; border:1px solid #e8e4ff; }
.discount,.sale-pill { background:#72e8db; color:#174b54; }
.favorite { background:#fffffff2; border:1px solid #e8e4f5; }
.favorite .icon { color:#5b537d; }
.favorite.selected { background:#fff1f3; }
.favorite.selected .icon { fill:#d94352; stroke:#d94352; }
.price s,.product-meta,.description { color:#77748f; }
.add-cart { background:#e5e0ff; color:#4930cf; border:1px solid #d4cafc; }
.add-cart:hover { background:#4930cf; color:white; }
.primary { background:linear-gradient(120deg,#3331bc,#6a29d1); color:white; box-shadow:0 5px 16px #4930cf25; }
.primary:hover { filter:brightness(1.08); }
.secondary { background:#e5e0ff; color:#4930cf; }
.size { border-color:#d9d4ee; }
.size.selected { background:#4930cf; color:white; }
.bottom-nav { border-color:#d9d4ef; background:#fffffff2; box-shadow:0 10px 35px #30217322; }
.nav-item { color:#817b9a; }
.nav-item.active { color:#4930cf; }
.nav-item.active:before { background:#19bcb8; }
.nav-badge { background:#d94352; border-color:white; color:white; }
.profile-quote { color:#4930cf; }
.icon-button { color:#72648f; }
.toast { background:#241c56; color:white; }
.share-button,.endnote { color:#77748f; }
.stock { color:#147a77; }
.hero-brand { background:radial-gradient(circle at 85% 15%,#7432e0,transparent 55%),linear-gradient(125deg,#1729a5,#4c1fae); }
.hero-brand:after { display:none; }
.hero-brand:before { content:''; position:absolute; width:300px; height:300px; right:-50px; top:40px; border:42px solid #59e3dc; border-radius:50%; transform:rotate(-20deg); opacity:.95; }
.hero-brand .hero-title { font-size:59px; }
.brand-art { position:absolute; width:235px; height:235px; right:65px; top:38px; object-fit:contain; background:white; border-radius:22px; transform:rotate(9deg); box-shadow:9px 9px 0 #23135c80; }
@media(max-width:600px) {
 .header { height:128px; }
 .brand img { width:65px; height:63px; border-radius:12px; box-shadow:4px 4px 0 #53d5db; }
 .brand strong { font-size:9px; letter-spacing:.1em; }
 .intro h1 { font-size:37px; }
 .intro .eyebrow { font-size:7px; }
 .hero-title { font-size:45px; }
 .hero-sticker { border-radius:12px; }
 .hero-sticker em { font-size:16px; }
 .hero:after { background:linear-gradient(90deg,#3020b2 27%,#3020b2dc 42%,#3020b230 70%,transparent); }
 .hero-1:after { background:linear-gradient(90deg,#6624b6 27%,#6624b6dc 42%,#6624b630 70%,transparent); }
 .hero-2:after { background:linear-gradient(90deg,#056e80 27%,#056e80dc 42%,#056e8030 70%,transparent); }
 .hero-brand .hero-copy { max-width:68%; }
 .hero-brand .hero-title { font-size:37px; }
 .hero-brand .hero-subtitle { max-width:165px; }
 .hero-brand .eyebrow { font-size:6px; }
 .hero-brand:before { width:170px; height:170px; right:-50px; top:60px; border-width:25px; }
 .brand-art { width:125px; height:125px; right:-8px; top:82px; border-radius:16px; }
}

.hero-brand { color:#fff; text-decoration:none; }
.hero-brand:hover { color:#fff; filter:brightness(1.04); }
.banner-link-hint { position:absolute; z-index:3; right:28px; bottom:24px; display:flex; align-items:center; gap:6px; padding:9px 13px; border:1px solid #ffffff55; border-radius:999px; color:#fff; background:#19104c66; font-size:11px; font-weight:700; backdrop-filter:blur(8px); }
.banner-link-hint .icon { width:14px; height:14px; }
.storefront-editor { margin:0 0 30px; padding:24px; border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:0 12px 34px #2920630b; }
.storefront-editor > .section-heading { margin-bottom:18px; }
.storefront-editor .section-heading h2 { margin-top:4px; }
.storefront-form { display:grid; gap:18px; }
.storefront-editor-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.78fr); gap:24px; align-items:start; }
.storefront-fields { display:grid; gap:12px; }
.storefront-fields h3 { margin:8px 0 0; font-size:14px; }
.storefront-fields label { display:grid; gap:6px; color:var(--text); font-size:12px; font-weight:700; }
.storefront-fields input:not([type=file]):not([type=color]):not([type=range]),.storefront-fields textarea { width:100%; min-width:0; padding:11px 12px; border:1px solid var(--line); border-radius:11px; outline:0; color:var(--text); background:#fff; font-size:13px; }
.storefront-fields input:focus,.storefront-fields textarea:focus { border-color:var(--accent); }
.storefront-fields .upload-area { min-height:52px; padding:10px 12px; border:1px dashed #b8b3d7; border-radius:12px; color:var(--accent); background:#f8f7ff; }
.storefront-fields .upload-area small { color:var(--muted); font-weight:500; }
.storefront-fields .upload-area input { max-width:100%; }
.background-mode { display:flex; gap:7px; padding:4px; border-radius:12px; background:#f0eff8; }
.mode-choice { flex:1; padding:9px; border-radius:9px; font-size:12px; font-weight:700; color:var(--muted); }
.mode-choice.active { background:#fff; color:var(--accent); box-shadow:0 2px 8px #28205218; }
.gradient-fields { display:grid; gap:11px; padding:13px; border:1px solid var(--line); border-radius:14px; background:#fafaff; }
.gradient-colors { display:flex; gap:12px; }
.gradient-colors label { flex:1; }
.gradient-colors input[type=color] { width:100%; height:38px; padding:3px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.gradient-fields input[type=range] { width:100%; accent-color:var(--accent); }
.gradient-fields output { float:right; color:var(--accent); }
.gradient-presets { display:flex; gap:9px; }
.gradient-presets button { width:48px; height:32px; border:2px solid #fff; border-radius:9px; box-shadow:0 0 0 1px var(--line); }
.gradient-presets button:hover { box-shadow:0 0 0 2px var(--accent); }
.storefront-previews { display:grid; gap:18px; position:sticky; top:18px; }
.preview-label { display:block; margin-bottom:8px; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.storefront-banner-preview { min-height:155px; position:relative; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:6px; overflow:hidden; padding:20px 24px; border-radius:16px; color:#fff; background:radial-gradient(circle at 85% 15%,#7432e0,transparent 55%),linear-gradient(125deg,#1729a5,#4c1fae); }
.storefront-banner-preview:after { content:''; position:absolute; right:-18px; top:10px; width:140px; height:140px; border:19px solid #59e3dc; border-radius:50%; opacity:.9; }
.preview-eyebrow,.preview-title,.preview-subtitle { z-index:1; max-width:68%; }
.preview-eyebrow { color:#9af1ed; font-size:8px; font-weight:800; }
.preview-title { font-size:26px; line-height:1.05; }
.preview-subtitle { color:#e3dcff; font-size:9px; }
.preview-banner-image { position:absolute; z-index:1; right:20px; width:84px; height:84px; border-radius:15px; object-fit:contain; background:#fff; box-shadow:5px 5px 0 #23135c80; }
.storefront-background-preview { min-height:116px; display:grid; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:radial-gradient(ellipse at 100% 0%,#53d5db25,transparent 40%),radial-gradient(ellipse at 0% 35%,#9a65fa12,transparent 35%),#f1f2fc; background-size:cover; }
.preview-shop-card { width:70%; padding:13px; border:1px solid #ffffffb8; border-radius:12px; color:#302a72; background:#ffffffc9; box-shadow:0 8px 20px #24205a12; font-size:10px; font-weight:800; text-align:center; backdrop-filter:blur(8px); }
.preview-shop-card span { font-size:8px; font-weight:500; }
@media(max-width:760px) { .storefront-editor { padding:17px; } .storefront-editor-grid { grid-template-columns:1fr; } .storefront-previews { position:static; grid-template-columns:1fr 1fr; align-items:start; } }
@media(max-width:600px) { .banner-link-hint { right:14px; bottom:13px; font-size:9px; padding:7px 10px; } }
@media(max-width:480px) { .storefront-previews { grid-template-columns:1fr; } .storefront-editor { padding:14px; } }
[hidden] { display:none !important; }

.admin-banner-entry { width:100%; display:flex; align-items:center; justify-content:space-between; margin:0 0 18px; padding:17px 19px; border:1px solid var(--line); border-radius:16px; background:var(--surface); text-align:left; }
.admin-banner-entry span { display:grid; gap:4px; }
.admin-banner-entry strong { font-size:14px; }
.admin-banner-entry small { color:var(--muted); font-size:11px; }
.admin-banner-entry > .icon { width:18px; color:var(--accent); }
.managed-banner-list { display:grid; gap:10px; }
.managed-banner-row { display:grid; grid-template-columns:minmax(0,1fr) 42px; align-items:center; gap:12px; padding:10px; border:1px solid var(--line); border-radius:17px; background:var(--surface); }
.managed-banner-main { min-width:0; display:flex; align-items:center; gap:13px; text-align:left; }
.managed-banner-thumb { position:relative; flex:0 0 116px; height:66px; display:grid; place-items:center; overflow:hidden; border-radius:11px; color:#fff; }
.managed-banner-thumb:after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#11182780,transparent); }
.managed-banner-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.managed-banner-thumb strong { position:relative; z-index:1; max-width:90%; overflow:hidden; color:white; font-size:11px; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 2px 5px #0008; }
.managed-banner-copy { min-width:0; display:grid; gap:5px; }
.managed-banner-copy strong,.managed-banner-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.managed-banner-copy strong { font-size:13px; }
.managed-banner-copy small { color:var(--muted); font-size:10px; }
.banner-delete { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#d63850; font-size:27px; line-height:1; box-shadow:0 3px 10px #d6385030; }
.banner-delete:hover { background:#b91e39; transform:scale(1.04); }
.banner-add { display:flex; align-items:center; gap:6px; }
.banner-add .icon { width:17px; }
.banner-edit-form { display:grid; gap:12px; }
.banner-edit-form > label:not(.upload-area),.banner-photo-fields > label:not(.upload-area),.banner-gradient-fields label { display:grid; gap:6px; color:var(--text); font-size:12px; font-weight:700; }
.banner-edit-form input:not([type=file]):not([type=color]):not([type=range]),.banner-edit-form textarea { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:11px; color:var(--text); background:#fff; font-size:13px; }
.banner-edit-form h3 { margin:7px 0 0; font-size:14px; }
.banner-edit-form .upload-area { display:grid; gap:5px; min-height:52px; padding:10px 12px; border:1px dashed #b8b3d7; border-radius:12px; color:var(--accent); background:#f8f7ff; font-size:12px; font-weight:700; }
.banner-edit-form .upload-area small { color:var(--muted); font-weight:500; }
.banner-photo-fields,.banner-gradient-fields { display:grid; gap:11px; padding:13px; border:1px solid var(--line); border-radius:14px; background:#fafaff; }
.banner-gradient-fields input[type=color] { width:100%; height:38px; padding:3px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.banner-gradient-fields input[type=range] { width:100%; accent-color:var(--accent); }
.banner-gradient-fields output { float:right; color:var(--accent); }
.banner-edit-preview { margin:2px 0; }
.banner-edit-preview .storefront-banner-preview { min-height:180px; }
.banner-preview-backdrop { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; }
.banner-preview-backdrop ~ .preview-eyebrow,.banner-preview-backdrop ~ .preview-title,.banner-preview-backdrop ~ .preview-subtitle { text-shadow:0 2px 5px #000a; }
.hero-managed .hero-backdrop { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; }
.hero-managed.hero-photo-mode:after { display:block; background:linear-gradient(90deg,#17182dce 0%,#17182d75 48%,transparent 82%); }
.hero-managed .hero-copy { max-width:57%; }
@media(max-width:600px) { .managed-banner-thumb { flex-basis:88px; height:58px; } .managed-banner-main { gap:9px; } .managed-banner-copy strong { font-size:11px; } .banner-delete { width:34px; height:34px; } .hero-managed .hero-copy { max-width:68%; } }
.storefront-banner-preview.banner-custom-bg:after { display:none; }
.hero-managed.hero-plain-mode:before { display:none; }

.sheet.sheet-banner-edit[open] { display:flex; flex-direction:column; width:min(460px,calc(100vw - 24px)); height:min(78dvh,680px); max-height:88dvh; overflow:hidden; padding:0; border-radius:20px; }
.sheet.sheet-banner-edit:not([open]) { display:none !important; }
.sheet-banner-edit .sheet-top { flex:none; margin:0; padding:10px 15px 8px; border-bottom:1px solid var(--line); }
.sheet-banner-edit .sheet-top h2 { font-size:16px; letter-spacing:-.02em; }
.sheet-banner-edit .sheet-top .icon-button { width:34px; height:34px; }
.sheet-banner-edit #sheet-content { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:10px 15px 12px; }
.banner-edit-form { display:grid; gap:8px; }
.banner-edit-preview { margin:0; }
.banner-edit-preview .storefront-banner-preview { min-height:92px; padding:10px 14px; border-radius:13px; }
.banner-edit-preview .preview-eyebrow { font-size:7px; }
.banner-edit-preview .preview-title { margin:3px 0 5px; font-size:20px; }
.banner-edit-preview .preview-subtitle { font-size:8px; }
.banner-edit-preview .preview-banner-image { width:52px; height:52px; right:12px; }
.banner-edit-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:3px; border-radius:11px; background:#f0eff8; }
.banner-edit-tabs button { min-height:32px; border-radius:8px; color:var(--muted); font-size:11px; font-weight:700; }
.banner-edit-tabs button.active { color:var(--accent); background:#fff; box-shadow:0 1px 5px #28205218; }
.banner-edit-panel { display:grid; gap:7px; }
.banner-edit-form > .banner-edit-panel > label,.banner-photo-fields > label:not(.upload-area),.banner-gradient-fields label { display:grid; gap:3px; color:var(--text); font-size:10px; font-weight:700; }
.banner-edit-form input:not([type=file]):not([type=color]):not([type=range]),.banner-edit-form textarea { width:100%; min-width:0; min-height:34px; padding:6px 9px; border:1px solid var(--line); border-radius:8px; color:var(--text); background:#fff; font-size:14px; }
.banner-edit-form textarea { min-height:48px; resize:vertical; }
.banner-edit-form h3 { margin:0; font-size:12px; }
.banner-edit-form .upload-area { display:grid; gap:3px; min-height:42px; padding:7px 9px; border:1px dashed #b8b3d7; border-radius:9px; color:var(--accent); background:#f8f7ff; font-size:10px; font-weight:700; }
.banner-edit-form .upload-area small { color:var(--muted); font-size:9px; font-weight:500; }
.banner-photo-fields,.banner-gradient-fields { display:grid; gap:7px; padding:8px; border:1px solid var(--line); border-radius:11px; background:#fafaff; }
.banner-edit-form .background-mode { gap:4px; padding:3px; }
.banner-edit-form .mode-choice { min-height:30px; padding:5px; font-size:10px; }
.banner-gradient-fields .gradient-colors { display:flex; gap:8px; }
.banner-gradient-fields input[type=color] { width:100%; height:30px; padding:2px; border:1px solid var(--line); border-radius:7px; background:#fff; }
.banner-gradient-fields input[type=range] { width:100%; height:18px; accent-color:var(--accent); }
.banner-gradient-fields output { float:right; color:var(--accent); }
.banner-gradient-fields .gradient-presets { gap:8px; }
.banner-gradient-fields .gradient-presets button { width:40px; height:26px; }
.banner-edit-status { min-height:0; margin:0; font-size:10px; }
.banner-save { position:sticky; bottom:0; z-index:3; min-height:42px; margin-top:1px; padding:9px 13px; border-radius:11px; font-size:12px; box-shadow:0 4px 14px #4930cf20; }
.banner-preview-backdrop { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; }
.banner-preview-backdrop ~ .preview-eyebrow,.banner-preview-backdrop ~ .preview-title,.banner-preview-backdrop ~ .preview-subtitle { text-shadow:0 2px 5px #000a; }
@media(max-width:600px) {
  .sheet.sheet-banner-edit[open] { width:100%; max-width:100%; height:min(78dvh,650px); max-height:84dvh; margin:auto 0 0; padding:0; border-radius:18px 18px 0 0; }
  .sheet-banner-edit .sheet-top { padding:8px 14px 6px; }
  .sheet-banner-edit .sheet-top h2 { font-size:15px; }
  .sheet-banner-edit #sheet-content { padding:8px 14px calc(9px + env(safe-area-inset-bottom,0px)); }
  .banner-edit-form { gap:6px; }
  .banner-edit-preview .storefront-banner-preview { min-height:82px; }
  .banner-edit-form input:not([type=file]):not([type=color]):not([type=range]),.banner-edit-form textarea { min-height:32px; padding:5px 8px; font-size:14px !important; }
  .banner-edit-form textarea { min-height:42px; }
}
[hidden] { display:none !important; }

.header-right.header-left { left:40px; right:auto; }
@media(max-width:900px) { .header-right.header-left { left:25px; right:auto; } }
@media(max-width:600px) { .header-right.header-left { left:0; right:auto; font-size:9px; gap:5px; } }
