/* ==============================================
   LAYOUT.CSS — Shuttle Theme
   Page structure: header overrides, footer v2,
   mobile UX, account pages.
   Extracted from style-shadow.css
   ============================================== */

/* ═══════════════════════════════════════════════════════════════════
   SECTION 33 — C7-4: HEADER COMPACT + SEARCH POLISH
   ═══════════════════════════════════════════════════════════════════ */


/* ── Header CLS Prevention ── */
.tilbehead19-header {
  min-height: var(--th-header-height);
  position: sticky;
  top: 0;
  z-index: var(--th-z-header);
  background: var(--th-color-bg);
}
.tilbehead19-header.th-compact {
  min-height: var(--th-header-height-compact, 64px);
}

/* --- Top bar smooth collapse on scroll --- */
.tilbehead19-top-bar {
  transition: height .3s cubic-bezier(.4,0,.2,1),
              opacity .25s ease,
              margin .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.tilbehead19-header.th-compact .tilbehead19-top-bar {
  height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

/* --- Compact main bar tighter --- */
.tilbehead19-header.th-compact .tilbehead19-main-bar {
  padding-top: 6px;
  padding-bottom: 6px;
  transition: padding .3s cubic-bezier(.4,0,.2,1);
}
.tilbehead19-header.th-compact .tilbehead19-search-form {
  height: 40px;
}
.tilbehead19-header.th-compact .tilbehead19-search-input {
  height: 40px;
}

/* --- Search dropdown --- */
.tilbehead19-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-top: 3px solid var(--th-color-primary);
  border-radius: 0 0 var(--th-radius-lg) var(--th-radius-lg);
  box-shadow: var(--th-shadow-lg);
  z-index: var(--th-z-dropdown);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tilbehead19-search-dropdown.active {
  display: block;
}

.tilbehead19-search-section {
  padding: var(--th-space-3) var(--th-space-4);
  border-bottom: 1px solid var(--th-color-border-light);
}
.tilbehead19-search-section:last-child {
  border-bottom: none;
}

.tilbehead19-search-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--th-space-2);
}
.tilbehead19-search-section-header span {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--th-tracking-wide);
}

.tilbehead19-search-history {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-1);
}

.tilbehead19-history-item {
  display: flex;
  align-items: center;
  gap: var(--th-space-2);
  padding: var(--th-space-2) var(--th-space-3);
  color: var(--th-color-text);
  text-decoration: none;
  font-size: var(--th-text-sm);
  border-radius: var(--th-radius-md);
  transition: var(--th-transition-fast);
}
.tilbehead19-history-item:hover {
  background: var(--th-color-bg-hover);
  color: var(--th-color-primary);
}
.tilbehead19-history-item::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}

.tilbehead19-clear-history {
  font-size: var(--th-text-xs);
  color: var(--th-color-text-muted);
  cursor: pointer;
  border: none;
  background: none;
  padding: var(--th-space-1);
  transition: var(--th-transition-fast);
}
.tilbehead19-clear-history:hover {
  color: var(--th-color-danger);
}

.tilbehead19-popular-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--th-space-1-5) var(--th-space-3);
  background: var(--th-color-bg-tertiary);
  color: var(--th-color-text-secondary);
  border-radius: var(--th-radius-full);
  font-size: var(--th-text-xs);
  text-decoration: none;
  transition: var(--th-transition-fast);
  white-space: nowrap;
}
.tilbehead19-popular-tag:hover {
  background: var(--th-color-primary-subtle);
  color: var(--th-color-primary);
}

/* --- Search form focus glow override --- */
.tilbehead19-search-form:focus-within {
  border-color: var(--th-color-primary);
  box-shadow: var(--th-input-shadow-focus);
}

/* --- Mobile: no top-bar collapse (already hidden) --- */
@media (max-width: 992px) {
  .tilbehead19-header.th-compact .tilbehead19-top-bar {
    display: none; /* already hidden by base CSS */
  }
  .tilbehead19-header.th-compact .tilbehead19-main-bar {
    padding-top: 0;
    padding-bottom: 6px;
  }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 40 — FOOTER v2 (tf2-)
   Direct copy from style.css lines 15351–15574
   WhatsApp color moved to variable system
   ═══════════════════════════════════════════════════════════════════ */
.tf2-footer {
  --tf2-bg:       var(--th-footer-bg, #0f1419);
  --tf2-bg2:      var(--th-footer-bg-top, #161d26);
  --tf2-bg3:      var(--th-footer-bg-bottom, #1b2433);
  --tf2-bgbar:    #090d12;
  --tf2-accent:   var(--th-footer-link-hover, var(--th-color-accent));
  --tf2-text:     var(--th-footer-text, #e2e8f0);
  --tf2-muted:    var(--th-footer-text-muted, #8899aa);
  --tf2-border:   rgba(255,255,255,.07);
  --tf2-radius:   var(--th-radius-lg);
  --tf2-whatsapp: var(--th-whatsapp-bg, #25d366);
}

/* TOP BAR */
.tf2-footer-top { background: var(--tf2-bg2); border-bottom: 1px solid var(--tf2-border); }
.tf2-footer-top-inner {
  max-width: 1440px; margin: 0 auto; padding: 36px 24px;
  display: flex; align-items: flex-start; gap: 32px;
}
.tf2-top-sep { width: 1px; align-self: stretch; background: var(--tf2-border); flex-shrink: 0; }

/* Newsletter */
.tf2-newsletter { flex: 2; display: flex; flex-direction: column; gap: 12px; }
.tf2-sec-icon {
  width: 42px; height: 42px; background: rgba(255,96,0,.12);
  border-radius: var(--th-radius-xl); display: flex; align-items: center;
  justify-content: center; color: var(--tf2-accent); font-size: 18px;
}
.tf2-newsletter strong, .tf2-app-block strong, .tf2-social-block strong {
  font-size: 15px; font-weight: 700; color: var(--tf2-text); display: block;
}
.tf2-newsletter > span, .tf2-app-block > span {
  font-size: 12px; color: var(--tf2-muted); line-height: 1.5;
}
.tf2-newsletter em { color: var(--tf2-accent); font-style: normal; font-weight: 600; }
.tf2-nl-form {
  display: flex; max-width: 400px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--tf2-radius);
  overflow: hidden; background: rgba(255,255,255,.04);
}
.tf2-nl-form input {
  flex: 1; padding: 11px 14px; background: transparent;
  border: none; outline: none; font-size: 13px; color: var(--tf2-text);
}
.tf2-nl-form input::placeholder { color: var(--tf2-muted); }
.tf2-nl-form button {
  padding: 11px 18px; background: var(--tf2-accent); color: #fff;
  border: none; cursor: pointer; font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: filter .2s;
}
.tf2-nl-form button:hover { filter: brightness(1.1); }
.tf2-kvkk { display: flex; align-items: flex-start; gap: 7px; cursor: pointer; }
.tf2-kvkk input { margin-top: 2px; accent-color: var(--tf2-accent); flex-shrink: 0; }
.tf2-kvkk span { font-size: 11px; color: var(--tf2-muted); line-height: 1.5; }
.tf2-kvkk a { color: var(--tf2-accent); text-decoration: none; }

/* App */
.tf2-app-block { flex: 1.5; display: flex; flex-direction: column; gap: 12px; }
.tf2-app-btns { display: flex; flex-direction: column; gap: 8px; }
.tf2-app-btns a img { border-radius: var(--th-radius-md); border: 1px solid rgba(255,255,255,.1); max-width: 130px; display: block; }

/* Social */
.tf2-social-block { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.tf2-social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.tf2-social-icons a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--tf2-radius); color: var(--tf2-muted); font-size: 14px;
  transition: background .2s, color .2s, border-color .2s; text-decoration: none;
}
.tf2-social-icons a:hover { background: var(--tf2-accent); border-color: var(--tf2-accent); color: #fff; }

/* MAIN NAV */
.tf2-footer-main { background: var(--tf2-bg); }
.tf2-footer-main-inner {
  max-width: 1440px; margin: 0 auto; padding: 48px 24px;
  display: grid; grid-template-columns: 220px repeat(4, 1fr); gap: 40px;
}
.tf2-brand { display: flex; flex-direction: column; gap: 14px; }
.tf2-brand img { max-width: 150px; height: auto; }
.tf2-brand p { font-size: 12px; color: var(--tf2-muted); line-height: 1.7; }
.tf2-trust { display: flex; flex-direction: column; gap: 6px; }
.tf2-trust li {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--tf2-muted); list-style: none;
}
.tf2-trust li i { color: var(--tf2-accent); width: 13px; }

/* Columns */
.tf2-col-toggle {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: none; border-bottom: 1px solid var(--tf2-border);
  padding: 0 0 13px; cursor: pointer;
  font-size: 11px; font-weight: 700; color: var(--tf2-text);
  text-transform: uppercase; letter-spacing: .8px; text-align: left;
}
.tf2-col-toggle > i:first-child { color: var(--tf2-accent); font-size: 12px; }
.tf2-col-arrow {
  margin-left: auto; font-size: 10px; color: var(--tf2-muted);
  display: none; transition: transform .25s;
}
.tf2-links {
  list-style: none; padding: 14px 0 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.tf2-links a {
  font-size: 13px; color: var(--tf2-muted); text-decoration: none;
  display: flex; align-items: center; gap: 6px; transition: color .15s;
}
.tf2-links a:hover { color: var(--tf2-accent); }
.tf2-wa-link { color: var(--tf2-whatsapp) !important; }
.tf2-wa-link:hover { filter: brightness(1.15); }

/* Contact */
.tf2-contact {
  font-style: normal; padding-top: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.tf2-c-row { display: flex; align-items: flex-start; gap: 10px; }
.tf2-c-icon {
  width: 28px; height: 28px; background: rgba(255,255,255,.05);
  border-radius: var(--th-radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--tf2-accent); font-size: 12px; flex-shrink: 0; margin-top: 1px;
}
.tf2-c-label {
  display: block; font-size: 10px; font-weight: 700; color: var(--tf2-accent);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.tf2-c-row div { display: flex; flex-direction: column; }
.tf2-c-row a, .tf2-c-row span { font-size: 12px; color: var(--tf2-muted); text-decoration: none; }
.tf2-c-row a:hover { color: var(--tf2-accent); }
.tf2-etbis {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tf2-border);
}
.tf2-etbis a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.tf2-etbis img { width: 52px; height: auto; border-radius: var(--th-radius-sm); }
.tf2-etbis span { font-size: 11px; color: var(--tf2-muted); line-height: 1.4; }

/* BOTTOM */
.tf2-footer-bottom {
  background: var(--tf2-bg3);
  border-top: 1px solid var(--tf2-border); border-bottom: 1px solid var(--tf2-border);
}
.tf2-footer-bottom-inner {
  max-width: 1440px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.tf2-cargo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tf2-cargo-label {
  font-size: 10px; font-weight: 700; color: var(--tf2-muted);
  text-transform: uppercase; letter-spacing: .6px; white-space: nowrap;
}
.tf2-cargo-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tf2-cargo-chip {
  padding: 4px 11px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--th-radius-3xl);
  font-size: 11px; color: var(--tf2-muted); white-space: nowrap;
}
.tf2-security { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.tf2-sec-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--th-radius-md);
  font-size: 11px; color: var(--tf2-muted); font-weight: 500;
  white-space: nowrap; text-decoration: none; transition: border-color .2s, color .2s;
}
.tf2-sec-etbis { color: var(--tf2-accent); border-color: rgba(255,96,0,.2); }
.tf2-sec-etbis:hover { border-color: var(--tf2-accent); }
.tf2-rating {
  display: flex; align-items: center; gap: 10px;
  background: var(--tf2-accent); padding: 10px 16px; border-radius: var(--tf2-radius);
}
.tf2-rating-score { font-size: 26px; font-weight: 700; color: #fff; line-height: 1; }
.tf2-rating-info { display: flex; flex-direction: column; gap: 3px; }
.tf2-rating-stars { display: flex; gap: 2px; color: #fff; font-size: 11px; }
.tf2-rating-info > span { font-size: 10px; color: rgba(255,255,255,.85); font-weight: 600; }
.tf2-rating-count { font-size: 10px; color: rgba(255,255,255,.7); }

/* BAR */
.tf2-footer-bar { background: var(--tf2-bgbar); }
.tf2-footer-bar-inner {
  max-width: 1440px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.tf2-bar-left { font-size: 12px; color: var(--tf2-muted); }
.tf2-bar-nav { display: flex; align-items: center; gap: 18px; }
.tf2-bar-nav a { font-size: 12px; color: var(--tf2-muted); text-decoration: none; transition: color .15s; }
.tf2-bar-nav a:hover { color: var(--tf2-accent); }
.tf2-bar-cards img { height: 22px; width: auto; }

/* MOBILE */
@media (max-width: 992px) {
  .tf2-footer-top-inner { flex-direction: column; padding: 24px 16px; gap: 20px; }
  .tf2-top-sep { width: 100%; height: 1px; align-self: auto; }
  .tf2-footer-main-inner { grid-template-columns: 1fr; padding: 20px 16px; gap: 0; }
  .tf2-brand { padding-bottom: 20px; border-bottom: 1px solid var(--tf2-border); }
  .tf2-footer-col { border-bottom: 1px solid var(--tf2-border); }
  .tf2-col-toggle { padding: 13px 0; }
  .tf2-col-arrow { display: block; }
  .tf2-links {
    max-height: 0; overflow: hidden; padding-top: 0; gap: 0;
    transition: max-height .3s ease, padding .3s ease, gap .3s ease;
  }
  .tf2-footer-col.tf2-open .tf2-links { max-height: 600px; padding-top: 10px; gap: 9px; }
  .tf2-footer-col.tf2-open .tf2-col-arrow { transform: rotate(180deg); }
  .tf2-contact { max-height: 0; overflow: hidden; padding-top: 0; transition: max-height .3s ease, padding .3s ease; }
  .tf2-footer-col.tf2-open .tf2-contact { max-height: 600px; padding-top: 10px; }
  .tf2-etbis { display: none; }
  .tf2-footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 10px; }
  .tf2-footer-bar-inner { flex-direction: column; text-align: center; gap: 10px; padding: 12px 16px; }
  .tf2-bar-nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .tf2-rating { width: 100%; justify-content: center; }
  .tf2-security { justify-content: center; }
  .tf2-cargo { justify-content: center; }
}
@media (max-width: 576px) {
  .tf2-app-btns { flex-direction: row; flex-wrap: wrap; }
  .tf2-nl-form { max-width: 100%; }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 35 — C7-6: MOBILE UX UPGRADE
   ═══════════════════════════════════════════════════════════════════ */

/* --- Bottom nav: theme color for center cart button --- */
.tilbehomeMobilMenu456-menu-center-wrapper {
  background: var(--th-color-primary);
  box-shadow: 0 -2px 16px rgba(255,96,0,.25);
}

/* --- Bottom nav: premium styling --- */
.tilbehomeMobilMenu456-container {
  box-shadow: 0 -2px 16px rgba(0,0,0,.08);
  border-top: 1px solid var(--th-color-border-light);
  border-left: none; border-right: none;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.tilbehomeMobilMenu456-container.th-nav-hidden {
  transform: translateY(100%);
}

/* --- Active state on current page --- */
.tilbehomeMobilMenu456-menu-item.active i,
.tilbehomeMobilMenu456-menu-item.active span {
  color: var(--th-color-primary);
}

/* --- Mobile hamburger menu: smoother open --- */
.tilbehead19-mobile-menu {
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

/* --- Mobile product card: touch-friendly spacing --- */
@media (max-width: 768px) {
  .th2-card .th2-card__overlay { display: none; }
  .th2-card .buttons-wrapper { display: block !important; }
  .th2-card .buttons { margin-top: 8px; }
  .th2-card .btn-cart {
    min-height: 44px; border-radius: var(--th-radius-lg); font-size: 13px; font-weight: 600;
  }
}

/* --- Mobile: drawer full width --- */
@media (max-width: 768px) {
  .th-cd { width: 100%; max-width: 100%; border-radius: 0; }
  .th-cd-product-img { width: 64px; height: 64px; }
}



   SECTION 40 — Account Pages (Hesabım)
   Modern sidebar, dashboard, orders, favorites
   ============================================= */

/* ─── SIDEBAR ─── */
.th-acc-sidebar {
  background: var(--th-color-bg);
  border-radius: var(--th-radius-2xl);
  border: 1px solid var(--th-color-border);
  overflow: hidden;
}

/* Profile Card */
.th-acc-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: #fff;
}
.th-acc-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--th-radius-full);
  background: var(--th-color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 1px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.2);
}
.th-acc-user {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.th-acc-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.th-acc-email {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Wallet Card */
.th-acc-wallet {
  margin: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #1a2332 0%, #243447 100%);
  border-radius: var(--th-radius-2xl);
  color: #fff;
}
.th-acc-wallet-label {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.th-acc-wallet-label i {
  margin-right: 4px;
}
.th-acc-wallet-amount {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.th-acc-wallet-actions {
  display: flex;
  gap: 8px;
}
.th-acc-wbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: var(--th-radius-lg);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  transition: background .2s;
}
.th-acc-wbtn:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
}

/* Navigation */
.th-acc-nav {
  padding: 8px 0;
}
.th-acc-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  text-decoration: none;
  color: var(--th-color-text-tertiary);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.th-acc-nav-item:hover {
  background: var(--th-color-bg-secondary);
  color: var(--th-color-text);
  text-decoration: none;
}
.th-acc-nav-item--active {
  background: var(--th-color-accent-subtle);
  color: var(--th-color-primary);
  font-weight: 600;
  border-left-color: var(--th-color-primary);
}
.th-acc-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}
.th-acc-nav-item--active .th-acc-nav-icon {
  color: var(--th-color-primary);
}
.th-acc-nav-text {
  flex: 1;
}

/* ─── DASHBOARD ─── */

/* Welcome */
.th-acc-welcome {
  margin-bottom: 20px;
}
.th-acc-welcome-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--th-color-text);
  margin: 0 0 4px;
}
.th-acc-welcome-text {
  font-size: 14px;
  color: var(--th-color-text-muted);
  margin: 0;
}

/* Stats Row */
.th-acc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.th-acc-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  transition: border-color .2s, box-shadow .2s;
}
.th-acc-stat:hover {
  border-color: var(--th-color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.th-acc-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--th-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.th-acc-stat-icon--order {
  background: var(--th-color-accent-subtle);
  color: var(--th-color-primary);
}
.th-acc-stat-icon--fav {
  background: var(--th-color-danger-subtle);
  color: var(--th-color-danger);
}
.th-acc-stat-icon--alert {
  background: var(--th-gold-50);
  color: var(--th-gold-500);
}
.th-acc-stat-icon--support {
  background: var(--th-blue-50);
  color: var(--th-blue-500);
}
.th-acc-stat-info {
  display: flex;
  flex-direction: column;
}
.th-acc-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--th-color-text);
  line-height: 1.1;
}
.th-acc-stat-label {
  font-size: 12px;
  color: var(--th-color-text-muted);
  font-weight: 500;
}

/* Section Title */
.th-acc-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--th-color-text);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.th-acc-section-title i {
  color: var(--th-color-primary);
  font-size: 15px;
}

/* Quick Links Grid */
.th-acc-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.th-acc-qlink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.th-acc-qlink:hover {
  border-color: var(--th-color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transform: translateY(-2px);
  text-decoration: none;
}
.th-acc-qlink-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--th-radius-xl);
  background: var(--th-color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--th-color-text-muted);
  transition: background .2s, color .2s;
}
.th-acc-qlink:hover .th-acc-qlink-icon {
  background: var(--th-color-primary);
  color: #fff;
}
.th-acc-qlink-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--th-color-text-secondary);
  text-align: center;
  line-height: 1.3;
}

/* ─── ORDERS LIST ─── */
.th-acc-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.th-acc-order-card {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.th-acc-order-card:hover {
  border-color: var(--th-color-border-strong);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.th-acc-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--th-color-bg-secondary);
  border-bottom: 1px solid var(--th-color-border-light);
}
.th-acc-order-no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--th-color-text-secondary);
}
.th-acc-order-no i {
  color: var(--th-color-primary);
}
.th-acc-order-no a {
  color: var(--th-color-text-secondary);
  text-decoration: none;
}
.th-acc-order-no a:hover {
  color: var(--th-color-primary);
}
.th-acc-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--th-radius-3xl);
  font-size: 11px;
  font-weight: 700;
  background: var(--th-emerald-50);
  color: var(--th-color-success);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.th-acc-order-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px 18px;
}
.th-acc-order-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.th-acc-order-label {
  font-size: 11px;
  color: var(--th-color-text-placeholder);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.th-acc-order-detail span,
.th-acc-order-detail strong {
  font-size: 14px;
  color: var(--th-color-text);
}
.th-acc-order-amount {
  color: var(--th-color-primary) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.th-acc-order-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--th-color-border-light);
  background: var(--th-color-bg-secondary);
}
.th-acc-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--th-radius-lg);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: var(--th-color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.th-acc-order-btn:hover {
  background: var(--th-color-accent-hover);
  color: #fff;
  text-decoration: none;
}
.th-acc-order-btn--cancel {
  background: transparent;
  color: var(--th-color-danger);
  border: 1px solid var(--th-color-danger-border);
}
.th-acc-order-btn--cancel:hover {
  background: var(--th-color-danger-subtle);
  color: var(--th-color-danger-hover);
}

/* ─── ORDER DETAIL ─── */
.th-acc-od-info {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  overflow: hidden;
  margin-bottom: 20px;
}
.th-acc-od-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--th-color-text);
  border-bottom: 1px solid var(--th-color-border-light);
}
.th-acc-od-row:last-child {
  border-bottom: none;
}
.th-acc-od-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--th-color-text-muted);
  font-size: 13px;
  font-weight: 500;
}
.th-acc-od-label i {
  color: var(--th-color-primary);
  width: 18px;
  text-align: center;
  font-size: 13px;
}
.th-acc-od-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--th-radius-3xl);
  font-size: 12px;
  font-weight: 700;
  background: var(--th-emerald-50);
  color: var(--th-color-success);
}
.th-acc-od-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--th-color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}
.th-acc-od-track:hover {
  text-decoration: underline;
}

/* Products List */
.th-acc-od-products {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  overflow: hidden;
  margin-bottom: 16px;
}
.th-acc-od-ptitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--th-color-text);
  padding: 14px 18px;
  margin: 0;
  border-bottom: 1px solid var(--th-color-border);
  background: var(--th-color-bg-secondary);
}
.th-acc-od-ptitle i {
  color: var(--th-color-primary);
  margin-right: 8px;
}
.th-acc-od-product {
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--th-color-border-light);
  font-size: 14px;
}
.th-acc-od-product:last-child {
  border-bottom: none;
}
.th-acc-od-pnum {
  font-size: 12px;
  font-weight: 700;
  color: var(--th-color-text-placeholder);
  text-align: center;
}
.th-acc-od-pinfo strong {
  display: block;
  font-size: 14px;
  color: var(--th-color-text);
  font-weight: 600;
  line-height: 1.3;
}
.th-acc-od-pvar {
  display: block;
  font-size: 12px;
  color: var(--th-color-text-muted);
  margin-top: 2px;
}
.th-acc-od-pprice {
  font-size: 13px;
  color: var(--th-color-text-muted);
  text-align: right;
}
.th-acc-od-pqty {
  font-size: 13px;
  color: var(--th-color-text-muted);
  text-align: right;
  min-width: 50px;
}
.th-acc-od-ptotal {
  font-size: 14px;
  font-weight: 700;
  color: var(--th-color-text);
  text-align: right;
  min-width: 80px;
}

/* Summary */
.th-acc-od-summary {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  overflow: hidden;
}
.th-acc-od-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--th-color-text-tertiary);
  border-bottom: 1px solid var(--th-color-border-light);
}
.th-acc-od-sum-row:last-child {
  border-bottom: none;
}
.th-acc-od-sum-row--total {
  background: var(--th-color-bg-secondary);
  padding: 14px 18px;
}
.th-acc-od-sum-row--total strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--th-color-success);
}

/* ─── FAVORITES ─── */
.th-acc-desc {
  font-size: 13px;
  color: var(--th-color-text-muted);
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--th-color-bg-secondary);
  border-radius: var(--th-radius-xl);
  border: 1px solid var(--th-color-border);
}
.th-acc-favorites {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.th-acc-fav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  transition: border-color .2s;
}
.th-acc-fav-card:hover {
  border-color: var(--th-color-border-strong);
}
.th-acc-fav-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: var(--th-radius-xl);
  overflow: hidden;
  background: var(--th-color-bg-secondary);
}
.th-acc-fav-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.th-acc-fav-info {
  flex: 1;
  min-width: 0;
}
.th-acc-fav-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--th-color-text);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 2px;
}
.th-acc-fav-name:hover {
  color: var(--th-color-primary);
}
.th-acc-fav-date {
  font-size: 12px;
  color: var(--th-color-text-placeholder);
}
.th-acc-fav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.th-acc-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--th-radius-lg);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.th-acc-fav-btn--cart {
  background: var(--th-color-primary);
  color: #fff;
}
.th-acc-fav-btn--cart:hover {
  background: var(--th-color-accent-hover);
  color: #fff;
  text-decoration: none;
}
.th-acc-fav-btn--remove {
  background: var(--th-color-danger-subtle);
  color: var(--th-color-danger);
  padding: 8px 10px;
}
.th-acc-fav-btn--remove:hover {
  background: var(--th-color-danger-muted);
  color: var(--th-color-danger-hover);
  text-decoration: none;
}

/* ─── EMPTY STATE ─── */
.th-acc-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--th-color-text-placeholder);
}
.th-acc-empty i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: .4;
}
.th-acc-empty p {
  font-size: 14px;
  color: var(--th-color-text-muted);
  margin: 0;
}

/* ─── GENERAL ACCOUNT FORM OVERRIDES ─── */
.user-dashboard .alert-info {
  border-radius: var(--th-radius-xl);
  border: 1px solid var(--th-blue-200);
  background: var(--th-blue-50);
  color: var(--th-blue-800);
  font-size: 13px;
}
.user-dashboard .jumbotron {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
}
.user-dashboard .btn-success {
  background: var(--th-color-primary);
  border-color: var(--th-color-primary);
  border-radius: var(--th-radius-xl);
  padding: 10px 28px;
  font-weight: 600;
}
.user-dashboard .btn-success:hover {
  background: var(--th-color-accent-hover);
  border-color: var(--th-color-accent-hover);
}
.user-dashboard .form-control {
  border-radius: var(--th-radius-xl);
  border-color: var(--th-color-border);
  padding: 10px 14px;
  font-size: 14px;
}
.user-dashboard .form-control:focus {
  border-color: var(--th-color-primary);
  box-shadow: var(--th-input-shadow-focus);
}

/* Hide old list-menu when sidebar is active */
.list-menu {
  display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .th-acc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .th-acc-profile {
    padding: 16px;
  }
  .th-acc-avatar {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .th-acc-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .th-acc-stat {
    padding: 14px 12px;
  }
  .th-acc-stat-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .th-acc-stat-num {
    font-size: 20px;
  }
  .th-acc-quicklinks {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .th-acc-qlink {
    padding: 14px 8px;
  }
  .th-acc-qlink-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .th-acc-order-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .th-acc-order-detail {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .th-acc-od-product {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 16px;
  }
  .th-acc-od-pnum { display: none; }
  .th-acc-od-pprice,
  .th-acc-od-pqty,
  .th-acc-od-ptotal { text-align: left; }
  .th-acc-fav-card {
    flex-wrap: wrap;
  }
  .th-acc-fav-actions {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px solid var(--th-color-border-light);
    padding-top: 10px;
  }
}
@media (max-width: 480px) {
  .th-acc-quicklinks {
    grid-template-columns: 1fr 1fr;
  }
  .th-acc-wallet-amount {
    font-size: 22px;
  }
  .th-acc-order-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .th-acc-order-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ── Hamburger → X Animation ── */
.tilbehead19-mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--th-color-text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.tilbehead19-mobile-menu-btn span + span { margin-top: 5px; }
.tilbehead19-menu-open .tilbehead19-mobile-menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.tilbehead19-menu-open .tilbehead19-mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}
.tilbehead19-menu-open .tilbehead19-mobile-menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ── Search Focus Expand ── */
.tilbehead19-search-wrapper {
  transition: flex .3s ease;
}
.tilbehead19-search-wrapper.tilbehead19-active {
  flex: 1.5;
}


/* ── Cart Badge Bounce Animation ── */
@keyframes th2-badge-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  50% { transform: scale(0.9); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.tilbehead19-cart-badge.th-badge-bounce {
  animation: th2-badge-bounce .5s ease;
}

/* ── Favorite Heart Pulse ── */
@keyframes th2-heart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.tilbehead19-wishlist-badge.th-badge-pulse {
  animation: th2-heart-pulse .4s ease;
}

/* ── Notification Dot Pulse ── */
.tilbehead19-notification-btn .th-notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--th-color-danger);
  border-radius: var(--th-radius-full);
  animation: th2-notif-pulse 2s ease-in-out infinite;
}
@keyframes th2-notif-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}


/* ── Header Micro-interactions ── */
/* Logo hover */
.tilbehead19-logo:hover .tilbehead19-logo-img {
  opacity: .92;
  transition: opacity .2s ease;
}

/* Nav menu item underline slide-in */
.tilbehead19-nav-menu > li > a {
  position: relative;
}
.tilbehead19-nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--th-color-accent);
  transition: width .3s ease;
}
.tilbehead19-nav-menu > li > a:hover::after {
  width: 100%;
}

/* Dropdown open animation */
.tilbehead19-action-dropdown {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.tilbehead19-action-item.tilbehead19-open .tilbehead19-action-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Sticky header shadow transition */
.tilbehead19-header.tilbehead19-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .3s ease;
}

/* Footer link hover arrow animation */
.tf2-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  transition: width .2s ease, margin .2s ease;
}
.tf2-links a:hover::before {
  content: '→';
  width: 14px;
  margin-right: 4px;
}


/* ── Mobile Menu Close Button ── */
.tilbehead19-mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--th-color-bg-tertiary);
  border: none;
  border-radius: var(--th-radius-full);
  color: var(--th-color-text);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.tilbehead19-mobile-menu-close:hover {
  background: var(--th-color-bg-skeleton);
}

/* ── Mobile Menu Body Scroll Lock ── */
.tilbehead19-menu-open {
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════════
   BOLUM 2: NAVIGATION & DISCOVERY MODULES
   ═══════════════════════════════════════════════════════════════════ */

/* ── 2A: WhatsApp Floating Widget ── */
.th2-wa-widget {
  position: fixed;
  bottom: var(--th-space-6);
  right: var(--th-space-6);
  width: var(--th-whatsapp-size);
  height: var(--th-whatsapp-size);
  background: var(--th-whatsapp-bg);
  color: var(--th-whatsapp-text);
  border-radius: var(--th-whatsapp-radius);
  box-shadow: var(--th-whatsapp-shadow);
  z-index: var(--th-whatsapp-z);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  transition: var(--th-transition-normal);
}
.th2-wa-widget:hover {
  background: var(--th-whatsapp-bg-hover);
  transform: scale(1.1);
  text-decoration: none;
  color: var(--th-whatsapp-text);
}
.th2-wa-widget::before {
  content: 'Bize yazmak ister misiniz?';
  position: absolute;
  right: calc(100% + var(--th-space-3));
  white-space: nowrap;
  background: var(--th-neutral-800);
  color: var(--th-neutral-0);
  padding: var(--th-space-2) var(--th-space-3);
  border-radius: var(--th-radius-md);
  font-size: var(--th-text-xs);
  opacity: 0;
  pointer-events: none;
  transition: var(--th-transition-fast);
}
.th2-wa-widget:hover::before { opacity: 1; }

@media (max-width: 767px) {
  .th2-wa-widget {
    width: 48px; height: 48px;
    bottom: 80px; right: var(--th-space-4);
    font-size: 24px;
  }
  .th2-wa-widget::before { display: none; }
}

/* ── 2B: Scroll to Top ── */
.th2-scroll-top {
  position: fixed;
  bottom: var(--th-space-6);
  left: var(--th-space-6);
  width: var(--th-scrolltop-size);
  height: var(--th-scrolltop-size);
  background: var(--th-scrolltop-bg);
  color: var(--th-scrolltop-text);
  border: none;
  border-radius: var(--th-scrolltop-radius);
  box-shadow: var(--th-scrolltop-shadow);
  z-index: var(--th-scrolltop-z);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--th-transition-normal);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.th2-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.th2-scroll-top:hover {
  background: var(--th-scrolltop-bg-hover);
  transform: translateY(-3px);
  box-shadow: var(--th-shadow-xl);
}

@media (max-width: 767px) {
  .th2-scroll-top { width: 40px; height: 40px; bottom: 80px; left: var(--th-space-4); font-size: 16px; }
}

/* ── 2C: Cookie Consent Banner ── */
.th2-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--th-neutral-900);
  color: var(--th-neutral-200);
  padding: var(--th-space-4) var(--th-space-6);
  z-index: var(--th-z-toast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--th-space-4);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.th2-cookie-banner.visible { transform: translateY(0); }
.th2-cookie-banner p { margin: 0; font-size: var(--th-text-sm); line-height: var(--th-leading-relaxed); flex: 1; }
.th2-cookie-banner a { color: var(--th-color-accent); text-decoration: underline; }
.th2-cookie-actions { display: flex; gap: var(--th-space-2); flex-shrink: 0; }
.th2-cookie-accept {
  padding: var(--th-space-2) var(--th-space-5);
  background: var(--th-btn-primary-bg);
  color: var(--th-btn-primary-text);
  border: none;
  border-radius: var(--th-btn-radius);
  font-weight: var(--th-font-semibold);
  cursor: pointer;
}
.th2-cookie-reject {
  padding: var(--th-space-2) var(--th-space-5);
  background: transparent;
  color: var(--th-neutral-400);
  border: 1px solid var(--th-neutral-700);
  border-radius: var(--th-btn-radius);
  cursor: pointer;
}

@media (max-width: 767px) {
  .th2-cookie-banner { flex-direction: column; padding: var(--th-space-3) var(--th-space-4); }
  .th2-cookie-actions { width: 100%; }
  .th2-cookie-accept, .th2-cookie-reject { flex: 1; }
}

/* ── 2D: Newsletter Popup ── */
.th2-nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--th-z-modal) - 1);
  opacity: 0;
  pointer-events: none;
  transition: var(--th-transition-normal);
}
.th2-nl-overlay.active { opacity: 1; pointer-events: auto; }

.th2-nl-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--th-color-bg);
  border-radius: var(--th-radius-2xl);
  box-shadow: var(--th-shadow-2xl);
  z-index: var(--th-z-modal);
  width: 90%; max-width: 480px;
  padding: var(--th-space-8);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--th-transition-normal);
}
.th2-nl-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.th2-nl-popup-close {
  position: absolute;
  top: var(--th-space-3); right: var(--th-space-3);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--th-color-bg-tertiary);
  border: none; border-radius: var(--th-radius-full);
  cursor: pointer; color: var(--th-color-text-muted);
  font-size: 16px;
}
.th2-nl-popup h3 { font-size: var(--th-text-xl); font-weight: var(--th-font-bold); margin-bottom: var(--th-space-2); }
.th2-nl-popup p { font-size: var(--th-text-sm); color: var(--th-color-text-muted); margin-bottom: var(--th-space-5); }
.th2-nl-popup-form { display: flex; gap: var(--th-space-2); }
.th2-nl-popup-form input {
  flex: 1; padding: var(--th-space-3);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-lg);
  font-size: var(--th-text-base);
}
.th2-nl-popup-form button {
  padding: var(--th-space-3) var(--th-space-5);
  background: var(--th-btn-accent-bg);
  color: var(--th-btn-accent-text);
  border: none; border-radius: var(--th-radius-lg);
  font-weight: var(--th-font-semibold);
  cursor: pointer; white-space: nowrap;
}
.th2-nl-popup-note { font-size: var(--th-text-2xs); color: var(--th-color-text-muted); margin-top: var(--th-space-3); }

/* ── 1D: Compare Bar ── */
.th2-compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--th-color-bg);
  border-top: 1px solid var(--th-color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: var(--th-z-sticky);
  padding: var(--th-space-3) var(--th-space-6);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--th-space-4);
}
.th2-compare-bar.active { display: flex; }
.th2-compare-items { display: flex; gap: var(--th-space-2); }
.th2-compare-item {
  width: 56px; height: 56px;
  border-radius: var(--th-radius-lg);
  border: 2px solid var(--th-color-border);
  overflow: hidden; position: relative;
}
.th2-compare-item img { width: 100%; height: 100%; object-fit: cover; }
.th2-compare-item .remove {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--th-color-danger); color: white;
  border-radius: var(--th-radius-full);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
}
.th2-compare-btn {
  padding: var(--th-space-2) var(--th-space-5);
  background: var(--th-btn-primary-bg);
  color: var(--th-btn-primary-text);
  border: none; border-radius: var(--th-btn-radius);
  font-weight: var(--th-font-semibold);
  cursor: pointer;
}
.th2-compare-clear { color: var(--th-color-text-muted); background: none; border: none; cursor: pointer; font-size: var(--th-text-sm); text-decoration: underline; }

@media (max-width: 767px) {
  .th2-compare-bar { flex-direction: column; padding: var(--th-space-2) var(--th-space-4); bottom: 64px; }
  .th2-compare-item { width: 44px; height: 44px; }
}

/* ── 8G: Loading Overlay (Token) ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: var(--th-z-overlay, 9999);
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay .spinner-border {
  width: 48px; height: 48px;
  border: 3px solid var(--th-color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: th2-spin 0.8s linear infinite;
}

