:root {
  --tt-bg: #03060c;
  --tt-fg: #fff;
  --tt-muted: rgba(255,255,255,0.62);
  --tt-glass: rgba(8,14,28,0.55);
  --tt-border: rgba(255,255,255,0.14);
  --tt-accent: #1ffec9;
  --tt-accent-dim: rgba(31,254,201,0.18);
  --tt-glow: 0 0 28px rgba(31,254,201,0.22);
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--tt-bg);
  color: var(--tt-fg);
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100vw;
}
body.tt-body-home {
  overflow: hidden;
}
body.tt-body-page {
  overflow: auto;
  height: auto;
  min-height: 100%;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }
.animate-slide-in-right { animation: slide-in-right 0.3s ease-out; }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.animate-slide-in-left { animation: slide-in-left 0.3s ease-out; }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.animate-slide-up { animation: slide-up 0.3s ease-out; }
@keyframes heart-burst { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.animate-heart { animation: heart-burst 0.3s ease-in-out; }
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-bounce-soft { animation: bounce-soft 2s ease-in-out infinite; }

.tt-app {
  background: #000;
  height: 100dvh;
  width: 100%;
  max-width: 100vw;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.tt-header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  padding: calc(0.65rem + env(safe-area-inset-top)) 0.6rem 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  box-sizing: border-box;
  max-width: 100%;
}

/* Logo | Căutare | Menu + Coș */
.tt-header-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.45rem;
  min-width: 0;
  box-sizing: border-box;
}

.tt-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  pointer-events: auto;
}

.tt-icon-btn {
  pointer-events: auto;
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tt-icon-btn-sm { width: 34px; height: 34px; }
.tt-icon-btn:hover { background: rgba(0,0,0,0.55); }
.tt-icon-btn:active { transform: scale(0.94); }

.tt-badge {
  position: absolute;
  top: -0.25rem; right: -0.25rem;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 1rem; height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.tt-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  pointer-events: auto;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  max-width: 28%;
  min-width: 0;
}
.tt-logo-fallback { display: inline-flex; align-items: center; gap: 0.3rem; min-width: 0; }
.tt-logo img {
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.tt-logo svg,
.tt-logo i[data-lucide] {
  flex-shrink: 0;
  color: #fff;
  fill: rgba(255,255,255,0.2);
}
.tt-logo-text {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-search-wrap {
  pointer-events: auto;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.tt-search-wrap .search-ico {
  position: absolute;
  inset-block: 0;
  left: 0;
  padding-left: 0.65rem;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: rgba(255,255,255,0.6);
}
.tt-search-wrap input {
  width: 100%;
  max-width: 100%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.55rem 2rem 0.55rem 2rem;
  font-size: 16px; /* iOS: fără zoom pe focus */
  color: #fff;
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  box-sizing: border-box;
  min-width: 0;
}
.tt-search-wrap input::placeholder { color: rgba(255,255,255,0.55); }
.tt-search-wrap input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.55);
}
.tt-search-clear {
  position: absolute;
  inset-block: 0;
  right: 0;
  padding-right: 0.65rem;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.tt-search-clear:hover { color: #fff; }

.tt-cats {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  pointer-events: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}
.tt-cats::-webkit-scrollbar { display: none; }
.tt-cats-track {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.15rem 0.5rem 0.4rem;
  box-sizing: border-box;
}
.tt-cat-pill {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.45);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.28);
  transition: all 0.2s;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.tt-cat-pill:hover { background: rgba(0,0,0,0.65); }
.tt-cat-pill:active { transform: scale(0.97); }
.tt-cat-pill.active {
  background: #fff;
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,255,255,0.25);
}

@media (min-width: 480px) {
  .tt-logo { max-width: 32%; }
  .tt-logo-text { font-size: 1.15rem; }
  .tt-logo img { height: 34px; }
  .tt-search-wrap input { font-size: 0.875rem; }
  .tt-icon-btn, .tt-icon-btn-sm { width: 36px; height: 36px; }
}

.tt-feed {
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.tt-empty {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  gap: 1rem;
  padding: 0 1.5rem;
  text-align: center;
  box-sizing: border-box;
}
.tt-empty h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.tt-empty p { margin: 0; line-height: 1.5; }
.tt-empty button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.tt-empty button:hover { background: rgba(255,255,255,0.2); }

/* Product card */
.tt-card {
  position: relative;
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
  overflow: hidden;
}
.tt-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}
.tt-media img,
.tt-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.tt-tap-left, .tt-tap-right {
  position: absolute;
  top: 33%;
  bottom: 33%;
  width: 25%;
  z-index: 10;
  cursor: pointer;
}
.tt-tap-left { left: 0; }
.tt-tap-right { right: 0; }

.tt-dots {
  position: absolute;
  top: calc(5.75rem + env(safe-area-inset-top));
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  z-index: 20;
  pointer-events: none;
}
.tt-dot {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.4);
  width: 8px;
  transition: all 0.3s;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.tt-dot.active {
  width: 24px;
  background: #fff;
}

.tt-mute {
  position: absolute;
  top: calc(6.5rem + env(safe-area-inset-top));
  right: 0.75rem;
  z-index: 20;
  padding: 0.5rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  color: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
}

.tt-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  background: #fff;
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tt-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  transition: all 0.3s;
  height: 75%;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.4) 45%, transparent 100%);
}
.tt-gradient.expanded {
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
}

.tt-info {
  position: absolute;
  left: 0.75rem;
  right: 4.25rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  transition: all 0.3s;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  max-width: calc(100% - 5rem);
  box-sizing: border-box;
  pointer-events: auto;
}
.tt-info.expanded { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }

.tt-cat-badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.tt-info h1 {
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.375rem;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  word-break: break-word;
}
.tt-price {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin-bottom: 0.25rem;
}

.tt-desc-block {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.tt-desc-short {
  margin: 0;
  font-size: 0.875rem;
  color: #f3f4f6;
  line-height: 1.4;
  padding-right: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.tt-desc-long {
  margin-top: 0.55rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
}
.tt-desc-long.open,
.tt-desc-long:not([hidden]) {
  max-height: min(42vh, 320px);
  overflow-y: auto;
  opacity: 1;
  -webkit-overflow-scrolling: touch;
}
.tt-desc-long[hidden] {
  display: block !important; /* păstrăm animația; hidden controlează open via JS class */
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}
.tt-desc-long p {
  margin: 0;
  font-size: 0.875rem;
  color: #e5e7eb;
  line-height: 1.45;
  padding-right: 0.35rem;
  white-space: pre-wrap;
}
.tt-more-btn {
  margin-top: 0.65rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(255,255,255,0.12);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
}
.tt-more-btn:active { transform: scale(0.95); }

/* legacy (dacă mai există) */
.tt-desc {
  overflow: hidden;
  transition: all 0.5s ease;
  max-height: 2.8rem;
  opacity: 0.9;
}
.tt-desc.open {
  max-height: 500px;
  opacity: 1;
}
.tt-desc p {
  margin: 0;
  font-size: 0.875rem;
  color: #f3f4f6;
  line-height: 1.4;
  padding-right: 0.5rem;
}

.tt-actions {
  position: absolute;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  right: 0.45rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 3.75rem;
  pointer-events: auto;
}
.tt-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  max-width: 100%;
}
.tt-action-circle {
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tt-action-circle svg { width: 20px; height: 20px; }
.tt-action span {
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 3.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.tt-action .liked { color: #ef4444; fill: #ef4444; }
.tt-action.is-liked .tt-action-circle svg,
.tt-action.is-liked svg {
  color: #ef4444 !important;
  fill: #ef4444 !important;
}
.tt-action[data-reviews] .tt-action-circle svg {
  color: #facc15;
  fill: #facc15;
}
.tt-cart-fab .tt-action-circle {
  width: 48px;
  height: 48px;
  padding: 0;
  background: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.tt-cart-fab .tt-action-circle svg { color: #000; fill: #000; width: 20px; height: 20px; }

.tt-seller {
  position: relative;
  margin-bottom: 0.35rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  pointer-events: auto;
}
.tt-seller:hover { transform: scale(1.05); }
.tt-seller-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  overflow: hidden;
  background: #1f2937;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.tt-seller-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: #fff;
}
.tt-seller-plus {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  border-radius: 9999px;
  padding: 2px;
  border: 1px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  line-height: 0;
}

/* Modals */
.tt-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.tt-overlay.open { display: flex; }
.tt-overlay.right { justify-content: flex-end; }
.tt-overlay.left { justify-content: flex-start; }
.tt-overlay.bottom { align-items: flex-end; }
.tt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.tt-panel {
  position: relative;
  z-index: 10;
  background: #fff;
  color: #000;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.tt-panel.sheet {
  max-width: 100%;
  height: 85vh;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
.tt-panel.sheet-sm {
  max-width: 100%;
  height: 70vh;
  border-radius: 1.5rem 1.5rem 0 0;
}
.tt-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.tt-panel-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tt-panel-close {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
  color: #111;
  display: flex;
}
.tt-panel-close:hover { background: #f3f4f6; }
.tt-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.tt-panel-foot {
  padding: 1.5rem;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

.tt-cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #f9fafb;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  position: relative;
  margin-bottom: 1rem;
}
.tt-cart-item img {
  width: 5rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #eee;
}
.tt-cart-item h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  padding-right: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-cart-item .price {
  color: #111;
  font-weight: 700;
  margin: 0.25rem 0;
}
.tt-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.tt-qty button {
  padding: 0.375rem;
  background: #fff;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  display: flex;
}
.tt-qty span { font-weight: 600; width: 1rem; text-align: center; }
.tt-cart-remove {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.25rem;
}
.tt-cart-remove:hover { color: #ef4444; }

.tt-checkout-btn {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.15s, background 0.15s;
}
.tt-checkout-btn:hover { background: #1f2937; }
.tt-checkout-btn:active { transform: scale(0.95); }

.tt-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}
.tt-form input,
.tt-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.tt-form input:focus,
.tt-form textarea:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}
.tt-form button[type="submit"],
.tt-btn-black {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.tt-btn-black:hover { background: #1f2937; }

.tt-menu-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: none;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  color: #111;
  text-decoration: none;
  box-sizing: border-box;
}
.tt-panel .tt-menu-link:hover {
  background: #f9fafb;
  border-color: #f3f4f6;
}

.tt-user-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
}
.tt-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(to top right, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tt-success {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.tt-review {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  margin-bottom: 1rem;
}
.tt-stars { display: flex; gap: 2px; }
.tt-stars svg.filled { fill: #facc15; color: #facc15; }
.tt-stars svg.empty { fill: #e5e7eb; color: #e5e7eb; }

.line-clamp-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tt-card .tt-media img,
  .tt-card .tt-media video {
    object-fit: contain;
    background: #000;
  }
}

/* ========== PAGE LAYOUT (non-feed) ========== */
.tt-body-page {
  height: auto !important;
  min-height: 100dvh;
  overflow: auto !important;
  background: #0a0a0a;
  color: #fff;
}
.tt-body-page .tt-site-footer { display: block; }

.tt-topnav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tt-topnav-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.tt-topnav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem;
  min-width: 0; max-width: calc(100% - 7rem); margin-right: auto;
}
.tt-topnav-brand img { height: 36px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.tt-topnav-actions {
  display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; margin-left: auto;
}

.tt-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  min-height: 60vh;
}
.tt-page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.tt-card-box {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.tt-card-box h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tt-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tt-input, .tt-select, .tt-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.tt-input:focus, .tt-select:focus, .tt-textarea:focus {
  border-color: rgba(255,255,255,0.45);
  background: #222;
}
.tt-select option { background: #111; color: #fff; }
.tt-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .tt-grid-2 { grid-template-columns: 1fr 1fr; }
}
.tt-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .tt-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.tt-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 960px) {
  .tt-checkout-layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
.tt-radio-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1a1a1a;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.tt-radio-card:has(input:checked) {
  border-color: #fff;
  background: #222;
}
.tt-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.tt-btn-primary:hover { background: #e5e5e5; }
.tt-btn-primary:disabled, .tt-btn-primary.processing {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}
.tt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.tt-btn-outline:hover { background: rgba(255,255,255,0.08); }
.tt-alert-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5;
  padding: 1rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.tt-alert-ok {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #86efac;
  padding: 1rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.tt-success-box {
  text-align: center;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  max-width: 520px;
  margin: 2rem auto;
}
.tt-success-box h1 { font-size: 1.75rem; margin: 1rem 0; }
.tt-muted { color: rgba(255,255,255,0.55); }
.tt-hidden, .hidden { display: none !important; }

.tt-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .tt-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .tt-product-grid { grid-template-columns: repeat(4, 1fr); }
}
.tt-product-tile {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.tt-product-tile:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.tt-product-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #1a1a1a;
}
.tt-product-tile .meta { padding: 0.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.tt-product-tile .meta h3 {
  margin: 0; font-size: 0.85rem; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-product-tile .meta .price { font-weight: 800; font-size: 0.95rem; }
.tt-product-tile .meta .cat { font-size: 0.7rem; color: rgba(255,255,255,0.45); text-transform: uppercase; }

.tt-catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .tt-catalog-layout { grid-template-columns: 240px 1fr; }
}
.tt-cat-list { display: flex; flex-direction: column; gap: 0.35rem; }
.tt-cat-list a, .tt-cat-list button {
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.7);
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.tt-cat-list a.active, .tt-cat-list a:hover,
.tt-cat-list button.active, .tt-cat-list button:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}
.tt-cat-list .child { padding-left: 1.5rem; font-size: 0.8rem; }

.tt-pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .tt-pdp { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.tt-pdp-gallery {
  background: #111;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.tt-pdp-gallery .main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0a0a0a;
}
.tt-thumbs {
  display: flex; gap: 0.5rem; padding: 0.75rem; overflow-x: auto;
}
.tt-thumbs img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 0.5rem;
  border: 2px solid transparent; cursor: pointer; opacity: 0.6;
}
.tt-thumbs img.active { border-color: #fff; opacity: 1; }
.tt-size-btn {
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.tt-size-btn.active { background: #fff; color: #000; border-color: #fff; }
.tt-qty-box {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #1a1a1a; border-radius: 9999px; padding: 0.35rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.tt-qty-box button {
  width: 36px; height: 36px; border-radius: 9999px; border: none;
  background: #222; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.tt-site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 1rem 2rem;
  margin-top: 2rem;
  color: rgba(255,255,255,0.55);
}
.tt-site-footer-inner { max-width: 1100px; margin: 0 auto; }
.tt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 700px) {
  .tt-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.tt-site-footer h5 {
  color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.tt-site-footer a, .tt-site-footer p {
  display: block; color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 0.875rem; margin: 0.35rem 0; line-height: 1.4;
}
.tt-site-footer a:hover { color: #fff; }
.tt-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  font-size: 0.75rem;
}

.tt-prose { color: rgba(255,255,255,0.75); line-height: 1.7; }
.tt-prose h1, .tt-prose h2, .tt-prose h3 { color: #fff; }
.tt-prose a { color: #fff; text-decoration: underline; }
.tt-prose p { margin: 0 0 1rem; }

#cart-sidebar.open { display: flex !important; }

/* ===== Bottom mobile nav ===== */
.tt-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
  pointer-events: auto;
}
.tt-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35rem 0.15rem;
  min-height: 3.25rem;
  transition: color 0.15s;
}
.tt-bnav-item.active, .tt-bnav-item:active { color: #fff; }
.tt-bnav-ico { position: relative; display: flex; align-items: center; justify-content: center; }
.tt-bnav-badge {
  position: absolute;
  top: -6px; right: -10px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 1rem; height: 1rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
/* Feed homepage — acțiuni în ecran, fără offset bottom-nav */
body.tt-body-home .tt-bottom-nav { display: none !important; }
body.tt-body-home .tt-app { padding-bottom: 0; }
body.tt-body-home .tt-actions {
  bottom: calc(1.25rem + env(safe-area-inset-bottom)) !important;
  right: 0.45rem !important;
}
body.tt-body-home .tt-info { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
body.tt-body-home .tt-feed { scroll-padding-bottom: 0; }

/* Pagini interne: bottom nav OK */
body.tt-body-page {
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
}
body.tt-body-page .tt-actions {
  bottom: calc(4.75rem + env(safe-area-inset-bottom)) !important;
}
.tt-page-with-nav { padding-bottom: 1rem; }

@media (min-width: 480px) {
  body.tt-body-home .tt-actions { gap: 1.1rem; }
  .tt-action-circle { width: 44px; height: 44px; }
  .tt-cart-fab .tt-action-circle { width: 52px; height: 52px; }
  .tt-info { left: 1rem; right: 5rem; }
}

.tt-fav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .tt-fav-grid { grid-template-columns: repeat(3, 1fr); }
}
.tt-fav-card {
  display: block;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.tt-fav-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #1a1a1a;
  display: block;
}
.tt-fav-card div { padding: 0.75rem; }
.tt-fav-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-fav-card span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.tt-tabs .tt-tab {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border-radius: 9999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.tt-tabs .tt-tab.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.tt-avatar-lg {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
}
.tt-status-pill {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(31,254,201,0.15);
  color: #1ffec9;
  font-weight: 600;
}
.tt-alert-err {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}
.tt-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s, border-color 0.15s;
}
.tt-menu-link:hover {
  background: #f9fafb;
  border-color: #f3f4f6;
}
/* Pagini dark / carduri site */
.tt-card-box .tt-menu-link,
.tt-body-page .tt-menu-link {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  justify-content: flex-start;
}
.tt-card-box .tt-menu-link:hover,
.tt-body-page .tt-menu-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
}

.tt-form-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.tt-form-section-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  padding-bottom: 0;
  border: none;
}
.tt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 420px) {
  .tt-form-grid { grid-template-columns: 1fr; }
}
.tt-check-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
}
.tt-check-row input { width: 1.1rem; height: 1.1rem; accent-color: #fff; }
.tt-b2b-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.35rem;
}
.tt-account-hero { display: flex; flex-direction: column; gap: 1rem; }
.tt-account-meta {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.5;
}
.tt-account-meta p { margin: 0; }
.tt-auth-card .tt-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.tt-stars .filled { color: #fbbf24; fill: #fbbf24; }
.tt-stars .empty { color: #d1d5db; }
.tt-rating-pick {
  display: flex; gap: 0.35rem; margin-bottom: 0.75rem;
}
.tt-rating-pick button {
  background: none; border: none; cursor: pointer; padding: 0.15rem; color: #d1d5db;
}
.tt-rating-pick button.on { color: #fbbf24; }

@media (min-width: 900px) {
  .tt-bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 1rem 1rem 0 0; }
}
.tt-overlay.open { display: flex !important; }

.tt-sticky-sum {
  position: sticky;
  top: 5rem;
}

/* ===== Futurist polish ===== */
body.tt-body-page {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31,254,201,0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(56,120,255,0.08), transparent 50%),
    var(--tt-bg);
}
.tt-card-box {
  background: linear-gradient(160deg, rgba(18,24,38,0.95), rgba(8,12,22,0.92));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
}
.tt-form-section {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(31,254,201,0.12);
}
.tt-form-section-title { color: var(--tt-accent); }
.tt-input, .tt-select, .tt-textarea {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tt-input:focus, .tt-select:focus, .tt-textarea:focus {
  border-color: rgba(31,254,201,0.55);
  box-shadow: 0 0 0 3px var(--tt-accent-dim);
}
.tt-btn-primary {
  background: linear-gradient(135deg, #fff 0%, #d7fff4 100%);
  color: #041018;
  box-shadow: var(--tt-glow);
  letter-spacing: 0.04em;
  font-weight: 800;
}
.tt-btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}
.tt-tabs .tt-tab.active {
  background: linear-gradient(135deg, var(--tt-accent), #9effe8);
  color: #041018;
  border-color: transparent;
  box-shadow: var(--tt-glow);
}
.tt-cat-pill.active {
  background: linear-gradient(135deg, #fff, #d7fff4);
  color: #041018;
  box-shadow: var(--tt-glow);
}
.tt-price {
  box-shadow: 0 4px 18px rgba(31,254,201,0.25);
}

/* PWA install prompt — o singură dată */
.tt-pwa-prompt {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 0.85rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom));
  pointer-events: none;
}
.tt-pwa-prompt[hidden] { display: none !important; }
.tt-pwa-card {
  pointer-events: auto;
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(160deg, rgba(12,18,32,0.96), rgba(5,10,20,0.96));
  border: 1px solid rgba(31,254,201,0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55), var(--tt-glow);
  backdrop-filter: blur(18px);
  animation: slide-up 0.35s ease-out;
}
.tt-pwa-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 0.9rem;
  background: rgba(31,254,201,0.12);
  border: 1px solid rgba(31,254,201,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--tt-accent);
  overflow: hidden;
  grid-row: span 2;
}
.tt-pwa-icon-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.tt-pwa-copy strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.tt-pwa-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.35;
}
.tt-pwa-actions {
  grid-column: 2;
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
}
.tt-pwa-btn {
  border: 0;
  border-radius: 9999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--tt-accent);
  color: #041018;
}
.tt-pwa-btn.ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}
.tt-pwa-btn:active { transform: scale(0.97); }
@media (max-width: 380px) {
  .tt-pwa-card { grid-template-columns: 1fr; }
  .tt-pwa-icon-wrap { grid-row: auto; width: 44px; height: 44px; }
  .tt-pwa-actions { grid-column: 1; }
}

/* Istoric comenzi / cont */
.tt-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tt-order-row,
.tt-order-detail {
  padding: 1rem 1.1rem;
}
.tt-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.tt-order-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
.tt-order-items {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tt-order-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}
.tt-order-item-name { font-weight: 600; }
.tt-order-item-meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  white-space: nowrap;
}
.tt-order-mini {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.tt-mini-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
}
.tt-mini-link-accent {
  color: #1ffec9;
  border-color: rgba(31,254,201,0.4);
}
@media (max-width: 480px) {
  .tt-order-meta-grid { grid-template-columns: 1fr; }
}

