:root {
  --pink-50:  #fffafd;
  --pink-100: #ffeaf4;
  --pink-200: #ffd1e6;
  --pink-300: #ffb3d3;
  --pink-500: #ff8dbc;
  --pink-600: #f56fa7;
  --berry:    #8d5670;
  --berry-dark: #664454;
  --purple:   #afa3d9;
  --mint:     #acd8cb;
  --text:     #4d4450;
  --muted:    #817783;
  --shadow:   0 8px 24px rgba(93, 76, 102, .09);
  --shadow-hover: 0 14px 30px rgba(93, 76, 102, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: 'Nunito', Arial, sans-serif;
  color: var(--text);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23f08fb6' fill-opacity='.24'%3E%3Ccircle cx='32' cy='32' r='7'/%3E%3Ccircle cx='42' cy='39' r='7'/%3E%3Ccircle cx='39' cy='50' r='7'/%3E%3Ccircle cx='26' cy='50' r='7'/%3E%3Ccircle cx='22' cy='39' r='7'/%3E%3C/g%3E%3Ccircle cx='32' cy='41' r='3.5' fill='%23eabf72' fill-opacity='.48'/%3E%3Cg fill='%23efa0c1' fill-opacity='.18'%3E%3Ccircle cx='139' cy='124' r='5'/%3E%3Ccircle cx='146' cy='129' r='5'/%3E%3Ccircle cx='144' cy='137' r='5'/%3E%3Ccircle cx='134' cy='137' r='5'/%3E%3Ccircle cx='132' cy='129' r='5'/%3E%3C/g%3E%3Ccircle cx='139' cy='132' r='2.5' fill='%23eabf72' fill-opacity='.38'/%3E%3Cpath d='M122 28 Q124 38 134 40 Q124 42 122 52 Q120 42 110 40 Q120 38 122 28Z' fill='%23e8a4c5' fill-opacity='.33'/%3E%3Cpath d='M72 112 Q73 119 80 121 Q73 123 72 130 Q71 123 64 121 Q71 119 72 112Z' fill='%23e8a4c5' fill-opacity='.3'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    radial-gradient(circle, rgba(245,111,167,.2) 0 1px, transparent 1.7px) 12px 9px / 37px 43px,
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.8px) 0 0 / 53px 47px,
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(180deg, #fbf8f4, #fffafd 420px, #f3f8f6);
  background-attachment: fixed;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
del { color: #b9a0ad; font-size: .85rem; }

::selection {
  background: var(--pink-300);
  color: var(--berry-dark);
}

:focus-visible {
  outline: 3px solid rgba(255, 75, 155, .45);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--pink-50); }
::-webkit-scrollbar-thumb {
  background: var(--pink-300);
  border: 2px solid var(--pink-50);
  border-radius: 99px;
}

.container { width: min(1180px, 94%); margin-inline: auto; }

main.container { padding: 14px 0 40px; display: flex; flex-direction: column; gap: 14px; }

.box {
  position: relative;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(225, 215, 220, .95);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(70, 55, 66, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: section-enter .55s ease both;
}

.section-title {
  color: #47333e;
}

main.container > .box:nth-child(2) { animation-delay: .08s; }
main.container > .box:nth-child(3) { animation-delay: .16s; }
main.container > .box:nth-child(4) { animation-delay: .24s; }

@keyframes section-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.section-title { font-size: 1.15rem; font-weight: 900; color: var(--pink-600); }
.catalog-count { margin-left: auto; padding: 4px 12px; color: var(--berry); background: var(--pink-100); border-radius: 99px; font-size: .82rem; font-weight: 900; }
.see-all {
  margin-left: auto; font-size: .85rem; font-weight: 800;
  color: var(--pink-600); background: var(--pink-100);
  padding: 4px 12px; border-radius: 99px;
}
.see-all:hover { background: var(--pink-600); color: #fff; }
.sub { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }

.btn {
  display: inline-block; border: none; cursor: pointer;
  padding: 12px 30px;
  font: 900 1rem 'Nunito', Arial, sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  border-radius: 99px;
  box-shadow: 0 6px 14px rgba(230, 32, 127, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: scale(1.07); box-shadow: 0 10px 22px rgba(230, 32, 127, .5); filter: brightness(1.08); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn:hover::after { transform: translateX(120%); }
.btn-big { padding: 14px 44px; font-size: 1.2rem; }
.btn-small { padding: 7px 18px; font-size: .85rem; }
.btn-block { display: block; width: 100%; padding: 14px; }

.site-header { background: linear-gradient(180deg, #ffdbe9, #fff1f7); }

.header-top { display: flex; align-items: center; gap: 22px; padding: 12px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  display: grid; place-items: center; width: 54px; height: 54px; font-size: 1.7rem;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  border-radius: 16px; box-shadow: var(--shadow);
}
.logo-icon img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.logo-text { font-size: 1.35rem; font-weight: 900; line-height: 1.05; color: var(--pink-600); letter-spacing: .5px; }
.logo-light .logo-text { color: #fff; }

.search-box {
  flex: 1; display: flex; max-width: 520px;
  background: #fff; border: 2px solid var(--pink-300); border-radius: 99px; overflow: hidden;
}
.search-box input {
  flex: 1; border: none; outline: none; padding: 10px 18px;
  font: 600 .95rem 'Nunito', Arial, sans-serif; color: var(--text); background: transparent;
}
.search-box button {
  border: none; cursor: pointer; padding: 0 22px; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}
.search-box button:hover { filter: brightness(1.1); }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-actions a,
.header-actions .cart-open { position: relative; display: flex; flex-direction: column; align-items: center; font-size: 1.4rem; line-height: 1.1; }
.header-actions .cart-open { padding: 0; color: inherit; background: transparent; border: 0; font-family: inherit; cursor: pointer; }
.header-actions small { font-size: .68rem; font-weight: 700; color: var(--berry); }
.header-actions a:hover,
.header-actions .cart-open:hover { transform: translateY(-3px); }
.has-badge::after {
  content: attr(data-badge); position: absolute; top: -6px; right: -6px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--pink-600); color: #fff; font-size: .65rem; font-weight: 800;
  display: grid; place-items: center;
}
.has-badge[data-badge="0"]::after { display: none; }
.btn-login {
  flex-direction: row !important; gap: 6px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff; font-size: .9rem !important; font-weight: 800;
  padding: 10px 20px; border-radius: 99px;
}
.btn-login:hover { filter: brightness(1.1); transform: translateY(-2px); }

.main-nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #f38db8, #efabc5);
  box-shadow: 0 5px 16px rgba(93, 76, 102, .18);
}
.main-nav ul { display: flex; justify-content: space-between; overflow-x: auto; }
.main-nav a {
  position: relative; display: block; white-space: nowrap;
  padding: 14px 20px; color: #fff; font-weight: 800; font-size: .95rem;
  transition: background .25s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, .2); }
.hot-tag {
  position: absolute; top: 3px; right: -2px; background: #ff3b3b; color: #fff;
  font-size: .55rem; font-weight: 900; padding: 1px 6px; border-radius: 6px;
}

.banner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  min-height: 330px; padding: 30px 40px; border-radius: 26px;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.7), transparent 38%),
    linear-gradient(120deg, #ffc8dc, #ffd9e7 48%, #d8d1f1);
  box-shadow: 0 18px 40px rgba(93, 76, 102, .12);
}
.banner::before, .banner::after {
  content: "✦"; position: absolute; color: #fff; opacity: .85; font-size: 2rem;
}
.banner::before { top: 24px; left: 26px; }
.banner::after  { bottom: 30px; left: 46%; font-size: 1.4rem; }

.banner-text { position: relative; z-index: 2; max-width: 600px; }
.ribbon {
  display: inline-block; padding: 6px 26px; margin-bottom: 8px;
  background: linear-gradient(135deg, #ff87b7, #e8a9cf); color: #fff;
  font-weight: 900; letter-spacing: 1px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.banner h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.05; color: #fff;
  -webkit-text-stroke: 1px rgba(86, 75, 92, .48); paint-order: stroke fill;
  text-shadow: 0 4px 18px rgba(70, 45, 60, .18);
}
.banner h2 { margin-top: 14px; font-size: clamp(1rem, 2.4vw, 1.5rem); font-weight: 900; color: #59505f; }
.banner p { margin: 8px 0 14px; color: #625a67; font-weight: 600; max-width: 480px; text-align: justify; }

.promises { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.promises li {
  background: rgba(255,255,255,.85); padding: 7px 16px; border-radius: 99px;
  font-size: .85rem; font-weight: 800; color: var(--berry);
}

.banner-art { position: relative; z-index: 1; width: 340px; height: 280px; text-align: center; }
.art-emoji {
  position: absolute;
  left: 48%;
  bottom: -18px;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  font-size: 11rem;
  line-height: 1;
  filter: drop-shadow(0 12px 12px rgba(160, 30, 100, .3));
  animation: float 3s ease-in-out infinite;
}
.art-gift { position: absolute; right: -8px; bottom: 8px; font-size: 4.5rem; }
.speech {
  position: absolute; top: 10px; left: 12px; z-index: 3;
  background: #fff; color: var(--pink-600); font-weight: 900; padding: 10px 18px;
  border-radius: 20px; box-shadow: var(--shadow);
}
.art-coupon {
  position: absolute; top: 0; right: -10px; width: 80px; height: 56px; display: grid; place-items: center;
  background: #b48bff; color: #fff; font-size: 2rem; font-weight: 900; border-radius: 10px; transform: rotate(14deg);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

.tesseract-stage {
  position: relative;
  height: 330px;
  overflow: hidden;
  perspective: 1100px;
  touch-action: pan-y;
  cursor: grab;
  isolation: isolate;
}
.tesseract-stage::before {
  content: "";
  position: absolute;
  inset: 36px 50px;
  background: radial-gradient(circle at 50% 52%, rgba(255,255,255,.9) 0 18%, rgba(255,231,242,.55) 38%, transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}
.tesseract-stage::after {
  content: "✦";
  position: absolute;
  left: 29%;
  top: 26%;
  color: #c58ad8;
  font-size: 2.4rem;
  filter: drop-shadow(0 0 8px #fff);
  pointer-events: none;
}
.tesseract-stage.is-dragging { cursor: grabbing; }
.tesseract-model {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(-18deg) rotateY(28deg);
  pointer-events: none;
}
.cube {
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 230px;
  transform-style: preserve-3d;
}
.cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.95);
  background: rgba(255,255,255,.018);
  box-shadow:
    inset 0 0 22px rgba(255,255,255,.18),
    0 0 12px rgba(255, 126, 174, .22);
  outline: 1px solid rgba(238, 142, 183, .42);
  outline-offset: -7px;
  backface-visibility: visible;
}
.cube-inner {
  transform: scale3d(.58, .58, .58);
  animation: inner-4d 8s ease-in-out infinite alternate;
}
@keyframes inner-4d {
  from { transform: scale3d(.58, .58, .58) rotateY(0deg); }
  to { transform: scale3d(.58, .58, .58) rotateY(180deg) rotateX(12deg); }
}
.cube-inner .cube-face {
  border-color: rgba(255,255,255,.92);
  border-style: dashed;
  background: rgba(142, 95, 240, .025);
}
.face-front { transform: translateZ(115px); }
.face-back { transform: rotateY(180deg) translateZ(115px); }
.face-right { transform: rotateY(90deg) translateZ(115px); }
.face-left { transform: rotateY(-90deg) translateZ(115px); }
.face-top { transform: rotateX(90deg) translateZ(115px); }
.face-bottom { transform: rotateX(-90deg) translateZ(115px); }
.categories {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.categories li {
  position: absolute;
  top: 115px;
  left: 115px;
  width: 120px;
  transform-style: preserve-3d;
  pointer-events: auto;
}
.categories li:nth-child(1) { transform: translate(-60px, -75px) translate3d(-115px, -115px, -115px) rotateZ(-4deg); }
.categories li:nth-child(2) { transform: translate(-60px, -75px) translate3d(115px, -115px, -115px) rotateZ(4deg); }
.categories li:nth-child(3) { transform: translate(-60px, -75px) translate3d(-115px, 115px, -115px) rotateZ(-4deg); }
.categories li:nth-child(4) { transform: translate(-60px, -75px) translate3d(115px, 115px, -115px) rotateZ(4deg); }
.categories li:nth-child(5) { transform: translate(-60px, -75px) translate3d(-115px, -115px, 115px) rotateZ(-4deg); }
.categories li:nth-child(6) { transform: translate(-60px, -75px) translate3d(115px, -115px, 115px) rotateZ(4deg); }
.categories li:nth-child(7) { transform: translate(-60px, -75px) translate3d(-115px, 115px, 115px) rotateZ(-4deg); }
.categories li:nth-child(8) { transform: translate(-60px, -75px) translate3d(115px, 115px, 115px) rotateZ(4deg); }
.categories li:nth-child(1) { animation-delay: -.1s; }
.categories li:nth-child(2) { animation-delay: -.3s; }
.categories li:nth-child(3) { animation-delay: -.5s; }
.categories li:nth-child(4) { animation-delay: -.7s; }
.categories li:nth-child(5) { animation-delay: -.9s; }
.categories li:nth-child(6) { animation-delay: -1.1s; }
.categories li:nth-child(7) { animation-delay: -1.3s; }
.categories li:nth-child(8) { animation-delay: -1.5s; }
.tesseract-hint {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
}
.categories a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  min-height: 150px;
  padding: 12px 8px;
  text-align: center;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 800;
  color: #a72767;
  text-shadow: 0 1px 0 #fff, 0 0 8px rgba(255,255,255,.95);
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.96) 0 21%, transparent 22%),
    linear-gradient(145deg, #fff, #fff7fb);
  opacity: 1;
  border: 2px solid #fff; border-radius: 18px; box-shadow: var(--shadow);
  transition: box-shadow .25s, color .25s;
  backface-visibility: visible;
}
.categories a::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 86%;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, #ff7eb2 0 13%, transparent 14%),
    linear-gradient(160deg, #fff 0 62%, rgba(255,205,226,.45));
}
.categories a > img {
  position: absolute;
  top: 13px;
  left: 8px;
  width: calc(100% - 16px);
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  z-index: 1;
  display: block;
}
.categories a::before { z-index: 0; }
.categories a span {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 2.25rem;
  filter: drop-shadow(0 1px 2px rgba(162,39,103,.18));
}
.categories a b {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  z-index: 2;
  min-height: 28px;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 900;
  color: #a72767;
}
.categories a:hover {
  box-shadow: var(--shadow-hover), 0 0 18px rgba(255,255,255,.8);
  color: var(--pink-600);
}
.cat-hot::after {
  content: "HOT"; position: absolute; top: -6px; right: -4px; background: #ff3b3b; color: #fff;
  font-size: .6rem; padding: 2px 7px; border-radius: 6px;
}

.countdown {
  background: var(--pink-100); color: var(--pink-600); padding: 4px 14px;
  border-radius: 99px; font-size: .85rem; font-weight: 800;
}
.countdown b { background: var(--pink-600); color: #fff; padding: 1px 6px; border-radius: 6px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.catalog-controls { display: grid; grid-template-columns: auto minmax(180px, 240px); align-items: center; gap: 8px 12px; margin: 12px 0; }
.catalog-controls label { color: var(--muted); font-size: .84rem; font-weight: 800; }
.catalog-controls select { width: 100%; min-width: 0; padding: 9px 12px; color: var(--text); background: #fff; border: 1px solid var(--pink-200); border-radius: 10px; font: 600 .86rem 'Nunito', Arial, sans-serif; }
.catalog-product-tag { align-self: flex-start; margin-bottom: 2px; padding: 2px 8px; color: var(--berry); background: var(--pink-100); border-radius: 99px; font-size: .68rem; font-weight: 900; }
.similar-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.similar-product-grid .product-card { min-width: 0; }
.similar-product-grid .thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.product-search-results[hidden] { display: none; }
.product-search-results .sub { margin-bottom: 14px; }
.best-seller-visibility-control { display: flex; justify-content: flex-end; margin: 4px 0 -4px; }
.best-seller-visibility-control button {
  padding: 8px 14px; color: var(--berry-dark); background: #fff; border: 1px solid var(--pink-300);
  border-radius: 999px; font: 800 .82rem 'Nunito', Arial, sans-serif; cursor: pointer;
}
.best-seller-visibility-control button:hover { color: #fff; background: var(--pink-600); }
#weekly-best-sellers[hidden] { display: none; }

.flash-sale-carousel {
  position: relative; display: block; height: 370px; overflow: hidden;
  touch-action: pan-y; user-select: none; cursor: grab;
}
.flash-sale-carousel:active { cursor: grabbing; }
.flash-sale-carousel .product-card {
  position: absolute; top: 8px; left: 50%; width: min(78%, 330px); height: 340px; min-height: 0;
  transform: translate3d(calc(-50% + var(--flash-offset-x, 0px)), var(--flash-offset-y, 0px), 0) scale(var(--flash-scale, 1));
  opacity: var(--flash-opacity, 1); filter: blur(var(--flash-blur, 0px));
  transition: transform .36s cubic-bezier(.2,.75,.3,1), opacity .36s ease, filter .36s ease;
}
.flash-sale-carousel .product-card:hover {
  transform: translate3d(calc(-50% + var(--flash-offset-x, 0px)), var(--flash-offset-y, 0px), 0) scale(var(--flash-scale, 1));
}
.flash-sale-carousel .product-card .thumb { height: 150px; }
.flash-sale-carousel .product-card:not(.is-current) { pointer-events: none; }
.flash-sale-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.flash-sale-controls button {
  display: grid; place-items: center; width: 38px; height: 38px; color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); border: 0; border-radius: 50%;
  font: 900 1.5rem 'Nunito', Arial, sans-serif; cursor: pointer;
}
.flash-sale-controls button:disabled { opacity: .35; cursor: not-allowed; }
.flash-sale-controls span { min-width: 48px; color: var(--berry-dark); font-size: .85rem; font-weight: 900; text-align: center; }
#category-page[hidden],
#category-page-grid[hidden],
#category-page-empty[hidden],
#category-page-pagination[hidden] { display: none; }
main.category-page-mode > :not(#category-page) { display: none !important; }
#category-page-grid.category-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.category-page-back {
  padding: 8px 14px; color: var(--berry-dark); background: #fff; border: 1px solid var(--pink-300);
  border-radius: 999px; font: 800 .82rem 'Nunito', Arial, sans-serif; cursor: pointer;
}
.category-page-back:hover { color: #fff; background: var(--pink-600); }
.category-page-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.category-page-number {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  color: var(--berry-dark); background: #fff; border: 1px solid var(--pink-200);
  border-radius: 12px; font: 800 .9rem 'Nunito', Arial, sans-serif; cursor: pointer;
}
.category-page-number:hover,
.category-page-number[aria-current="page"] {
  color: #fff; background: var(--pink-600); border-color: var(--pink-600);
}
.category-page-number:focus-visible { outline: 3px solid var(--pink-300); outline-offset: 2px; }

.product-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px;
  background: #fff; border: 2px solid var(--pink-100); border-radius: 18px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--pink-300); }
.product-card h3 { font-size: .92rem; font-weight: 800; min-height: 2.7em; }
.product-card strong { font-size: 1.1rem; color: var(--pink-600); font-weight: 900; }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: linear-gradient(135deg, #ff3d86, #d6176f); color: #fff;
  font-size: .75rem; font-weight: 900; padding: 3px 10px; border-radius: 99px;
}
.heart {
  position: absolute; top: 8px; right: 10px; z-index: 2; border: none; background: none;
  font-size: 1.3rem; color: var(--pink-500); cursor: pointer; transition: transform .2s;
}
.heart:hover { transform: scale(1.4); }

.thumb {
  display: grid; place-items: center; height: 130px; font-size: 4.2rem; border-radius: 14px;
  transition: transform .3s;
}
.product-card:hover .thumb { transform: scale(1.04) rotate(.5deg); }
.product-card:hover .thumb img { transform: scale(1.09); }
.product-card .thumb img {
  transition: transform .45s cubic-bezier(.2,.75,.3,1);
}
.t1 { background: linear-gradient(135deg, #fff, #ffe3f0); }
.t2 { background: linear-gradient(135deg, #f3f0ff, #e6dcff); }
.t3 { background: linear-gradient(135deg, #fff1e6, #ffd9ec); }
.t4 { background: linear-gradient(135deg, #ffe3f0, #ffc2dc); }
.t5 { background: linear-gradient(135deg, #fff0f7, #ffd0e6); }
.t6 { background: linear-gradient(135deg, #ffd6e8, #ffb8d6); }
.t7 { background: linear-gradient(135deg, #ffd0e0, #ffa9c8); }
.t8 { background: linear-gradient(135deg, #fff2e0, #ffd9c2); }
.t9 { background: linear-gradient(135deg, #fde5ee, #ffc8dc); }
.t10 { background: linear-gradient(135deg, #ffe6f2, #ffb5d4); }
.t11 { background: linear-gradient(135deg, #fff1de, #ffdcc0); }

.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.cart-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); font-size: 1rem;
  box-shadow: 0 4px 10px rgba(230, 32, 127, .35); transition: transform .2s;
}
.cart-btn:hover { transform: scale(1.2) rotate(-10deg); }

.row-3 { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; }
.row-3 > .box { display: flex; flex-direction: column; }
.row-discovery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#hein-picks-summary[hidden],
#hein-picks-grid[hidden] { display: none; }
.mini-card {
  display: flex; flex-direction: column; gap: 3px; padding: 8px; background: #fff;
  border-radius: 14px; font-size: .8rem; transition: transform .25s, box-shadow .25s;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.mini-card .thumb { height: 90px; font-size: 2.8rem; }
.mini-card h3 { font-weight: 800; }
.mini-card strong { color: var(--pink-600); }

.viewers { margin-left: auto; font-size: .8rem; font-weight: 800; color: var(--muted); }
.live-screen {
  position: relative; flex: 1; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #ffc2dc, #ff8fbf 60%, #d9a8ff);
}
.live-face { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 6rem; }
.live-tag {
  position: absolute; top: 12px; left: 12px; background: #ff2d55; color: #fff;
  font-size: .72rem; font-weight: 900; padding: 3px 10px; border-radius: 6px; animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .55; } }
.live-chat {
  align-self: flex-start; background: rgba(255,255,255,.88); padding: 6px 12px;
  border-radius: 14px; font-size: .78rem; font-weight: 800; color: var(--berry);
}
.live-screen .btn { align-self: flex-start; }

.ai-box {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(255,200,225,.7));
}
.ai-body {
  min-width: 0;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.ai-bot {
  width: 105px;
  height: 150px;
  min-width: 0;
  display: grid;
  place-items: center;
  animation: ai-float 3s ease-in-out infinite;
}
@keyframes ai-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.ai-chat { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.ai-chat a { overflow-wrap: anywhere; }
.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;
}
.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding: 2px;
  overscroll-behavior: contain;
}
.ai-messages.has-product-results { max-height: 360px; }
.ai-product-grid { width: 100%; }
.ai-product-grid .thumb { height: 90px; }
.ai-product-grid .product-card { padding: 8px; }
.ai-product-grid .product-card h3 { font-size: .76rem; min-height: 2.5em; }
.ai-product-grid .product-card strong { font-size: .9rem; }
.bubble { background: #fff; padding: 8px 12px; border-radius: 14px; font-weight: 800; font-size: .85rem; }
.bubble small { font-weight: 600; color: var(--muted); }
.ai-message { max-width: 100%; overflow-wrap: anywhere; white-space: pre-line; }
.ai-user-message { align-self: flex-end; background: var(--pink-100); color: var(--berry-dark); }
.ai-reply { align-self: flex-start; }
.ai-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.ai-form input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--pink-200);
  border-radius: 12px;
  font: 600 .8rem 'Nunito', Arial, sans-serif;
}
.ai-form button {
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff;
  font: 800 .8rem 'Nunito', Arial, sans-serif;
  cursor: pointer;
}
.ai-form button:hover { filter: brightness(1.05); }
.ai-note { color: var(--muted); font-size: .68rem; }
.ai-chat a {
  background: var(--pink-100); padding: 7px 12px; border-radius: 99px;
  font-size: .8rem; font-weight: 800; color: var(--berry); transition: background .2s, transform .2s;
}
.ai-chat a:hover { background: var(--pink-500); color: #fff; transform: translateX(4px); }

.deal-body { display: flex; align-items: center; gap: 14px; flex: 1; }
.timer { font-size: 1.8rem; font-weight: 900; color: var(--pink-600); }
.timer b { background: var(--pink-100); padding: 2px 8px; border-radius: 8px; }
.deal-card {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 12px; background: #fff; border-radius: 16px; font-size: .85rem; box-shadow: var(--shadow);
}
.deal-card h3 { font-size: .85rem; font-weight: 800; }
.deal-card strong { color: var(--pink-600); font-size: 1.15rem; font-weight: 900; }
.deal-img { align-self: center; font-size: 3.4rem; }

.gift-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.gift-form label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.gift-form select,
.gift-form textarea {
  min-width: 0; padding: 8px 10px; color: var(--text); background: #fff;
  border: 2px solid var(--pink-200); border-radius: 12px;
  font: 600 .76rem 'Nunito', Arial, sans-serif;
}
.gift-form textarea { resize: vertical; }
.gift-form select:focus,
.gift-form textarea:focus { border-color: var(--pink-500); box-shadow: 0 0 0 4px rgba(255, 75, 155, .18); outline: none; }
.gift-form .gift-description { grid-column: 1 / -1; }
.gift-form .btn { grid-column: 1 / -1; justify-self: start; }
.gift-results-summary { margin: 0 0 8px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.gift-results[hidden] { display: none; }
.gift-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gift-result-card { min-width: 0; }
.gift-result-card .thumb { height: 82px; }
.gift-result-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.gift-result-card h3 { font-size: .75rem; overflow-wrap: anywhere; }
.gift-result-card strong { font-size: .85rem; }
.gift-product-tags { color: var(--muted); font-size: .64rem; line-height: 1.35; }
.row-3 .box .btn-small { align-self: flex-start; }

.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.community .thumb { position: relative; height: 100%; min-height: 110px; font-size: 3rem; }
.community small {
  position: absolute; bottom: 6px; left: 8px; font-size: .72rem; font-weight: 800;
  background: rgba(255,255,255,.85); padding: 1px 8px; border-radius: 99px; color: var(--berry);
}

.table-wrap { overflow-x: auto; border-radius: 16px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.price-table th {
  background: linear-gradient(90deg, var(--berry), var(--pink-600)); color: #fff;
  padding: 13px 14px; text-align: left; font-weight: 900; white-space: nowrap;
}
.price-table td { padding: 12px 14px; border-bottom: 1px dashed var(--pink-300); }
.price-table tbody tr:nth-child(even) { background: var(--pink-50); }
.price-table tbody tr:nth-child(odd)  { background: #fff; }
.price-table tbody tr { transition: background .2s, transform .2s; }
.price-table tbody tr:hover { background: var(--pink-100); transform: scale(1.005); }
.price-table .right { text-align: right; }
.price-table .sale { color: var(--pink-600); font-weight: 900; font-size: 1.05rem; }
.t-img { font-size: 2rem; width: 70px; text-align: center; }
.tag { font-size: .65rem; font-weight: 900; color: #fff; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.tag-hot { background: #ff3b3b; }
.tag-sale { background: var(--purple); }
.stock { font-size: .78rem; font-weight: 800; padding: 3px 12px; border-radius: 99px; white-space: nowrap; }
.stock.in  { background: #e0f8ea; color: #178a4a; }
.stock.low { background: #fff1d6; color: #b9770e; }
.stock.out { background: #ffe0e0; color: #c62828; }

.video-box {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #ffb6d6, #ff7bb8);
}
.video-box video { display: block; width: 100%; min-height: 200px; position: relative; z-index: 1; }
.video-box canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fffafd;
}
.experience-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.94);
}
.experience-controls button {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--pink-300);
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--berry-dark);
  font: 800 .82rem 'Nunito', Arial, sans-serif;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.experience-controls button:hover {
  background: var(--pink-600);
  color: #fff;
}
.experience-controls button:disabled,
.experience-seek:disabled { cursor: not-allowed; opacity: .55; }
.experience-seek {
  flex: 1;
  min-width: 40px;
  accent-color: var(--pink-600);
  cursor: pointer;
}
.experience-time {
  flex: 0 0 auto;
  color: var(--berry-dark);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.experience-caption {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: .8rem;
}
.live-comments {
  position: relative;
  margin-top: 14px;
  display: grid;
  gap: 8px;
  min-height: 300px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.live-comments.show-comment { opacity: 1; transform: translateY(0); }
.live-comment-slot {
  transition: opacity .22s ease, transform .22s ease;
}
.live-comment-slot.is-changing {
  opacity: 0;
  transform: translateX(18px);
}
.live-comment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--pink-200);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 7px 18px rgba(111, 39, 76, .09);
  pointer-events: auto;
}
.comment-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-300), var(--purple));
  font-size: .68rem;
  font-weight: 900;
}
.comment-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.comment-copy strong { font-size: .76rem; }
.comment-copy span { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; }
.comment-heart {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: .78rem;
  cursor: pointer;
}
.comment-heart b { font-size: .72rem; }
.comment-heart.is-liked { color: #ff5f9f; }

@media (prefers-reduced-motion: reduce) {
  .live-comment { transition: none; }
}

@media (max-width: 480px) {
  .live-comments {
    margin-top: 10px;
    min-height: 300px;
  }
  .live-comment { gap: 7px; padding: 7px 8px; }
  .comment-copy strong { font-size: .7rem; }
  .comment-copy span { font-size: .66rem; }
}

.map { width: 100%; height: 200px; border: 0; border-radius: 16px; }
.store-info { margin: 10px 0; font-size: .88rem; }
.store-info b { color: var(--pink-600); }

.order-form { display: flex; flex-direction: column; gap: 10px; }
.order-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 800; }
.order-form input[type=text], .order-form input[type=tel], .order-form input[type=email],
.order-form select, .order-form textarea, .gift-form select {
  width: 100%; padding: 10px 14px; font: 600 .9rem 'Nunito', Arial, sans-serif; color: var(--text);
  background: #fff; border: 2px solid var(--pink-200); border-radius: 12px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus, .gift-form select:focus {
  border-color: var(--pink-500); box-shadow: 0 0 0 4px rgba(255, 75, 155, .18);
}
.order-form textarea { resize: vertical; }
.order-form fieldset { display: flex; flex-wrap: wrap; gap: 6px 16px; border: 2px dashed var(--pink-200); border-radius: 12px; padding: 8px 14px 10px; }
.order-form legend { font-size: .82rem; font-weight: 800; padding: 0 6px; }
.order-form .radio { flex-direction: row; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.order-form input[type=radio] { accent-color: var(--pink-600); width: 16px; height: 16px; }

.review-section { margin-top: 18px; }
.review-form { display: grid; gap: 10px; padding: 18px; background: #fff8fb; border: 1px solid var(--pink-100); border-radius: 14px; }
.review-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review-form label { display: grid; gap: 6px; color: var(--berry-dark); font-size: .84rem; font-weight: 800; }
.review-form input, .review-form select, .review-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--pink-200);
  border-radius: 9px;
  font: 600 .9rem 'Nunito', Arial, sans-serif;
}
.review-form textarea { resize: vertical; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: 3px solid rgba(255, 75, 155, .18); border-color: var(--pink-500); }
.review-submit { justify-self: start; }
.review-submit:disabled { opacity: .65; cursor: wait; }
.review-status { min-height: 22px; margin: 12px 0 4px; color: var(--muted); font-size: .84rem; }
.review-list { display: grid; gap: 10px; }
.review-card { padding: 14px 16px; background: #fff; border: 1px solid var(--pink-100); border-radius: 12px; }
.review-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-card-name { color: var(--berry-dark); font-size: .92rem; font-weight: 900; }
.review-stars { color: #eaa51b; letter-spacing: 1px; }
.review-sample-label { padding: 2px 8px; color: var(--berry); background: var(--pink-100); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.review-message { margin: 8px 0 0; color: var(--text); font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.review-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.review-pagination[hidden] { display: none; }
.review-pagination button { min-height: 38px; padding: 7px 12px; color: var(--berry-dark); background: #fff; border: 1px solid var(--pink-200); border-radius: 9px; font: 800 .82rem 'Nunito', Arial, sans-serif; cursor: pointer; }
.review-pagination button:hover:not(:disabled) { color: #fff; background: var(--pink-600); }
.review-pagination button:disabled { opacity: .45; cursor: not-allowed; }
.review-pagination span { color: var(--muted); font-size: .82rem; font-weight: 800; }

.site-footer {
  margin-top: 20px; padding: 46px 0 30px; color: #fff;
  background: linear-gradient(180deg, #f3a6c5, #d98bac);
  border-radius: 50% 50% 0 0 / 40px 40px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 12px; font-weight: 900; }
.site-footer li { margin-bottom: 8px; font-size: .9rem; }
.site-footer li a:hover { color: var(--pink-200); padding-left: 4px; text-decoration: underline; }
.slogan { margin-top: 14px; font-style: italic; font-weight: 700; color: var(--pink-200); }

.socials { display: flex; gap: 10px; margin-bottom: 14px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-weight: 900; font-size: 1.1rem; transition: transform .25s;
}
.socials a:hover { transform: translateY(-5px) scale(1.12); }
.fb { background: #1877f2; } .tt { background: #111; } .yt { background: #ff0000; }
.ig { background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5); }
.copy { font-size: .82rem; opacity: .85; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 50%; font-size: 1.4rem; font-weight: 900;
  color: var(--pink-600); background: #fff; box-shadow: var(--shadow-hover); transition: transform .2s;
}
.to-top:hover { transform: translateY(-4px); }

.btn-login {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.login-dialog {
  width: min(900px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(48, 30, 43, .28);
}
.login-dialog::backdrop { background: rgba(43, 30, 39, .58); backdrop-filter: blur(3px); }
.login-layout { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 540px; }
.login-welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #f56fa7, #d5b9ef);
}
.login-brand-icon {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin-bottom: 20px;
  font-size: 4rem;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 32px;
}
.login-brand-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.login-brand-name { font-size: 2rem; font-weight: 900; line-height: 1.05; letter-spacing: .04em; }
.login-welcome-copy { margin-top: 16px; font-size: .95rem; font-weight: 700; }
.login-content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(28px, 5vw, 64px); }
.login-eyebrow { color: var(--pink-600); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.login-content h2 { margin-top: 5px; font-size: 2rem; color: #47333e; }
.login-intro { margin: 4px 0 24px; color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 9px; }
.login-form label { margin-top: 8px; font-size: .88rem; font-weight: 800; }
.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #ded5dc;
  border-radius: 9px;
  font: inherit;
}
.login-form input:focus { border-color: var(--pink-600); outline: 3px solid rgba(245, 111, 167, .16); }
.password-field { position: relative; }
.password-field input { padding-right: 64px; }
.password-toggle { position: absolute; top: 50%; right: 12px; color: var(--berry); background: transparent; border: 0; font-family: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transform: translateY(-50%); }
.login-forgot { align-self: flex-end; margin-top: 2px; padding: 4px 0; color: var(--berry); background: none; border: 0; font-family: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.auth-divider { margin: 0 0 8px; color: var(--muted); font-size: .78rem; text-align: center; }
.login-submit { min-height: 48px; margin-top: 5px; color: #fff; background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); border: 0; border-radius: 9px; font-family: inherit; font-size: .95rem; font-weight: 900; cursor: pointer; transition: filter .2s, transform .2s; }
.login-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.login-status { min-height: 38px; margin-top: 14px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.login-register { margin-top: 14px; text-align: center; color: var(--muted); font-size: .86rem; }
.login-register-link { padding: 0; color: var(--pink-600); background: none; border: 0; font-family: inherit; font-size: inherit; font-weight: 900; cursor: pointer; }
.login-close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 36px; height: 36px; color: var(--berry-dark); background: rgba(255, 255, 255, .85); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.login-close-mobile { display: none; }
.auth-view[hidden], .login-form[hidden], .google-signin-unavailable[hidden] { display: none; }
.auth-security-note { margin: 0 0 12px; padding: 10px 12px; color: var(--berry-dark); background: #fff3f8; border-radius: 9px; font-size: .82rem; line-height: 1.45; }
.google-signin-shell { min-height: 44px; margin: 4px 0 12px; }
.google-signin-unavailable { color: #a13254; font-size: .82rem; line-height: 1.45; }
.auth-back-button { margin-top: 12px; padding: 8px 0; color: var(--berry); background: transparent; border: 0; font: 800 .85rem 'Nunito', Arial, sans-serif; cursor: pointer; }
.auth-success-copy { margin: 10px 0 18px; color: var(--berry-dark); font-size: 1rem; line-height: 1.5; }

.welcome-fireworks[hidden] { display: none; }
.welcome-fireworks {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(32, 13, 39, .82);
  pointer-events: none;
}
.welcome-fireworks canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome-fireworks-message { position: relative; z-index: 1; width: min(90vw, 760px); color: #fff; text-align: center; text-shadow: 0 4px 24px rgba(255, 91, 174, .75); }
.welcome-fireworks-message p:first-child { margin: 0 0 10px; color: #ffe28a; font-size: clamp(2.8rem, 11vw, 6rem); font-weight: 900; line-height: 1; }
.welcome-fireworks-message p:last-child { margin: 0; font-size: clamp(1.15rem, 4vw, 2rem); font-weight: 800; line-height: 1.35; }
.welcome-fireworks-close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 48px; height: 48px; color: #fff; background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; font: 900 2rem/1 'Nunito', Arial, sans-serif; cursor: pointer; pointer-events: auto; }
.welcome-fireworks-close:hover, .welcome-fireworks-close:focus-visible { background: rgba(255, 255, 255, .35); outline: 3px solid #ffe28a; outline-offset: 3px; }

.product-card, .mini-card, .deal-card { cursor: pointer; }
.product-card:focus-visible, .mini-card:focus-visible, .deal-card:focus-visible { outline: 3px solid rgba(245, 111, 167, .6); outline-offset: 3px; }
.product-card .heart, .product-card .cart-btn, .deal-card .btn { cursor: pointer; }
.product-dialog {
  position: relative;
  width: min(1050px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(48, 30, 43, .28);
}
.product-dialog::backdrop { background: rgba(43, 30, 39, .58); backdrop-filter: blur(3px); }
.product-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 12px 12px -48px 0;
  color: var(--berry-dark);
  background: #fff;
  border: 1px solid #eee4ea;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; padding: 34px; }
.product-gallery { min-width: 0; }
.product-main-image {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff7fb, #f8eff9);
  border: 1px solid var(--pink-100);
  border-radius: 16px;
}
.product-main-image img { display: none; width: 100%; height: 390px; object-fit: contain; }
.product-main-image img.is-visible { display: block; }
.product-main-image span { font-size: 8rem; }
.product-image-caption { margin-top: 10px; color: var(--muted); font-size: .82rem; text-align: center; }
.product-information { min-width: 0; padding: 10px 4px; }
.product-store-label { color: var(--pink-600); font-size: .82rem; font-weight: 900; }
.product-store-label span { margin-left: 8px; padding: 2px 8px; color: #fff; background: var(--pink-600); border-radius: 4px; font-size: .72rem; }
.product-information h2 { margin: 9px 34px 12px 0; color: #40343e; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.3; }
.product-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; }
.product-rating strong { color: var(--text); font-size: .88rem; }
.product-rating strong span { color: #ffad2f; letter-spacing: 1px; }
.product-price-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin: 20px 0 14px; padding: 16px; background: linear-gradient(90deg, #fff3f8, #fff9fb); }
.product-price-panel del { color: #a999a3; }
.product-price-panel > strong { color: #e83d77; font-size: 1.8rem; font-weight: 900; }
.product-voucher-tag { padding: 3px 8px; color: #df3b73; background: #ffe4ef; border-radius: 4px; font-size: .76rem; font-weight: 800; }
.product-info-row { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1eaf0; font-size: .83rem; }
.product-info-row > span { color: var(--muted); }
.product-info-row strong { font-weight: 700; }
.product-trust-row strong { color: var(--berry); }
.product-quantity-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; font-size: .86rem; }
.product-quantity-row > span:first-child { margin-right: 10px; color: var(--muted); }
.product-variant-row { display: flex; align-items: center; gap: 18px; margin-top: 20px; font-size: .86rem; }
.product-variant-row label { min-width: 76px; color: var(--muted); }
.product-variant-row select,
.cart-variant { padding: 7px 10px; color: var(--text); background: #fff; border: 1px solid #e6dce3; border-radius: 6px; font: inherit; }
.quantity-control { display: inline-flex; height: 34px; border: 1px solid #e6dce3; border-radius: 5px; }
.quantity-control button { width: 34px; color: var(--berry-dark); background: #fff; border: 0; font-size: 1.15rem; cursor: pointer; }
.quantity-control output { display: grid; place-items: center; width: 40px; border-inline: 1px solid #e6dce3; }
.product-stock { color: #648e73; font-size: .8rem; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-actions button { min-height: 48px; padding: 10px 12px; border: 1px solid var(--pink-600); border-radius: 6px; font-family: inherit; font-size: .9rem; font-weight: 900; cursor: pointer; transition: filter .2s, transform .2s; }
.product-actions button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.product-add-cart { color: var(--pink-600); background: #fff7fa; }
.product-buy-now { color: #fff; background: var(--pink-600); }
.product-action-status { min-height: 38px; margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.checkout-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 24px;
  overflow: auto;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(48, 30, 43, .28);
}
.checkout-dialog::backdrop { background: rgba(43, 30, 39, .58); backdrop-filter: blur(3px); }
.checkout-product { margin: 14px 0; padding: 12px; color: var(--berry-dark); background: #fff7fa; border-radius: 8px; font-size: .9rem; font-weight: 800; }
.checkout-form { display: grid; gap: 8px; }
.checkout-form label { margin-top: 6px; color: var(--berry-dark); font-size: .86rem; font-weight: 800; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid #e6dce3;
  border-radius: 8px;
  font: inherit;
}
.checkout-form textarea { resize: vertical; }
.checkout-submit { min-height: 46px; margin-top: 10px; color: #fff; background: var(--pink-600); border: 0; border-radius: 8px; font: 900 .92rem 'Nunito', Arial, sans-serif; cursor: pointer; }
.checkout-submit:disabled { opacity: .7; cursor: wait; }
.checkout-status { min-height: 20px; margin: 4px 0 0; color: #35734a; font-size: .86rem; font-weight: 800; }
.checkout-note { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.cart-dialog {
  width: min(680px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 24px;
  overflow: auto;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(48, 30, 43, .28);
}
.cart-dialog::backdrop { background: rgba(43, 30, 39, .58); backdrop-filter: blur(3px); }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-heading h2 { color: var(--berry-dark); font-size: 1.25rem; }
.cart-close { width: 36px; height: 36px; color: var(--berry-dark); background: #fff7fa; border: 1px solid #eee4ea; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cart-status { min-height: 20px; margin: 8px 0; color: #ad315f; font-size: .82rem; }
.cart-items { display: grid; gap: 10px; max-height: min(50vh, 440px); overflow: auto; }
.cart-empty { padding: 28px 12px; color: var(--muted); text-align: center; }
.cart-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; background: #fff9fc; border: 1px solid var(--pink-100); border-radius: 12px; }
.cart-item > img { width: 68px; height: 68px; object-fit: cover; background: #fff; border-radius: 9px; }
.cart-item-details { display: grid; justify-items: start; gap: 4px; min-width: 0; font-size: .84rem; }
.cart-item-details strong { overflow-wrap: anywhere; }
.cart-item-details > span { color: var(--pink-600); font-weight: 900; }
.cart-variant { padding: 4px 8px; font-size: .78rem; }
.cart-item-controls { display: flex; align-items: center; gap: 7px; }
.cart-item-controls button:not(.cart-remove) { width: 30px; height: 30px; color: var(--berry-dark); background: #fff; border: 1px solid #e6dce3; border-radius: 6px; font: inherit; cursor: pointer; }
.cart-item-controls output { min-width: 20px; text-align: center; }
.cart-remove { padding: 4px; color: #b83d66; background: transparent; border: 0; font: inherit; font-size: .78rem; cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; margin: 18px 0 12px; padding-top: 14px; border-top: 1px solid #eee4ea; }
.cart-summary strong:last-child { color: var(--pink-600); }
.cart-continue { width: 100%; min-height: 44px; color: #fff; background: var(--pink-600); border: 0; border-radius: 8px; font: 900 .92rem 'Nunito', Arial, sans-serif; cursor: pointer; }

@media (max-width: 1000px) {
  .row-3 { grid-template-columns: 1fr 1fr; }
  .categories { grid-template-columns: repeat(4, 1fr); }
  .banner-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions small { display: none; }
}

@media (max-width: 640px) {
  .catalog-controls { grid-template-columns: 1fr; }
  .review-form-fields { grid-template-columns: 1fr; }
  .catalog-count { margin-left: auto; }
  .product-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .cart-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 16px; }
  .checkout-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 18px; }
  .cart-item { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; }
  .cart-item > img { width: 54px; height: 54px; }
  .cart-item-controls { grid-column: 2; justify-content: flex-end; }
  .product-detail { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .product-main-image { min-height: 220px; max-height: 32vh; padding: 10px; }
  .product-main-image img { height: min(32vh, 260px); }
  .product-main-image span { font-size: 5rem; }
  .product-information { padding: 0; }
  .product-price-panel { margin: 12px 0; padding: 12px; }
  .product-price-panel > strong { font-size: 1.5rem; }
  .product-info-row { grid-template-columns: 85px 1fr; font-size: .78rem; }
  .product-quantity-row { margin: 14px 0; gap: 8px; }
  .product-quantity-row > span:first-child { margin-right: 4px; }
  .product-actions { grid-template-columns: 1fr; }
  .product-actions button { min-height: 44px; }

  .login-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .login-layout { grid-template-columns: 1fr; min-height: 0; }
  .login-welcome { min-height: 132px; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 18px 22px; text-align: left; }
  .login-brand-icon { width: 60px; height: 60px; margin: 0; border-radius: 18px; font-size: 2rem; }
  .login-brand-name { font-size: 1.25rem; }
  .login-welcome-copy, .login-close { display: none; }
  .login-content { padding: 28px 22px 24px; }
  .login-close-mobile { display: block; top: 16px; right: 16px; }
  .login-eyebrow { padding-right: 38px; }
  .login-content h2 { font-size: 1.7rem; }

  .header-top { flex-wrap: wrap; gap: 10px; }
  .search-box { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { gap: 12px; }
  .btn-login { padding: 8px 14px; }
  .main-nav ul { justify-content: flex-start; }
  .banner { padding: 24px 18px; min-height: 0; }
  .row-3, .footer-grid { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tesseract-stage { height: 330px; }
  .tesseract-model { width: 230px; height: 230px; }
  .cube { width: 230px; height: 230px; }
  .categories { position: absolute; display: block; }
  .categories li { pointer-events: auto; }
  .categories a { height: 150px; min-height: 150px; font-size: .78rem; }
  .product-grid { grid-template-columns: 1fr; }
  .category-page-grid { gap: 8px; }
  .category-page-grid .product-card { gap: 4px; padding: 8px; }
  .category-page-grid .thumb { height: 118px; }
  .category-page-grid .catalog-product-tag { padding: 2px 6px; font-size: .58rem; }
  .category-page-grid .product-card h3 { min-height: 3em; font-size: .76rem; overflow-wrap: anywhere; }
  .category-page-grid .product-card strong { font-size: .88rem; }
  .category-page-grid .cart-btn { width: 32px; height: 32px; flex: 0 0 32px; }
  .product-card .thumb,
  .mini-card .thumb {
    width: 100%;
    height: 190px;
    overflow: hidden;
  }
  .product-card .thumb img,
  .mini-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
  }
  .similar-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .similar-product-grid .thumb { height: 112px; }
  .ai-product-grid .thumb { height: 78px; }
  .ai-product-grid .product-card { gap: 3px; padding: 6px; }
  .ai-product-grid .product-card h3 { font-size: .7rem; }
  .site-footer { border-radius: 30px 30px 0 0; }
  .deal-body { flex-direction: column; align-items: stretch; }

  .container { width: calc(100% - 20px); }
  main.container { gap: 12px; padding-top: 10px; }
  .box,
  .banner {
    background-color: rgba(255, 255, 255, .92);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(93, 76, 102, .09);
  }
  .banner {
    background:
      radial-gradient(circle at 85% 30%, rgba(255,255,255,.7), transparent 38%),
      linear-gradient(120deg, #ffc8dc, #ffd9e7 48%, #d8d1f1);
  }
  .banner h1 {
    font-size: 2.35rem;
    -webkit-text-stroke: 1px rgba(86, 75, 92, .48);
    text-shadow: 0 4px 18px rgba(70, 45, 60, .18);
  }
  .banner h2 { font-size: 1.05rem; }
  .section-title { font-size: 1.05rem; color: #47333e; }
  .main-nav a { padding: 12px 16px; }

  .product-card,
  .mini-card,
  .deal-card,
  .live-screen,
  .community .thumb {
    scale: 1 !important;
  }
  .product-card:hover,
  .mini-card:hover,
  .deal-card:hover,
  .live-screen:hover,
  .community .thumb:hover,
  .categories a:hover {
    scale: 1 !important;
    transform: translateY(-2px);
  }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-body { gap: 12px; }
  .footer-grid { gap: 22px; }
}
.thumb { overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.t-img img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.deal-img img { width: 100px; height: 100px; object-fit: cover; border-radius: 16px; }
.community .thumb { position: relative; }
.community small { z-index: 2; }
.ai-bot img {
  display: block;
  width: 105px;
  height: 150px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .product-card,
.mini-card,
.deal-card,
.live-screen,
.community .thumb {
  position: relative;
  transition: scale .3s ease, transform .25s, box-shadow .25s, border-color .25s, background .25s;
}

.categories a {
  position: relative;
  transition: scale .3s ease, box-shadow .25s, border-color .25s, background .25s;
}

.product-card:hover,
.mini-card:hover,
.deal-card:hover,
.live-screen:hover,
.community .thumb:hover {
  scale: 1.08;
  z-index: 5;
}

.categories a:hover {
  scale: 1.12;
  z-index: 5;
}
}

/* Visual polish: no page dimensions or layout are changed. */
.box {
  border-color: rgba(255, 255, 255, .92);
  box-shadow:
    0 10px 30px rgba(117, 58, 88, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.section-title {
  letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}

.btn,
.btn-small,
.socials a {
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease,
    background .2s ease;
}

.btn:hover,
.btn-small:hover,
.socials a:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.btn:active,
.btn-small:active,
.socials a:active {
  transform: translateY(0) scale(.98);
}

.product-card,
.mini-card,
.deal-card,
.live-screen,
.community .thumb {
  border: 1px solid rgba(255, 199, 225, .72);
  box-shadow: 0 8px 22px rgba(117, 58, 88, .07);
}

.thumb,
.live-screen,
.deal-img,
.t-img {
  overflow: hidden;
}

.thumb img,
.live-screen img,
.deal-img img,
.t-img img {
  transition: transform .35s ease, filter .35s ease;
}

.product-card:hover .thumb img,
.mini-card:hover .t-img img,
.deal-card:hover .deal-img img,
.live-screen:hover img,
.community .thumb:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}

.live-comment {
  border-color: rgba(255, 200, 225, .9);
  box-shadow: 0 8px 22px rgba(117, 58, 88, .1);
}

.comment-heart {
  transition: transform .2s ease, color .2s ease;
}

.comment-heart:hover {
  transform: scale(1.12);
}

input,
select,
textarea {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(255, 75, 155, .12);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .72);
}

.page-decor {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow: hidden;
  pointer-events: none;
}
.page-decor > span {
  position: absolute;
  display: block;
  line-height: 1;
  opacity: .27;
  user-select: none;
  animation: page-decor-float 7s ease-in-out infinite;
}
.decor-flower {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  filter: drop-shadow(0 3px 8px rgba(245,111,167,.25));
}
.decor-star {
  color: #f56fa7;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  text-shadow: 0 0 10px rgba(255,255,255,.9);
  animation-duration: 5.5s !important;
}
.decor-paper {
  width: 18px;
  height: 24px;
  border: 1px solid rgba(245,111,167,.24);
  border-radius: 3px;
  background: repeating-linear-gradient(to bottom, #fffafd 0 4px, #f8dce9 4px 5px);
  box-shadow: 0 3px 9px rgba(93,76,102,.12);
  opacity: .42;
  animation-name: paper-decor-float !important;
}
.decor-paper::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 6px solid #ffd1e6;
  border-left: 6px solid transparent;
}
.decor-flower-one { top: 17%; left: 1.8%; }
.decor-star-one { top: 34%; right: 2%; }
.decor-paper-one { top: 53%; left: 2.6%; }
.decor-flower-two { top: 68%; right: 1.7%; animation-delay: -2.4s !important; }
.decor-star-two { bottom: 17%; left: 1.5%; animation-delay: -1.6s !important; }
.decor-paper-two { bottom: 8%; right: 2.8%; animation-delay: -3.2s !important; }
.decor-flower-three { top: 43%; left: 1.2%; animation-delay: -4s !important; }
.decor-star-three { bottom: 37%; right: 1.4%; animation-delay: -2.8s !important; }
@keyframes page-decor-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-8px) rotate(7deg); }
}
@keyframes paper-decor-float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-7px) rotate(10deg); }
}
@media (max-width: 640px) {
  .page-decor > span { opacity: .19; }
  .decor-flower { font-size: 1rem; }
  .decor-star { font-size: .9rem; }
  .decor-paper { width: 13px; height: 18px; }
  .decor-flower-one { left: 2px; }
  .decor-star-one { right: 2px; }
  .decor-paper-one { left: 3px; }
  .decor-flower-two { right: 2px; }
  .decor-star-two { left: 2px; }
  .decor-paper-two { right: 3px; }
  .decor-flower-three { left: 2px; }
  .decor-star-three { right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-decor > span { animation: none !important; }
}