/* ==============================================
   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
   ═══════════════════════════════════════════════════════════════════ */

/* --- 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 premium polish --- */
.tilbehead19-search-dropdown {
  border-top: 3px solid var(--main-color, #ff6000);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tilbehead19-search-section-header span {
  color: #1f2937;
}
.tilbehead19-popular-tag {
  background: #fafafa;
  font-weight: 500;
}
.tilbehead19-popular-tag:hover {
  background: rgba(255, 96, 0, .06);
  border-color: var(--main-color, #ff6000);
  color: var(--main-color, #ff6000);
}
.tilbehead19-clear-history {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* --- Search form focus glow override --- */
.tilbehead19-search-form:focus-within {
  border-color: var(--main-color, #ff6000);
  box-shadow: 0 0 0 3px rgba(255, 96, 0, .15);
}

/* --- 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:       #0f1419;
  --tf2-bg2:      #161d26;
  --tf2-bg3:      #1b2433;
  --tf2-bgbar:    #090d12;
  --tf2-accent:   var(--main-color, #ff6000);
  --tf2-text:     #e2e8f0;
  --tf2-muted:    #8899aa;
  --tf2-border:   rgba(255,255,255,.07);
  --tf2-radius:   8px;
  --tf2-whatsapp: #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: 10px; 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: 6px; 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: 6px; 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: 4px; }
.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: 20px;
  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: 6px;
  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(--main-color, #ff6000);
  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 #f0f0f0;
  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(--main-color, #ff6000);
}

/* --- 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) {
  .card-product .cp-hover-overlay { display: none; }
  .card-product .buttons-wrapper { display: block !important; }
  .card-product .buttons { margin-top: 8px; }
  .card-product .btn-cart {
    min-height: 44px; border-radius: 8px; 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: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  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: 50%;
  background: var(--main-color, #ff6000);
  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: 14px;
  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: 8px;
  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: #4b5563;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.th-acc-nav-item:hover {
  background: #f9fafb;
  color: #111;
  text-decoration: none;
}
.th-acc-nav-item--active {
  background: #fff7ed;
  color: var(--main-color, #ff6000);
  font-weight: 600;
  border-left-color: var(--main-color, #ff6000);
}
.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(--main-color, #ff6000);
}
.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: #1f2937;
  margin: 0 0 4px;
}
.th-acc-welcome-text {
  font-size: 14px;
  color: #6b7280;
  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: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.th-acc-stat:hover {
  border-color: var(--main-color, #ff6000);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.th-acc-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.th-acc-stat-icon--order {
  background: #fff7ed;
  color: var(--main-color, #ff6000);
}
.th-acc-stat-icon--fav {
  background: #fef2f2;
  color: #ef4444;
}
.th-acc-stat-icon--alert {
  background: #fefce8;
  color: #eab308;
}
.th-acc-stat-icon--support {
  background: #eff6ff;
  color: #3b82f6;
}
.th-acc-stat-info {
  display: flex;
  flex-direction: column;
}
.th-acc-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}
.th-acc-stat-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

/* Section Title */
.th-acc-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.th-acc-section-title i {
  color: var(--main-color, #ff6000);
  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: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.th-acc-qlink:hover {
  border-color: var(--main-color, #ff6000);
  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: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #6b7280;
  transition: background .2s, color .2s;
}
.th-acc-qlink:hover .th-acc-qlink-icon {
  background: var(--main-color, #ff6000);
  color: #fff;
}
.th-acc-qlink-text {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.3;
}

/* ─── ORDERS LIST ─── */
.th-acc-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.th-acc-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.th-acc-order-card:hover {
  border-color: #d1d5db;
  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: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
}
.th-acc-order-no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.th-acc-order-no i {
  color: var(--main-color, #ff6000);
}
.th-acc-order-no a {
  color: #374151;
  text-decoration: none;
}
.th-acc-order-no a:hover {
  color: var(--main-color, #ff6000);
}
.th-acc-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  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: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.th-acc-order-detail span,
.th-acc-order-detail strong {
  font-size: 14px;
  color: #1f2937;
}
.th-acc-order-amount {
  color: var(--main-color, #ff6000) !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 #f3f4f6;
  background: #fafafa;
}
.th-acc-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: var(--main-color, #ff6000);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.th-acc-order-btn:hover {
  background: #e55500;
  color: #fff;
  text-decoration: none;
}
.th-acc-order-btn--cancel {
  background: transparent;
  color: #ef4444;
  border: 1px solid #fca5a5;
}
.th-acc-order-btn--cancel:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* ─── ORDER DETAIL ─── */
.th-acc-od-info {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  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: #1f2937;
  border-bottom: 1px solid #f5f5f5;
}
.th-acc-od-row:last-child {
  border-bottom: none;
}
.th-acc-od-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}
.th-acc-od-label i {
  color: var(--main-color, #ff6000);
  width: 18px;
  text-align: center;
  font-size: 13px;
}
.th-acc-od-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
}
.th-acc-od-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--main-color, #ff6000);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}
.th-acc-od-track:hover {
  text-decoration: underline;
}

/* Products List */
.th-acc-od-products {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.th-acc-od-ptitle {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  padding: 14px 18px;
  margin: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.th-acc-od-ptitle i {
  color: var(--main-color, #ff6000);
  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 #f5f5f5;
  font-size: 14px;
}
.th-acc-od-product:last-child {
  border-bottom: none;
}
.th-acc-od-pnum {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  text-align: center;
}
.th-acc-od-pinfo strong {
  display: block;
  font-size: 14px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.3;
}
.th-acc-od-pvar {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.th-acc-od-pprice {
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}
.th-acc-od-pqty {
  font-size: 13px;
  color: #6b7280;
  text-align: right;
  min-width: 50px;
}
.th-acc-od-ptotal {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  text-align: right;
  min-width: 80px;
}

/* Summary */
.th-acc-od-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.th-acc-od-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 14px;
  color: #4b5563;
  border-bottom: 1px solid #f5f5f5;
}
.th-acc-od-sum-row:last-child {
  border-bottom: none;
}
.th-acc-od-sum-row--total {
  background: #f9fafb;
  padding: 14px 18px;
}
.th-acc-od-sum-row--total strong {
  font-size: 18px;
  font-weight: 800;
  color: #059669;
}

/* ─── FAVORITES ─── */
.th-acc-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.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: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color .2s;
}
.th-acc-fav-card:hover {
  border-color: #d1d5db;
}
.th-acc-fav-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: #f9fafb;
}
.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: #1f2937;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 2px;
}
.th-acc-fav-name:hover {
  color: var(--main-color, #ff6000);
}
.th-acc-fav-date {
  font-size: 12px;
  color: #9ca3af;
}
.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: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.th-acc-fav-btn--cart {
  background: var(--main-color, #ff6000);
  color: #fff;
}
.th-acc-fav-btn--cart:hover {
  background: #e55500;
  color: #fff;
  text-decoration: none;
}
.th-acc-fav-btn--remove {
  background: #fef2f2;
  color: #ef4444;
  padding: 8px 10px;
}
.th-acc-fav-btn--remove:hover {
  background: #fee2e2;
  color: #dc2626;
  text-decoration: none;
}

/* ─── EMPTY STATE ─── */
.th-acc-empty {
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
}
.th-acc-empty i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: .4;
}
.th-acc-empty p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* ─── GENERAL ACCOUNT FORM OVERRIDES ─── */
.user-dashboard .alert-info {
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 13px;
}
.user-dashboard .jumbotron {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}
.user-dashboard .btn-success {
  background: var(--main-color, #ff6000);
  border-color: var(--main-color, #ff6000);
  border-radius: 10px;
  padding: 10px 28px;
  font-weight: 600;
}
.user-dashboard .btn-success:hover {
  background: #e55500;
  border-color: #e55500;
}
.user-dashboard .form-control {
  border-radius: 10px;
  border-color: #e5e7eb;
  padding: 10px 14px;
  font-size: 14px;
}
.user-dashboard .form-control:focus {
  border-color: var(--main-color, #ff6000);
  box-shadow: 0 0 0 3px rgba(255,96,0,.1);
}

/* 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 #f5f5f5;
    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%;
  }
}
