@font-face {
  font-family: 'BernTYGRA';
  src: url('assets/fonts/BernTYGRA.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biolilbert';
  src: url('assets/fonts/Biolilbert-Rg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biolilbert';
  src: url('assets/fonts/Biolilbert-It.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #120610;
  --plum: #6B0E4E;
  --plum-deep: #2b0621;
  --crimson: #D42A5C;
  --teal: #4FD3C4;
  --orange: #FE8259;
  --pink: #FFB6E3;
  --cream: #FFF4DE;

  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.5);

  --glass-fill: rgba(50, 10, 38, 0.46);
  --glass-fill-strong: rgba(50, 10, 38, 0.68);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-strong: rgba(255, 255, 255, 0.34);
  --glass-highlight: rgba(255, 255, 255, 0.14);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-glass: cubic-bezier(0.22, 0.9, 0.24, 1);
}

.filter-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  color: var(--text);
  font-family: 'Biolilbert', sans-serif;
  overscroll-behavior-y: none;
  background: var(--ink);
}

body {
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  background:
    radial-gradient(120% 65% at 50% -8%, rgba(212,42,92,0.42), transparent 62%),
    radial-gradient(85% 55% at 92% 8%, rgba(79,211,196,0.16), transparent 55%),
    radial-gradient(95% 75% at 6% 100%, rgba(255,182,227,0.14), transparent 55%),
    linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 48%, var(--ink) 100%);
  background-attachment: fixed;
  min-height: 100%;
}

h1, h2, h3, .headline, .price, .pv-price, .tab-label, .btn, .chip, .cap, .add-btn, .checkout-btn {
  font-family: 'BernTYGRA', 'Biolilbert', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#app { min-height: 100%; display: flex; flex-direction: column; }

/* ================= Liquid glass surface ================= */
.glass-deep {
  position: relative;
  background: var(--glass-fill);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(15px) saturate(165%) url(#liquid-distortion);
  -webkit-backdrop-filter: blur(15px) saturate(165%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 34px rgba(0,0,0,0.35), inset 0 1px 0 var(--glass-highlight);
  isolation: isolate;
}
.glass-deep::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}
.glass-deep:active { transform: scale(0.97); transition: transform .15s var(--ease-glass); }
@media (prefers-reduced-transparency: reduce) {
  .glass-deep { background: rgba(43, 6, 33, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.glass {
  background: var(--glass-fill);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 22px rgba(0,0,0,.26), inset 0 1px 0 var(--glass-highlight);
}

/* ================= Topbar ================= */
.topbar {
  position: sticky; top: 0; z-index: 20;
  margin: 10px 10px 8px;
  border-radius: 999px;
  padding: 10px 12px;
  padding-top: calc(10px + var(--safe-top));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.topbar img.logo-h { height: 34px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: none; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--crimson); color: #fff; border-radius: 10px; min-width: 18px; height: 18px;
  font-size: 10px; padding: 0 5px; font-family:'Biolilbert'; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 6px rgba(0,0,0,.4); border: 1.5px solid rgba(255,255,255,.5);
}

.view { flex: 1; padding: 6px 12px 104px; }
.hidden { display: none !important; }

/* ================= Splash ================= */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background:
    radial-gradient(120% 70% at 50% 8%, rgba(212,42,92,0.5), transparent 60%),
    linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 55%, var(--ink) 100%);
}
.splash .ring-wrap { position: relative; width: 130px; height: 130px; display:flex; align-items:center; justify-content:center; }
.splash img { width: 68px; height: 68px; object-fit: contain; animation: floatGlow 2.4s ease-in-out infinite; position: relative; z-index: 1; }
.splash .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--teal); border-right-color: var(--pink);
  animation: spin 1.1s linear infinite;
}
.splash .msg { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; font-family:'BernTYGRA'; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatGlow {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 6px 18px rgba(255,182,227,.55)); }
  50% { transform: translateY(-6px); filter: drop-shadow(0 14px 26px rgba(79,211,196,.6)); }
}

.inline-loader { display:flex; flex-direction:column; align-items:center; gap:14px; padding: 70px 0; }
.inline-loader img { width: 56px; height: 56px; animation: floatGlow 2.4s ease-in-out infinite; }
.inline-loader span { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .07em; font-family:'BernTYGRA'; }

/* ================= Product grid ================= */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .18s var(--ease-glass);
  background: var(--glass-fill);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.3), inset 0 1px 0 var(--glass-highlight);
}
.card-tile:active { transform: scale(0.96); }
.card-tile .thumb {
  aspect-ratio: 1/1;
  background:
    radial-gradient(120% 100% at 30% 15%, rgba(255,182,227,.4), transparent 60%),
    linear-gradient(160deg, rgba(107,14,78,.95), rgba(18,6,16,.95));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.card-tile .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); opacity: 0; transition: opacity .3s ease; }
.card-tile .thumb img.loaded { opacity: 1; }
.card-tile .thumb .ph-icon { width: 44%; opacity: .55; }
.card-tile .info { padding: 12px 14px 16px; }
.card-tile .name { font-family:'Biolilbert'; text-transform:none; font-size: 14px; line-height:1.3; margin: 0 0 8px; min-height: 36px; color: var(--text); }
.card-tile .price { font-size: 19px; color: var(--pink); }

/* ================= Bottom tab bar ================= */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-bottom)); z-index: 30;
  border-radius: 999px;
  display: flex;
  padding: 6px;
}
.tabbar button {
  flex: 1; background: none; border: none; color: var(--text-dim);
  padding: 9px 4px; border-radius: 999px;
  font-family:'BernTYGRA'; font-size: 10.5px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  position: relative; transition: background .18s var(--ease-glass), color .18s ease;
}
.tabbar button img { width: 23px; height: 23px; object-fit: contain; opacity: .68; transition: opacity .18s ease, transform .18s ease; }
.tabbar button.active { color: var(--text); background: var(--glass-fill-strong); }
.tabbar button.active img { opacity: 1; transform: translateY(-1px) scale(1.1); filter: drop-shadow(0 2px 10px rgba(255,182,227,.55)); }

/* ================= Segmented glass slider (design / size pickers) ================= */
.seg-slider {
  position: relative;
  display: flex;
  border-radius: 999px;
  padding: 5px;
  gap: 2px;
  overflow: hidden;
}
.seg-highlight {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson), #8c1240);
  box-shadow: 0 6px 18px rgba(212,42,92,.5), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .38s var(--ease-glass), width .38s var(--ease-glass);
  z-index: 0;
}
.seg-slider button {
  position: relative; z-index: 1;
  flex: 1; background: none; border: none; color: var(--text-dim);
  padding: 11px 14px; font-family: 'BernTYGRA'; font-size: 12.5px; text-transform: uppercase;
  white-space: nowrap; transition: color .25s ease;
}
.seg-slider button.active { color: #fff; }

/* ================= Product detail overlay ================= */
.product-view {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column;
  padding-top: var(--safe-top);
  background: linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 55%, var(--ink) 100%);
  overflow: hidden;
}
.product-view .pv-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .5s ease;
}
.product-view .pv-bg.loaded { opacity: 1; }
.product-view .pv-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,6,16,.1) 0%, rgba(18,6,16,.6) 100%);
}
.product-view .pv-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; position: relative; z-index: 2;
}
.pv-back {
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pv-back svg { width: 18px; height: 18px; }
.pv-gallery { position: relative; z-index: 1; flex: 0 0 auto; height: 46vh; display:flex; align-items:center; justify-content:center; }
.pv-gallery img { max-width: 84%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 34px rgba(0,0,0,.55)); transition: opacity .25s ease, filter .3s ease, transform .3s ease; cursor: zoom-in; }
.pv-gallery img.pv-loading { opacity: 0; }
.pv-img-loader {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid transparent; border-top-color: var(--teal); border-right-color: var(--pink);
  animation: spin 0.9s linear infinite; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.pv-img-loader.show { opacity: 1; }
.pv-nav { position:absolute; top:50%; transform:translateY(-50%); color:#fff; width:40px;height:40px;border-radius:50%; display:flex; align-items:center; justify-content:center; }
.pv-nav svg { width: 16px; height: 16px; }
.pv-nav.left{ left:12px;} .pv-nav.right{ right:12px;}
.pv-dots {
  position: relative; z-index:1; display:flex; gap:7px; justify-content:center; align-items:center;
  margin: 14px auto 0; width: fit-content; padding: 7px 12px; border-radius: 999px;
  background: rgba(18,6,16,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}
.pv-dots span { width:7px;height:7px;border-radius:50%; background: rgba(255,255,255,.4); transition: all .25s ease; }
.pv-dots span.active { background:#fff; width: 22px; border-radius: 4px; box-shadow: 0 0 10px rgba(255,255,255,.8); }

.magic-canvas { position:absolute; inset:0; pointer-events:none; z-index: 1; }

.pv-sheet {
  position: relative; z-index: 2;
  border-radius: 30px 30px 0 0;
  flex: 1;
  padding: 22px 20px calc(22px + var(--safe-bottom));
  overflow-y: auto;
  background: rgba(18,6,16,.6);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-top: 1px solid var(--glass-border-strong);
}
.pv-name { font-family:'Biolilbert'; text-transform:none; font-size: 15px; color: var(--text-dim); margin:0 0 6px;}
.pv-price { font-size: 42px; color: var(--pink); margin: 0 0 18px; text-shadow: 0 2px 18px rgba(255,182,227,.45); }
.pv-label { font-size: 12px; color: var(--text-dim); margin: 18px 0 9px; text-transform: uppercase; letter-spacing: .09em; font-family: 'BernTYGRA'; }
.qty-row { display:flex; align-items:center; justify-content: center; gap: 18px; margin-top: 18px; }
.qty-btn { width: 42px; height:42px; border-radius:50%; border:1.5px solid var(--glass-border); background: var(--glass-fill); color: var(--text); font-size:20px; }
.qty-val { font-family:'BernTYGRA'; font-size:17px; min-width: 20px; text-align: center; }
.add-btn {
  margin-top: 24px; width: 100%; background: linear-gradient(135deg, var(--teal), #2a9c8f); color: #062521; border:none;
  padding: 19px; border-radius: 999px; font-size: 15px; display:flex; align-items:center; justify-content:center; gap:10px;
  box-shadow: 0 12px 30px rgba(79,211,196,.4);
}
.add-btn svg { width: 20px; height: 20px; }
.add-btn:active { transform: scale(0.98); }

/* ================= Pinch-to-zoom image lightbox ================= */
.zoom-lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,3,7,.92);
  display: flex; align-items: center; justify-content: center;
  touch-action: none;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.zoom-lightbox img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  touch-action: none; will-change: transform;
}
.zoom-lightbox .zl-close {
  position: absolute; top: calc(16px + var(--safe-top)); right: 16px;
  width: 44px; height: 44px; border-radius: 50%; color: #fff; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.zoom-lightbox .zl-close svg { width: 18px; height: 18px; }
.zoom-lightbox .zl-hint {
  position: absolute; bottom: calc(24px + var(--safe-bottom)); left: 0; right: 0;
  text-align: center; color: var(--text-faint); font-size: 12px; letter-spacing: .04em;
}

/* ================= Magic design-switch effects ================= */
.pv-gallery.magic-flash::before {
  content: ''; position: absolute; inset: -10%; z-index: 2; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,182,227,0) 60%);
  animation: magicFlash .5s ease-out forwards;
}
@keyframes magicFlash { 0% { opacity: 0; } 20% { opacity: .8; } 100% { opacity: 0; } }
.pv-gallery img.magic-warp { filter: drop-shadow(0 14px 34px rgba(0,0,0,.55)) blur(3px) saturate(1.6) hue-rotate(6deg); transform: scale(0.92); }

/* ================= Shop hero banner ================= */
.shop-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  margin-bottom: 14px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,182,227,.28), transparent 60%),
    linear-gradient(135deg, rgba(107,14,78,.65), rgba(18,6,16,.55));
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.3), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.shop-hero img.hero-art {
  position: absolute; right: -18px; bottom: -14px; width: 128px; opacity: .55;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.4));
  animation: floatGlow 3.2s ease-in-out infinite;
}
.shop-hero .eyebrow { font-family:'BernTYGRA'; font-size: 11px; letter-spacing: .12em; color: var(--pink); margin: 0 0 6px; }
.shop-hero h2 { margin: 0 0 6px; font-size: 22px; color: var(--text); max-width: 70%; }
.shop-hero p { margin: 0; font-size: 13px; color: var(--text-dim); max-width: 66%; text-transform: none; font-family: 'Biolilbert'; letter-spacing: normal; }

.grid .card-tile { animation: tileIn .38s var(--ease-glass) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ================= Cart overlay ================= */
.cart-view {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column;
  padding-top: var(--safe-top);
  background: linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 55%, var(--ink) 100%);
  animation: sheetUp .32s var(--ease-glass);
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cart-view .cv-top {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
}
.cart-view .cv-top h2 { margin: 0; font-size: 16px; }
.cart-view .cv-body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; }

.cart-item {
  border-radius: var(--radius-md); padding: 13px; display:flex; gap: 13px; margin-bottom:10px; align-items:center;
  background: var(--glass-fill); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.cart-item img.thumb-img { width:60px;height:60px;object-fit:contain; background: linear-gradient(160deg, rgba(255,182,227,.4), rgba(107,14,78,.65)); border-radius:13px; padding: 7px; }
.cart-item .meta { flex:1; }
.cart-item .meta .n { font-family:'Biolilbert'; font-size: 14px; margin:0 0 3px; color: var(--text); }
.cart-item .meta .d { font-size: 12px; color: var(--text-dim); }
.cart-item .qtybox { display:flex; align-items:center; gap:9px; }
.cart-item .qtybox button { width:29px;height:29px;border-radius:50%;border:1px solid var(--glass-border);background: var(--glass-fill); color: var(--text); }
.cart-total { display:flex; justify-content:space-between; align-items:center; margin: 20px 2px; font-size: 15px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; font-family: 'BernTYGRA'; }
.cart-total b { color: var(--pink); font-size: 22px; }
.checkout-btn { width:100%; background: linear-gradient(135deg, var(--crimson), #8c1240); color:#fff; border:none; padding:19px; border-radius:999px; font-size:15px; box-shadow: 0 12px 30px rgba(212,42,92,.45); }
.remove-x { background: var(--glass-fill); border: 1px solid var(--glass-border); color: var(--pink); width: 28px; height: 28px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.remove-x svg { width: 12px; height: 12px; }

.empty-state {
  text-align:center; margin-top: 24px; color: var(--text-dim); padding: 44px 22px; border-radius: var(--radius-md); font-size: 14px;
  background: var(--glass-fill); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border);
}
.empty-state img { width: 86px; opacity: .85; margin-bottom: 16px; }

/* ================= Orders ================= */
.order-card {
  border-radius: var(--radius-md); padding:16px 17px; margin-bottom:11px;
  background: var(--glass-fill); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.order-card .row1 { display:flex; justify-content:space-between; align-items:center; font-family:'BernTYGRA'; font-size:14px; color: var(--text);}
.status-pill { padding:5px 13px; border-radius:999px; font-size:10.5px; font-family:'BernTYGRA'; color:#fff; }
.s-new{background:#8b8b98} .s-confirmed{background:var(--teal); color:#062521;} .s-paid{background:#9a44c0} .s-shipped{background:var(--orange)} .s-done{background:#40b061} .s-cancelled{background:var(--crimson)}
.order-card .items { font-size:13px; color: var(--text-dim); margin-top:9px; line-height: 1.7; }
.order-card .total { margin-top:9px; font-family:'BernTYGRA'; color:var(--pink); font-size: 15px; }

/* ================= Admin ================= */
.admin-section {
  border-radius: var(--radius-md); padding:18px; margin-bottom:15px;
  background: var(--glass-fill); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.admin-section h3 { margin:0 0 13px; font-size:14px; color: var(--text); }
.field { margin-bottom:13px; }
.field label { display:block; font-size:11.5px; color: var(--text-dim); margin-bottom:6px; text-transform: uppercase; letter-spacing: .05em; font-family: 'BernTYGRA'; }
.field input, .field textarea, .field select {
  width:100%; padding:12px 13px; border-radius: var(--radius-sm); border:1px solid var(--glass-border);
  font-family:'Biolilbert'; font-size:14px; background: rgba(255,255,255,0.06); color: var(--text);
}
.field select option { background: var(--plum-deep); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.btn-sm { background: var(--glass-fill-strong); color: var(--text); border: 1px solid var(--glass-border); padding:10px 17px; border-radius:999px; font-size:12px; }
.btn-sm.danger { background: rgba(212,42,92,.25); border-color: rgba(212,42,92,.5); color: #ffb0c6; }
.btn-sm.alt { background: linear-gradient(135deg, var(--teal), #2a9c8f); color:#062521; border: none; }
.thumb-row { display:flex; gap:9px; flex-wrap:wrap; margin: 11px 0; }
.thumb-row .t { width:58px;height:58px; border-radius:11px; overflow:hidden; position:relative; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); }
.thumb-row .t img { width:100%;height:100%;object-fit:contain; }
.thumb-row .t button { position:absolute; top:-3px; right:-3px; background:var(--crimson); color:#fff; border:none; width:19px;height:19px; border-radius:50%; font-size:11px; line-height:1; }
.design-block, .size-block { border:1px dashed var(--glass-border); border-radius: var(--radius-sm); padding:13px; margin-bottom:11px; }
.product-admin-row { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--glass-border); padding:11px 0; }
.toast {
  position: fixed; bottom: calc(96px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  color:#fff; padding:13px 22px; border-radius:999px; font-size:13.5px; z-index: 90;
  animation: toastIn .22s var(--ease-glass);
  background: rgba(43,6,33,.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  max-width: 86vw; text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
