/*
 Theme Name:   TikPage Child
 Theme URI:    https://tikpage.com
 Description:  Giao diện con TikPage Child Theme tối ưu riêng cho TikPage Theme & WooCommerce.
 Author:       TikPage Team
 Author URI:   https://tikpage.com
 Template:     tikpage
 Version:      1.0.0
 Text Domain:  tikpage-child
*/

/* ============================================
   TikTok Shop Premium Design System & Tokens
   ============================================ */
:root {
  /* Core Colors */
  --tt-red: #FE2C55;
  --tt-red-dark: #D91B42;
  --tt-cyan: #25F4EE;
  --tt-pink: #FF6B9D;
  --tt-orange: #FF5722;
  --tt-yellow: #FFB800;
  --tt-green: #00E676;

/* TikTok Shop Functional Header Search Bar (Matching Screenshot) */
.tt-header-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid #f1f5f9;
}

.tt-header-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none !important;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.tt-header-back-btn:hover {
  background: #f1f5f9;
}

/* Website Logo Button in Home Header */
.tt-header-logo-btn {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  margin-right: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tt-header-logo-btn:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.tt-header-logo-img {
  width: 34px;
  height: 34px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #f0e2e6;
  display: block;
}

.tt-return-logo-image,
.tt-return-logo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.tt-return-logo-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fe2c55 0%, #d91b42 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.tt-header-logo-badge {
  display: grid;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FE2C55 0%, #D91B42 100%);
  color: #ffffff;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 6px rgba(254, 44, 85, 0.25);
  line-height: 1;
}

.tt-header-logo-badge .tt-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}


.tt-header-search-form {
  flex: 1;
  margin: 0;
}

.tt-search-input-wrap {
  display: flex;
  align-items: center;
  background: #f2f2f7;
  border-radius: 20px;
  padding: 6px 14px;
  gap: 8px;
  transition: all 0.2s ease;
}

.tt-search-input-wrap:focus-within {
  background: #e5e5ea;
  box-shadow: 0 0 0 2px rgba(254, 44, 85, 0.2);
}

.tt-search-icon {
  flex-shrink: 0;
  color: #8e8e93;
}

.tt-search-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 14px;
  width: 100%;
  color: #000000;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.tt-header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tt-header-action-icon {
  background: transparent;
  border: none;
  padding: 4px;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none !important;
}

/* The global utility header shares the shop banner color only on the shop page. */
.tt-header--shop {
  background: linear-gradient(135deg, #fe2c55 0%, #ff6b9d 100%);
  border-bottom: 0;
}

.tt-header--shop .tt-header-top-bar {
  background: linear-gradient(135deg, #fe2c55 0%, #ff6b9d 100%);
  border-bottom: 0;
}

.tt-header--shop .tt-header-back-btn,
.tt-header--shop .tt-header-action-icon {
  color: #ffffff;
}

.tt-header--shop .tt-header-back-btn {
  color: #ffffff !important;
  background: transparent !important;
  border: 0;
  cursor: pointer;
}

.tt-header--shop .tt-header-back-btn:hover {
  color: #ffffff !important;
  background: transparent !important;
}

.tt-header--shop .tt-search-input-wrap {
  background: rgba(255, 255, 255, 0.28);
}

.tt-header--shop .tt-search-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.26);
}

.tt-header--shop .tt-search-input,
.tt-header--shop .tt-search-input::placeholder,
.tt-header--shop .tt-search-icon {
  color: #ffffff !important;
  stroke: currentColor;
}

.tt-cart-count-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #fe2c55;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
  --tt-star: #FFB800;
  
  /* Brand Gradients */
  --tt-gradient-primary: linear-gradient(135deg, #FF1744 0%, #FE2C55 50%, #FF5252 100%);
  --tt-gradient-flash: linear-gradient(135deg, #FF1744 0%, #FF5252 50%, #FF7043 100%);
  --tt-gradient-coupon: linear-gradient(135deg, #FFF0F3 0%, #FFF8E1 100%);
  --tt-gradient-live: linear-gradient(135deg, #FE2C55 0%, #FF6B9D 100%);
  --tt-gradient-cyan: linear-gradient(135deg, #25F4EE 0%, #00E5FF 100%);
  
  /* Semantic Tokens */
  --tt-primary: #FE2C55;
  --tt-primary-foreground: #FFFFFF;
  --tt-background: #FFFFFF;
  --tt-foreground: #12141D;
  --tt-surface: #F8F9FD;
  --tt-surface-hover: #F0F2F8;
  --tt-muted: #8E92A4;
  --tt-border: #EAECEF;
  --tt-price: #FE2C55;
  
  /* Shadows & Depth */
  --tt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --tt-shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --tt-shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --tt-shadow-glow: 0 8px 25px -4px rgba(254, 44, 85, 0.35);
  --tt-shadow-hover: 0 18px 36px -8px rgba(254, 44, 85, 0.18), 0 6px 16px -2px rgba(0, 0, 0, 0.05);
  
  /* Spacing & Radii */
  --tt-radius-sm: 8px;
  --tt-radius: 14px;
  --tt-radius-lg: 20px;
  --tt-radius-full: 9999px;
  
  /* Typography */
  --tt-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--tt-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--tt-foreground);
  background: #EFEFF4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Universal Button Reset - Prevent TikPage Black Hover/Active Overlays */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  transition: all 0.2s ease !important;
  -webkit-tap-highlight-color: transparent;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:hover {
  background-color: transparent;
  color: inherit;
}

/* FIX: Prevent black background flash on :active / :focus states globally */
button:active,
button:focus,
html input[type="button"]:active,
html input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
a.button:active,
a.button:focus,
a.wp-block-button__link:active,
a.wp-block-button__link:focus,
a:active,
a:focus {
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Override TikPage default button styles that cause black bg */
.tikpage-inside-container a:active,
.tikpage-inside-container button:active,
.site-content a:active,
.site-content button:active,
.entry-content a:active,
.entry-content button:active,
button.button:active,
button.button:focus,
.wp-block-button__link:active,
.wp-block-button__link:focus {
  background-color: transparent !important;
  background: transparent !important;
  color: inherit !important;
}

/* Specific overrides for colored buttons to keep their background on active */
.tt-hero-cta:active,
.tt-hero-cta:focus {
  background: #ffffff !important;
  color: var(--tt-primary) !important;
  opacity: 0.9;
}

.tt-buy-now-pill:active,
.tt-buy-now-pill:focus {
  background: linear-gradient(90deg, #ff0055 0%, #ff2a55 100%) !important;
  opacity: 0.92;
}

.tt-store-visit-btn:active,
.tt-store-visit-btn:focus {
  background: #ff0055 !important;
  color: #ffffff !important;
  opacity: 0.92;
}

.tt-cart-circle-btn:active,
.tt-cart-circle-btn:focus {
  background: #ffe8ec !important;
  opacity: 0.88;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Phone Shell Container (Centered 430px Mobile Frame)
   ============================================ */
.tt-phone-shell {
  min-height: 100vh;
  background: #EFEFF4;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

@media (min-width: 768px) {
  .tt-phone-shell {
    padding: 24px 0;
  }
}

.tt-phone-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--tt-background);
  /* The footer itself reserves room for the fixed mobile navigation. */
  padding-bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .tt-phone-container {
    min-height: 860px;
    border-radius: 2.2rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--tt-border);
  }
}

/* ============================================
   Header Section
   ============================================ */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--tt-border);
}

.tt-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.tt-search-bar {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
  background: var(--tt-surface);
  border: 1.5px solid transparent;
  border-radius: var(--tt-radius-full);
  padding: 8px 16px;
  transition: all 0.25s ease;
}

.tt-search-bar:focus-within {
  background: #FFFFFF;
  border-color: var(--tt-primary);
  box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.12);
}

.tt-search-bar svg {
  color: var(--tt-muted);
  flex-shrink: 0;
}

.tt-search-bar input {
  flex: 1;
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tt-foreground);
  outline: none;
}

.tt-search-bar input::placeholder {
  color: var(--tt-muted);
  font-weight: 400;
}

.tt-search-btn {
  background: var(--tt-gradient-primary);
  color: var(--tt-primary-foreground);
  border-radius: var(--tt-radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--tt-shadow-glow);
  letter-spacing: 0.2px;
}

.tt-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -4px rgba(254, 44, 85, 0.5);
}

.tt-icon-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tt-surface);
  color: var(--tt-foreground);
  transition: all 0.2s ease;
}

.tt-icon-btn:hover {
  background: var(--tt-surface-hover);
  color: var(--tt-primary);
  transform: scale(1.05);
}

/* Tabs */
.tt-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--tt-border);
  padding: 0 16px;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.tt-tabs::-webkit-scrollbar {
  display: none;
}

.tt-tabs-list {
  display: flex;
  gap: 24px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-home-tab-item {
  display: flex;
  margin: 0;
  padding: 0;
}

.tt-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tt-muted);
  background: none !important;
  border: none !important;
  outline: none !important;
  transition: all 0.2s ease;
}

.tt-tab svg {
  flex-shrink: 0;
  color: var(--tt-muted);
  transition: color 0.2s ease;
}

.tt-tab > i {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: currentColor;
}

.tt-tab:hover,
.tt-tab:focus,
.tt-tab:active {
  color: var(--tt-primary) !important;
  background: none !important;
}

.tt-tab:hover svg,
.tt-tab:focus svg,
.tt-tab:active svg {
  color: var(--tt-primary) !important;
}

.tt-tab.active {
  font-weight: 700;
  color: var(--tt-primary) !important;
  background: none !important;
}

.tt-tab.active svg {
  color: var(--tt-primary) !important;
}

.tt-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tt-gradient-primary);
  border-radius: 3px 3px 0 0;
}

/* ============================================
   Hero Banner
   ============================================ */
.tt-hero {
  margin: 16px 16px 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-gradient-primary);
  padding: 28px 24px;
  color: var(--tt-primary-foreground);
  box-shadow: var(--tt-shadow-glow);
}

@media (min-width: 768px) {
  .tt-hero {
    margin: 20px 24px 0;
    padding: 36px 32px;
  }
}

.tt-hero-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--tt-radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tt-hero-title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .tt-hero-title {
    font-size: 32px;
  }
}

.tt-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: #FFFFFF;
  color: var(--tt-primary);
  border-radius: var(--tt-radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.tt-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.tt-hero-circle-1 {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.tt-hero-circle-2 {
  position: absolute;
  right: -30px;
  top: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* ============================================
   Category Grid
   ============================================ */
.tt-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
  padding: 20px 16px 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tt-categories {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 16px 0;
    gap: 14px 8px;
  }
}

.tt-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0 !important;
  margin: 0 auto;
  border: 0 !important;
  background: transparent !important;
  width: 100%;
  box-sizing: border-box;
  outline: none !important;
  box-shadow: none !important;
}

.tt-category-item:hover,
.tt-category-item:focus,
.tt-category-item:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.tt-category-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  margin: 0 auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-category-item:hover .tt-category-icon {
  transform: translateY(-3px) scale(1.06);
}

.tt-category-icon svg {
  width: 24px;
  height: 24px;
}

.tt-category-name {
  max-width: 80px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tt-foreground);
}

/* Colorful Category Icons - Diverse TikTok-Inspired Palette */
/* 1. Khóa Học - Vibrant Red/TikTok Primary */
.tt-category-item:nth-child(1) .tt-category-icon {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe0e6 100%);
  border: 1px solid #ffc8d4;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.12);
}
.tt-category-item:nth-child(1) .tt-category-icon svg { color: #fe2c55; }
.tt-category-item:nth-child(1):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(254, 44, 85, 0.25);
}

/* 2. Ebook Sách - TikTok Cyan / Turquoise */
.tt-category-item:nth-child(2) .tt-category-icon {
  background: linear-gradient(135deg, #e0fffe 0%, #ccf9f6 100%);
  border: 1px solid #9aeee8;
  box-shadow: 0 4px 12px rgba(37, 244, 238, 0.12);
}
.tt-category-item:nth-child(2) .tt-category-icon svg { color: #00b8a9; }
.tt-category-item:nth-child(2):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(37, 244, 238, 0.28);
}

/* 3. Phần Mềm - Deep Blue */
.tt-category-item:nth-child(3) .tt-category-icon {
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
  border: 1px solid #a8c7f5;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.12);
}
.tt-category-item:nth-child(3) .tt-category-icon svg { color: #4285f4; }
.tt-category-item:nth-child(3):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(66, 133, 244, 0.25);
}

/* 4. Acc VIP - Rich Orange/Amber */
.tt-category-item:nth-child(4) .tt-category-icon {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border: 1px solid #ffd54f;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.12);
}
.tt-category-item:nth-child(4) .tt-category-icon svg { color: #f57c00; }
.tt-category-item:nth-child(4):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(255, 152, 0, 0.25);
}

/* 5. Source Code - Dark/TikTok Black */
.tt-category-item:nth-child(5) .tt-category-icon {
  background: linear-gradient(135deg, #f0f0f3 0%, #e4e4ea 100%);
  border: 1px solid #d0d0d8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.tt-category-item:nth-child(5) .tt-category-icon svg { color: #161823; }
.tt-category-item:nth-child(5):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

/* 6. Tool & AI - Electric Purple/Violet */
.tt-category-item:nth-child(6) .tt-category-icon {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  border: 1px solid #c4a8f5;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12);
}
.tt-category-item:nth-child(6) .tt-category-icon svg { color: #8b5cf6; }
.tt-category-item:nth-child(6):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.25);
}

/* 7. Tài Nguyên - Emerald Green */
.tt-category-item:nth-child(7) .tt-category-icon {
  background: linear-gradient(135deg, #e6faf0 0%, #d1f4e0 100%);
  border: 1px solid #98e8bf;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.tt-category-item:nth-child(7) .tt-category-icon svg { color: #10b981; }
.tt-category-item:nth-child(7):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.25);
}

/* 8. Voucher - Hot Pink/Magenta */
.tt-category-item:nth-child(8) .tt-category-icon {
  background: linear-gradient(135deg, #fce4f5 0%, #f9d0ed 100%);
  border: 1px solid #f0a8d8;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.12);
}
.tt-category-item:nth-child(8) .tt-category-icon svg { color: #ec4899; }
.tt-category-item:nth-child(8):hover .tt-category-icon {
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.25);
}

/* ============================================
   Voucher Section
   ============================================ */
.tt-vouchers {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px 16px;
  scrollbar-width: none;
}

@media (min-width: 768px) {
  .tt-vouchers {
    padding: 24px 24px;
  }
}

.tt-vouchers::-webkit-scrollbar {
  display: none;
}

.tt-voucher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 10px 14px;
  border-radius: var(--tt-radius);
  background: var(--tt-gradient-coupon);
  border: 1px dashed rgba(254, 44, 85, 0.3);
  transition: all 0.2s ease;
}

.tt-voucher:hover {
  transform: translateY(-2px);
  box-shadow: var(--tt-shadow-sm);
}

.tt-voucher-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--tt-primary);
}

.tt-voucher-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--tt-primary);
}

.tt-voucher-desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--tt-muted);
}

/* ============================================
   Flash Sale Section
   ============================================ */
.tt-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
}

@media (min-width: 768px) {
  .tt-flash-header {
    padding: 20px 24px 16px;
  }
}

.tt-flash-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tt-flash-title h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--tt-foreground);
  letter-spacing: -0.3px;
}

.tt-flash-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tt-flash-countdown span {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 0 4px;
  border-radius: 6px;
  background: var(--tt-foreground);
  color: var(--tt-background);
  font-size: 12px;
  font-weight: 800;
}

.tt-flash-countdown .tt-colon {
  background: none;
  color: var(--tt-foreground);
  min-width: auto;
}

.tt-flash-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--tt-primary);
}

/* ============================================
   Product Grid & Product Cards
   ============================================ */
.tt-section-title {
  padding: 16px 16px 12px;
  font-size: 18px;
  font-weight: 800;
}

.tt-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 0 5px 20px;
}

/* Product Card Upgrade (Mall Style) */
.tt-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--tt-radius);
  background: var(--tt-background);
  border: 1px solid var(--tt-border);
  box-shadow: var(--tt-shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tt-shadow-hover);
  border-color: rgba(254, 44, 85, 0.3);
}

.tt-product-image {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: var(--tt-surface);
}

.tt-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-product-card:hover .tt-product-image img {
  transform: scale(1.06);
}

.tt-product-badge-corner {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #fe2c55 0%, #d91b42 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 2px 6px rgba(254, 44, 85, 0.3);
  z-index: 2;
}

.tt-product-category-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  max-width: calc(100% - 56px);
  overflow: hidden;
  border-radius: 99px;
  background: #00b562;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
  padding: 2px 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 181, 98, 0.25);
}

.tt-product-brand-logo {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  z-index: 2;
}

.tt-product-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none !important;
}

/* Compact versions of enabled image benefits for product cards. */
.tt-product-card-image-tags {
  position: absolute;
  z-index: 2;
  right: 5px;
  bottom: 5px;
  left: 5px;
  display: flex;
  gap: 3px;
  pointer-events: none;
}
.tt-product-card-image-tag {
  display: flex;
  min-width: 0;
  min-height: 27px;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  padding: 3px 2px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .22);
}
.tt-product-card-image-tag strong { font-size: 7.5px; font-weight: 850; line-height: 1; }
.tt-product-card-image-tag small { display: block; margin-top: 1px; overflow: hidden; font-size: 7px; font-weight: 750; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.tt-product-card-image-tag--freeship { background: #08a9a0; }
.tt-product-card-image-tag--voucher { background: #00a868; }
.tt-product-card-image-tag--cashback { color: #3a2a00; background: #f8cd3b; }

/* ============================================
   Not Found Page
   ============================================ */
.tt-not-found {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  padding: 36px 20px 56px;
  background: linear-gradient(150deg, #fff7f8 0%, #ffffff 48%, #f4f7ff 100%);
}

.tt-not-found-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.6;
}

.tt-not-found-orb-one {
  top: -120px;
  left: -112px;
  background: rgba(254, 44, 85, 0.18);
}

.tt-not-found-orb-two {
  right: -130px;
  bottom: -80px;
  background: rgba(37, 99, 235, 0.16);
}

.tt-not-found-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 34px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(31, 41, 55, 0.11);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tt-not-found-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
  color: var(--tt-primary);
  font-size: clamp(76px, 24vw, 118px);
  font-weight: 800;
  letter-spacing: -10px;
  line-height: 0.92;
}

.tt-not-found-zero {
  display: grid;
  width: 0.78em;
  height: 0.78em;
  place-items: center;
  border: 7px solid currentColor;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.tt-not-found-zero svg {
  width: 0.42em;
  height: 0.42em;
  color: #12141d;
}

.tt-not-found-eyebrow {
  margin: 0 0 7px;
  color: var(--tt-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tt-not-found h1 {
  margin: 0;
  color: #12141d;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.tt-not-found-description {
  margin: 12px auto 22px;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.tt-not-found-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tt-not-found-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.tt-not-found-button-primary {
  background: var(--tt-primary);
  box-shadow: 0 8px 18px rgba(254, 44, 85, 0.26);
  color: #ffffff;
}

.tt-not-found-button-secondary {
  border: 1px solid #e4e7ec;
  background: #ffffff;
  color: #344054;
}

.tt-not-found-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
  color: #98a2b3;
  font-size: 12px;
}

.tt-not-found-help-icon {
  color: var(--tt-primary);
  font-size: 15px;
}

.tt-product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 10px 12px;
}

.tt-product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #12141D;
  min-height: 35px;
  word-break: break-word;
  margin: 0;
}

.tt-tag-category {
  display: inline-block;
  vertical-align: middle;
  background: #00b562;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  margin-right: 4px;
  letter-spacing: 0.1px;
  line-height: 1.3;
  box-shadow: 0 1px 3px rgba(0, 181, 98, 0.2);
}

.tt-tag-mall {
  display: inline-block;
  vertical-align: middle;
  background: #000000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 5px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.tt-product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
  gap: 4px;
}

.tt-product-price-box {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.tt-product-price-box .current {
  font-size: 16px;
  font-weight: 800;
  color: #d0011b;
  letter-spacing: -0.3px;
}

.tt-product-price-box .original {
  font-size: 11px;
  color: #8e92a4;
  text-decoration: line-through;
}

.tt-voucher-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 16px;
  border: 1px solid #fe2c55;
  border-radius: 3px;
  color: #fe2c55;
  background: #fff0f3;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(254, 44, 85, 0.15);
}

.tt-product-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.tt-perk-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.tt-perk-freeship {
  background: #e8f7f5;
  border: 1px solid #b2ece6;
  color: #00897b;
}

.tt-perk-uudai {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  color: #d32f2f;
}

.tt-perk-giao-ngay {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #b78103;
}

.tt-product-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  color: #757575;
  font-weight: 500;
}

.tt-star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: #333333;
}

.tt-star-rating svg {
  fill: #ffb800;
  color: #ffb800;
  width: 12px;
  height: 12px;
}

.tt-meta-divider {
  color: #e0e0e0;
  font-size: 11px;
  font-weight: 300;
}

.tt-meta-sold {
  color: #757575;
  font-size: 11px;
}

/* ============================================
   Bottom Navigation (Mobile App Navigation)
   ============================================ */
.tt-bottom-nav,
.tt-buy-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  border-top: 1px solid var(--tt-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  will-change: transform;
}

/* Auto-Hide Sticky Footer when scrolling down */
.tt-bottom-nav.tt-nav-hidden,
.tt-buy-bar.tt-nav-hidden {
  transform: translate(-50%, 115%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tt-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  max-width: 480px;
  margin: 0 auto;
}

.tt-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tt-muted);
  flex: 1;
  min-width: 0;
  line-height: 1.2;
  text-decoration: none;
}

.tt-bottom-nav button.tt-nav-item {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.tt-nav-inbox { display: none !important; }

.tt-nav-item.active {
  color: var(--tt-primary);
}

.tt-nav-item svg {
  width: 22px;
  height: 22px;
}

.tt-nav-inbox-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: var(--tt-primary);
  background: color-mix(in srgb, var(--tt-primary) 10%, white);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.tt-nav-inbox-icon svg {
  width: 19px;
  height: 19px;
}

.tt-nav-inbox:hover,
.tt-nav-inbox:focus-visible {
  color: var(--tt-primary);
}

/* Support popup launched from the mobile bottom navigation. */
body.tt-support-modal-open { overflow: hidden; }
.tt-support-modal { position: fixed; z-index: 250; inset: 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.tt-support-modal.is-open { opacity: 1; pointer-events: auto; }
.tt-support-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 35, .48); }
.tt-support-modal-sheet { position: absolute; bottom: 0; left: 50%; width: min(100%, 430px); padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); box-sizing: border-box; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -16px 40px rgba(22, 28, 45, .18); transform: translate(-50%, 105%); transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.tt-support-modal.is-open .tt-support-modal-sheet { transform: translate(-50%, 0); }
.tt-support-modal-handle { width: 38px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: #e3e6ec; }
.tt-support-modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tt-support-modal-heading p { margin: 0 0 3px; color: #8a91a1; font-size: 12px; }
.tt-support-modal-heading h2 { margin: 0; color: #1d2433; font-size: 19px; line-height: 1.25; }
.tt-support-modal-close { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #596174; background: #f2f4f7; cursor: pointer; }
.tt-support-channel-list { display: grid; gap: 10px; }
.tt-support-channel { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #edf0f4; border-radius: 16px; color: #1f2937; text-decoration: none; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tt-support-channel:hover, .tt-support-channel:focus-visible { border-color: color-mix(in srgb, var(--tt-primary) 32%, #edf0f4); box-shadow: 0 7px 18px rgba(22, 28, 45, .08); transform: translateY(-1px); }
.tt-support-channel-logo { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; overflow: hidden; border-radius: 13px; color: #fff; background: #64748b; font-size: 22px; font-weight: 800; line-height: 1; }
.tt-support-channel-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tt-support-channel-logo--facebook { background: #1877f2; }
.tt-support-channel-logo--zalo { background: #0068ff; }
.tt-support-channel-logo--telegram { background: #229ed9; }
.tt-support-channel-copy { display: grid; gap: 3px; min-width: 0; }
.tt-support-channel-copy strong { font-size: 14px; }
.tt-support-channel-copy small { overflow: hidden; color: #858d9d; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.tt-support-channel-arrow { margin-left: auto; color: #a1a8b5; }
.tt-support-modal-empty { margin: 0; padding: 20px 8px; color: #707887; text-align: center; font-size: 13px; }

.tt-nav-inbox:hover .tt-nav-inbox-icon,
.tt-nav-inbox:focus-visible .tt-nav-inbox-icon {
  color: #ffffff;
  background: var(--tt-primary);
  transform: translateY(-1px);
}

.tt-nav-plus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.tt-nav-plus-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 28px;
  border-radius: 8px;
  background: var(--tt-foreground);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tt-nav-plus-icon::before {
  content: '';
  position: absolute;
  left: -3px;
  width: 44px;

  height: 26px;
  border-radius: 8px;
  background: var(--tt-cyan);
}

.tt-nav-plus-icon::after {
  content: '';
  position: absolute;
  right: -3px;
  width: 42px;
  height: 26px;
  border-radius: 8px;
  background: var(--tt-red);
}

.tt-nav-plus-icon span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--tt-background);
}

.tt-nav-plus-icon span svg {
  width: 16px;
  height: 16px;
  color: var(--tt-foreground);
  stroke-width: 3;
}

/* ============================================
   Shop Page
   ============================================ */
.tt-shop-header {
  position: relative;
  background: var(--tt-gradient-live);
  padding: 12px 12px 16px;
  color: var(--tt-primary-foreground);
}

.tt-shop-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tt-shop-header--pink {
  background: linear-gradient(135deg, #fe2c55 0%, #ff6b9d 100%);
}

.tt-shop-header--pink .tt-shop-info {
  margin-top: 0;
}

.tt-shop-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.tt-shop-header--pink .tt-shop-verified {
  color: #ffd166;
  filter: drop-shadow(0 1px 2px rgba(109, 65, 0, 0.35));
}

.tt-shop-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: var(--tt-radius-full);
  padding: 6px 12px;
}

.tt-shop-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.tt-shop-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tt-background);
  color: var(--tt-primary);
  font-size: 18px;
  font-weight: 900;
}

.tt-shop-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}

.tt-shop-tagline {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.9;
}

.tt-shop-follow {
  flex-shrink: 0;
  background: var(--tt-background);
  color: var(--tt-primary);
  border-radius: var(--tt-radius-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
}

.tt-shop-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 11px;
}

.tt-shop-stats b {
  font-size: 13px;
}

/* Shop Vouchers */
.tt-shop-vouchers {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--tt-border);
  padding: 12px;
  scrollbar-width: none;
}

.tt-shop-voucher {
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px dashed rgba(254, 44, 85, 0.5);
  border-radius: 6px;
  background: var(--tt-gradient-coupon);
  font-size: 11px;
  font-weight: 600;
  color: var(--tt-primary);
}

/* Shop Tabs */
.tt-shop-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--tt-border);
  padding: 0 12px;
  background: var(--tt-background);
  scrollbar-width: none;
}

.tt-shop-tabs::-webkit-scrollbar {
  display: none;
}

.tt-shop-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.tt-shop-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-shop-pagination a,
.tt-shop-pagination span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--tt-border);
  border-radius: 8px;
  color: var(--tt-text);
  font-size: 13px;
  font-weight: 600;
}

.tt-shop-pagination .current {
  border-color: var(--tt-primary);
  background: var(--tt-primary);
  color: #fff;
}

/* Filter Pills */
.tt-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  scrollbar-width: none;
}

.tt-filters::-webkit-scrollbar {
  display: none;
}

.tt-filter {
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: var(--tt-radius-full);
  font-size: 12px;
  background: var(--tt-surface);
  color: var(--tt-muted);
  text-decoration: none !important;
}

.tt-filters--legacy { display: none !important; }
.tt-catalog-filters { background: #ffffff; padding: 8px 10px; margin: 0 0 10px; border-radius: 14px; box-shadow: 0 4px 12px rgba(28, 36, 51, 0.05); }

.tt-shop-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.tt-shop-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: inherit;
  text-decoration: none !important;
}

.tt-copy-link-toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(25, 30, 42, 0.94);
  box-shadow: 0 10px 28px rgba(18, 24, 39, 0.22);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .2s ease, transform .2s ease;
}

.tt-copy-link-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Checkout is a focused, single-column purchase flow. */
.woocommerce-checkout #primary.content-area,
.woocommerce-checkout #primary,
.woocommerce-checkout .content-area {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.woocommerce-checkout #left-sidebar,
.woocommerce-checkout #right-sidebar,
.woocommerce-checkout .widget-area,
.woocommerce-checkout aside {
  display: none !important;
}

.woocommerce-checkout .tt-phone-container { padding-bottom: 0 !important; }
.woocommerce-checkout .site-content { background: #f5f6fa !important; }
.woocommerce-checkout .entry-content { max-width: 430px; margin: 0 auto !important; }

.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout {
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 10px 10px 24px !important;
  background: #f5f6fa !important;
  box-sizing: border-box;
}

.woocommerce-checkout .wc-block-checkout__main,
.woocommerce-checkout .wc-block-checkout__sidebar {
  width: 100% !important;
  max-width: none !important;
}

.woocommerce-checkout .wc-block-checkout__main { margin: 0 !important; }
.woocommerce-checkout .wc-block-checkout__sidebar { margin: 10px 0 0 !important; position: static !important; }

.woocommerce-checkout .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-components-order-summary {
  margin: 0 0 10px !important;
  padding: 15px !important;
  border: 1px solid #e8ebf1 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 5px 16px rgba(30, 41, 59, 0.05) !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-title {
  margin: 0 0 12px !important;
  color: #202737 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control select,
.woocommerce-checkout .wc-block-components-address-form input,
.woocommerce-checkout .wc-block-components-address-form select {
  min-height: 48px !important;
  border: 1px solid #d8dde7 !important;
  border-radius: 11px !important;
  background: #fbfcfe !important;
  box-shadow: none !important;
  font-family: var(--tt-font) !important;
}

.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-address-form input:focus,
.woocommerce-checkout .wc-block-components-address-form select:focus {
  border-color: #fe2c55 !important;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12) !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-quantity-selector__button) {
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 13px !important;
  color: #ffffff !important;
  background: #fe2c55 !important;
  box-shadow: 0 7px 16px rgba(254, 44, 85, 0.23) !important;
  font-family: var(--tt-font) !important;
  font-weight: 800 !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { color: #fff !important; background: #e9274d !important; }
.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 12px !important; }

/* Fallback for WooCommerce's classic checkout markup. */
.woocommerce-checkout form.checkout,
.woocommerce-checkout .woocommerce-checkout-review-order {
  display: block !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
  float: none !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 15px !important;
  border: 1px solid #e8ebf1 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-sizing: border-box;
  box-shadow: 0 5px 16px rgba(30, 41, 59, 0.05) !important;
}

.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea {
  min-height: 48px !important;
  border: 1px solid #d8dde7 !important;
  border-radius: 11px !important;
  background: #fbfcfe !important;
  box-shadow: none !important;
}

.woocommerce-checkout #place_order {
  float: none !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 8px 0 0 !important;
  border: 0 !important;
  border-radius: 13px !important;
  color: #fff !important;
  background: #fe2c55 !important;
  font-family: var(--tt-font) !important;
  font-weight: 800 !important;
}

/* Minimal WooCommerce account home: wallet plus the four core endpoints. */
.tt-woo-account-dashboard { padding: 0 12px 22px; background: #f5f6fa; }
.tt-woo-account-hero { margin: 0 -12px 14px; padding: 20px 16px 18px; color: #fff; background: linear-gradient(125deg, #fe2c55, #ff625f); }
.tt-woo-account-user { display: flex; align-items: center; gap: 11px; }
.tt-woo-account-user img { width: 58px; height: 58px; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; object-fit: cover; background: #fff; }
.tt-woo-account-user p { margin: 0 0 3px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 600; }
.tt-woo-account-user h1 { margin: 0; color: #fff; font-size: 20px; line-height: 1.2; font-weight: 800; }
.tt-woo-wallet-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.28); }
.tt-woo-wallet-card span { display: block; margin-bottom: 3px; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 600; }
.tt-woo-wallet-card strong { display: block; color: #fff; font-size: 20px; font-weight: 800; }
.tt-woo-wallet-card strong .amount { color: inherit !important; }
.tt-woo-topup-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 10px; color: #fe2c55 !important; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none !important; }
.tt-woo-account-actions { overflow: hidden; border: 1px solid #e7eaf0; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(30, 41, 59, .05); }
.tt-woo-account-action { display: flex; align-items: center; gap: 12px; min-height: 71px; padding: 10px 13px; color: #1d2635 !important; text-decoration: none !important; border-bottom: 1px solid #eef0f4; }
.tt-woo-account-action:last-child { border-bottom: 0; }
.tt-woo-account-action-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; color: #fe2c55; background: #fff0f3; border-radius: 12px; }
.tt-woo-account-action:nth-child(2) .tt-woo-account-action-icon { color: #1786a9; background: #eafaff; }
.tt-woo-account-action:nth-child(3) .tt-woo-account-action-icon { color: #b77700; background: #fff7df; }
.tt-woo-account-action:nth-child(4) .tt-woo-account-action-icon { color: #6951c8; background: #f0edff; }
.tt-woo-account-action-icon svg { width: 20px; height: 20px; }
.tt-woo-account-action-copy { min-width: 0; flex: 1; }
.tt-woo-account-action-copy strong { display: block; font-size: 14px; font-weight: 800; }
.tt-woo-account-action-copy small { display: block; margin-top: 3px; color: #7a8495; font-size: 11px; }
.tt-woo-account-action-arrow { flex: 0 0 auto; color: #a8b0bd; }

.tt-filter.active {
  background: rgba(254, 44, 85, 0.1);
  font-weight: 600;
  color: var(--tt-primary);
}

/* ============================================
   Product Detail Page
   ============================================ */
/* Header Sticky Navigation Tabs */
.tt-detail-header {
  position: relative;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #efefef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Keep the normal product header at the top; display only compact tabs after scrolling. */
.tt-detail-header .tt-detail-nav-tabs { display: none; }
.tt-product-scroll-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-sizing: border-box;
  width: min(100%, 430px);
  min-height: 48px;
  padding: 0 14px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #eceef2;
  box-shadow: 0 3px 12px rgba(15,23,42,.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -110%);
  transition: transform .22s ease, opacity .18s ease;
}
.tt-product-scroll-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.tt-product-scroll-nav .tt-detail-tab { padding: 14px 3px 12px; }

.tt-detail-back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
  flex-shrink: 0;
}

.tt-detail-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tt-detail-nav-tabs::-webkit-scrollbar {
  display: none;
}

.tt-detail-tab {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: #666666;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
  text-decoration: none;
}

.tt-detail-tab:hover {
  color: #111111;
}

.tt-detail-tab.active {
  font-weight: 800;
  color: #111111;
}

.tt-detail-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #111111;
  border-radius: 2px;
}

.tt-detail-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tt-header-action-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
  border: none;
  cursor: pointer;
}

/* Gallery */
.tt-gallery {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  background: var(--tt-surface);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.tt-gallery:active {
  cursor: grabbing;
}

.tt-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.32s ease;
  will-change: transform;
}

.tt-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.tt-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
}

.tt-gallery-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: var(--tt-radius-full);
  background: rgba(0,0,0,0.5);
  color: var(--tt-primary-foreground);
  font-size: 11px;
}

/* Price Block - Exact TikTok/Shopee Mall Red-Orange Gradient */
.tt-price-block {
  background: linear-gradient(90deg, #ff004f 0%, #ff2a4b 55%, #ff5700 100%);
  padding: 10px 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.tt-price-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tt-flash-lightning {
  position: absolute;
  top: 50%;
  right: 108px;
  width: 58px;
  height: 76px;
  color: #ffffff;
  opacity: 0.22;
  filter: blur(0.45px);
  transform: translateY(-50%) rotate(7deg);
  pointer-events: none;
}

.tt-flash-lightning svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tt-price-main-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tt-price-discount {
  background: #ffffff;
  color: #ff004f;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
  vertical-align: middle;
}

.tt-price-current {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.tt-price-original {
  font-size: 12px;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  display: block;
}

.tt-price-right {
  text-align: right;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.tt-flash-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.2px;
}

.tt-flash-countdown {
  font-size: 11px;
  margin-top: 2px;
  font-weight: 500;
  opacity: 0.95;
}

.tt-timer-box {
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* Product Title & Badges (8.8 & Mall) */
.tt-detail-title {
  padding: 12px 14px;
  background: #ffffff;
}

.tt-title-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tt-detail-title h1 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  margin: 0;
}

.tt-badge-event {
  background: #ff0036;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
  display: inline-block;
  vertical-align: baseline;
  line-height: 1.3;
}

.tt-badge-mall {
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: baseline;
  line-height: 1.3;
}

.tt-bookmark-btn {
  background: none;
  border: none;
  color: #333333;
  padding: 2px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-sales-stat-row {
  font-size: 12px;
  color: #777777;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tt-info-circle {
  font-size: 11px;
  color: #999999;
}

/* Perks / Delivery Info Section */
.tt-perks-section {
  background: #ffffff;
  margin-top: 8px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.tt-perk-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f4f4f6;
  position: relative;
}

.tt-perk-row:last-child {
  border-bottom: none;
}

.tt-perk-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.tt-perk-info {
  flex: 1;
  min-width: 0;
}

.tt-perk-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #222222;
  line-height: 1.4;
}

.tt-perk-highlight {
  color: #00bfa5;
  font-weight: 700;
}

.tt-perk-email-tag {
  color: #f59e0b;
  font-weight: 700;
}

.tt-perk-desc {
  font-size: 11.5px;
  color: #666666;
  margin-top: 2px;
}

.tt-perk-fee {
  font-size: 11.5px;
  color: #888888;
  margin-top: 2px;
}

.tt-perk-arrow {
  color: #b0b0b0;
  font-size: 15px;
  margin-left: auto;
  align-self: center;
}

/* Compact benefit card on the product detail page. */
.tt-product-perks-card {
  margin: 10px 12px 0;
  overflow: hidden;
  border: 1px solid #eceef5;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 6px 18px rgba(38, 55, 91, .05);
}

.tt-product-perks-card .tt-perk-row {
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-color: #edf0f5;
}

.tt-product-perks-card .tt-perk-row svg {
  width: 17px;
  height: 17px;
  margin-top: 0;
}

.tt-product-perks-card .tt-perk-title {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.28;
}

.tt-product-perks-card .tt-perk-desc {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
}

/* Keep the selected rating filter visible even when plugin styles load later. */
.tt-mobile-reviews-section .tt-mobile-filter-pills .tikcore-pill.active {
  background: #1c1c1e !important;
  color: #ffffff !important;
  border: 1px solid #1c1c1e !important;
  box-shadow: 0 3px 8px rgba(28, 28, 30, .16);
}

/* Guest account: mobile-first login and registration. */
.woocommerce-account .tt-mobile-account-wrapper:has(.tt-auth-page) {
  display: block;
  min-height: 100vh;
  padding: 0;
  background: #f6f7fb;
}

.tt-auth-page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 16px 36px;
  box-sizing: border-box;
  background: radial-gradient(circle at 100% 0, rgba(254, 44, 85, .15), transparent 31%), linear-gradient(160deg, #fff 0%, #f7f8ff 100%);
}

.tt-auth-hero { text-align: center; margin: 0 auto 28px; }
.tt-auth-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #fe2c55, #ff6b35); box-shadow: 0 10px 22px rgba(254, 44, 85, .24); }
.tt-auth-hero h1 { margin: 0; color: #17171b; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.tt-auth-hero p { margin: 8px auto 0; max-width: 290px; color: #74747d; font-size: 13px; line-height: 1.5; }
.tt-auth-card { overflow: hidden; border: 1px solid rgba(222, 225, 235, .9); border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(35, 40, 64, .08); }
.tt-auth-tabs { display: flex; padding: 5px; border-bottom: 1px solid #f0f1f5; background: #fbfbfd; }
.tt-auth-tab { flex: 1; min-height: 40px; padding: 8px; border: 0 !important; border-radius: 12px; color: #85858e !important; font-size: 14px; font-weight: 750; background: transparent !important; box-shadow: none !important; }
.tt-auth-tab.is-active { color: #fe2c55 !important; background: #fff0f3 !important; }
.tt-auth-panel { padding: 22px 18px 20px; }
.tt-auth-panel form.woocommerce-form { max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.tt-auth-panel .form-row { margin: 0 0 14px !important; }
.tt-auth-panel label { display: block; margin: 0 0 7px; color: #34343b; font-size: 13px; font-weight: 700; }
.tt-auth-panel .input-text { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dedfe6; border-radius: 12px; color: #17171b; font-size: 14px; background: #fff; box-shadow: none; }
.tt-auth-panel .input-text:focus { outline: 0; border-color: #fe2c55; box-shadow: 0 0 0 3px rgba(254, 44, 85, .12); }
.tt-auth-login-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -1px 0 18px; font-size: 12px; }
.tt-auth-login-options label { display: flex; align-items: center; gap: 6px; margin: 0; color: #6c6c75; font-size: 12px; font-weight: 600; }
.tt-auth-login-options input { accent-color: #fe2c55; }
.tt-auth-login-options a { color: #e6204b; font-weight: 700; text-decoration: none; }
.tt-auth-submit { width: 100%; min-height: 46px; padding: 11px 16px !important; border: 0 !important; border-radius: 12px !important; color: #fff !important; font-size: 14px !important; font-weight: 800 !important; background: linear-gradient(135deg, #fe2c55, #ff5d5d) !important; box-shadow: 0 8px 16px rgba(254, 44, 85, .2) !important; }
.tt-auth-note { margin: -2px 0 14px; color: #74747d; font-size: 12px; line-height: 1.45; }

@media (max-width: 380px) { .tt-auth-page { padding: 28px 12px; } .tt-auth-panel { padding: 18px 14px; } .tt-auth-login-options { align-items: flex-start; flex-direction: column; } }

/* Quick checkout: use real WooCommerce variation selectors and a compact buyer form. */
.tt-modal-scroll-body > .tt-modal-section:has(.tt-variant-grid-cards),
.tt-modal-scroll-body > .tt-modal-section:has(.tt-variant-pill[data-spec-name]) { display: none; }
.tt-real-variation-section { margin-bottom: 13px; }
.tt-quick-attribute { margin-top: 10px; }
.tt-quick-attribute-label { display: block; margin-bottom: 6px; color: #4a4a52; font-size: 12px; font-weight: 700; }
.tt-real-variation-section .tt-variant-pill { min-height: 34px; padding: 7px 12px; }
.tt-quick-variation-description { margin: -5px 0 10px; padding: 9px 11px; border-left: 3px solid #7b72f6; border-radius: 0 10px 10px 0; color: #575866; background: #f4f3ff; font-size: 12px; line-height: 1.45; }
.tt-quick-variation-description p { margin: 0; }
.tt-quick-variation-description p + p { margin-top: 5px; }
.tt-checkout-form-section { margin-bottom: 10px; padding: 12px; border: 1px solid #f0dce2; border-radius: 14px; background: linear-gradient(135deg, #fff8fa, #fafbff); }
.tt-checkout-form-section .tt-section-title { margin-bottom: 9px !important; }
.tt-checkout-form-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.tt-checkout-form-heading .tt-section-title { margin: 0 !important; padding: 0 !important; min-height: 28px; display: flex; align-items: center; color: #272832; font-size: 13px; line-height: 1; }
.tt-checkout-form-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #5aa9ff, #7b72f6); box-shadow: 0 3px 7px rgba(75, 121, 219, .2); }
.tt-checkout-form-icon svg { display: block; }
.tt-checkout-form-section .tt-modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tt-checkout-form-section .tt-modal-field { margin: 0; padding: 8px 9px; border: 1px solid #eceef4; border-radius: 10px; background: #fff; }
.tt-checkout-form-section .tt-modal-field:last-of-type { grid-column: 1 / -1; }
.tt-checkout-form-section .tt-email-field,
.tt-checkout-form-section .tt-address-detail-field,
.tt-checkout-form-section .tt-quick-saved-address { grid-column: 1 / -1; }
.tt-checkout-form-section .tt-modal-field select { width: 100%; height: 46px; min-height: 46px; padding: 0; border: 0; border-radius: 0; color: #272832; background: transparent; font-size: 14px; font-weight: 500; }
.tt-checkout-form-section .tt-modal-field select:focus { outline: 0; box-shadow: none; }
.tt-quick-saved-address { padding: 11px 13px; border: 1px solid #cfe3d3; border-radius: 9px; color: #366144; background: #f3fbf4; font-size: 12px; line-height: 1.45; }
.tt-quick-saved-address span { display: block; margin-bottom: 2px; color: #5c7a63; font-size: 10px; font-weight: 700; }
.tt-quick-saved-address strong { display: block; font-weight: 600; }
.tt-quick-upsells { margin: 0 0 10px; padding: 12px; border: 1px solid #f4cf86; border-radius: 16px; background: linear-gradient(135deg, #fff8e8 0%, #fff1d6 100%); box-shadow: 0 8px 18px rgba(180, 119, 18, .08); }
.tt-quick-upsells-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.tt-quick-upsells-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #ff9d1b, #ff6b35); box-shadow: 0 3px 7px rgba(220, 122, 16, .22); }
.tt-quick-upsells-icon svg { display: block; }
.tt-quick-upsells-title { margin: 0; color: #6b4612; font-size: 13px; font-weight: 800; }
.tt-quick-upsells-heading p { margin: 1px 0 0; color: #96703a; font-size: 10px; line-height: 1.3; }
.tt-quick-upsells-list { overflow: hidden; border: 1px solid rgba(225, 175, 93, .42); border-radius: 11px; background: rgba(255,255,255,.74); }
.tt-quick-upsell-item { display: grid; grid-template-columns: 18px 38px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 8px; border-top: 1px solid #f4e3c2; cursor: pointer; }
.tt-quick-upsell-item:first-child { border-top: 0; }
.tt-quick-upsell-item input { width: 16px; height: 16px; margin: 0; accent-color: #fe2c55; }
.tt-quick-upsell-item img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; }
.tt-quick-upsell-name { overflow: hidden; color: #30303a; font-size: 12px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.tt-quick-upsell-item strong { color: #fe2c55; font-size: 12px; white-space: nowrap; }
.tt-checkout-form-section .tt-modal-field label { margin-bottom: 2px; color: #74747d; font-size: 10px; letter-spacing: .01em; }
.tt-checkout-form-section .tt-modal-field input { min-width: 0; padding: 2px 0; border: 0; border-radius: 0; background: transparent; font-size: 13px; font-weight: 650; }
.tt-checkout-form-section .tt-modal-field input:focus { box-shadow: none; }
.tt-checkout-form-section .tt-modal-error-msg { grid-column: 1 / -1; margin: 0; }
@media (max-width: 360px) { .tt-checkout-form-section .tt-modal-form { grid-template-columns: 1fr; } .tt-checkout-form-section .tt-modal-field:last-of-type { grid-column: auto; } }

/* Refined quick-checkout controls. */
.tt-checkout-form-section {
  padding: 10px;
  position: relative;
  overflow: hidden;
  border-color: rgba(122, 162, 255, .22);
  border-radius: 16px;
  background: linear-gradient(120deg, #eff8ff 0%, #f8f6ff 48%, #fff4f7 100%);
  box-shadow: 0 8px 20px rgba(72, 97, 158, .06);
}

.tt-checkout-form-section::after {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  right: -36px;
  bottom: -36px;
  border-radius: 50%;
  background: rgba(90, 169, 255, .12);
  pointer-events: none;
}

.tt-checkout-form-section .tt-section-title,
.tt-checkout-form-section .tt-modal-form { position: relative; z-index: 1; }

.tt-checkout-form-section {
  padding: 7px 9px 9px;
  margin-bottom: 8px;
}

.tt-checkout-form-section .tt-section-title {
  margin: 0 0 5px !important;
  line-height: 1.2;
}

.tt-checkout-form-section .tt-modal-form { gap: 7px; }

.tt-checkout-form-section .tt-modal-field {
  min-height: 0;
  padding: 6px 10px;
  border: 1px solid #dde2ec;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(40, 48, 74, .025);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tt-checkout-form-section .tt-modal-field:focus-within {
  border-color: #d6b7c4;
  background: #fffafd;
  box-shadow: 0 0 0 3px rgba(214, 183, 196, .16);
}

.tt-checkout-form-section .tt-modal-field label {
  margin-bottom: 0;
  color: #858592;
  font-size: 9.5px;
  line-height: 1.2;
}

.tt-checkout-form-section .tt-modal-field input {
  height: 25px;
  min-height: 25px;
  padding: 0;
  color: #30303a;
  font-size: 12.5px;
  line-height: 25px;
}

.tt-modal-close-btn {
  width: auto;
  height: auto;
  padding: 2px 4px;
  border: 0 !important;
  border-radius: 0;
  color: #6e707a !important;
  font-size: 26px;
  font-weight: 300;
  background: transparent !important;
  box-shadow: none !important;
}

.tt-modal-close-btn:hover,
.tt-modal-close-btn:focus-visible {
  color: #fe2c55 !important;
  background: transparent !important;
  transform: none;
}

/* Checkout fields with labels inside the input area. */
.tt-checkout-form-section .tt-modal-field {
  min-height: 48px;
  padding: 0 13px;
  border-color: #d3d8e2;
  border-radius: 9px;
  background: #fafbfc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.tt-checkout-form-section .tt-modal-field label { display: none; }

.tt-checkout-form-section .tt-modal-field input {
  height: 46px;
  min-height: 46px;
  color: #272832;
  font-size: 14px;
  font-weight: 500;
  line-height: 46px;
}

.tt-checkout-form-section .tt-modal-field input::placeholder { color: #2f3038; opacity: 1; }
.tt-checkout-form-section .tt-modal-field:focus-within { border-color: #aeb6c5; background: #fff; box-shadow: 0 0 0 3px rgba(174, 182, 197, .17); }
.tt-checkout-form-section .tt-modal-error { display: none !important; }
.tt-modal-submit-pill:hover,
.tt-modal-submit-pill:hover *,
.tt-buy-now-pill:hover,
.tt-buy-now-pill:hover * { color: #fff !important; }

/* Quick checkout coupon field. */
.tt-quick-coupon-section { margin: 0 0 10px; padding: 11px; border: 1px dashed rgba(254, 44, 85, .46); border-radius: 15px; background: linear-gradient(135deg, #fff6f8, #fff); }
.tt-quick-coupon-heading { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: #84223a; font-size: 12px; }
.tt-quick-coupon-heading span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 800; background: #fe2c55; }
.tt-quick-coupon-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 7px;
  border: 1px dashed rgba(254, 44, 85, .38);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}
.tt-quick-coupon-field input {
  width: 100%;
  min-width: 0;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid #e2e6ee !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 12px !important;
  line-height: 34px !important;
}
.tt-quick-coupon-field button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--tt-primary, #fe2c55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tt-quick-coupon-field button:disabled { opacity: .65; cursor: wait; }
.tt-quick-coupon-field p { grid-column: 1 / -1; margin: -1px 1px 0; font-size: 11px; line-height: 1.35; }
.tt-quick-coupon-field p:empty { display: none; }
.tt-quick-coupon-field p.is-success { color: #15803d; }
.tt-quick-coupon-field p.is-error { color: #dc2626; }
.tt-quick-coupon-field p.is-info { color: #64748b; }
  color: var(--tt-muted);
}

/* Shop Row */
.tt-shop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid var(--tt-border);
  border-bottom: 1px solid var(--tt-border);
  margin: 12px 0;
}

.tt-shop-row-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tt-gradient-live);
  color: var(--tt-primary-foreground);
  font-size: 13px;
  font-weight: 900;
}

.tt-shop-row-info {
  flex: 1;
  min-width: 0;
}

.tt-shop-row-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.tt-shop-row-meta {
  font-size: 11px;
  color: var(--tt-muted);
}

.tt-shop-row-link {
  flex-shrink: 0;
  padding: 4px 12px;
  border: 1px solid var(--tt-primary);
  border-radius: var(--tt-radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--tt-primary);
}

/* Reviews Section */
.tt-reviews {
  padding: 14px;
  background: #ffffff;
  margin-top: 8px;
}

.tt-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tt-reviews-title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
}

.tt-store-review-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #222222;
  border-bottom: 1px solid #f4f4f6;
}

.tt-review-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tt-review-filters::-webkit-scrollbar {
  display: none;
}

.tt-review-filter {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f4f4f6;
  font-size: 11.5px;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-review-filter.active {
  background: #fff0f3;
  color: #ff0050;
  border: 1px solid #ffb8c6;
}

.tt-review-item {
  padding-top: 12px;
  border-top: 1px solid var(--tt-border);
  margin-top: 12px;
}

.tt-review-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tt-review-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tt-surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--tt-muted);
}

.tt-no-reviews {
  text-align: center;
  padding: 24px 12px;
  color: #888888;
  font-size: 12.5px;
}

/* Product Description Section */
.tt-description-section {
  background: #ffffff;
  padding: 14px;
  margin-top: 8px;
}

.tt-section-header {
  margin-bottom: 10px;
}

.tt-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
}

.tt-description-body {
  font-size: 13px;
  line-height: 1.65;
  color: #333333;
}

.tt-description-body p {
  margin-bottom: 8px;
}

/* Mall Store Card (Middle Store Block) */
.tt-mall-store-card {
  margin: 14px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.tt-store-card-header {
  background: linear-gradient(90deg, #1c130d 0%, #2b1c12 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.tt-store-mall-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
}

.tt-store-guarantee-link {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.tt-store-guarantee-link:hover {
  opacity: 1;
  color: #ffffff !important;
}

.tt-store-card-body {
  padding: 14px;
  background: #ffffff;
}

.tt-store-main-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tt-store-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #121212;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.tt-store-name-col {
  flex: 1;
  min-width: 0;
}

.tt-store-title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  line-height: 1.2;
}

.tt-store-sub-stats {
  font-size: 11.5px;
  color: #777777;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tt-star-score {
  color: #00bfa5;
  font-weight: 700;
  background: #e6f7f4;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.tt-store-visit-btn {
  background: #ff0055;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(255, 0, 85, 0.25);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.tt-store-visit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.tt-store-metrics-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: #666666;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f4f4f6;
}

.tt-store-metrics-row b {
  color: #111111;
}

.tt-store-products-scroll {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tt-store-products-scroll::-webkit-scrollbar {
  display: none;
}

.tt-store-mini-voucher {
  width: 105px;
  flex-shrink: 0;
  background: #eefbf9;
  border: 1px solid #cceee8;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.tt-mini-v-amount {
  font-size: 12px;
  font-weight: 800;
  color: #00897b;
  line-height: 1.2;
}

.tt-mini-v-desc {
  font-size: 10px;
  color: #666666;
  margin: 4px 0;
}

.tt-mini-v-btn {
  background: #ffffff;
  color: #00897b;
  border: 1px solid #00897b;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  cursor: pointer;
}

.tt-store-mini-card {
  width: 105px;
  flex-shrink: 0;
  background: #fafafa;
  border-radius: 10px;
  padding: 6px;
  border: 1px solid #eeeeee;
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
}

.tt-mini-card-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.tt-mini-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-mini-card-price {
  font-size: 11px;
  font-weight: 800;
  color: #111111;
  margin-top: 6px;
  line-height: 1;
}

.tt-mini-card-badge {
  display: inline-block;
  background: #fff0f3;
  color: #ff0050;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 3px;
  align-self: flex-start;
}

.tt-review-text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
}

/* ============================================
   Creator Videos & Customer Reviews Sections
   ============================================ */
.tt-creator-videos-section {
  background: #ffffff;
  padding: 14px 12px;
  margin-top: 10px;
  border-bottom: 1px solid #f4f4f6;
}

.tt-creator-videos-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.tt-creator-videos-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.tt-creator-videos-scroll::-webkit-scrollbar {
  display: none;
}

.tt-creator-video-card {
  width: 125px;
  height: 175px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #111111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tt-creator-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.tt-creator-play-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}

.tt-creator-user-info {
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.tt-creator-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  border: 1px solid #ffffff;
  flex-shrink: 0;
}

.tt-creator-name {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Customer Reviews Section */
.tt-customer-reviews-section {
  background: #ffffff;
  padding: 16px 14px;
  margin-top: 10px;
}

.tt-reviews-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tt-reviews-main-heading {
  font-size: 17px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.2px;
}

.tt-reviews-see-more {
  font-size: 13px;
  color: #777777;
  font-weight: 600;
  text-decoration: none !important;
}

.tt-reviews-see-more:hover {
  color: #111111;
}

.tt-rating-summary-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.tt-rating-score-num {
  font-size: 19px;
  font-weight: 800;
  color: #111111;
}

.tt-rating-max {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  margin-right: 6px;
}

.tt-rating-stars-gold {
  color: #ffb800;
  font-size: 16px;
  display: flex;
  gap: 2px;
}

.tt-customer-review-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f4f4f6;
}

.tt-rev-user-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tt-rev-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #222222;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.tt-rev-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
}

.tt-rev-stars {
  color: #ffb800;
  font-size: 12.5px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.tt-rev-meta-line {
  font-size: 11.5px;
  color: #888888;
  margin-bottom: 2px;
}

.tt-rev-fit-line {
  font-size: 11.5px;
  color: #666666;
  margin-bottom: 8px;
  font-weight: 500;
}

.tt-rev-content-text {
  font-size: 13px;
  line-height: 1.5;
  color: #222222;
  margin-bottom: 10px;
}

.tt-rev-photos-grid {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.tt-rev-photo-thumb {
  width: 85px;
  height: 85px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  flex-shrink: 0;
  background: #fafafa;
}

.tt-rev-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Giới thiệu về sản phẩm này (About Product Section)
   ============================================ */
.tt-product-intro-section {
  background: #ffffff;
  padding: 16px;
  margin-top: 10px;
}

.tt-intro-main-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.tt-intro-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4f4f6;
}

.tt-intro-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tt-intro-sub-title {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
}

/* 1. Chi tiết / Thông số */
.tt-spec-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.tt-spec-taxonomy-values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tt-spec-row {
  display: flex;
  align-items: flex-start;
  line-height: 1.45;
}

.tt-spec-row-hidden {
  display: none;
}

.tt-spec-row-hidden.tt-spec-row-visible {
  display: flex !important;
}

.tt-spec-label {
  width: 38%;
  color: #888888;
  padding-right: 8px;
  flex-shrink: 0;
}

.tt-spec-value {
  width: 62%;
  color: #222222;
  font-weight: 600;
}

.tt-spec-taxonomy-value {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #222222 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.tt-spec-taxonomy-icon,
.tt-spec-brand-image {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  overflow: hidden;
  border-radius: 8px;
}
.tt-spec-taxonomy-icon {
  color: #e72a50;
  background: #fff0f3;
}
.tt-spec-taxonomy-icon svg { width: 15px; height: 15px; stroke-width: 2.2; }
.tt-spec-taxonomy-icon i:not([data-lucide]) { font-size: 15px; }
.tt-spec-brand-image { background: #fff; border: 1px solid #edf0f3; }
.tt-spec-brand-image img { display: block; width: 100%; height: 100%; object-fit: contain; }

.tt-spec-more-btn {
  background: none;
  border: none;
  color: #0073e6;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
}

.tt-spec-more-btn:hover {
  text-decoration: underline;
}

/* 2. Size Guide */
.tt-sizeguide-table-wrapper {
  overflow-x: auto;
}

.tt-sizeguide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 6px;
}

.tt-sizeguide-table th,
.tt-sizeguide-table td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid #eeeeee;
}

.tt-sizeguide-table th {
  background: #f8f9fa;
  font-weight: 700;
  color: #111111;
}

/* 3. Video */
.tt-video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16/9;
  max-height: 250px;
  margin-top: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.tt-video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}

.tt-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.tt-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
}

.tt-play-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(254, 44, 85, 0.95);
  border: none;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 3px;
}

.tt-play-icon-btn:hover {
  transform: scale(1.08);
  background: #ff0055 !important;
}

.tt-video-brand-watermark {
  position: absolute;
  bottom: 10px;
  left: 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Do not show the Details block until the product has real specifications. */
.tt-intro-spec:not(:has(.tt-spec-row)) {
  display: none;
}

/* Creator cards in the original template are mock content. */
.tt-creator-videos-section {
  display: none;
}

/* Product media is rendered only when a video or demo URL is configured. */
.tt-product-media-section {
  display: grid;
  gap: 12px;
}

.tt-product-video-frame {
  overflow: hidden;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  background: #11131a;
  box-shadow: 0 8px 20px rgba(22, 28, 45, 0.1);
  aspect-ratio: 16 / 9;
}

.tt-product-video-frame video,
.tt-product-video-frame iframe,
.tt-product-video-frame .wp-video,
.tt-product-video-frame .wp-video-shortcode {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.tt-product-video-frame video {
  object-fit: contain;
}

.tt-product-video-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.tt-product-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #ff315a;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff2e55, #fb1747);
  box-shadow: 0 8px 16px rgba(254, 44, 85, 0.24);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tt-product-demo-button:hover,
.tt-product-demo-button:focus-visible {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 11px 22px rgba(254, 44, 85, 0.32);
  transform: translateY(-2px);
}

.tt-product-demo-button:active {
  filter: brightness(0.94);
  box-shadow: 0 4px 10px rgba(254, 44, 85, 0.22);
  transform: translateY(0) scale(0.98);
}

.tt-product-demo-button:focus-visible {
  outline: 3px solid rgba(254, 44, 85, 0.28);
  outline-offset: 3px;
}

.tt-product-creator-video-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 1px 8px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.tt-product-creator-video-card {
  flex: 0 0 min(68vw, 220px);
  overflow: hidden;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  background: #11131a;
  box-shadow: 0 8px 20px rgba(22, 28, 45, 0.1);
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
}

.tt-product-creator-video-card video,
.tt-product-creator-video-card iframe,
.tt-product-creator-video-card .wp-video,
.tt-product-creator-video-card .wp-video-shortcode {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.tt-product-creator-video-card video {
  object-fit: cover;
}

/* 4. Description content */
.tt-description-content {
  font-size: 13px;
  line-height: 1.65;
  color: #333333;
}

.tt-description-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}

/* Buy Bar - TikTok/Shopee Mall Style Sticky Bottom Action Bar */
.tt-buy-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 100;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.tt-buy-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.tt-buy-bar-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 500;
  color: #444444;
  background: none;
  border: none;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0 2px;
}

.tt-buy-bar-icon svg {
  width: 20px;
  height: 20px;
  color: #333333;
}

.tt-buy-bar-icon:hover {
  color: #ff0055;
}

.tt-buy-bar-icon:hover svg {
  color: #ff0055;
}

/* Add to Cart Circle Button */
.tt-cart-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe8ec !important;
  color: #ff0050 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0 !important;
  transition: transform 0.15s ease, background-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 80, 0.15);
}

.tt-cart-circle-btn:hover,
.tt-cart-circle-btn:active {
  background: #ffd6df !important;
  color: #ff0050 !important;
  transform: scale(1.05);
}

.tt-cart-circle-btn svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #fe2c55 !important;
  stroke-width: 2.3px !important;
  fill: none !important;
  display: block !important;
}

/* Mua Ngay Pill Button with 2 lines */
.tt-buy-now-pill {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: 23px;
  background: linear-gradient(90deg, #ff0055 0%, #ff2a55 100%);
  color: #ffffff;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 0, 85, 0.35);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.tt-buy-now-pill:hover,
.tt-buy-now-pill:active {
  background: linear-gradient(90deg, #ff0055 0%, #ff2a55 100%) !important;
  color: #ffffff !important;
  opacity: 0.95;
  transform: translateY(-1px);
}

.tt-buy-now-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.tt-buy-now-sub {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   Traditional Black WordPress Footer
   ============================================ */
.tt-traditional-footer {
  clear: both;
  float: none;
  width: 100%;
  box-sizing: border-box;
  background: #12141D;
  color: #A0A5B5;
  padding: 28px 16px 80px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tt-footer-title {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.tt-footer-desc {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8E92A4;
}

.tt-footer-contact p {
  margin-top: 4px;
  font-size: 11.5px;
  color: #D1D5DB;
}

.tt-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tt-footer-links a {
  color: #A0A5B5;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tt-footer-links a:hover {
  color: var(--tt-primary);
}

.tt-footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 11px;
  color: #6B7280;
}

.tt-configurable-footer {
  padding: 20px 16px 82px;
  margin-top: auto;
  flex-shrink: 0;
}

.tt-footer-html {
  color: #aeb5c3;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.tt-footer-html > :last-child {
  margin-bottom: 0;
}

.tt-footer-html a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tt-footer-html .tt-footer-grid {
  display: grid;
  gap: 18px;
  text-align: left;
}

.tt-footer-html .tt-footer-logo {
  display: block;
  width: min(160px, 56%);
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0 auto 20px;
}

.tt-footer-html h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.tt-footer-html .tt-footer-grid p {
  margin: 0;
  color: #aeb8d1;
  font-size: 12px;
  line-height: 1.65;
}

.tt-footer-html .tt-footer-copyright {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #c5cee2;
}

/* Standard WordPress pages and posts inherit desktop sidebar floats from the
   parent theme. Keep their content and footer in one full-width vertical flow. */
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) #primary.content-area,
body.single-post #primary.content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) #left-sidebar,
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) #right-sidebar,
body.single-post #left-sidebar,
body.single-post #right-sidebar {
  display: none !important;
}

body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .site-content,
body.single-post .site-content {
  display: block;
  width: 100%;
}

body.single-post .inside-article {
  width: 100%;
  padding: 22px 16px 92px;
  box-sizing: border-box;
}

body.single-post .entry-header,
body.single-post .entry-content,
body.single-post .entry-meta,
body.single-post .entry-footer {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.single-post .entry-title {
  color: #1d2939;
  font-size: 29px;
  line-height: 1.24;
  letter-spacing: -.025em;
}

body.single-post .entry-content {
  color: #344054;
  font-size: 15px;
  line-height: 1.72;
}

body.single-post .entry-content p {
  margin-bottom: 1.25em;
}

body.single-post .entry-content img,
body.single-post .post-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Single post reading canvas: centered, calm sections and larger body copy. */
body.single-post .site-content {
  padding: 16px 12px 96px;
  background: #f6f7fb;
  box-sizing: border-box;
}

body.single-post .site-main {
  width: 100%;
  max-width: 398px;
  margin: 0 auto !important;
}

body.single-post article.post {
  width: 100%;
  margin: 0;
}

body.single-post .inside-article {
  width: 100%;
  max-width: 398px;
  margin: 0 auto;
  padding: 0;
}

body.single-post .entry-header {
  margin: 0 0 12px;
  padding: 17px 18px 15px;
  background: linear-gradient(135deg, #fff4f6 0%, #fffafb 100%);
  border: 1px solid #ffe1e8;
  border-radius: 16px;
}

body.single-post .entry-title {
  margin: 0;
  color: #1d2939;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.025em;
}

body.single-post .entry-meta {
  margin-top: 8px;
  color: #7d8797;
  font-size: 11px;
}

body.single-post .post-image {
  margin: 0 0 12px !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ebedf2;
  border-radius: 16px;
}

body.single-post .post-image img {
  display: block;
  border-radius: 0;
}

body.single-post .entry-content {
  margin-top: 0 !important;
  padding: 18px;
  color: #344054;
  font-size: 16px;
  line-height: 1.78;
  background: #fff;
  border: 1px solid #e9ecf1;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(30, 41, 59, .035);
}

body.single-post .entry-content p {
  margin: 0 0 1.25em;
}

body.single-post .entry-content p:last-child {
  margin-bottom: 0;
}

body.single-post .entry-footer,
body.single-post .post-navigation,
body.single-post .comments-area {
  margin: 12px 0 0;
  padding: 14px 16px;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  background: #f3f6ff;
  border: 1px solid #e2e8fb;
  border-radius: 14px;
}

body.single-post .entry-footer a,
body.single-post .post-navigation a,
body.single-post .comments-area a {
  color: #425ca8;
  font-weight: 700;
}

/* ============================================
   Suggestions Section
   ============================================ */
.tt-suggestions {
  background: var(--tt-surface);
  padding: 12px 8px;
}



/* ============================================
   Utility Classes
   ============================================ */
.tt-flex { display: flex; }
.tt-items-center { align-items: center; }
.tt-gap-2 { gap: 8px; }
.tt-gap-3 { gap: 12px; }
.tt-px-3 { padding-left: 12px; padding-right: 12px; }
.tt-py-2 { padding-top: 8px; padding-bottom: 8px; }
.tt-mt-3 { margin-top: 12px; }
.tt-text-center { text-align: center; }
.tt-font-bold { font-weight: 700; }
.tt-text-primary { color: var(--tt-primary); }
.tt-text-muted { color: var(--tt-muted); }
.tt-text-sm { font-size: 12px; }
.tt-text-xs { font-size: 10px; }
.tt-w-full { width: 100%; }
.tt-block { display: block; }

/* Hide WordPress default sidebar widgets on shop pages */
.woocommerce-page .widget-area,
.woocommerce-page aside,
.ttshop-active .widget_search,
.ttshop-active .widget_recent_entries,
.ttshop-active .widget_recent_comments,
.widget-area {
    display: none !important;
}

/* ============================================
   Quick Checkout Modal Upgrade
   ============================================ */
.tt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(18, 20, 29, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.tt-modal-overlay.tt-modal-open {
  opacity: 1;
  pointer-events: auto;
}

.tt-modal-sheet {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: var(--tt-radius-lg) var(--tt-radius-lg) 0 0;
  padding: 0 20px 28px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.tt-modal-overlay.tt-modal-open .tt-modal-sheet {
  transform: translateY(0);
}

.tt-modal-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 6px;
}

.tt-modal-handle::after {
  content: '';
  width: 42px;
  height: 4.5px;
  border-radius: 3px;
  background: var(--tt-border);
}

.tt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--tt-foreground);
  letter-spacing: -0.3px;
}

.tt-modal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tt-surface);
  color: var(--tt-muted);
  transition: all 0.2s ease;
}

.tt-modal-close:hover {
  background: var(--tt-border);
  color: var(--tt-foreground);
  transform: rotate(90deg);
}

/* Form Styling */
.tt-modal-form {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tt-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tt-modal-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tt-foreground);
}

.tt-modal-field label span {
  color: var(--tt-primary);
}

.tt-modal-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--tt-border);
  border-radius: var(--tt-radius);
  background: var(--tt-surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--tt-foreground);
  outline: none;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tt-modal-field input::placeholder {
  color: var(--tt-muted);
  font-weight: 400;
}

.tt-modal-field input:focus {
  background: #FFFFFF;
  border-color: var(--tt-primary);
  box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.15);
}

.tt-modal-field input.tt-input-error {
  border-color: #FF1744;
  background: #FFF5F5;
}

.tt-modal-error {
  font-size: 11.5px;
  font-weight: 600;
  color: #FF1744;
  min-height: 16px;
}

/* Submit Button */
.tt-modal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: var(--tt-radius-full);
  background: var(--tt-gradient-primary);
  color: var(--tt-primary-foreground);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  box-shadow: var(--tt-shadow-glow);
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.3px;
}

.tt-modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -4px rgba(254, 44, 85, 0.5);
}

.tt-modal-submit:active {
  transform: scale(0.98);
}

.tt-modal-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.tt-modal-submit-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tt-modal-spinner {
  animation: tt-spin 0.8s linear infinite;
}

@keyframes tt-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Error message box */
.tt-modal-error-msg {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #FF1744;
  padding: 10px 14px;
  background: #FFF0F3;
  border: 1px solid rgba(255, 23, 68, 0.2);
  border-radius: var(--tt-radius);
  margin: 0;
}

/* Desktop Centered Modal */
@media (min-width: 768px) {
  .tt-modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .tt-modal-sheet {
    border-radius: var(--tt-radius-lg);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tt-modal-overlay.tt-modal-open .tt-modal-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .tt-modal-handle {
    display: none;
  }
}

/* ============================================
   Button Hover Fixes (Prevent Black Overlays)
   ============================================ */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link,
.wp-block-file__button {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:hover {
  background-color: transparent !important;
  color: inherit !important;
}

/* Explicit Button Hover Colors */
.tt-search-btn:hover {
  background: var(--tt-gradient-primary) !important;
  color: #FFFFFF !important;
  opacity: 0.92 !important;
}

.tt-icon-btn:hover {
  background: var(--tt-surface-hover) !important;
  color: var(--tt-primary) !important;
}

.tt-hero-cta:hover {
  background: #FFFFFF !important;
  color: var(--tt-primary) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.tt-buy-btn.cart:hover {
  background: rgba(254, 44, 85, 0.08) !important;
  color: var(--tt-primary) !important;
  border-color: var(--tt-primary) !important;
}

.tt-cart-circle-btn:hover {
  background: #ffd6df !important;
  color: #ff0050 !important;
}

/* ============================================
   Configurable home page
   ============================================ */
.tt-homepage-configured {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.tt-home-section {
  margin: 22px 0;
}

.tt-home-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 2px 1px 8px;
}

.tt-home-scroll::-webkit-scrollbar {
  display: none;
}

.tt-home-banner {
  flex: 0 0 min(92vw, 760px);
  aspect-ratio: 21 / 9;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  scroll-snap-align: start;
  background: #f1f5f9;
}

.tt-home-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Home banner carousel: almost full width, 2:1 ratio. */
.tt-home-banners { position: relative; margin: 0 -4px 18px; }
.tt-home-banners .tt-home-scroll {
  gap: 0;
  padding: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
}
.tt-home-banners .tt-home-banner {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
  scroll-snap-align: start;
}
.tt-home-banners .tt-home-banner img { height: 100% !important; object-fit: cover !important; }
.tt-home-banner-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.tt-home-banner-dots span { width: 6px; height: 6px; border-radius: 999px; background: #d3d7e0; transition: width .2s ease, background .2s ease; }
.tt-home-banner-dots span.is-active { width: 18px; background: #fe2c55; }

/* Keep the 21:9 banner compact and balanced on phone screens. */
@media (max-width: 480px) {
  .tt-home-banners .tt-home-scroll {
    gap: 10px;
  }

  .tt-home-banner {
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    height: 112px;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .tt-home-banner img {
    height: 112px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 480px) {
  .tt-home-banners .tt-home-banner { width: 100%; min-width: 100%; max-width: none; height: auto; aspect-ratio: 2 / 1; }
  .tt-home-banners .tt-home-banner img { height: 100% !important; }
}

.tt-home-categories .tt-home-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 8px;
  overflow: visible;
  padding: 6px 0;
}

.tt-home-categories {
  position: relative;
  overflow: hidden;
  padding: 16px 12px 14px;
  border: 1px solid rgba(255, 119, 157, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff6f8 52%, #f6f4ff 100%);
}

.tt-home-categories::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  top: -84px;
  right: -38px;
  border-radius: 50%;
  background: rgba(163, 122, 255, .12);
  pointer-events: none;
}

.tt-home-category {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  color: #27272a;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.tt-home-category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tt-category-color) 13%, #fff), color-mix(in srgb, var(--tt-category-color) 28%, #fff));
  border: 1.5px solid color-mix(in srgb, var(--tt-category-color) 48%, #fff);
  color: var(--tt-category-color);
  font-size: 22px;
  box-shadow: none;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, background .22s ease;
}

.tt-home-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-home-category-icon i {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.tt-home-category-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.tt-home-category:hover .tt-home-category-icon,
.tt-home-category:focus-visible .tt-home-category-icon {
  transform: translateY(-3px) rotate(-2deg);
  border-color: var(--tt-category-color);
  background: linear-gradient(145deg, color-mix(in srgb, var(--tt-category-color) 18%, #fff), color-mix(in srgb, var(--tt-category-color) 38%, #fff));
}

.tt-home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}

.tt-home-section-heading h2 {
  margin: 0;
  color: #18181b;
  font-size: 18px;
  font-weight: 800;
}

.tt-home-section-heading a {
  color: var(--tt-primary, #fe2c55);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tt-home-brands {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #eff8ff 0%, #f8f6ff 48%, #fff4f7 100%);
  border: 1px solid rgba(122, 162, 255, .18);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(72, 97, 158, .06);
}

.tt-home-brands::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  right: -54px;
  bottom: -56px;
  border-radius: 50%;
  background: rgba(90, 169, 255, .12);
  pointer-events: none;
}

.tt-home-brand {
  box-sizing: border-box !important;
  flex: 0 0 calc((100% - 40px) / 5) !important;
  width: calc((100% - 40px) / 5) !important;
  min-width: calc((100% - 40px) / 5) !important;
  max-width: calc((100% - 40px) / 5) !important;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: #27272a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.tt-home-brand img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.tt-home-brands .tt-home-scroll {
  width: 100%;
  min-width: 0;
  gap: 10px;
  padding-bottom: 0;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.tt-home-product-section {
  margin-left: -4px;
  margin-right: -4px;
  padding: 8px 0;
}

.tt-home-product-section .tt-products {
  margin: 0;
}

@media (min-width: 768px) {
  .tt-homepage-configured { padding: 22px; }
  .tt-home-banner {
    flex: 0 0 340px;
    width: 340px;
    min-width: 340px;
    max-width: 340px;
    height: 146px;
    aspect-ratio: auto;
  }
  .tt-home-banner img { height: 146px !important; object-fit: cover !important; }
  .tt-home-category { flex-basis: 88px; font-size: 12px; }
  .tt-home-category-icon { width: 70px; height: 70px; }
}

.tt-buy-now-pill:hover {
  background: linear-gradient(90deg, #ff0055 0%, #ff2a55 100%) !important;
  color: #ffffff !important;
  opacity: 0.94 !important;
}

.tt-buy-btn.buy:hover {
  background: var(--tt-gradient-primary) !important;
  color: #FFFFFF !important;
  opacity: 0.94 !important;
}

.tt-modal-submit:hover {
  background: var(--tt-gradient-primary) !important;
  color: #FFFFFF !important;
  opacity: 0.94 !important;
}

.tt-nav-item:hover {
  color: var(--tt-primary) !important;
}

.tt-modal-close:hover {
  background: var(--tt-border) !important;
  color: var(--tt-foreground) !important;
}

/* ============================================
   TikTok Shop / Shopee Style Order Received & SePay QR Payment UI
   Fully redesigned — Modern Mobile App Aesthetic
   ============================================ */

/* Page wrapper reset: remove TikPage separate-containers 40px padding on checkout/order-received */
.separate-containers.woocommerce-checkout .inside-article,
.separate-containers.woocommerce-order .inside-article,
.woocommerce-checkout .inside-article,
.woocommerce-checkout .entry-content,
.woocommerce-order .inside-article,
.woocommerce-order .entry-content,
body.woocommerce-checkout .inside-article,
body.woocommerce-checkout .entry-content,
body.woocommerce-order .inside-article,
body.woocommerce-order .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  background: #f5f5f5 !important;
}

/* Remove WooCommerce default padded page wrapper */
.woocommerce-order > .woocommerce,
.woocommerce-checkout > .woocommerce {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}


/* ── Thank you banner ── */
.woocommerce-notice--success,
.woocommerce-thankyou-order-received {
  background: linear-gradient(135deg, #ff4500 0%, #ee4d2d 50%, #fe2c55 100%) !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 16px !important;
  margin: 0 0 0 0 !important;
  border-radius: 0 !important;
  border: none !important;
  letter-spacing: 0.01em !important;
}

/* ── Order overview mini-card ── */
ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1px !important;
  padding: 0 !important;
  background: #ebebeb !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 0 12px !important;
  list-style: none !important;
  overflow: hidden !important;
}

ul.woocommerce-order-overview li {
  font-size: 11px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 10px 14px !important;
  border-bottom: none !important;
  gap: 2px !important;
}

ul.woocommerce-order-overview li strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  display: block !important;
}

ul.woocommerce-order-overview li:last-child {
  border-bottom: none !important;
  padding-bottom: 10px !important;
}

/* ── SePay Global Overrides ── */
:root {
  --sepay-color: #fe2c55 !important;
}

/* SePay entire section */
.woocommerce-sepay-bank-details {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  overflow: visible !important;
}

.woocommerce-sepay-bank-details * {
  box-sizing: border-box !important;
}

/* Title bar */
.woocommerce-sepay-bank-details .box-title {
  background: linear-gradient(135deg, #fe2c55 0%, #ee4d2d 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 16px !important;
  border-radius: 0 !important;
  text-align: center !important;
  letter-spacing: 0.02em !important;
  border-bottom: none !important;
  order: 0 !important;
}

/* Sepay box padding */
.sepay-box {
  padding: 0 12px 12px 12px !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ── QR Section Card ── */
.sepay-pay-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 12px !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.sepay-pay-info .qr-box {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  width: 100% !important;
  order: 1 !important;
}

.sepay-pay-info .qr-box .qr-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #555555 !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

.sepay-pay-info .qr-box .qr-title b {
  color: #fe2c55 !important;
}

/* QR image frame with animated gradient border */
.sepay-pay-info .qr-element {
  width: 300px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  position: relative !important;
  border-radius: 12px !important;
  padding: 6px !important;
  background: linear-gradient(135deg, #fe2c55, #ee4d2d, #fe2c55) !important;
  background-size: 200% 200% !important;
  animation: qrGradientShift 3s ease infinite !important;
  box-shadow: 0 4px 20px rgba(254, 44, 85, 0.3) !important;
  aspect-ratio: auto !important;
}

@keyframes qrGradientShift {
  0%   { background-position: 0% 50%;   box-shadow: 0 4px 20px rgba(254, 44, 85, 0.3); }
  50%  { background-position: 100% 50%; box-shadow: 0 4px 24px rgba(238, 77, 45, 0.4); }
  100% { background-position: 0% 50%;   box-shadow: 0 4px 20px rgba(254, 44, 85, 0.3); }
}

.sepay-pay-info .qr-element .qr-content {
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
}

.sepay-pay-info .qr-element .qr-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
}

/* Override old green border decorations */
.sepay-pay-info .qr-top-border,
.sepay-pay-info .qr-bottom-border,
.sepay-pay-info .qr-top-border:before,
.sepay-pay-info .qr-top-border:after,
.sepay-pay-info .qr-bottom-border:before,
.sepay-pay-info .qr-bottom-border:after {
  display: none !important;
  border: none !important;
  content: none !important;
}

/* Download QR button */
.sepay-pay-info .download-qr {
  margin-top: 10px !important;
  justify-content: center !important;
}

.sepay-pay-info .button-qr {
  background: linear-gradient(135deg, #fe2c55 0%, #ee4d2d 100%) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(254, 44, 85, 0.3) !important;
  transition: transform 0.15s ease !important;
}

.sepay-pay-info .button-qr:hover {
  transform: scale(1.03) !important;
  opacity: 0.95 !important;
}

/* ── Bank Info Card ── */
.sepay-pay-info .manual-box {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  padding: 14px !important;
  gap: 10px !important;
  order: 2 !important;
}

.sepay-pay-info .manual-box .manual-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #555555 !important;
  margin-bottom: 10px !important;
}

.sepay-pay-info .manual-box .manual-title b {
  color: #fe2c55 !important;
}

/* Bank info table card */
.sepay-pay-info .manual-box .bank-info {
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Bank logo banner */
.sepay-pay-info .manual-box .bank-info .banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 10px !important;
}

.sepay-pay-info .manual-box .bank-info .banner .bank-logo {
  max-height: 36px !important;
  max-width: 120px !important;
  object-fit: contain !important;
}

/* Info rows */
.sepay-pay-info .manual-box .bank-info .bank-info-table {
  display: block !important;
  width: 100% !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-row-group {
  display: block !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-row {
  display: flex !important;
  flex-direction: column !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #f8fafc !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-row:last-child {
  border-bottom: none !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-cell {
  display: block !important;
  padding: 0 !important;
  border: none !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-cell:first-child {
  font-size: 11px !important;
  color: #888888 !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-cell.font-bold,
.sepay-pay-info .manual-box .bank-info .bank-info-cell .font-bold {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

/* Copy buttons */
.sepay-pay-info .manual-box .bank-info .bank-info-value {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-value a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: rgba(254, 44, 85, 0.08) !important;
  color: #fe2c55 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-value a:hover {
  background: rgba(254, 44, 85, 0.15) !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-value a.copied {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #10b981 !important;
}

/* Copy icon SVG inside copy buttons — replace old blue with theme red */
.sepay-pay-info .manual-box .bank-info .bank-info-value a svg path {
  fill: #fe2c55 !important;
}

.sepay-pay-info .manual-box .bank-info .bank-info-value a.copied svg path {
  fill: #10b981 !important;
}

/* ── Warning Note Block ── */
.sepay-pay-info .manual-box .bank-info .note {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%) !important;
  border: 1px solid #fde68a !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin: 8px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: #78350f !important;
}

.sepay-pay-info .manual-box .bank-info .note svg {
  color: #f59e0b !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

/* ── Waiting Status Footer ── */
.sepay-pay-footer {
  background: #ffffff !important;
  border-radius: 12px !important;
  margin: 0 12px !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  animation: none !important;
}

.sepay-pay-footer::before {
  content: "⏳" !important;
  font-size: 15px !important;
}

.sepay-pay-footer img {
  width: 18px !important;
  height: 18px !important;
}

/* ── Download section ── */
.sepay-download {
  background: #ffffff !important;
  border-radius: 14px !important;
  margin: 0 12px 12px !important;
  padding: 14px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.sepay-download .download-list {
  border: 1px solid #f1f5f9 !important;
  border-radius: 10px !important;
}

.sepay-download .download-list .download-group {
  background: #f8fafc !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  color: #333333 !important;
}

.sepay-download .download-list .download-item {
  padding: 10px 12px !important;
  gap: 8px !important;
}

.sepay-download .download-button {
  background: linear-gradient(135deg, #fe2c55 0%, #ee4d2d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(254, 44, 85, 0.25) !important;
}

.sepay-download .download-button:hover {
  opacity: 0.92 !important;
}

.sepay-download .download-button:disabled,
.sepay-download .download-button[disabled] {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  border: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* ── Success Paid Notification ── */
.paid-notification {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border-radius: 16px !important;
  margin: 12px 12px !important;
  padding: 24px 16px !important;
  color: #065f46 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  gap: 12px !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.18) !important;
}

.paid-notification svg {
  width: 64px !important;
  height: 64px !important;
}

/* ── Order details table ── */
table.shop_table {
  width: 100% !important;
  font-size: 12px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
  background: #ffffff !important;
  margin: 0 0 12px !important;
}

table.shop_table th {
  background: linear-gradient(135deg, #fe2c55 0%, #ee4d2d 100%) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 10px 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

table.shop_table td {
  padding: 10px 12px !important;
  word-break: break-word !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #333333 !important;
}

table.shop_table tr:last-child td {
  border-bottom: none !important;
}

table.shop_table tfoot tr:last-child td,
table.shop_table tfoot tr:last-child th {
  background: #fef2f4 !important;
  font-weight: 800 !important;
  color: #fe2c55 !important;
  font-size: 14px !important;
}

/* ============================================
   SePay payment-only order received page
   ============================================ */
/* Keep shoppers in the payment flow: no theme navigation, sidebar or site footer. */
body.sepay-payment-page .site-header,
body.sepay-payment-page .top-bar,
body.sepay-payment-page .site-footer,
body.sepay-payment-page .footer-widgets,
body.sepay-payment-page .copyright-bar,
body.sepay-payment-page .widget-area,
body.sepay-payment-page #right-sidebar,
body.sepay-payment-page #left-sidebar {
  display: none !important;
}

/* The order-received page is a single, full-width payment canvas. */
body.sepay-payment-page,
body.sepay-payment-page #page,
body.sepay-payment-page #content,
body.sepay-payment-page .site-content,
body.sepay-payment-page .content-area,
body.sepay-payment-page .site-main,
body.sepay-payment-page article,
body.sepay-payment-page .inside-article {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.sepay-payment-page .entry-header,
body.sepay-payment-page .page-header,
body.sepay-payment-page .entry-title {
  display: none !important;
}

/* WooCommerce outputs the SePay block after the thank-you summary by default.
   Use a flex flow to place the QR payment at the very top without changing plugin files. */
body.sepay-payment-page .woocommerce-order {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  background: #f5f5f5 !important;
}

body.sepay-payment-page .woocommerce-order > .woocommerce-sepay-bank-details {
  order: -10 !important;
  margin: 0 0 12px !important;
}

/* Order received and its details intentionally follow the QR payment panel. */
body.sepay-payment-page .woocommerce-order > .woocommerce-notice,
body.sepay-payment-page .woocommerce-order > .woocommerce-thankyou-order-received,
body.sepay-payment-page .woocommerce-order > .woocommerce-order-overview {
  order: 1 !important;
}

body.sepay-payment-page .woocommerce-order > :not(.woocommerce-sepay-bank-details):not(.woocommerce-notice):not(.woocommerce-thankyou-order-received):not(.woocommerce-order-overview) {
  order: 2 !important;
}

/* Prevent a wide SePay or theme element from pushing the page/footer sideways. */
body.sepay-payment-page,
body.sepay-payment-page #page,
body.sepay-payment-page .site-content,
body.sepay-payment-page .woocommerce-order,
body.sepay-payment-page .woocommerce-sepay-bank-details {
  overflow-x: clip !important;
}





/* ============================================
   TikTok / Shopee Style My Account Profile Page
   ============================================ */

/* Hide default page title on My Account page */
.page-id-my-account .entry-header,
.woocommerce-account .entry-header,
.page-id-my-account h1.entry-title,
.woocommerce-account h1.entry-title,
.page-id-my-account .page-header,
.woocommerce-account .page-header {
  display: none !important;
}

/* Ensure account page wrapper takes full width of phone shell without padding overflow */
.woocommerce-account .site-content,
.woocommerce-account .inside-article,
.page-id-my-account .site-content,
.page-id-my-account .inside-article {
  padding: 0 !important;
  margin: 0 !important;
  background: #f5f5f5 !important;
}

/* Main Profile Container */
.tt-shopee-profile-app {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 75px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #333333;
  width: 100%;
  box-sizing: border-box;
}

/* 1. TOP HEADER BANNER (Gradient Red-Orange) */
.tt-profile-top-banner {
  background: linear-gradient(135deg, #ff4500 0%, #ee4d2d 50%, #fe2c55 100%);
  padding: 16px 16px 14px 16px;
  color: #ffffff;
  position: relative;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.tt-profile-top-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}

.tt-top-icon-btn {
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none !important;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.tt-top-icon-btn:hover {
  opacity: 1;
}

.tt-top-icon-btn .tt-icon-badge-num {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ffffff;
  color: #ee4d2d;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* User Profile Row */
.tt-user-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tt-user-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: #ffffff;
}

.tt-user-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-user-text-col {
  flex: 1;
  min-width: 0;
}

.tt-user-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.tt-user-name-text {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-user-rank-pill {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tt-user-stats-line {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tt-user-stats-line b {
  color: #ffffff;
}

.tt-stat-sep {
  opacity: 0.5;
}

/* VIP Banner Pill inside Header */
.tt-vip-voucher-banner {
  background: rgba(255, 255, 255, 0.96);
  color: #222222;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.tt-vip-crown {
  color: #d97706;
  font-weight: 800;
  font-size: 11px;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tt-vip-text {
  flex: 1;
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-vip-arrow {
  color: #999999;
  font-size: 14px;
  font-weight: 700;
}

/* 2. NOTICE ALERT CARD */
.tt-profile-notice-card {
  background: #ffffff;
  border-radius: 10px;
  margin: 10px 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tt-notice-bell-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.tt-notice-text {
  font-size: 12px;
  color: #555555;
  line-height: 1.4;
  flex: 1;
}

.tt-notice-text a {
  color: #1062fe;
  text-decoration: none;
  font-weight: 500;
}

.tt-notice-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #aaaaaa;
  cursor: pointer;
  padding: 0 4px;
}

/* 3. PROFILE WHITE CARDS GENERAL */
.tt-profile-card {
  background: #ffffff;
  border-radius: 12px;
  margin: 10px 12px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tt-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tt-card-main-title {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  margin: 0 !important;
}

.tt-card-header-link {
  font-size: 12px;
  color: #777777;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tt-card-header-link:hover {
  color: #ee4d2d;
}

/* Orders 4-Column Action Grid */
.tt-orders-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.tt-order-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  color: #333333;
}

.tt-action-svg-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  margin-bottom: 4px;
}

.tt-action-badge-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ee4d2d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 5px;
  min-width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  border: 1px solid #ffffff;
}

.tt-action-label {
  font-size: 11px;
  color: #444444;
  line-height: 1.2;
}

/* Sub-list inside Card */
.tt-card-sub-list {
  padding-top: 8px;
}

.tt-sub-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none !important;
  font-size: 13px;
  border-bottom: 1px solid #fafafa;
}

.tt-sub-list-item:last-child {
  border-bottom: none;
}

.tt-sub-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.tt-cyan-bg { background: #e0f2fe; }
.tt-pink-bg { background: #ffe4e6; }

.tt-sub-title {
  flex: 1;
  color: #333333;
  font-weight: 500;
}

.tt-sub-right-text {
  font-size: 12px;
  color: #888888;
}

.tt-pink-text {
  color: #ee4d2d !important;
  font-weight: 600;
}

/* 4. PROMO CIRCLE GRID */
.tt-promo-circle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 8px;
}

.tt-promo-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
}

.tt-circle-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.tt-badge-red { background: linear-gradient(135deg, #ff4d4d, #ee4d2d); }
.tt-badge-vip { background: linear-gradient(135deg, #d97706, #f59e0b); }
.tt-badge-new { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.tt-badge-trend { background: linear-gradient(135deg, #dc2626, #991b1b); }

.tt-promo-label {
  font-size: 11px;
  color: #444444;
  line-height: 1.2;
}

/* 5. UTILITIES GRID */
.tt-utilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.tt-utility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  padding: 4px;
}

.tt-utility-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.tt-utility-title {
  font-size: 12px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 2px;
}

.tt-utility-sub {
  font-size: 10px;
  color: #888888;
  line-height: 1.2;
  height: 24px;
  overflow: hidden;
}

.tt-red-text { color: #ee4d2d !important; font-weight: 700; }

/* 6. FINANCE SCROLL ROW */
.tt-finance-scroll-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tt-finance-card {
  flex: 0 0 160px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  position: relative;
  border: 1px solid #f1f5f9;
}

.tt-finance-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #ee4d2d;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.tt-finance-content {
  display: flex;
  flex-direction: column;
}

.tt-finance-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.tt-finance-title {
  font-size: 12px;
  font-weight: 700;
  color: #222222;
}

.tt-finance-sub {
  font-size: 10px;
  color: #666666;
}

/* 7. ACCOUNT MANAGE GROUP */
.tt-account-manage-group {
  background: #ffffff;
  border-radius: 12px;
  margin: 10px 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tt-manage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: #333333;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.tt-manage-item:last-child {
  border-bottom: none;
}

.tt-manage-item:hover {
  background: #fafafa;
}

.tt-manage-icon {
  font-size: 18px;
}

.tt-manage-text {
  flex: 1;
  font-weight: 500;
}

.tt-manage-arrow {
  color: #cccccc;
  font-weight: 700;
}

.tt-logout-item .tt-manage-text {
  color: #dc2626;
}

/* HIDE DYNAMIC DUPLICATE INLINE BOTTOM NAV BAR IN PROFILE */
.tt-shopee-profile-app .tt-bottom-app-nav-bar {
  display: none !important;
}

/* HIDE TOP NAV PILLS ON MY ACCOUNT DASHBOARD */
.woocommerce-account .tt-account-nav-bar {
  display: none !important;
}

/* Remove non-functional promotional and finance placeholders from the account dashboard. */
.tt-shopee-profile-app .tt-profile-card:has(.tt-promo-circle-grid),
.tt-shopee-profile-app .tt-profile-card:has(.tt-utilities-grid),
.tt-shopee-profile-app .tt-profile-card:has(.tt-finance-scroll-row),
.tt-shopee-profile-app .tt-account-manage-group {
  display: none !important;
}

.woocommerce-account .tt-shopee-profile-app {
  min-height: 0;
  padding-bottom: 0;
}

/* WooCommerce account endpoints rendered as a concise, functional menu. */
.tt-account-menu-section {
  margin: 12px;
  padding-bottom: 12px;
}

.tt-account-menu-heading {
  padding: 4px 4px 10px;
}

.tt-account-menu-heading h2 {
  margin: 0;
  color: #161823;
  font-size: 16px;
  font-weight: 800;
}

.tt-account-menu-heading p {
  margin: 4px 0 0;
  color: #7a7f8c;
  font-size: 12px;
}

.tt-account-menu-list {
  overflow: hidden;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.04);
}

.tt-account-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f2f5;
  color: #20232c;
  text-decoration: none !important;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.tt-account-menu-link:last-child {
  border-bottom: 0;
}

.tt-account-menu-link:hover {
  background: #fff4f6;
  color: #fe2c55;
}

.tt-account-menu-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  background: #fff0f3;
  color: #fe2c55;
  font-size: 18px;
  font-weight: 800;
}

.tt-account-menu-icon::before { content: '•'; }
.tt-account-menu-icon--orders::before { content: '☷'; }
.tt-account-menu-icon--downloads::before { content: '↓'; }
.tt-account-menu-icon--addresses::before { content: '⌖'; }
.tt-account-menu-icon--payments::before { content: '▣'; }
.tt-account-menu-icon--profile::before { content: '◉'; }
.tt-account-menu-icon--logout::before { content: '↪'; }

.tt-account-menu-icon--downloads,
.tt-account-menu-icon--payments { background: #eefaff; color: #0786a4; }

.tt-account-menu-icon--addresses { background: #fff7df; color: #b77900; }

.tt-account-menu-label {
  flex: 1;
  font-size: 14px;
  font-weight: 650;
}

.tt-account-menu-arrow {
  color: #b4bac5;
  font-size: 22px;
  line-height: 1;
}

.tt-account-menu-link.is-logout {
  color: #d92d4d;
}

.tt-account-menu-link.is-logout .tt-account-menu-icon {
  background: #fff0f1;
  color: #d92d4d;
}

/* Clean up login form layout */
.woocommerce-account form.login,
.woocommerce-account form.register {
  max-width: 90% !important;
  margin: 20px auto !important;
  padding: 20px !important;
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* My Account is an app-style, single-column screen. Prevent the parent grid
   from floating its content beside the site footer. */
.woocommerce-account #primary.content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-account #left-sidebar,
.woocommerce-account #right-sidebar {
  display: none !important;
}

.woocommerce-account .tt-traditional-footer {
  clear: both;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   TikTok / Shopee Style Shopping Cart Page
   ============================================ */

/* Hide default page title on Cart page */
.page-id-cart .entry-header,
.woocommerce-cart .entry-header,
.page-id-cart h1.entry-title,
.woocommerce-cart h1.entry-title,
.page-id-cart .page-header,
.woocommerce-cart .page-header {
  display: none !important;
}

.woocommerce-cart .site-content,
.woocommerce-cart .inside-article,
.page-id-cart .site-content,
.page-id-cart .inside-article {
  padding: 0 !important;
  margin: 0 !important;
  background: #f5f5f5 !important;
}

/* Do not repeat the "added to cart" success message on the Cart screen.
   Error notices remain visible when an action needs the shopper's attention. */
.woocommerce-cart .woocommerce-message,
.page-id-cart .woocommerce-message {
  display: none !important;
}

/* Cart is an app-style one-column screen. Do not let the parent theme float
   the content next to a sidebar or leave a second vertical panel. */
.woocommerce-cart #primary.content-area,
.page-id-cart #primary.content-area {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.woocommerce-cart #left-sidebar,
.woocommerce-cart #right-sidebar,
.page-id-cart #left-sidebar,
.page-id-cart #right-sidebar {
  display: none !important;
}

.woocommerce-cart .tt-phone-container,
.page-id-cart .tt-phone-container {
  padding-bottom: 0 !important;
}

.tt-tiktok-cart-app {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 90px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #222222;
  width: 100%;
  box-sizing: border-box;
}

/* Cart now uses the website header. The old hard-coded Cart header is kept
   out of view so its location/Edit placeholder can never appear again. */
.woocommerce-cart .tt-cart-app-header,
.page-id-cart .tt-cart-app-header {
  display: none !important;
}

/* 1. Header Bar */
.tt-cart-app-header {
  background: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid #f1f5f9;
}

.tt-cart-header-back {
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  padding: 4px;
}

.tt-cart-header-center {
  text-align: center;
}

.tt-cart-app-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 0 !important;
  line-height: 1.2;
}

.tt-cart-header-location {
  font-size: 11px;
  color: #777777;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 2px;
}

.tt-cart-header-edit-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  padding: 4px;
}

/* Custom Circular Checkbox */
.tt-custom-checkbox {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.tt-custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.tt-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border: 1.5px solid #cccccc;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.tt-custom-checkbox input:checked ~ .tt-checkmark {
  background-color: #fe2c55;
  border-color: #fe2c55;
}

.tt-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.tt-custom-checkbox input:checked ~ .tt-checkmark:after {
  display: block;
}

.tt-custom-checkbox .tt-checkmark:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 2. Shop Group Card */
.tt-cart-shop-group-card {
  background: #ffffff;
  border-radius: 12px;
  margin: 10px 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tt-cart-shop-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f8fafc;
  margin-bottom: 12px;
}

.tt-cart-shop-name {
  font-size: 14px;
  color: #111111;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tt-shop-chevron {
  color: #888888;
  font-size: 14px;
}

/* Product Item Row */
.tt-cart-product-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.tt-cart-product-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tt-cart-product-row .tt-custom-checkbox {
  margin-top: 28px;
}

.tt-cart-product-row {
  gap: 12px;
}

.tt-cart-product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
}

.tt-cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-cart-product-info {
  flex: 1;
  min-width: 0;
}

.tt-cart-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
  position: relative;
}

.tt-cart-tag-badge {
  background: #fe2c55;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* These are static marketing labels, not product data. */
.tt-cart-tag-badge,
.tt-cart-variant-box,
.tt-cart-bonus-line {
  display: none !important;
}

.tt-cart-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  margin: 0 !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.tt-cart-item-name a {
  color: #222222 !important;
  text-decoration: none !important;
}

.tt-cart-remove-icon {
  color: #aaaaaa;
  font-size: 18px;
  text-decoration: none !important;
  padding: 0 4px;
  line-height: 1;
}

/* Variant Box */
.tt-cart-variant-box {
  background: #f2f2f7;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: #555555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}

/* Price & Stepper Row */
.tt-cart-price-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tt-cart-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.tt-cart-sale-price,
.tt-cart-sale-price .amount {
  font-size: 16px;
  font-weight: 800;
  color: #fe2c55 !important;
}

.tt-cart-regular-price {
  font-size: 11px;
  color: #999999;
  text-decoration: line-through;
}

.tt-cart-discount-badge {
  background: #ffe4e6;
  color: #fe2c55;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Stepper Quantity Control */
.tt-cart-stepper-wrap .quantity {
  display: flex !important;
  align-items: center !important;
  background: #f2f2f7 !important;
  border-radius: 6px !important;
  padding: 2px !important;
  height: 26px !important;
  overflow: hidden !important;
}

.tt-cart-stepper-wrap .quantity input.qty {
  width: 30px !important;
  height: 24px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #111111 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Bonus Line */
.tt-cart-bonus-line {
  font-size: 11px;
  color: #d97706;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* 3. Floating Coupons Pill */
.tt-floating-coupons-pill {
  position: fixed;
  bottom: 66px;
  left: 50%;
  transform: translateX(-195px);
  background: #fff0f3;
  border: 1px solid #ffccd5;
  color: #fe2c55;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.18);
  z-index: 98;
  cursor: pointer;
}

@media (max-width: 430px) {
  .tt-floating-coupons-pill {
    left: 16px;
    transform: none;
  }
}

/* 4. Bottom Sticky Checkout Bar */
.tt-cart-bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
  min-height: 74px;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0f5;
  box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99;
  box-sizing: border-box;
}

.tt-cart-bottom-sticky-bar .tt-bottom-total-wrap {
  margin-left: auto;
}

/* Store-card statistics are read from Theme Options, never from template
   placeholder values. */
.tt-store-sub-stats .tt-star-score,
.tt-store-metrics-row > span:not(.tt-store-config-metric) {
  display: none !important;
}

.tt-store-rating-config {
  color: #f59e0b;
  font-weight: 700;
}

/* Focused category and brand archives, matching the mobile Shop experience. */
.tt-taxonomy-page {
  min-height: 100vh;
  background: #f6f7fb;
  padding: 10px 8px 22px;
}

.tt-taxonomy-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: linear-gradient(125deg, #eef7ff 0%, #f7f5ff 48%, #fff4f6 100%);
  box-shadow: 0 8px 22px rgba(68, 82, 112, 0.08);
}

.tt-taxonomy-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
  color: #fe2c55;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(54, 67, 93, 0.12);
}

.tt-taxonomy-mark i { font-size: 29px; width: 29px; height: 29px; stroke-width: 2; }
.tt-taxonomy-mark img { width: 100%; height: 100%; object-fit: contain; }
.tt-taxonomy-mark span { font-size: 27px; font-weight: 800; }
.tt-taxonomy-page--brand .tt-taxonomy-mark { border-radius: 14px; padding: 8px; }

.tt-taxonomy-copy { min-width: 0; }
.tt-taxonomy-copy p { margin: 0 0 3px; font-size: 11px; color: #778195; font-weight: 600; }
.tt-taxonomy-copy h1 { margin: 0; color: #1c2433; font-size: 20px; line-height: 1.25; font-weight: 800; }
.tt-taxonomy-copy span { display: block; margin-top: 5px; color: #7b8493; font-size: 11px; }

.tt-taxonomy-products { margin-top: 12px; padding: 13px 5px 18px; border-radius: 17px; background: #ffffff; }
.tt-taxonomy-products-heading { padding: 0 8px 10px; }
.tt-taxonomy-products-heading h2 { margin: 0; color: #1e2635; font-size: 16px; font-weight: 800; }
.tt-taxonomy-empty { margin: 10px; padding: 24px 12px; text-align: center; color: #7b8493; background: #f8f9fb; border-radius: 12px; font-size: 13px; }

body, button, input, select, textarea { font-family: 'Plus Jakarta Sans', sans-serif; }

/* TeraWallet customer pages: match the TikPage mobile shop UI. */
body.woocommerce-woo-wallet .entry-header {
  display: none;
}

body.woocommerce-woo-wallet .tt-mobile-account-content {
  padding: 12px;
  background: #f6f7fb;
}

body.woocommerce-woo-wallet .woo-wallet-my-wallet-container {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-woo-wallet .woo-wallet-header {
  padding: 6px 4px 14px;
}

body.woocommerce-woo-wallet .woo-wallet-header h2 {
  margin: 0;
  color: #1d2635;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.woocommerce-woo-wallet .woo-wallet-header p {
  margin: 5px 0 0;
  color: #778195;
  font-size: 12px;
  line-height: 1.55;
}

body.woocommerce-woo-wallet .woo-wallet-top-section {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(47, 56, 79, 0.09);
}

body.woocommerce-woo-wallet .woo-wallet-balance-card {
  padding: 28px 20px 30px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #fe2c55 0%, #ff4f70 52%, #ff7a8d 100%);
}

body.woocommerce-woo-wallet .woo-wallet-balance-card h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

body.woocommerce-woo-wallet .woo-wallet-price {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

body.woocommerce-woo-wallet .woo-wallet-price .woocommerce-Price-currencySymbol {
  margin-left: 3px;
  font-size: 0.52em;
  vertical-align: 0.1em;
}

body.woocommerce-woo-wallet .woo-wallet-nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #ffffff;
}

body.woocommerce-woo-wallet .woo-wallet-nav-item-wrapper {
  min-width: 0;
}

body.woocommerce-woo-wallet .woo-wallet-nav-item-wrapper + .woo-wallet-nav-item-wrapper {
  border-left: 1px solid #eef0f4;
}

body.woocommerce-woo-wallet .woo-wallet-nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 7px;
  padding: 0 8px;
  color: #6f798b;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
}

body.woocommerce-woo-wallet .woo-wallet-nav-tab.active,
body.woocommerce-woo-wallet .woo-wallet-nav-tab:hover {
  color: #fe2c55;
  background: #fff5f7;
  border-bottom-color: #fe2c55;
}

body.woocommerce-woo-wallet .woo-wallet-nav-tab .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

body.woocommerce-woo-wallet .woo-wallet-content-area {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(47, 56, 79, 0.07);
}

body.woocommerce-woo-wallet .woo-wallet-form-wrapper {
  padding: 0;
  border: 0;
  box-shadow: none;
}

body.woocommerce-woo-wallet .woo-wallet-section-title,
body.woocommerce-woo-wallet .ww-txn-title {
  margin: 0 0 15px;
  color: #1d2635;
  font-size: 16px;
  font-weight: 800;
}

body.woocommerce-woo-wallet .woo-wallet-add-amount label {
  display: block;
  margin-bottom: 7px;
  color: #4f596b;
  font-size: 12px;
  font-weight: 700;
}

body.woocommerce-woo-wallet .woo-wallet-balance-to-add {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: #1d2635;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  background: #fafbfc;
  outline: 0;
}

body.woocommerce-woo-wallet .woo-wallet-balance-to-add:focus {
  border-color: #fe2c55;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.12);
}

body.woocommerce-woo-wallet .woo-add-to-wallet {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  color: #ffffff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  border: 0 !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #fe2c55, #ff476b) !important;
  box-shadow: 0 7px 14px rgba(254, 44, 85, 0.22);
  cursor: pointer;
}

body.woocommerce-woo-wallet .woo-add-to-wallet:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

body.woocommerce-woo-wallet .woo-wallet-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

body.woocommerce-woo-wallet .woo-wallet-stat-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  background: #fafbfc;
}

body.woocommerce-woo-wallet .woo-wallet-stat-card__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fe2c55;
  background: #ffe7ec;
}

body.woocommerce-woo-wallet .woo-wallet-stat-card__icon svg {
  width: 17px;
  height: 17px;
}

body.woocommerce-woo-wallet .woo-wallet-stat-card--success .woo-wallet-stat-card__icon { color: #00a66a; background: #e6f8f0; }
body.woocommerce-woo-wallet .woo-wallet-stat-card--danger .woo-wallet-stat-card__icon { color: #fe2c55; background: #ffe7ec; }
body.woocommerce-woo-wallet .woo-wallet-stat-card--neutral .woo-wallet-stat-card__icon { color: #2776db; background: #eaf3ff; }
body.woocommerce-woo-wallet .woo-wallet-stat-card__value { color: #1d2635; font-size: 14px; font-weight: 800; }
body.woocommerce-woo-wallet .woo-wallet-stat-card__label { color: #7b8493; font-size: 11px; font-weight: 650; }

body.woocommerce-woo-wallet .woo-wallet-transactions-list {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fafbfc;
}

body.woocommerce-woo-wallet .ww-txn-title { margin-bottom: 8px; font-size: 14px; }
body.woocommerce-woo-wallet .ww-txn-empty { margin: 0; color: #7b8493; font-size: 12px; }

.tt-bottom-select-all {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tt-select-all-text {
  font-size: 13px;
  color: #444444;
  font-weight: 500;
}

.tt-bottom-total-wrap {
  text-align: right;
  flex: 1;
  min-width: 0;
  margin-right: 10px;
}

.tt-total-price-val,
.tt-total-price-val .amount {
  font-size: 17px;
  font-weight: 800;
  color: #1d2433 !important;
  white-space: nowrap;
}

.tt-bottom-checkout-btn {
  background: #fe2c55 !important;
  border: 0 !important;
  color: #ffffff !important;
  min-width: 126px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1 !important;
  letter-spacing: 0.1px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(254, 44, 85, 0.27);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Use dedicated flex children so inherited typography cannot push the label
   down to the button baseline. */
.tt-cart-bottom-sticky-bar .tt-bottom-checkout-btn {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.tt-cart-bottom-sticky-bar .tt-bottom-checkout-label {
  display: flex !important;
  align-items: center !important;
  height: 48px !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.tt-bottom-checkout-btn:hover {
  transform: translateY(-1px);
  background: #e9274d !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(254, 44, 85, 0.34);
}

.tt-cart-bottom-sticky-bar .tt-bottom-checkout-btn svg {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  transform: translateY(-1px);
}

.tt-bottom-checkout-btn:active {
  transform: translateY(0);
}

@media (max-width: 360px) {
  .tt-bottom-checkout-btn {
    min-width: 106px;
    padding: 0 12px;
  }

  .tt-total-price-val,
  .tt-total-price-val .amount {
    font-size: 15px;
  }
}

/* ============================================
   TikTok Shop Mobile App Style Checkout Modal
   ============================================ */

.tt-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tt-modal-overlay.tt-modal-open {
  opacity: 1;
  visibility: visible;
}

/* Modal Bottom Sheet Frame */
.tt-modal-sheet {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tt-modal-overlay.tt-modal-open .tt-modal-sheet {
  transform: translateY(0);
}

/* Fixed Product Summary Header inside Popup */
.tt-modal-product-summary {
  display: flex;
  gap: 12px;
  padding: 16px 16px 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  background: #ffffff;
  flex-shrink: 0;
}

.tt-summary-thumb-wrap {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.tt-summary-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-summary-info {
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}

.tt-summary-price-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.tt-summary-discount-badge {
  background: #fe2c55;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.tt-summary-sale-price,
.tt-summary-sale-price .amount {
  font-size: 20px;
  font-weight: 800;
  color: #fe2c55 !important;
  line-height: 1;
}

.tt-summary-coupon-icon {
  font-size: 14px;
}

.tt-summary-regular-line {
  margin-bottom: 4px;
}

.tt-summary-regular-price {
  font-size: 12px;
  color: #999999;
  text-decoration: line-through;
}

.tt-summary-freeship-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  margin-bottom: 4px;
}

.tt-summary-variant-selected-text {
  font-size: 12px;
  color: #666666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f2f2f7;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666666;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.tt-modal-close-btn:hover {
  background: #e5e5ea;
  color: #000000;
}

/* Scrollable Middle Body (If content is long, scrollable inside modal) */
.tt-modal-scroll-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  max-height: 52vh;
  box-sizing: border-box;
}

.tt-modal-section {
  margin-bottom: 18px;
}

.tt-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 10px 0 !important;
}

/* Variant Grid Cards (Colors / Products) */
.tt-variant-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tt-variant-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.tt-variant-card.active {
  border: 2px solid #fe2c55;
  background: #fff0f3;
}

.tt-variant-card-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.tt-variant-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-variant-card-label {
  font-size: 12px;
  font-weight: 500;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.tt-variant-card.active .tt-variant-card-label span:first-child {
  color: #fe2c55;
  font-weight: 700;
}

.tt-hot-tag {
  font-size: 10px;
  color: #fe2c55;
  font-weight: 700;
}

/* Variant Pills List (Sizes / Specs) */
.tt-variant-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-variant-pill {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #333333;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-variant-pill.active {
  border-color: #fe2c55;
  color: #fe2c55;
  background: #fff0f3;
  font-weight: 700;
}

/* Quantity Section */
.tt-quantity-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tt-quantity-section .tt-section-title {
  margin-bottom: 0 !important;
}

.tt-modal-stepper {
  display: flex;
  align-items: center;
  background: #f2f2f7;
  border-radius: 8px;
  padding: 2px;
}

.tt-stepper-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tt-modal-qty-input {
  width: 36px;
  height: 32px;
  border: none !important;
  background: transparent !important;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Customer Checkout Form Fields */
.tt-checkout-form-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.tt-modal-field {
  margin-bottom: 12px;
}

.tt-modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #444444;
  margin-bottom: 4px;
}

.tt-modal-field label span {
  color: #fe2c55;
}

.tt-modal-field input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #111111;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.tt-modal-field input:focus {
  background: #ffffff;
  border-color: #fe2c55;
  box-shadow: 0 0 0 2px rgba(254, 44, 85, 0.15);
}

.tt-modal-field input.tt-input-error {
  border-color: #ef4444;
  background: #fef2f2;
}

.tt-modal-error {
  font-size: 11px;
  color: #ef4444;
  margin-top: 2px;
  display: block;
}

.tt-modal-error-msg {
  color: #ef4444;
  font-size: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Fixed Bottom Sticky Action Button */
.tt-modal-bottom-actions {
  padding: 12px 16px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  flex-shrink: 0;
}

.tt-modal-submit-pill {
  width: 100%;
  background: linear-gradient(135deg, #fe2c55 0%, #ee4d2d 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 28px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.32);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tt-modal-submit-pill:hover {
  transform: scale(1.01);
  opacity: 0.96;
}

.tt-modal-submit-price {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.tt-modal-submit-text {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.1;
}

.tt-modal-submit-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.tt-modal-spinner {
  animation: ttSpin 0.8s linear infinite;
}

/* WooCommerce account detail endpoints */
.woocommerce-account .tt-mobile-account-content {
  float: none;
  width: 100%;
}

.woocommerce-account .tt-account-endpoint-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 16px;
  margin: 0 -16px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
  border-bottom: 1px solid #f1e4e8;
}

.woocommerce-account .tt-account-endpoint-back {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin-top: 2px;
  color: #1f1f1f;
  background: #ffffff;
  border: 1px solid #f0dbe1;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(35, 20, 24, .06);
}

.woocommerce-account .tt-account-endpoint-back:hover {
  color: #fe2c55;
  border-color: #fe2c55;
}

.woocommerce-account .tt-account-endpoint-back svg { width: 20px; height: 20px; }
.woocommerce-account .tt-account-endpoint-heading { min-width: 0; }
.woocommerce-account .tt-account-endpoint-heading span {
  display: block;
  margin-bottom: 2px;
  color: #fe2c55;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.woocommerce-account .tt-account-endpoint-heading h1 {
  margin: 0;
  color: #161616;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.woocommerce-account .tt-account-endpoint-heading p {
  margin: 5px 0 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce-account .tt-mobile-account-content > :not(.tt-account-endpoint-header) {
  margin-left: 0;
  margin-right: 0;
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
  margin: 0 0 16px;
  padding: 13px 14px 13px 42px;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .04);
}
.woocommerce-account .woocommerce-info { border-left: 3px solid #38a3ff; }
.woocommerce-account .woocommerce-message { border-left: 3px solid #16a34a; }
.woocommerce-account .woocommerce-error { border-left: 3px solid #fe2c55; }

.woocommerce-account .tt-mobile-account-content form,
.woocommerce-account .tt-mobile-account-content .woocommerce-Addresses address,
.woocommerce-account .tt-mobile-account-content .woocommerce-customer-details address {
  box-sizing: border-box;
  margin: 0 0 16px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(17, 24, 39, .045);
}

.woocommerce-account .tt-mobile-account-content fieldset {
  margin: 18px 0 0;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid #f0f0f0;
}
.woocommerce-account .tt-mobile-account-content legend,
.woocommerce-account .tt-mobile-account-content h2,
.woocommerce-account .tt-mobile-account-content h3 {
  color: #202020;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}
.woocommerce-account .tt-mobile-account-content h2 { margin: 0 0 12px; }
.woocommerce-account .tt-mobile-account-content .form-row { margin: 0 0 14px; }
.woocommerce-account .tt-mobile-account-content .form-row label {
  display: block;
  margin: 0 0 6px;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 650;
}
.woocommerce-account .tt-mobile-account-content input.input-text,
.woocommerce-account .tt-mobile-account-content select,
.woocommerce-account .tt-mobile-account-content textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #18181b;
  font-size: 14px;
  background: #fbfbfc;
  border: 1px solid #dedee3;
  border-radius: 10px;
  box-shadow: none;
}
.woocommerce-account .tt-mobile-account-content textarea { min-height: 100px; resize: vertical; }
.woocommerce-account .tt-mobile-account-content input.input-text:focus,
.woocommerce-account .tt-mobile-account-content select:focus,
.woocommerce-account .tt-mobile-account-content textarea:focus {
  background: #fff;
  border-color: #fe2c55;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, .12);
}

.woocommerce-account .tt-mobile-account-content .button,
.woocommerce-account .tt-mobile-account-content button,
.woocommerce-account .tt-mobile-account-content input[type="submit"] {
  min-height: 42px;
  padding: 10px 16px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  background: #fe2c55 !important;
  border: 1px solid #fe2c55 !important;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(254, 44, 85, .2);
}
.woocommerce-account .tt-mobile-account-content .button:hover,
.woocommerce-account .tt-mobile-account-content button:hover,
.woocommerce-account .tt-mobile-account-content input[type="submit"]:hover { background: #df183f !important; }

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table--order-details,
.woocommerce-account .tt-mobile-account-content table.shop_table {
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  color: #343434;
  font-size: 13px;
  background: #fff;
  border: 1px solid #ececec;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(17, 24, 39, .045);
}
.woocommerce-account .tt-mobile-account-content table.shop_table th {
  padding: 12px 10px;
  color: #646464;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #fafafa;
}
.woocommerce-account .tt-mobile-account-content table.shop_table td {
  padding: 13px 10px;
  vertical-align: middle;
  border-top: 1px solid #f0f0f0;
}
.woocommerce-account .tt-mobile-account-content table.shop_table a:not(.button) {
  color: #d91d43;
  font-weight: 700;
}
.woocommerce-account .tt-mobile-account-content mark.order-status {
  padding: 5px 8px;
  color: #167341;
  font-size: 11px;
  font-weight: 750;
  background: #eaf8ef;
  border-radius: 999px;
}
.woocommerce-account .tt-mobile-account-content .woocommerce-orders-table__cell-order-actions .button {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .woocommerce-account .tt-account-endpoint-header { margin: 0 -12px 14px; padding: 16px 12px 14px; }
  .woocommerce-account .tt-account-endpoint-heading h1 { font-size: 20px; }
  .woocommerce-account .tt-mobile-account-content form { padding: 16px 13px; }
  .woocommerce-account .tt-mobile-account-content table.shop_table { display: block; overflow-x: auto; white-space: nowrap; }
  .woocommerce-account .tt-mobile-account-content .form-row-first,
  .woocommerce-account .tt-mobile-account-content .form-row-last { float: none; width: 100%; }
}

/* Override legacy form rules still bundled with the account layout. */
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm,
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm.edit-account,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields,
.woocommerce-account .tt-mobile-account-content form.woocommerce-form-login {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 18px 16px !important;
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(17, 24, 39, .045) !important;
}
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm .form-row,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields .form-row {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 0 14px !important;
}
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm label,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #3f3f46 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm input,
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm select,
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm textarea,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields input,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields select,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields textarea {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  color: #18181b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  background: #fbfbfc !important;
  border: 1px solid #dedee3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.woocommerce-account .tt-mobile-account-content form.woocommerce-EditAccountForm .show-password-input,
.woocommerce-account .tt-mobile-account-content form.woocommerce-address-fields .select2-selection__arrow {
  width: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Account dashboard: align to the phone shell and keep WooWallet controls usable. */
.woocommerce-account .tt-mobile-account-wrapper,
.woocommerce-account .tt-mobile-account-content {
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.woocommerce-account .tt-mobile-account-content {
  overflow: hidden;
  background: #f5f6fa;
}
.woocommerce-account .tt-woo-account-dashboard {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 0 12px 24px;
  background: #f5f6fa;
}
.woocommerce-account .tt-woo-account-hero {
  order: 1;
  position: relative;
  box-sizing: border-box;
  width: calc(100% + 24px);
  margin: 0 -12px 12px;
  padding: 22px 16px 16px;
}
.woocommerce-account .tt-woo-account-user { padding-right: 78px; }
.woocommerce-account .tt-woo-account-logout {
  position: absolute;
  top: 18px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
}
.woocommerce-account .tt-woo-account-logout:hover { background: rgba(255,255,255,.28); }
.woocommerce-account .tt-woo-wallet-card { margin-top: 16px; }
.woocommerce-account .tt-woo-wallet-balance {
  display: block;
  min-width: 0;
  color: #fff !important;
  text-decoration: none !important;
}
.woocommerce-account .tt-woo-wallet-balance strong,
.woocommerce-account .tt-woo-wallet-balance strong .amount {
  display: inline-flex !important;
  align-items: baseline;
  margin: 0 !important;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
.woocommerce-account .tt-woo-wallet-balance .woocommerce-Price-currencySymbol {
  display: inline !important;
  margin-left: 3px;
  font-size: .76em;
}
.woocommerce-account .tt-woo-wallet-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
}
.woocommerce-account .tt-woo-wallet-history,
.woocommerce-account .tt-woo-topup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  border-radius: 10px;
}
.woocommerce-account .tt-woo-wallet-history {
  color: #fff !important;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
}
.woocommerce-account .tt-woo-topup-btn {
  color: #fe2c55 !important;
  background: #fff !important;
  border: 1px solid #fff !important;
  box-shadow: none !important;
}
.woocommerce-account .tt-woo-account-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  background: #fff;
}
.woocommerce-account .tt-woo-account-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 10px 3px;
  color: #1d2635 !important;
  text-align: center;
  text-decoration: none !important;
  border: 0 !important;
  border-right: 1px solid #eef0f4 !important;
}
.woocommerce-account .tt-woo-account-action:last-child { border-right: 0 !important; }
.woocommerce-account .tt-woo-account-action-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
  border-radius: 12px;
}
.woocommerce-account .tt-woo-account-action > strong {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Inline account tabs and a true edge-to-edge account canvas. */
.woocommerce-account .tt-phone-container,
.woocommerce-account #content,
.woocommerce-account #primary,
.woocommerce-account .site-main,
.woocommerce-account .site-content,
.woocommerce-account .inside-article,
.woocommerce-account .entry-content {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.woocommerce-account .tt-phone-container { padding-bottom: 0 !important; }
.woocommerce-account .tt-mobile-account-wrapper { margin-top: 0 !important; }
.woocommerce-account .tt-woo-account-action.is-active { background: #fff5f7; }
.woocommerce-account .tt-woo-account-action.is-active > strong { color: #e72a50; }
.woocommerce-account .tt-woo-account-dashboard-extras { order: 2; margin: 0 0 12px; }
.woocommerce-account .tt-woo-account-dashboard-extras > :last-child { margin-bottom: 0 !important; }
.woocommerce-account .tt-woo-account-coupons-link { order: 2; margin-top: 0; }
.woocommerce-account .tt-woo-account-actions { order: 3; }
.woocommerce-account .tt-woo-account-tab-content {
  order: 4;
  margin-top: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(30, 41, 59, .05);
}
.woocommerce-account .tt-woo-account-tab-panel { display: none; padding: 16px 13px; }
.woocommerce-account .tt-woo-account-tab-panel.is-active { display: block; }
.woocommerce-account .tt-woo-account-tab-panel > :first-child { margin-top: 0 !important; }
.woocommerce-account .tt-woo-account-tab-panel > :last-child { margin-bottom: 0 !important; }
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-table,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-Addresses,
.woocommerce-account .tt-woo-account-tab-panel form {
  margin-bottom: 0 !important;
}

/* Account order table: calm neutrals with pink reserved for the primary action. */
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table {
  color: #344054;
  border-color: #e4e7ec;
  border-radius: 12px;
  box-shadow: none;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table thead th {
  padding: 11px 9px;
  color: #475467;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  background: #f8fafc;
  border-bottom: 1px solid #e4e7ec;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody td {
  padding: 12px 9px;
  color: #344054;
  background: #ffffff;
  border-color: #eef0f3;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody tr:nth-child(even) td {
  background: #fcfcfd;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-number a {
  color: #344054 !important;
  font-weight: 800;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table mark.order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  color: #9a6700;
  font-size: 10px;
  font-weight: 800;
  background: #fff7d6;
  border: 1px solid #f8e7a3;
  border-radius: 999px;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-actions .button {
  min-height: 31px;
  padding: 7px 10px;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 800;
  background: #fe2c55 !important;
  border-color: #fe2c55 !important;
  border-radius: 8px;
  box-shadow: none;
}

/* Final calm treatment for every cell type, including WooCommerce's order-number <th>. */
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table {
  background: #ffffff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 12px !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table thead th {
  color: #667085 !important;
  background: #f8fafc !important;
  border: 0 !important;
  border-bottom: 1px solid #e7ebf0 !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody th,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody td {
  color: #475467 !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody tr:nth-child(even) th,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody tr:nth-child(even) td {
  background: #fbfcfe !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody tr:last-child th,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-number a,
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-total .amount {
  color: #344054 !important;
  font-weight: 750;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-actions .button {
  min-height: 30px !important;
  padding: 6px 10px !important;
  color: #475467 !important;
  background: #f2f4f7 !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.woocommerce-account .tt-woo-account-tab-panel .woocommerce-orders-table__cell-order-actions .button:hover {
  color: #344054 !important;
  background: #e9edf2 !important;
  border-color: #d7dde5 !important;
}

/* My Account public coupon entry and coupon page. */
.woocommerce-account .tt-woo-account-coupons-link {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 0;
  padding: 13px;
  color: #344054;
  text-decoration: none !important;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 41, 59, .04);
}
.woocommerce-account .tt-woo-account-coupons-icon,
.woocommerce-account .tt-coupons-page-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #9a6700;
  background: #fff7df;
  border-radius: 11px;
}
.woocommerce-account .tt-woo-account-coupons-icon svg,
.woocommerce-account .tt-coupons-page-icon svg { width: 19px; height: 19px; }
.woocommerce-account .tt-woo-account-coupons-link > span:nth-child(2) { min-width: 0; flex: 1; }
.woocommerce-account .tt-woo-account-coupons-link strong,
.woocommerce-account .tt-woo-account-coupons-link small { display: block; }
.woocommerce-account .tt-woo-account-coupons-link strong { color: #344054; font-size: 13px; font-weight: 800; }
.woocommerce-account .tt-woo-account-coupons-link small { margin-top: 2px; color: #7a8495; font-size: 11px; }
.woocommerce-account .tt-woo-account-coupons-link > svg { width: 18px; height: 18px; color: #98a2b3; }

/* Keep the coupon entry evenly spaced between the wallet and account tabs. */
.woocommerce-account .tt-woo-account-hero { margin-bottom: 5px !important; }
.woocommerce-account .tt-woo-account-coupons-link { margin: 0 0 10px !important; }

.woocommerce-account .tt-coupons-page { padding: 2px 0; }
.woocommerce-account .tt-coupons-page-heading { display: flex; align-items: center; gap: 11px; }
.woocommerce-account .tt-coupons-page-heading p { margin: 0 0 2px; color: #9a6700; font-size: 11px; font-weight: 800; }
.woocommerce-account .tt-coupons-page-heading h1 { margin: 0; color: #1d2939; font-size: 21px; font-weight: 800; }
.woocommerce-account .tt-coupons-page-intro { margin: 13px 0 16px; color: #667085; font-size: 12px; line-height: 1.55; }
.woocommerce-account .tt-coupons-list { display: grid; gap: 11px; }
.woocommerce-account .tt-coupon-card { overflow: hidden; background: #ffffff; border: 1px solid #e7eaf0; border-radius: 14px; }
.woocommerce-account .tt-coupon-card-value { padding: 13px 14px 10px; background: linear-gradient(135deg, #fffaf0 0%, #ffffff 88%); border-bottom: 1px dashed #e7eaf0; }
.woocommerce-account .tt-coupon-card-value span { display: block; color: #9a6700; font-size: 16px; font-weight: 800; }
.woocommerce-account .tt-coupon-card-value small { display: block; margin-top: 3px; color: #667085; font-size: 11px; line-height: 1.45; }
.woocommerce-account .tt-coupon-card-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; }
.woocommerce-account .tt-coupon-card-code-row code { overflow: hidden; color: #344054; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.woocommerce-account .tt-coupon-copy-button { min-height: 31px; flex: 0 0 auto; padding: 0 10px; color: #9a6700; font-size: 11px; font-weight: 800; background: #fff7df; border: 1px solid #f5df9c; border-radius: 8px; cursor: pointer; }
.woocommerce-account .tt-coupon-copy-button.is-copied { color: #167341; background: #eaf8ef; border-color: #bce3c8; }
.woocommerce-account .tt-coupon-card-details { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 0 14px 12px; color: #98a2b3; font-size: 10.5px; }
.woocommerce-account .tt-coupon-card-details span::before { content: '•'; margin-right: 4px; color: #d0d5dd; }
.woocommerce-account .tt-coupons-empty { display: grid; place-items: center; gap: 8px; min-height: 150px; color: #98a2b3; text-align: center; background: #fbfcfe; border: 1px dashed #dbe1e9; border-radius: 14px; }
.woocommerce-account .tt-coupons-empty svg { width: 25px; height: 25px; color: #d0a632; }
.woocommerce-account .tt-coupons-empty p { margin: 0; font-size: 12px; }

/* Blog page */
.tt-blog-page { padding: 18px 16px 96px; background: #f7f8fb; }
.tt-blog-hero { margin: -2px -16px 18px; padding: 23px 16px 25px; color: #fff; background: linear-gradient(135deg, #fe2c55 0%, #ff5275 54%, #ff7b63 100%); }
.tt-blog-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #fff; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.tt-blog-eyebrow svg { width: 14px; height: 14px; }
.tt-blog-hero h1 { margin: 12px 0 5px; color: #fff; font-size: 28px; font-weight: 850; letter-spacing: -.03em; }
.tt-blog-hero p { margin: 0; color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.55; }
.tt-blog-archive-description { color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.55; }
.tt-blog-archive-description p { margin: 0; }
.tt-blog-grid { display: grid; gap: 13px; }
.tt-blog-card { display: grid; grid-template-columns: 116px minmax(0,1fr); overflow: hidden; min-height: 139px; background: #fff; border: 1px solid #e9ecf1; border-radius: 15px; box-shadow: 0 4px 14px rgba(30,41,59,.04); }
.tt-blog-card-image { display: block; min-height: 100%; color: #fe2c55; background: #fff0f3; }
.tt-blog-card-image img { width: 100%; height: 100%; min-height: 139px; object-fit: cover; }
.tt-blog-card-placeholder { display: grid; width: 100%; height: 100%; min-height: 139px; place-items: center; background: linear-gradient(145deg, #fff0f3, #ffe4df); }
.tt-blog-card-placeholder svg { width: 30px; height: 30px; }
.tt-blog-card-body { display: flex; min-width: 0; flex-direction: column; padding: 12px 12px 10px; }
.tt-blog-card-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #98a2b3; font-size: 10px; font-weight: 700; }
.tt-blog-card-meta span { overflow: hidden; max-width: 106px; color: #e6284e; text-overflow: ellipsis; white-space: nowrap; }
.tt-blog-card-meta time:before { content: '•'; margin-right: 7px; color: #d0d5dd; }
.tt-blog-card h2 { margin: 0; overflow: hidden; color: #1d2939; font-size: 14px; font-weight: 800; line-height: 1.35; }
.tt-blog-card h2 a { color: inherit; text-decoration: none; }
.tt-blog-card-body > p { display: -webkit-box; margin: 5px 0 8px; overflow: hidden; color: #667085; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tt-blog-read-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; color: #e6284e; font-size: 11px; font-weight: 800; text-decoration: none; }
.tt-blog-read-more svg { width: 13px; height: 13px; }
.tt-blog-pagination { margin: 22px 0 4px; }
.tt-blog-pagination .page-numbers { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tt-blog-pagination .page-numbers a, .tt-blog-pagination .page-numbers span { display: grid; width: 32px; height: 32px; place-items: center; color: #667085; font-size: 12px; font-weight: 750; text-decoration: none; background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; }
.tt-blog-pagination .page-numbers .current { color: #fff; background: #fe2c55; border-color: #fe2c55; }
.tt-blog-empty { display: grid; min-height: 245px; place-content: center; gap: 9px; color: #98a2b3; text-align: center; background: #fff; border: 1px dashed #d9dee7; border-radius: 16px; }
.tt-blog-empty svg { width: 30px; height: 30px; margin: auto; color: #fe2c55; }
.tt-blog-empty h2 { margin: 2px 0 0; color: #344054; font-size: 16px; }
.tt-blog-empty p { margin: 0; font-size: 12px; }
/* Focused product landing pages keep the conversion actions clear. */
.ttshop-product-landing-page .tt-cart-circle-btn.is-disabled,
.ttshop-product-landing-page .tt-cart-circle-btn:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.ttshop-product-landing-page .tt-detail-tab[data-target="sec-suggestions"] {
  display: none;
}

/* Landing mode retains the familiar home search header, but it is display-only. */
.ttshop-product-landing-page .tt-detail-header .tt-header-top-bar {
  pointer-events: none;
}

/* Product-specific editorial image story, positioned above the trust bar. */
.tt-product-image-story { width: calc(100% - 24px); max-width: 620px; margin: 24px auto 16px; overflow: hidden; background: #fff; border: 1px solid #e7eaf0; border-radius: 14px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); }
.tt-product-image-story-title { margin: 0; padding: 14px 14px 11px; color: #172033; font-size: 16px; font-weight: 800; line-height: 1.35; text-align: center; }
.tt-product-image-story-track { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tt-product-image-story-track::-webkit-scrollbar { display: none; }
.tt-product-image-story-slide { min-width: 100%; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; scroll-snap-align: start; background: #f3f5f8; border-radius: 10px; }
.tt-product-image-story-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tt-product-image-story-footer { padding: 0 14px 14px; color: #667085; font-size: 13px; line-height: 1.5; text-align: center; }

/* Product reassurance strip displayed directly before the footer. */
.tt-product-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: 620px;
  min-height: 68px;
  margin: 20px auto 14px;
  padding: 11px 13px;
  color: #3b4452;
  font-family: inherit;
  text-align: left;
  background: #f7f8fa;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  cursor: pointer;
}
.tt-product-trust-bar:hover { background: #f1f4f7; border-color: #dce2e9; }
.tt-product-trust-bar:focus-visible { outline: 3px solid rgba(254, 44, 85, .28); outline-offset: 2px; }
.tt-product-trust-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: #3b4452;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.tt-product-trust-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
}
.tt-product-trust-icon svg { width: 27px; height: 27px; }
.tt-product-trust-item--payment .tt-product-trust-icon { color: #f4b400; }
.tt-product-trust-item--return .tt-product-trust-icon { color: #16a05d; }
.tt-product-trust-item--support .tt-product-trust-icon { color: #fe2c55; }
.tt-product-trust-divider {
  display: grid;
  width: 13px;
  flex: 0 0 13px;
  place-items: center;
  color: #a8b0bd;
}
.tt-product-trust-divider svg { width: 16px; height: 16px; }
@media (max-width: 390px) {
  .tt-product-trust-bar { gap: 6px; padding-right: 8px; padding-left: 8px; }
  .tt-product-trust-item { gap: 5px; font-size: 12px; }
  .tt-product-trust-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .tt-product-trust-icon svg { width: 23px; height: 23px; }
  .tt-product-trust-divider { width: 8px; flex-basis: 8px; }
  .tt-product-trust-divider svg { width: 12px; height: 12px; }
}

/* Purchase-policy bottom sheet. */
.tt-product-policy-modal { position: fixed; z-index: 100100; inset: 0; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.tt-product-policy-modal.is-open { visibility: visible; opacity: 1; }
.tt-product-policy-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); }
.tt-product-policy-sheet { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 430px; max-height: min(82vh, 620px); overflow: auto; background: #fff; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .25s ease; }
.tt-product-policy-modal.is-open .tt-product-policy-sheet { transform: translateY(0); }
.tt-product-policy-header { position: sticky; z-index: 1; top: 0; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 64px; background: #fff; border-bottom: 1px solid #e6e8ec; }
.tt-product-policy-header h2 { grid-column: 2; margin: 0; color: #151b28; font-size: 19px; font-weight: 800; text-align: center; }
.tt-product-policy-close { display: grid; width: 44px; height: 44px; grid-column: 1; grid-row: 1; place-items: center; padding: 0; color: #1f2937; background: transparent; border: 0; cursor: pointer; }
.tt-product-policy-close svg { width: 27px; height: 27px; }
.tt-product-policy-content { display: grid; gap: 23px; padding: 24px 27px 34px; }
.tt-product-policy-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; align-items: start; }
.tt-product-policy-icon { display: grid; width: 34px; height: 34px; place-items: center; }
.tt-product-policy-icon svg { width: 30px; height: 30px; }
.tt-product-policy-item--return .tt-product-policy-icon { color: #16a05d; }
.tt-product-policy-item--quality .tt-product-policy-icon { color: #2563eb; }
.tt-product-policy-item--support .tt-product-policy-icon { color: #fe2c55; }
.tt-product-policy-item h3 { margin: 0 0 3px; color: #111827; font-size: 16px; font-weight: 800; line-height: 1.35; }
.tt-product-policy-item p { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.52; }
body.tt-product-policy-modal-open { overflow: hidden; }

/* SePay: keep order details calm and legible, rather than using the storefront's red table treatment. */
body.sepay-payment-page .woocommerce-order-details { margin: 8px 12px 20px !important; }
body.sepay-payment-page .woocommerce-order-details__title {
  margin: 0 0 12px !important;
  color: #1f2937 !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -.02em;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table {
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table thead th {
  padding: 11px 14px !important;
  color: #667085 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .045em !important;
  background: #f8fafc !important;
  border: 0 !important;
  border-bottom: 1px solid #e4e7ec !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table tbody td {
  padding: 13px 14px !important;
  color: #344054 !important;
  background: #fff !important;
  border-color: #edf0f3 !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table .product-total,
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot td {
  width: 36% !important;
  min-width: 128px !important;
  word-break: normal !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table .woocommerce-Price-amount,
body.sepay-payment-page .woocommerce-order-details table.shop_table .woocommerce-Price-amount bdi,
body.sepay-payment-page .woocommerce-order-details table.shop_table .woocommerce-Price-currencySymbol {
  display: inline-flex !important;
  align-items: baseline;
  white-space: nowrap !important;
  word-break: keep-all !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table .woocommerce-Price-currencySymbol {
  margin-left: 2px;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot th,
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot td {
  padding: 12px 14px !important;
  font-size: 12px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #edf0f3 !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot th {
  color: #667085 !important;
  font-weight: 700 !important;
  background: #fafbfc !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot td {
  color: #344054 !important;
  font-weight: 650 !important;
  background: #fff !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.sepay-payment-page .woocommerce-order-details table.shop_table tfoot tr:last-child td {
  border-bottom: 0 !important;
}
body.sepay-payment-page .woocommerce-order-details table.shop_table .order-total th,
body.sepay-payment-page .woocommerce-order-details table.shop_table .order-total td {
  color: #be123c !important;
  font-weight: 800 !important;
  background: #fff7f8 !important;
}

/* Optional product benefits placed directly over the gallery image. */
.tt-product-image-tags {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  max-width: calc(100% - 74px);
  pointer-events: none;
}
.tt-product-image-tag {
  display: flex;
  min-width: 70px;
  min-height: 40px;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  padding: 5px 8px;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .2);
}
.tt-product-image-tag strong { font-size: 12px; font-weight: 850; line-height: 1.05; }
.tt-product-image-tag small { margin-top: 2px; font-size: 10px; font-weight: 750; line-height: 1.1; white-space: nowrap; }
.tt-product-image-tag--freeship { background: #08a9a0; }
.tt-product-image-tag--voucher { background: #00a868; }
.tt-product-image-tag--cashback { color: #3a2a00; background: #f8cd3b; }
@media (max-width: 390px) {
  .tt-product-image-tags { bottom: 8px; left: 8px; gap: 4px; }
  .tt-product-image-tag { min-width: 61px; min-height: 36px; padding: 4px 5px; }
  .tt-product-image-tag strong { font-size: 10px; }
  .tt-product-image-tag small { font-size: 8.5px; }
}

/* Joined offer ribbons: locked flush to the bottom-left image edge. */
.tt-product-image-tags,
.tt-product-card-image-tags {
  right: auto;
  bottom: 0;
  left: 0;
  gap: 0;
  max-width: none;
}
.tt-product-image-tag,
.tt-product-card-image-tag {
  position: relative;
  margin: 0;
  border-radius: 0;
  isolation: isolate;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    calc(100% - 16px) 1px,
    calc(100% - 13px) 3px,
    calc(100% - 11px) 6px,
    calc(100% - 10px) 10px,
    100% 100%,
    0 100%
  );
}
.tt-product-image-tag + .tt-product-image-tag,
.tt-product-card-image-tag + .tt-product-card-image-tag {
  margin-left: -20px;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    calc(100% - 16px) 1px,
    calc(100% - 13px) 3px,
    calc(100% - 11px) 6px,
    calc(100% - 10px) 10px,
    100% 100%,
    9px 100%
  );
}
.tt-product-image-tag:last-child,
.tt-product-card-image-tag:last-child {
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    calc(100% - 16px) 1px,
    calc(100% - 13px) 3px,
    calc(100% - 11px) 6px,
    calc(100% - 10px) 10px,
    100% 100%,
    0 100%
  );
}

/* Keep the review popup close control clean: icon only, without a filled circle. */
.tikcore-reviews-modal-sheet header button[data-tikcore-reviews-close] {
  background: transparent;
  border-radius: 0;
}
.tt-product-image-tag:nth-child(1),
.tt-product-card-image-tag:nth-child(1) { z-index: 3; }
.tt-product-image-tag:nth-child(2),
.tt-product-card-image-tag:nth-child(2) { z-index: 2; }
.tt-product-image-tag:nth-child(3),
.tt-product-card-image-tag:nth-child(3) { z-index: 1; }
.tt-product-image-tag {
  min-width: 84px;
  padding-right: 12px;
  padding-left: 12px;
  box-shadow: none;
}
.tt-product-card-image-tag {
  width: 52px;
  min-width: 52px;
  flex: 0 0 52px;
  padding-right: 5px;
  padding-left: 5px;
  box-shadow: none;
}
.tt-product-card-image-tag strong { font-size: 6.75px; line-height: 1; }
.tt-product-card-image-tag small { margin-top: 1px; font-size: 6.25px; line-height: 1; }
@media (max-width: 390px) {
  .tt-product-image-tags { bottom: 0; left: 0; gap: 0; }
  .tt-product-image-tag { min-width: 70px; padding-right: 9px; padding-left: 9px; }
  .tt-product-card-image-tag { width: 46px; min-width: 46px; flex-basis: 46px; }
}
