/*
Theme Name: Treasure Game Box Child Theme
Theme URI: https://treasuregamebox.com
Description: Premium dark fantasy/gaming child theme for Treasure Game Box.
Author: Antigravity AI
Version: 1.4.2
Template: hello-elementor
*/

/* ==========================================================================
   🎮 CORE DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* Brand CI Color System */
  --brand-navy: #2B2D7D;
  --brand-magenta: #E23DD5;
  --brand-gold: #FFBB05;
  --brand-amber: #F59E0B;
  --brand-cyan: #00C7CC;
  --brand-cyan-hover: #00e0e6;
  --brand-purple: #2B2D7D;
  --brand-purple-light: #5B51D8;

  --brand-gradient: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%);
  --brand-accent-bar: linear-gradient(90deg, #00C7CC 0%, #2B2D7D 35%, #E23DD5 70%, #FFBB05 100%);

  --bg-space: #08041C;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #FFFFFF;

  --text-primary: #FFFFFF;
  --text-dark: #2B2D7D;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;

  /* TGB Light Surface Tokens (Checkout, Cart, Modals, Forms) */
  --surface-light-bg: #FFFFFF;
  --surface-light-subtle: #F8FAFC;
  --surface-light-border: #E2E8F0;
  --surface-light-title: #1E1B4B;
  --surface-light-body: #1E293B;
  --surface-light-desc: #475569;
  --surface-light-muted: #64748B;

  --border-glass: #E2E8F0;
  --border-radius-lg: 18px;
  --border-radius-md: 14px;
  --border-radius-sm: 8px;

  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 28px rgba(43, 45, 125, 0.12);
  --shadow-btn: 0 4px 14px rgba(226, 61, 213, 0.35);
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  background-color: var(--bg-space) !important;
  color: var(--text-primary) !important;
  background-image: 
    radial-gradient(circle at top right, rgba(122, 64, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(0, 199, 204, 0.08) 0%, transparent 45%) !important;
  background-attachment: fixed !important;
}

/* Restrict site custom logo dimensions to fit in the header */
.custom-logo,
.custom-logo-link img,
.site-header img,
.site-logo img,
.header-logo img,
a.custom-logo-link img {
  max-height: 48px !important;
  width: auto !important;
  display: inline-block !important;
}

/* ==========================================================================
   🏷️ HEADER LOGO "BETA" OUTLINE PILL BADGE
   ========================================================================== */
.elementor-element-3abdf85 a,
.custom-logo-link,
.site-branding a,
.site-header .site-logo a,
#masthead a.e-image-link-base,
.tgb-header-section a.e-image-link-base {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

.tgb-beta-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5px 7.5px !important;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.6px !important;
  color: #00C7CC !important;
  border: 1.2px solid rgba(0, 199, 204, 0.65) !important;
  background: rgba(0, 199, 204, 0.08) !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 8px rgba(0, 199, 204, 0.18) !important;
  user-select: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

.tgb-beta-pill:hover {
  border-color: #00C7CC !important;
  background: rgba(0, 199, 204, 0.16) !important;
  box-shadow: 0 0 12px rgba(0, 199, 204, 0.35) !important;
}

@media (max-width: 767px) {
  .elementor-element-3abdf85 a,
  .custom-logo-link {
    gap: 5px !important;
  }
  .tgb-beta-pill {
    font-size: 9px !important;
    padding: 1px 5.5px !important;
    letter-spacing: 0.4px !important;
  }
}

/* Page Containers Override (Removes white container blocks of standard themes) */
#primary, 
#content, 
.site-content, 
.site-main, 
.post-content, 
.entry-content, 
.page-content, 
.woocommerce-content, 
article {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6, .entry-title {
  color: var(--text-primary) !important;
  font-weight: 850 !important;
  letter-spacing: -0.5px !important;
}

/* ==========================================================================
   🛒 WOOCOMMERCE PRODUCT CARDS & LOOP STYLING
   ========================================================================== */
.woocommerce ul.products li.product {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  transition: all 0.3s ease !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px) !important;
  border-color: var(--brand-purple) !important;
  box-shadow: 0 8px 25px rgba(93, 72, 211, 0.25), var(--glow-purple) !important;
}

/* Card Thumbnail */
.woocommerce ul.products li.product img {
  border-radius: var(--border-radius-md) !important;
  background-color: var(--bg-input) !important;
  padding: 8px !important;
  margin-bottom: 12px !important;
}

/* Card Titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

/* Card Prices */
.woocommerce ul.products li.product .price,
.woocommerce .product .price {
  color: #ffffff !important;
  font-weight: 850 !important;
  font-size: 1.15rem !important;
  margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .price ins,
.woocommerce .product .price ins {
  color: var(--brand-cyan) !important;
  text-decoration: none !important;
  font-weight: 850 !important;
}
.woocommerce ul.products li.product .price del,
.woocommerce .product .price del {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.9rem !important;
  margin-right: 6px !important;
}

/* Card Add-To-Cart Buttons */
.woocommerce ul.products li.product .button,
.woocommerce .button.alt,
.woocommerce #respond input#submit {
  background: var(--brand-purple) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
  font-weight: 750 !important;
  font-size: 0.85rem !important;
  border: 1px solid var(--border-glass) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce .button.alt:hover,
.woocommerce #respond input#submit:hover {
  background: var(--brand-purple-light) !important;
  box-shadow: var(--glow-purple) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   🔑 FORM FIELDS & INPUTS OVERRIDES (Dark Form theme)
   ========================================================================== */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row select, 
.woocommerce form .form-row textarea,
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"], 
select, 
textarea {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--border-glass) !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 10px 14px !important;
  transition: all 0.3s ease !important;
}
input[type="text"]::placeholder, 
input[type="email"]::placeholder, 
input[type="tel"]::placeholder, 
input[type="password"]::placeholder, 
textarea::placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  opacity: 1 !important;
}
input:disabled,
input[disabled] {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  background-color: #F8FAFC !important;
  opacity: 1 !important;
  -webkit-opacity: 1 !important;
}
.woocommerce form .form-row input.input-text:focus,
input[type="text"]:focus, 
select:focus,
textarea:focus {
  border-color: var(--brand-cyan) !important;
  box-shadow: var(--glow-cyan) !important;
  outline: none !important;
}

/* ==========================================================================
   👤 USER MY ACCOUNT DASHBOARD
   ========================================================================== */
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
}
.woocommerce-MyAccount-navigation li a {
  display: block !important;
  padding: 12px 18px !important;
  border-radius: var(--border-radius-md) !important;
  background: var(--bg-card) !important;
  color: var(--text-secondary) !important;
  font-weight: 750 !important;
  margin-bottom: 8px !important;
  border: 1px solid var(--border-glass) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.woocommerce-MyAccount-navigation li:hover a,
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--brand-purple) !important;
  color: #ffffff !important;
  box-shadow: var(--glow-purple) !important;
  border-color: var(--brand-purple-light) !important;
}

/* Account Content Wrapper */
.woocommerce-MyAccount-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* Tables (My Account Orders List) */
.shop_table.my_account_orders {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--border-radius-lg) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}
.shop_table.my_account_orders th {
  background: var(--bg-input) !important;
  color: var(--text-primary) !important;
  font-weight: 750 !important;
  border-bottom: 1px solid var(--border-glass) !important;
  padding: 14px 16px !important;
}
.shop_table.my_account_orders td {
  border-bottom: 1px solid var(--border-glass) !important;
  color: var(--text-secondary) !important;
  padding: 14px 16px !important;
}
.shop_table.my_account_orders tr:last-child td {
  border-bottom: none !important;
}

/* ==========================================================================
   📦 CUSTOM PRE-ORDER TIMELINE TRACKER STYLING
   ========================================================================== */
.preorder-progress-wrapper {
  margin-top: 30px;
  width: 100%;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-glass);
  box-sizing: border-box;
}
.preorder-eta {
  font-size: 0.9rem;
  color: #fbbf24; /* Amber/gold */
  font-weight: 800;
  margin-bottom: 20px;
}
.preorder-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
  padding-bottom: 10px;
}
.preorder-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.preorder-timeline-progress {
  position: absolute;
  top: 10px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple-light) 0%, var(--brand-cyan) 100%);
  z-index: 2;
  transition: width 0.6s ease;
}
.preorder-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100px;
  text-align: center;
}
.preorder-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 4px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.preorder-step.completed .preorder-step-dot {
  background: var(--brand-purple);
  border-color: var(--brand-purple-light);
  box-shadow: var(--glow-purple);
}
.preorder-step.active .preorder-step-dot {
  background: var(--brand-cyan);
  border-color: #ffffff;
  box-shadow: var(--glow-cyan), 0 0 0 4px rgba(0, 199, 204, 0.2);
  transform: scale(1.2);
}
.preorder-step-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-secondary);
  line-height: 1.3;
}
.preorder-step.active .preorder-step-lbl {
  color: var(--brand-cyan);
  text-shadow: 0 0 10px rgba(0, 199, 204, 0.2);
}

@media (max-width: 768px) {
  .preorder-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 20px;
  }
  .preorder-timeline::before {
    top: 0;
    left: 10px;
    width: 4px;
    height: 100%;
  }
  .preorder-timeline-progress {
    top: 0;
    left: 10px;
    width: 4px;
    height: 0;
  }
  .preorder-step {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: auto;
    text-align: left;
  }
  .preorder-step-dot {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   🔔 HEADER UTILITIES (Language Switcher & Cart Buttons)
   ========================================================================== */
.lang-toggle-btn,
.cart-btn-original {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(140, 82, 255, 0.15) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.lang-toggle-btn:hover,
.cart-btn-original:hover {
  background: rgba(122, 64, 255, 0.2) !important;
  border-color: #00C7CC !important;
  box-shadow: 0 0 15px rgba(0, 199, 204, 0.45) !important;
  color: #00C7CC !important;
}

.lang-toggle-btn {
  font-size: 0.85rem !important;
  font-weight: 850 !important;
  font-family: 'Outfit', sans-serif !important;
  cursor: pointer !important;
  line-height: 15px !important;
}

.cart-btn-original svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
}

/* Desktop accordion defaults (always visible, no chevron) */
.tracker-container .tracker-chevron-icon {
  display: none !important;
}
.tracker-container .tracker-mobile-status {
  display: none !important;
}
.tracker-collapsible-body {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  width: 100% !important;
}

.preorder-timeline.compact-bar {
  margin: 0 !important;
}
.preorder-timeline.compact-bar::before {
  top: 10px !important;
  height: 3px !important;
}
.preorder-timeline.compact-bar .preorder-timeline-progress {
  top: 10px !important;
  height: 3px !important;
}
.preorder-timeline.compact-bar .preorder-step {
  width: 90px !important;
}
.preorder-timeline.compact-bar .preorder-step-dot {
  width: 20px !important;
  height: 20px !important;
  border-width: 3px !important;
  margin-bottom: 8px !important;
  font-size: 0.65rem !important;
}
.preorder-timeline.compact-bar .preorder-step.active .preorder-step-dot {
  transform: scale(1.15) !important;
  box-shadow: 0 0 10px rgba(0, 199, 204, 0.5), 0 0 0 3px rgba(0, 199, 204, 0.2) !important;
}
.preorder-timeline.compact-bar .preorder-step-lbl {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.preorder-timeline.compact-bar .step-emoji {
  font-size: 0.95rem !important;
  margin-bottom: 2px !important;
}

.tracker-container {
  height: auto !important;
  min-height: auto !important;
}

@media (max-width: 992px) {
  .tracker-container.compact-row {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important; /* Closed state has no gaps */
    flex: none !important;
    height: auto !important;
    min-height: auto !important;
    max-width: 450px !important;
    margin: 0 auto 12px auto !important; /* Stack cards with clean bottom spacing */
    padding: 12px 16px !important; /* Tighter padding for collapsed row */
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  .tracker-container .tracker-chevron-icon {
    display: block !important;
  }
  
  /* Compact flex row for mobile status labels and icons */
  .tracker-container .tracker-mobile-status {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 4px !important;
  }
  
  /* Shrink massive emoji flags / WordPress Twemoji images */
  .tracker-container .tracker-mobile-status img.emoji {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  .tracker-container .tracker-mobile-status span {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    vertical-align: middle !important;
  }

  /* Compact Collapsed Info Row on Mobile */
  .tracker-info-col {
    flex-direction: row !important; /* Keep cover art and title side-by-side */
    align-items: center !important;
    text-align: left !important;
    max-width: 100% !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
  }
  
  .tracker-info-col img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }

  /* Bigger game name h3 on mobile */
  .tracker-info-col h3 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }
  
  .tracker-eta-col {
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
  }

  /* Accordion Collapsible Body (Hidden by default on mobile) */
  .tracker-collapsible-body {
    display: block !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s linear !important;
    width: 100% !important;
  }

  /* Expanded Accordion Card State */
  .tracker-container.expanded {
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  
  .tracker-container.expanded .tracker-collapsible-body {
    max-height: 1500px !important;
    opacity: 1 !important;
    border-top: 1px solid rgba(140, 82, 255, 0.1) !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
  }
  
  .tracker-container.expanded .tracker-chevron-icon {
    transform: rotate(180deg) !important;
  }

  /* Compact Vertical Timeline (Expanded Mobile View) */
  .preorder-timeline.compact-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding-left: 15px !important;
    margin: 15px 0 5px 0 !important;
    position: relative !important;
    width: 100% !important;
    display: flex !important;
  }
  
  /* Vertical Line placement */
  .preorder-timeline.compact-bar::before {
    top: 10px !important;
    left: 24px !important; /* Centered under the 16px dots */
    width: 2px !important;
    height: calc(100% - 20px) !important;
  }
  
  .preorder-timeline.compact-bar .preorder-timeline-progress {
    top: 10px !important;
    left: 24px !important;
    width: 2px !important;
    height: inherit !important;
  }

  /* Vertical Step Row */
  .preorder-timeline.compact-bar .preorder-step {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    height: 26px !important;
    text-align: left !important;
    position: relative !important;
  }

  /* 16px Dots for vertical steps */
  .preorder-timeline.compact-bar .preorder-step-dot {
    margin-bottom: 0 !important;
    width: 16px !important;
    height: 16px !important;
    border-width: 2.5px !important;
    font-size: 0.6rem !important;
    flex-shrink: 0 !important;
    z-index: 5 !important;
  }
  
  .preorder-timeline.compact-bar .preorder-step.active .preorder-step-dot {
    transform: scale(1.15) !important;
    box-shadow: 0 0 8px rgba(0, 199, 204, 0.5), 0 0 0 2.5px rgba(0, 199, 204, 0.2) !important;
  }
  
  /* Milestone Text Labels aligned next to dots */
  .preorder-timeline.compact-bar .preorder-step-lbl {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
  }
  
  .preorder-timeline.compact-bar .step-emoji {
    display: inline !important;
    font-size: 0.85rem !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .preorder-timeline.compact-bar .step-text {
    display: inline !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #A09BB9 !important;
    line-height: 1 !important;
  }

  /* Highlight active vertical status */
  .preorder-timeline.compact-bar .preorder-step.active .step-text {
    color: #00C7CC !important;
    text-shadow: 0 0 8px rgba(0, 199, 204, 0.2) !important;
  }
}

/* ==========================================================================
   🍔 MOBILE HEADER NAVIGATION & HAMBURGER STYLING
   ========================================================================== */
/* Force Hamburger & Close Icon to be White */
.hfe-menu-toggle,
.hfe-nav-menu__toggle,
.elementor-menu-toggle,
.hfe-menu-toggle-button {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.hfe-menu-toggle svg,
.hfe-nav-menu__toggle svg,
.elementor-menu-toggle svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.hfe-menu-toggle i,
.hfe-nav-menu__toggle i,
.elementor-menu-toggle i,
.hfe-menu-toggle__icon {
  color: #ffffff !important;
}

/* Fix Focus/Active default outlines */
.hfe-menu-toggle:focus,
.hfe-nav-menu__toggle:focus,
.elementor-menu-toggle:focus {
  outline: none !important;
}

/* Style Mobile Dropdown Menu (Widescreen space theme) */
.hfe-nav-menu__dropdown,
.hfe-nav-menu__dropdown-col,
.hfe-nav-menu__container.hfe-nav-menu__dropdown,
.elementor-navigation-mobile {
  background-color: #08041c !important; /* Premium solid dark navy background */
  border: 1px solid rgba(140, 82, 255, 0.25) !important; /* Glowing violet border */
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
  padding: 10px 0 !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}

/* Style Dropdown list item links */
.hfe-nav-menu__dropdown li,
.hfe-nav-menu__dropdown li a,
.elementor-navigation-mobile li a {
  background-color: transparent !important;
  color: #ffffff !important; /* Crisp white text */
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 14px 20px !important; /* Premium clean spacing */
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  border: none !important;
  text-decoration: none !important;
}

/* Dropdown list items Hover & Current Active states */
.hfe-nav-menu__dropdown li a:hover,
.hfe-nav-menu__dropdown li a:focus,
.hfe-nav-menu__dropdown li.current-menu-item a,
.elementor-navigation-mobile li a:hover,
.elementor-navigation-mobile li.current-menu-item a {
  background-color: rgba(122, 64, 255, 0.15) !important; /* Glowing purple hover back */
  color: #00C7CC !important; /* Glowing cyan active text */
}

/* Adjust inline icon spacing if they use them in menu items */
.hfe-nav-menu__dropdown li a i,
.elementor-navigation-mobile li a i {
  margin-right: 8px !important;
  color: #8C52FF !important;
}



/* ==========================================================================
   🔑 PRE-ORDER SEARCH LOOKUP FORM GLOW & AUTHENTICATION STYLING
   ========================================================================== */
.preorder-search-form input[type="text"],
.preorder-search-form input[type="tel"],
.preorder-phone-input {
  width: 100% !important;
  padding: 14px 20px !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(140, 82, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-family: 'Outfit', sans-serif !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}

.preorder-search-form input[type="text"]:focus,
.preorder-search-form input[type="tel"]:focus,
.preorder-phone-input:focus {
  border-color: #00C7CC !important;
  box-shadow: 0 0 15px rgba(0, 199, 204, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.preorder-search-submit {
  transition: all 0.3s ease !important;
}

.preorder-search-submit:hover {
  box-shadow: 0 0 20px rgba(140, 82, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

.preorder-search-submit:active {
  transform: translateY(1px) !important;
}

.tgb-preorder-btn-sec {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  background: rgba(140, 82, 255, 0.12) !important;
  border: 1px solid rgba(140, 82, 255, 0.3) !important;
  color: #00C7CC !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  font-family: 'Outfit', sans-serif !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
}

.tgb-preorder-btn-sec:hover {
  background: rgba(140, 82, 255, 0.25) !important;
  border-color: #00C7CC !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(0, 199, 204, 0.3) !important;
  transform: translateY(-1px) !important;
}

.tgb-preorder-btn-sec:active {
  transform: translateY(1px) !important;
}

.preorder-account-badge {
  backdrop-filter: blur(10px) !important;
}

.preorder-link-phone-card {
  backdrop-filter: blur(10px) !important;
}

@media (max-width: 600px) {
  .preorder-account-badge {
    padding: 14px 16px !important;
  }
  .preorder-link-phone-card {
    padding: 24px 16px !important;
  }
}

/* ==========================================================================
   📦 COLLAPSIBLE ITEMS ORDERED DROPDOWN
   ========================================================================== */
.tracker-items-dropdown summary::-webkit-details-marker {
  display: none !important;
}
.tracker-items-dropdown summary {
  list-style: none !important;
}
.tracker-items-dropdown summary:focus {
  outline: none !important;
}
.tracker-items-dropdown[open] .summary-arrow {
  transform: rotate(180deg) !important;
}

/* ==========================================================================
   ⚡️ MOBILE HEADER ORDER REARRANGEMENT (Only affects mobile screens)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Force the main header container to display as a single nowrap flex line */
  [class*="tgb-header-section"],
  [class*="tgb-header-section"] .elementor-container,
  [class*="tgb-header-section"] .elementor-row,
  [class*="tgb-header-section"] .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
  }

  /* Rearrange elements order: [Hamburger (Left)] [Logo (Center)] [Buttons (Right)] */

  /* Col 1: Logo wrapper (Move to CENTER, order 2) */
  [class*="tgb-header-section"] .elementor-column:has(img),
  [class*="tgb-header-section"] > .e-con:has(img),
  [class*="tgb-header-section"] .e-con-inner > .e-con:has(img) {
    order: 2 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Center the logo image inside its inner container wrappers */
  [class*="tgb-header-section"] .elementor-column:has(img) .elementor-widget-wrap,
  [class*="tgb-header-section"] .e-con:has(img) .e-con-inner,
  [class*="tgb-header-section"] .e-con:has(img) > .elementor-widget-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Col 2: Navigation Menu Toggle (Move to LEFT, order 1) */
  [class*="tgb-header-section"] .elementor-column:has(.hfe-menu-toggle),
  [class*="tgb-header-section"] .elementor-column:has(.hfe-nav-menu),
  [class*="tgb-header-section"] > .e-con:has(.hfe-menu-toggle),
  [class*="tgb-header-section"] > .e-con:has(.hfe-nav-menu),
  [class*="tgb-header-section"] .e-con-inner > .e-con:has(.hfe-menu-toggle),
  [class*="tgb-header-section"] .e-con-inner > .e-con:has(.hfe-nav-menu) {
    order: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  /* Col 3: Language Switcher & Cart Buttons (Keep on RIGHT, order 3) */
  [class*="tgb-header-section"] .elementor-column:has(.lang-toggle-btn),
  [class*="tgb-header-section"] .elementor-column:has(.cart-btn-original),
  [class*="tgb-header-section"] > .e-con:has(.lang-toggle-btn),
  [class*="tgb-header-section"] > .e-con:has(.cart-btn-original),
  [class*="tgb-header-section"] .e-con-inner > .e-con:has(.lang-toggle-btn),
  [class*="tgb-header-section"] .e-con-inner > .e-con:has(.cart-btn-original) {
    order: 3 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  /* Force the switcher and cart button inside Column 3 to align horizontally side-by-side */
  [class*="tgb-header-section"] .elementor-column:has(.lang-toggle-btn) .elementor-widget-wrap,
  [class*="tgb-header-section"] .e-con:has(.lang-toggle-btn) .e-con-inner,
  [class*="tgb-header-section"] .e-con:has(.lang-toggle-btn) > .elementor-widget-wrap,
  [class*="tgb-header-section"] .e-con:has(.cart-btn-original) .e-con-inner,
  [class*="tgb-header-section"] .e-con:has(.cart-btn-original) > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Keep header logo graphic sized correctly to avoid wrapping */
  [class*="tgb-header-section"] img {
    max-width: 90px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

/* ==========================================================================
   📱 PRE-ORDER TRACKER MOBILE LAYOUT WRAPPER (Prevents Squishing/Truncating)
   ========================================================================== */
@media (max-width: 767px) {
  .tracker-header-trigger {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .tracker-header-trigger .tracker-info-col {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .tracker-header-trigger > div:last-child {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 4px !important;
    padding-left: 60px !important; /* Align ETA badge perfectly under the text, matching logo size */
    box-sizing: border-box !important;
  }
  .tracker-header-trigger .preorder-eta {
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
  }
}

/* ==========================================================================
   🧭 16. GAMEPEDIA DIRECTORY & FAVORITES SYSTEM STYLES
   ========================================================================== */

/* Search Input Focus Glow */
.gamepedia-search-box input:focus {
  border-color: #00C7CC !important;
  box-shadow: 0 0 16px rgba(0, 199, 204, 0.4) !important;
}

/* Filter Pill Buttons (Styled to Match Reference Card) */
.tgb-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tgb-pill-btn:hover {
  background: rgba(140, 82, 255, 0.15);
  border-color: rgba(140, 82, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.tgb-pill-btn.active {
  background: linear-gradient(135deg, #5B51D8, #8C52FF) !important;
  border-color: #8C52FF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.4) !important;
  font-weight: 700;
}

/* Mechanics Chips (Curved Pills) */
.tgb-chip-btn {
  background: rgba(8, 4, 28, 0.6);
  border: 1px solid rgba(140, 82, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px !important;
  border-radius: 50px !important;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.tgb-chip-btn:hover {
  border-color: #00C7CC;
  color: #00C7CC;
  transform: translateY(-1px);
}

.tgb-chip-btn.active {
  background: rgba(0, 199, 204, 0.18) !important;
  border-color: #00C7CC !important;
  color: #00C7CC !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 199, 204, 0.25);
}

/* Clickable Tag Links on Single Game Profile (Curved Pills) */
.tgb-pill-link {
  border-radius: 50px !important;
  transition: all 0.2s ease !important;
  user-select: none;
}

.tgb-pill-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 199, 204, 0.4) !important;
  border-color: #00C7CC !important;
  color: #ffffff !important;
}

/* Game Cards Hover & Transitions */
.gamepedia-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 199, 204, 0.4) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(140, 82, 255, 0.25) !important;
}

.gamepedia-card:hover img {
  transform: scale(1.05);
}

/* Heart Favorite Button (Strict sizing to prevent theme reset dot rendering) */
.tgb-fav-btn {
  user-select: none;
  font-size: 16px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.tgb-fav-btn svg,
.tgb-fav-btn svg path {
  pointer-events: none !important;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.tgb-fav-btn svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block !important;
  flex-shrink: 0 !important;
  box-sizing: content-box !important;
}

/* Mouse hover only on fine pointer devices - prevents touch screen frame turning red prematurely */
@media (hover: hover) and (pointer: fine) {
  .tgb-fav-btn:hover {
    transform: scale(1.12) !important;
    border-color: #FF3366 !important;
  }
}

.tgb-fav-btn.is-favorite {
  border-color: #FF3366 !important;
  background: rgba(8, 4, 28, 0.9) !important;
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.5) !important;
  animation: tgbHeartPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Solid red fill & stroke for heart icon when favorited */
.tgb-fav-btn.is-favorite svg,
.tgb-fav-btn.is-favorite svg path {
  fill: #FF3366 !important;
  stroke: #FF3366 !important;
}

/* Unfavorited state */
.tgb-fav-btn:not(.is-favorite) svg,
.tgb-fav-btn:not(.is-favorite) svg path {
  fill: none !important;
  stroke: #ffffff !important;
}

/* Single Game Profile prominent button */
.tgb-fav-single-btn {
  border: 1.5px solid rgba(140, 82, 255, 0.45) !important;
}
.tgb-fav-single-btn.is-favorite {
  border-color: #FF3366 !important;
}

@keyframes tgbHeartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Floating Toast Notification Popup */
.tgb-toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(19, 10, 42, 0.96), rgba(8, 4, 28, 0.96));
  border: 1.5px solid #00C7CC;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 199, 204, 0.3);
  font-family: 'Outfit', 'Noto Sans Thai', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 99999999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  max-width: 90vw;
  white-space: nowrap;
}

.tgb-toast.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

/* Header User Account & Favorites Shortcut */
.tgb-header-user-btn:hover {
  transform: translateY(-2px);
  border-color: #00C7CC !important;
  box-shadow: 0 4px 14px rgba(0, 199, 204, 0.4) !important;
}

.tgb-header-fav-shortcut:hover {
  transform: translateY(-2px);
  border-color: #FF3366 !important;
  box-shadow: 0 4px 14px rgba(255, 51, 102, 0.4) !important;
}

/* Quick Action View Results & Reset Buttons */
#tgb-view-results-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(140, 82, 255, 0.65) !important;
}

#tgb-reset-filters:hover {
  color: #FF4757 !important;
  text-decoration: underline;
}

#tgb-toggle-filters-btn:hover {
  color: #00C7CC !important;
}

/* Accordion Summary Marker Reset */
.tgb-mechanics-accordion summary::-webkit-details-marker {
  display: none !important;
}
.tgb-mechanics-accordion summary {
  list-style: none !important;
}

/* Responsive 2x2 Grid to Single Column on Mobile */
@media (max-width: 820px) {
  .filter-2x2-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* ==========================================================================
   16.1 Mobile Filter Dropdown Rows & Responsive 2-Column Grid
   ========================================================================== */

/* Hide mobile dropdown rows on desktop screens */
@media (min-width: 769px) {
  .tgb-mobile-filter-rows {
    display: none !important;
  }
}

/* Mobile & Tablet Portrait Viewport (max-width: 768px) */
@media (max-width: 768px) {
  /* Hide desktop-specific components on mobile */
  .filter-2x2-grid,
  .filter-card-bottom,
  .tgb-desktop-collapse-btn {
    display: none !important;
  }

  /* Show and style mobile filter rows (Matches Reference Mockup) */
  .tgb-mobile-filter-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
  }

  .gamepedia-filter-panel {
    padding: 16px !important;
    border-radius: 18px !important;
    margin-bottom: 18px !important;
  }

  .filter-card-header {
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  /* Each filter row */
  .tgb-mobile-filter-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 10, 48, 0.75);
    border: 1px solid rgba(140, 82, 255, 0.22);
    border-radius: 12px;
    padding: 13px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .tgb-mobile-filter-row:active {
    background: rgba(30, 16, 75, 0.9);
    border-color: rgba(140, 82, 255, 0.5);
  }

  .tgb-mobile-filter-row.has-selection {
    border-color: #8C52FF !important;
    background: rgba(140, 82, 255, 0.12) !important;
  }

  .tgb-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
  }

  .tgb-row-icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .tgb-row-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
  }

  .tgb-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
  }

  .tgb-select-val {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tgb-mobile-filter-row.has-selection .tgb-select-val {
    color: #00C7CC !important;
    font-weight: 700;
  }

  /* Full transparent select overlay for native touch wheel / picker sheet */
  .tgb-mobile-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    -webkit-appearance: none;
  }

  /* Mechanics sub-drawer on mobile */
  .filter-mechanics-drawer details summary {
    font-size: 0.86rem !important;
  }

  /* Results & Sort Bar on Mobile */
  .tgb-results-sort-bar {
    margin-bottom: 16px !important;
  }

  .tgb-results-count-text {
    font-size: 0.92rem !important;
  }

  .tgb-sort-pill {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
  }

  /* 2-Column Game Cards Grid on Mobile (Matches Reference Mockup) */
  .gamepedia-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .gamepedia-card {
    border-radius: 14px !important;
  }

  .tgb-card-thumb-weight {
    display: none !important; /* Displayed cleanly in bottom chip */
  }

  .tgb-card-body {
    padding: 10px 10px 12px 10px !important;
  }

  .tgb-card-title {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .tgb-card-orig-name {
    display: none !important;
  }

  .tgb-card-specs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 0 !important;
  }

  .tgb-card-specs span {
    padding: 2px 6px !important;
    border-radius: 6px !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }

  .tgb-card-mechs {
    display: none !important;
  }

  .tgb-card-footer {
    display: none !important;
  }

  .gamepedia-card .tgb-fav-btn,
  .tgb-fav-btn:not(.tgb-fav-single-btn) {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 25 !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .tgb-fav-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }

  .gamepedia-header-section h1 {
    font-size: 1.75rem !important;
  }

  .tgb-toast {
    white-space: normal;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px 18px;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .gamepedia-grid {
    gap: 8px !important;
  }
  .tgb-card-body {
    padding: 8px !important;
  }
  .tgb-card-title {
    font-size: 0.84rem !important;
  }
  .tgb-card-specs span {
    font-size: 0.62rem !important;
    padding: 2px 4px !important;
  }
  .tgb-select-val {
    max-width: 85px;
  }
}

/* ==========================================================================
   17. LINE Login Button & Account Badge Styling
   ========================================================================== */
.tgb-line-login-btn {
  background: #06C755 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  user-select: none;
}

.tgb-line-login-btn:hover {
  background: #05B34C !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45) !important;
}

.tgb-line-login-btn:active {
  transform: scale(0.98);
}

.tgb-account-line-badge {
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.tgb-account-line-badge:hover {
  border-color: rgba(6, 199, 85, 0.6) !important;
}

/* ==========================================================================
   18. Homepage Hero Slider Styles
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 480px;
  border-radius: var(--border-radius-xl, 24px);
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.5));
  margin-bottom: 50px;
  background-color: #08041c;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 480px;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 80px;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-sizing: border-box;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-badge {
  background: rgba(122, 64, 255, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: var(--brand-cyan, #00C7CC);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-content {
  max-width: 58%;
  z-index: 10;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 850;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--text-primary, #ffffff);
}

.hero-content h1 span {
  background: linear-gradient(90deg, #00C7CC 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(122, 64, 255, 0.25);
}

.hero-content p {
  color: var(--text-secondary, #a0aec0);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 560px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00C7CC 0%, #00999E 100%);
  color: #08041c !important;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 199, 204, 0.35);
  transition: all 0.25s ease;
  font-size: 1rem;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 199, 204, 0.55);
}

.hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  font-size: 1rem;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Slider Navigation Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(8, 4, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  padding: 0;
  outline: none;
}

.slider-control:hover {
  background: #7a40ff;
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(122, 64, 255, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.slider-control.prev-btn {
  left: 24px;
}

.slider-control.next-btn {
  right: 24px;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.indicator-dot.active {
  background: #00C7CC;
  box-shadow: 0 0 12px rgba(0, 199, 204, 0.8);
  width: 28px;
  border-radius: 10px;
}

/* ==========================================================================
   Responsive Slider Breakpoints (Proportional Landscape Ratio)
   ========================================================================== */

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-slider {
    min-height: auto;
    margin-bottom: 40px;
    border-radius: 20px;
  }
  .slider-wrapper {
    height: 380px;
    min-height: 380px;
  }
  .hero-slide {
    padding: 40px 50px;
  }
  .hero-content {
    max-width: 70%;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}

/* Small Tablet & Large Mobile (601px - 768px) */
@media (max-width: 768px) {
  .hero-slider {
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .slider-wrapper {
    height: auto;
    min-height: 280px;
    aspect-ratio: 16 / 9;
  }
  .hero-slide {
    padding: 30px 30px 40px 30px;
    background-position: center center !important;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(180deg, rgba(8, 4, 28, 0.90) 0%, rgba(8, 4, 28, 0.78) 100%) !important;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .hero-content p {
    font-size: 0.95rem;
    margin: 0 auto 18px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .slider-control {
    display: none; /* Mobile uses swipe gestures */
  }
}

/* Mobile Devices (max-width: 600px) - Proportional to Desktop Landscape Ratio */
@media (max-width: 600px) {
  .hero-slider {
    margin-bottom: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }
  .slider-wrapper {
    height: auto;
    min-height: 230px;
    aspect-ratio: 16 / 9; /* Exact widescreen landscape ratio corresponding with desktop */
  }
  .hero-slide {
    padding: 20px 16px 32px 16px;
    background-position: center center !important;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(180deg, rgba(8, 4, 28, 0.88) 0%, rgba(8, 4, 28, 0.76) 100%) !important;
  }
  .hero-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    margin-bottom: 8px;
    border-radius: 20px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
  }
  .hero-content h1 span {
    text-shadow: 0 0 12px rgba(122, 64, 255, 0.3);
  }
  .hero-content p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0 auto 12px auto;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: auto;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    width: auto;
    min-width: 0;
  }
  .slider-control {
    display: none;
  }
  .slider-indicators {
    bottom: 10px;
    gap: 6px;
  }
  .indicator-dot {
    width: 6px;
    height: 6px;
  }
  .indicator-dot.active {
    width: 18px;
    border-radius: 6px;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .slider-wrapper {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }
  .hero-slide {
    padding: 16px 12px 28px 12px;
  }
  .hero-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    margin-bottom: 6px;
  }
  .hero-content h1 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .hero-content p {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   19. Unified Modern My Account Area (Treasure Game Box)
   ========================================================================== */
.woocommerce-MyAccount-navigation {
  display: none !important;
}
.woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tgb-account-app {
  display: flex;
  background: #F8FAFC;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  min-height: 800px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1A202C;
  margin: 20px 0 40px;
}
.tgb-account-sidebar {
  width: 270px;
  min-width: 270px;
  background: #120F26;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.tgb-account-nav-mobile {
  display: none;
  background: #120F26;
  padding: 14px 16px;
  overflow-x: auto;
  white-space: nowrap;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tgb-account-canvas {
  flex: 1;
  padding: 32px;
  overflow-x: hidden;
  background: #F8FAFC;
}

@media (max-width: 900px) {
  .tgb-account-app {
    flex-direction: column;
    border-radius: 14px;
    margin: 10px 0 30px;
  }
  .tgb-account-sidebar {
    display: none !important;
  }
  .tgb-account-nav-mobile {
    display: flex !important;
  }
  .tgb-account-canvas {
    padding: 20px 16px;
  }
}



/* ==========================================================================
   ✨ BRAND CI UNIFIED PAGES OVERRIDES (Home, Shop, Pre-Order Tracker)
   ========================================================================== */

/* --- 1. SHOP & WOOCOMMERCE PRODUCT CARDS (EQUAL WIDTH & HEIGHT GRID) --- */

/* Grid Container: Forces all products into an equal-column, stretch grid */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce div.products > ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 0 40px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

/* Ensure section containers are NEVER grids (fixes related products squished bug) */
.woocommerce section.products,
.woocommerce-page section.products,
section.related.products,
section.upsells.products,
.single-product section.related,
.single-product section.upsells {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

/* Explicit column variations */
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4,
.woocommerce.columns-4 ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3,
.woocommerce.columns-3 ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.columns-2,
.woocommerce-page ul.products.columns-2,
.woocommerce.columns-2 ul.products {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce-page ul.products.columns-4,
  .woocommerce.columns-4 ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 580px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce.columns-4 ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .tgb-pdp-bottom-widgets ul.products li.product,
  .single-product section.related ul.products li.product {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title, 
  .woocommerce ul.products li.product h2,
  .woocommerce ul.products li.product h3,
  .tgb-pdp-bottom-widgets ul.products li.product .woocommerce-loop-product__title,
  .single-product section.related ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin-bottom: 6px !important;
  }

  .tgb-product-type-chip {
    font-size: 0.68rem !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    margin-bottom: 6px !important;
    padding: 2px 6px !important;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce .product .price,
  .tgb-pdp-bottom-widgets ul.products li.product .price,
  .single-product section.related ul.products li.product .price {
    font-size: 1.15rem !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin-bottom: 10px !important;
  }

  .woocommerce ul.products li.product .button,
  .tgb-pdp-bottom-widgets ul.products li.product .button,
  .single-product section.related ul.products li.product .button {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.88rem !important;
    padding: 0 14px !important;
  }
}

@media (max-width: 380px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce.columns-4 ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Product Card: Exactly Equal Width & Height across row */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  height: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px) !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 12px 28px rgba(43, 45, 125, 0.12) !important;
}

/* Inner Link Wrapper: Stretches and holds Thumbnail, Title, Price */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-decoration: none !important;
}

/* 1. Card Thumbnail: Fixed 1:1 Square Ratio */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product img {
  border-radius: 14px !important;
  background-color: #F8FAFC !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  object-fit: cover !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  display: block !important;
}

/* 2. Card title: one line without reserving a second line. */
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-size: 1.05rem !important;
  font-weight: 850 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
  height: 1.3em !important;
  min-height: 1.3em !important;
  max-height: 1.3em !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: vertical !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  word-break: normal !important;
  transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
}

/* 3. Card Prices: Compact Fixed 1-Line Height (Exact baseline alignment across row) */
.woocommerce ul.products li.product .price,
.woocommerce .product .price {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  font-weight: 900 !important;
  font-size: 1.25rem !important;
  margin: 0 0 12px 0 !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce .product .price ins {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce .product .price del {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin-right: 4px !important;
}

/* 4. Card Add-To-Cart & Select Options Buttons: Consistent Baseline */
.woocommerce ul.products li.product .button,
.woocommerce .button.alt,
.woocommerce #respond input#submit {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 0 20px !important;
  height: 42px !important;
  min-height: 42px !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border: none !important;
  transition: all 0.25s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  margin-top: auto !important;
  white-space: nowrap !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce .button.alt:hover,
.woocommerce #respond input#submit:hover {
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
  box-shadow: 0 6px 20px rgba(226, 61, 213, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #FFFFFF !important;
}

.woocommerce span.onsale {
  background: linear-gradient(135deg, #FFBB05 0%, #F59E0B 100%) !important;
  color: #1E293B !important;
  font-weight: 850 !important;
  border-radius: 50px !important;
  padding: 4px 12px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.3 !important;
  font-size: 12px !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  box-shadow: 0 2px 8px rgba(255,187,5,0.3) !important;
}

.woocommerce-ordering select {
  background-color: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 50px !important;
  color: #2B2D7D !important;
  font-weight: 750 !important;
  padding: 10px 20px !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #2B2D7D !important;
  font-weight: 750 !important;
  padding: 8px 16px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}
.woocommerce-pagination ul li span.current {
  background: #2B2D7D !important;
  border-color: #2B2D7D !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(43,45,125,0.3) !important;
}

/* --- 2. PRE-ORDER TRACKER CI STYLES --- */
.tracker-container.compact-row {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  transition: all 0.25s ease !important;
}
.tracker-container.compact-row:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(43,45,125,0.1) !important;
  border-color: #CBD5E1 !important;
}
.tracker-container .tracker-info-col h3 {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
}
.tracker-container .tracker-mobile-status {
  color: #2B2D7D !important;
  font-weight: 700 !important;
}
.preorder-eta {
  font-size: 0.85rem !important;
  color: #B45309 !important;
  background: #FFFBEB !important;
  border: 1px solid #FCD34D !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  padding: 5px 14px !important;
}
.tracker-chevron-icon {
  stroke: #2B2D7D !important;
}
.tracker-collapsible-body {
  border-top: 1px solid #E2E8F0 !important;
}
.tracker-expanded-desc {
  color: #64748B !important;
}
.preorder-timeline.compact-bar::before {
  background: #E2E8F0 !important;
}
.preorder-timeline.compact-bar .preorder-timeline-progress {
  background: linear-gradient(90deg, #2B2D7D 0%, #E23DD5 100%) !important;
}
.preorder-timeline.compact-bar .preorder-step-dot {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #94A3B8 !important;
}
.preorder-timeline.compact-bar .preorder-step.completed .preorder-step-dot {
  background: #2B2D7D !important;
  border-color: #2B2D7D !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(43,45,125,0.3) !important;
}
.preorder-timeline.compact-bar .preorder-step.active .preorder-step-dot {
  background: #E23DD5 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(226,61,213,0.25) !important;
  transform: scale(1.2) !important;
  color: #FFFFFF !important;
}
.preorder-timeline.compact-bar .preorder-step-lbl {
  color: #94A3B8 !important;
}
.preorder-timeline.compact-bar .preorder-step.completed .preorder-step-lbl,
.preorder-timeline.compact-bar .preorder-step.completed .step-text {
  color: #2B2D7D !important;
  font-weight: 750 !important;
}
.preorder-timeline.compact-bar .preorder-step.active .preorder-step-lbl,
.preorder-timeline.compact-bar .preorder-step.active .step-text {
  color: #E23DD5 !important;
  font-weight: 850 !important;
}
.tracker-items-dropdown summary {
  color: #2B2D7D !important;
  font-weight: 800 !important;
  border-top-color: #E2E8F0 !important;
}
.tracker-items-dropdown .summary-arrow {
  stroke: #2B2D7D !important;
}
.tracker-items-dropdown ul {
  color: #334155 !important;
}
.tracker-items-dropdown ul li {
  color: #334155 !important;
}
.preorder-search-form input[type="text"],
.preorder-search-form input[type="tel"],
.preorder-phone-input,
#tgb-tracker-search {
  width: 100% !important;
  padding: 14px 22px !important;
  border-radius: 50px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #1E293B !important;
  font-size: 1rem !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  transition: all 0.25s ease !important;
}
.preorder-search-form input[type="text"]:focus,
.preorder-search-form input[type="tel"]:focus,
.preorder-phone-input:focus,
#tgb-tracker-search:focus {
  border-color: #2B2D7D !important;
  box-shadow: 0 0 0 3px rgba(43, 45, 125, 0.15) !important;
  background: #FFFFFF !important;
}
.preorder-search-submit {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  padding: 14px 30px !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}
.preorder-search-submit:hover {
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
  box-shadow: 0 6px 20px rgba(226, 61, 213, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* --- 3. HOME HERO SLIDER CI STYLES --- */
.hero-badge {
  background: rgba(43, 45, 125, 0.7) !important;
  border: 1.5px solid rgba(0, 199, 204, 0.6) !important;
  color: #00C7CC !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  display: inline-block !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(8px) !important;
}
.hero-content h1 span {
  background: linear-gradient(90deg, #00C7CC 0%, #E23DD5 50%, #FFBB05 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 20px rgba(226, 61, 213, 0.25) !important;
}
.hero-actions .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 850 !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.4) !important;
  transition: all 0.25s ease !important;
  font-size: 1rem !important;
  border: none !important;
}
.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.55) !important;
  transform: translateY(-2px) !important;
}
.hero-actions .btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 750 !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.25s ease !important;
  font-size: 1rem !important;
}
.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px) !important;
}
.slider-control:hover {
  background: #2B2D7D !important;
  border-color: #E23DD5 !important;
  box-shadow: 0 0 16px rgba(226, 61, 213, 0.5) !important;
  transform: translateY(-50%) scale(1.05) !important;
}
.indicator-dot.active {
  background: #FFBB05 !important;
  box-shadow: 0 0 12px rgba(255, 187, 5, 0.7) !important;
  width: 28px !important;
  border-radius: 10px !important;
}

/* ==========================================================================
   🎮 SELLING DASHBOARD STATUS SELECT OVERRIDE
   ========================================================================== */
select.tgb-manage-status-select,
select.tgb-manage-status-select option {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background-color: #FFFFFF !important;
  font-weight: 750 !important;
  font-family: inherit !important;
}

/* ==========================================================================
   🎮 MY ACCOUNT CANVAS & SETTINGS TEXT VISIBILITY OVERRIDE
   ========================================================================== */
.tgb-account-canvas h1,
.tgb-account-canvas h2,
.tgb-account-canvas h3,
.tgb-account-canvas h4,
.tgb-account-canvas h5,
.tgb-account-canvas h6,
.tgb-settings-tab-wrapper h1,
.tgb-settings-tab-wrapper h2,
.tgb-settings-tab-wrapper h3,
.tgb-settings-tab-wrapper h4,
.tgb-settings-tab-wrapper h5,
.tgb-settings-tab-wrapper h6 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.tgb-account-canvas p,
.tgb-settings-tab-wrapper p {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
}

.tgb-account-canvas label,
.tgb-settings-tab-wrapper label {
  color: #4A5568 !important;
  -webkit-text-fill-color: #4A5568 !important;
}

.tgb-account-canvas input[type="text"],
.tgb-account-canvas input[type="email"],
.tgb-account-canvas input[type="tel"],
.tgb-account-canvas input[type="password"],
.tgb-account-canvas select,
.tgb-account-canvas textarea,
.tgb-settings-tab-wrapper input[type="text"],
.tgb-settings-tab-wrapper input[type="email"],
.tgb-settings-tab-wrapper input[type="tel"],
.tgb-settings-tab-wrapper input[type="password"],
.tgb-settings-tab-wrapper select,
.tgb-settings-tab-wrapper textarea {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}

.tgb-settings-tab-wrapper input:disabled,
.tgb-settings-tab-wrapper input[disabled],
.tgb-account-canvas input:disabled,
.tgb-account-canvas input[disabled] {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  background-color: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  opacity: 1 !important;
  -webkit-opacity: 1 !important;
  cursor: not-allowed !important;
}

.tgb-settings-tab-wrapper input::placeholder,
.tgb-account-canvas input::placeholder,
.tgb-settings-tab-wrapper textarea::placeholder,
.tgb-account-canvas textarea::placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  opacity: 1 !important;
}

.tgb-settings-tab-wrapper .tgb-danger-title {
  color: #C53030 !important;
  -webkit-text-fill-color: #C53030 !important;
}

/* ==========================================================================
   🛒 WOOCOMMERCE CART PAGE (TGB BRAND CI - MODERN BORDERLESS CARDS)
   ========================================================================== */
.woocommerce-cart {
  background-color: #08041C !important;
}

/* Outer layout wrapper: 2-column split (Items left, Summary sticky right) */
.woocommerce-cart .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 20px 20px 60px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 32px !important;
  align-items: flex-start !important;
}

/* Full-width notices */
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
  width: 100% !important;
  flex: 1 1 100% !important;
}

/* Header Row: Back Button & Page Title */
.tgb-cart-header-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 8px !important;
}

.tgb-cart-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.tgb-cart-back-btn:hover {
  background: #00C7CC !important;
  color: #08041C !important;
  -webkit-text-fill-color: #08041C !important;
  transform: translateX(-3px) !important;
}

.woocommerce-cart .entry-title,
.woocommerce-cart .page-title,
.woocommerce-cart h1:not(.cart_totals h1) {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  margin: 0 !important;
  letter-spacing: -0.3px !important;
  text-transform: none !important;
}

/* --- Left Column: Cart Form & Items --- */
.woocommerce-cart .woocommerce-cart-form {
  flex: 1 1 680px !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  background: #FFFFFF !important;
  border-radius: 24px !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  padding: 32px !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
}

/* Cart Table Reset: Remove ALL default borders & table structure */
.woocommerce-cart table.shop_table.cart {
  display: block !important;
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
}

.woocommerce-cart table.shop_table.cart thead {
  display: none !important; /* Hides harsh Product/Price/Quantity/Subtotal table headers */
}

.woocommerce-cart table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
}

/* Individual Cart Item (Flat Single-Card Layout per TGB UX Redesign) */
.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item {
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #F1F5F9 !important;
  border-radius: 0 !important;
  padding: 18px 0 !important;
  margin-bottom: 0 !important;
  transition: background 0.15s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item:last-of-type {
  border-bottom: none !important;
}

.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item:hover {
  background: rgba(248, 250, 252, 0.6) !important;
  border-color: #F1F5F9 !important;
  box-shadow: none !important;
}

.woocommerce-cart table.shop_table.cart td {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce-cart table.shop_table.cart td::before {
  display: none !important;
}

/* 1. Thumbnail */
.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  order: 1 !important;
  flex-shrink: 0 !important;
  margin-right: 16px !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 68px !important;
  height: 68px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* 2. Title & Meta */
.woocommerce-cart table.shop_table.cart td.product-name {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-right: 16px !important;
  text-align: left !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 3px !important;
  transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
}

.woocommerce-cart table.shop_table.cart td.product-name .variation {
  font-size: 12.5px !important;
  color: #64748B !important;
  margin: 0 !important;
}

/* 3. Hide redundant unit price (Reference only shows subtotal per row) */
.woocommerce-cart table.shop_table.cart td.product-price {
  display: none !important;
}

/* 4. Quantity Stepper Pill (Reference Match) */
.woocommerce-cart table.shop_table.cart td.product-quantity {
  order: 3 !important;
  flex-shrink: 0 !important;
  margin-right: 20px !important;
}

.woocommerce-cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 50px !important;
  padding: 2px 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-cart .quantity input.qty {
  width: 34px !important;
  height: 28px !important;
  border: none !important;
  background: transparent !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-size: 14px !important;
  outline: none !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}

.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Quantity +/- Stepper buttons */
.tgb-qty-btn {
  background: none !important;
  border: none !important;
  color: #64748B !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.tgb-qty-btn:hover {
  background: #F1F5F9 !important;
  color: #2B2D7D !important;
}

/* 5. Subtotal Price (Clean, Bold) */
.woocommerce-cart table.shop_table.cart td.product-subtotal {
  order: 4 !important;
  flex-shrink: 0 !important;
  margin-right: 18px !important;
  min-width: 85px !important;
  text-align: right !important;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal,
.woocommerce-cart table.shop_table.cart td.product-subtotal .woocommerce-Price-amount {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  font-size: 16px !important;
}

/* 6. Clean Remove Button (Reference Match: Clean ×) */
.woocommerce-cart table.shop_table.cart td.product-remove {
  order: 5 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  background: transparent !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
  background: #FEE2E2 !important;
  color: #EF4444 !important;
  -webkit-text-fill-color: #EF4444 !important;
  transform: scale(1.15) !important;
}

/* --- Cart Actions Row (Coupon & Update Cart) --- */
.woocommerce-cart table.shop_table.cart tr td.actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 18px 4px 0 !important;
  border-top: 1px dashed #E2E8F0 !important;
  margin-top: 14px !important;
  background: transparent !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: inline-flex !important;
  align-items: center !important;
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 50px !important;
  padding: 3px 6px 3px 16px !important;
  gap: 8px !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon label {
  display: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon input#coupon_code {
  border: none !important;
  background: transparent !important;
  padding: 6px 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  outline: none !important;
  width: 140px !important;
  box-shadow: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon button.button {
  background: transparent !important;
  border: none !important;
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  font-weight: 850 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon button.button:hover {
  background: rgba(0, 199, 204, 0.1) !important;
  color: #008f92 !important;
  -webkit-text-fill-color: #008f92 !important;
}

.woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"],
.woocommerce-cart [name="update_cart"] {
  display: none !important;
}

/* Continue Shopping Link below Cart Items */
.tgb-cart-continue-wrap {
  margin-top: 18px !important;
  display: flex !important;
  align-items: center !important;
}

.tgb-cart-continue-link {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.2s ease !important;
}

.tgb-cart-continue-link:hover {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
}

/* --- Right Column: Summary Card (Fixed Proportions & No Cramping) --- */
.woocommerce-cart .cart-collaterals {
  width: 380px !important;
  flex: 0 0 380px !important;
  max-width: 380px !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: sticky !important;
  top: 90px !important;
  box-sizing: border-box !important;
}

/* Override WooCommerce's default float: right & width: 48% completely */
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  box-sizing: border-box !important;
  text-align: left !important;
  margin: 0 !important;
}

.woocommerce-cart .cart_totals h2 {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  font-size: 22px !important;
  letter-spacing: -0.3px !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 12px !important;
  text-transform: lowercase !important;
}

/* Cart Totals Table: Full Width Fixed Layout (Prevents Left Clustering) */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
  margin: 0 0 18px 0 !important;
  background: transparent !important;
  table-layout: fixed !important;
  display: table !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cart_totals table.shop_table tbody,
.woocommerce-cart .cart_totals table tbody {
  display: table-row-group !important;
  width: 100% !important;
}

.woocommerce-cart .cart_totals table.shop_table tr,
.woocommerce-cart .cart_totals table tr {
  display: table-row !important;
  width: 100% !important;
  border-bottom: 1px dashed #E2E8F0 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total,
.woocommerce-cart .cart_totals table tr.order-total {
  border-bottom: none !important;
}

/* Fix Duplicate Text (Subtotal:, Shipment:, Total:, à¸£à¸§à¸¡:) generated by WooCommerce responsive tables */
.woocommerce-cart .cart_totals table.shop_table td::before,
.woocommerce-cart .cart_totals table td::before,
.woocommerce-cart table.shop_table_responsive tr td::before,
.woocommerce-cart table.shop_table_responsive tr th::before,
.woocommerce-checkout table.shop_table_responsive tr td::before,
.woocommerce-checkout table.shop_table_responsive tr th::before,
.cart-collaterals .cart_totals table tr td::before {
  content: "" !important;
  display: none !important;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table th {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 750 !important;
  font-size: 14px !important;
  padding: 14px 0 !important;
  border-bottom: none !important;
  text-align: left !important;
  background: transparent !important;
  text-transform: none !important;
  vertical-align: top !important;
  width: 40% !important;
  display: table-cell !important;
}

.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table td {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  padding: 14px 0 !important;
  border-bottom: none !important;
  text-align: right !important;
  background: transparent !important;
  vertical-align: top !important;
  width: 60% !important;
  display: table-cell !important;
}

.woocommerce-cart .cart_totals table.shop_table td .woocommerce-Price-amount,
.woocommerce-cart .cart_totals table td .woocommerce-Price-amount {
  text-align: right !important;
  display: inline-block !important;
}

/* Shipping Details inside Cart Totals */
.woocommerce-cart .cart_totals ul#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  text-align: right !important;
}

.woocommerce-cart .cart_totals ul#shipping_method li {
  margin-bottom: 4px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  color: #2B2D7D !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
  margin: 6px 0 !important;
  font-size: 13px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  background: rgba(0, 199, 204, 0.08) !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(0, 199, 204, 0.3) !important;
  margin-top: 6px !important;
  transition: all 0.2s ease !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-button:hover {
  background: #00C7CC !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 199, 204, 0.25) !important;
  text-decoration: none !important;
}

/* Shipping Calculator Form Redesign & Full Width Alignment */
.woocommerce-cart .cart_totals form.woocommerce-shipping-calculator {
  width: 100% !important;
  margin-top: 10px !important;
  text-align: left !important;
  box-sizing: border-box !important;
  display: block !important;
  clear: both !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form {
  width: 100% !important;
  max-width: 100% !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-top: 12px !important;
  text-align: left !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form * {
  box-sizing: border-box !important;
}

.woocommerce-cart .cart_totals .tgb-calc-title {
  font-size: 14px !important;
  font-weight: 850 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-align: left !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form p.form-row,
.woocommerce-cart .cart_totals .shipping-calculator-form p {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  text-align: left !important;
  float: none !important;
  clear: both !important;
  display: block !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form label,
.woocommerce-cart .cart_totals .shipping-calculator-form .tgb-calc-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  margin-bottom: 5px !important;
  text-align: left !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form label .required,
.woocommerce-cart .cart_totals .shipping-calculator-form .required {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  font-weight: 900 !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form input.input-text,
.woocommerce-cart .cart_totals .shipping-calculator-form select,
.woocommerce-cart .cart_totals .shipping-calculator-form .select2-container--default .select2-selection--single {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 13.5px !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  outline: none !important;
  text-align: left !important;
  float: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form input.input-text:focus,
.woocommerce-cart .cart_totals .shipping-calculator-form select:focus,
.woocommerce-cart .cart_totals .shipping-calculator-form .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #00C7CC !important;
  box-shadow: 0 0 0 3px rgba(0, 199, 204, 0.15) !important;
  background: #FFFFFF !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form button[type="submit"],
.woocommerce-cart .cart_totals .shipping-calculator-form .tgb-calc-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.25) !important;
  transition: all 0.25s ease !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

.woocommerce-cart .cart_totals .shipping-calculator-form button[type="submit"]:hover,
.woocommerce-cart .cart_totals .shipping-calculator-form .tgb-calc-submit-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(226, 61, 213, 0.4) !important;
  filter: brightness(1.06) !important;
}

/* Mobile Responsiveness for Shipping Row */
@media (max-width: 768px) {
  .woocommerce-cart .cart_totals table tr.shipping,
  .woocommerce-cart .cart_totals table.shop_table tr.shipping {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 14px 0 !important;
  }
  .woocommerce-cart .cart_totals table tr.shipping th,
  .woocommerce-cart .cart_totals table.shop_table tr.shipping th {
    width: 100% !important;
    display: block !important;
    padding: 0 0 6px 0 !important;
    text-align: left !important;
  }
  .woocommerce-cart .cart_totals table tr.shipping td,
  .woocommerce-cart .cart_totals table.shop_table tr.shipping td {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .woocommerce-cart .cart_totals ul#shipping_method {
    text-align: left !important;
  }
  .woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    text-align: left !important;
  }
}

/* Active Open Shipping Calculator State across all screens */
.woocommerce-cart .cart_totals table tr.shipping.is-calc-open,
.woocommerce-cart .cart_totals table.shop_table tr.shipping.is-calc-open {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 14px 0 !important;
}

.woocommerce-cart .cart_totals table tr.shipping.is-calc-open th,
.woocommerce-cart .cart_totals table.shop_table tr.shipping.is-calc-open th {
  width: 100% !important;
  display: block !important;
  padding: 0 0 6px 0 !important;
  text-align: left !important;
}

.woocommerce-cart .cart_totals table tr.shipping.is-calc-open td,
.woocommerce-cart .cart_totals table.shop_table tr.shipping.is-calc-open td {
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
  text-align: left !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total th {
  font-size: 18px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  padding-top: 18px !important;
  text-align: left !important;
  width: 45% !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td,
.woocommerce-cart .cart_totals table tr.order-total td {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  padding-top: 18px !important;
  text-align: right !important;
  width: 55% !important;
}

.woocommerce-cart .cart_totals table tr.order-total td .woocommerce-Price-amount {
  color: #E23DD5 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

/* Proceed to Checkout CTA Container */
.woocommerce-cart .wc-proceed-to-checkout {
  width: 100% !important;
  display: block !important;
  float: none !important;
  padding: 0 !important;
  margin-top: 18px !important;
  clear: both !important;
  box-sizing: border-box !important;
}

/* Proceed to Checkout Button: Full Width Pill CTA */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  border-radius: 50px !important;
  padding: 0 24px !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.45) !important;
  transition: all 0.25s ease !important;
  border: none !important;
  letter-spacing: 0.3px !important;
  text-transform: lowercase !important;
  white-space: nowrap !important;
  float: none !important;
  margin: 0 auto !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.6) !important;
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Empty Cart Screen */
.woocommerce-cart p.cart-empty {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 40px 20px !important;
  text-align: center !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce-cart p.return-to-shop {
  text-align: center !important;
  margin-top: 20px !important;
}

.woocommerce-cart p.return-to-shop a.button {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 12px 30px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 4px 15px rgba(226, 61, 213, 0.35) !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 920px) {
  .woocommerce-cart .woocommerce {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    position: static !important;
  }
}

@media (max-width: 640px) {
  .woocommerce-cart .woocommerce-cart-form {
    padding: 20px 14px !important;
  }
  .woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    margin-right: 12px !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 56px !important;
    height: 56px !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-name {
    flex: 1 1 calc(100% - 110px) !important;
    margin-right: 0 !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-remove {
    order: 2 !important;
    margin-left: auto !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-quantity {
    order: 4 !important;
    margin-left: 68px !important;
  }
  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    order: 5 !important;
    margin-left: auto !important;
  }
}

/* ==========================================================================
   💳 WOOCOMMERCE CHECKOUT PAGE (TGB BRAND CI) - DESKTOP & MOBILE
   ========================================================================== */

/* ==========================================================================
   🛡️ TGB BRAND CI: CONTEXTUAL LIGHT-SURFACE TYPOGRAPHY SHIELD (PERMANENT)
   Guarantees that any text rendered on white/light cards never inherits the
   global dark-theme white color (#FFFFFF).
   ========================================================================== */

#customer_details,
.woocommerce-checkout .col2-set,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.tgb-checkout-notice-card,
.tgb-modal-box:not(.tgb-modal-box-dark),
.tgb-modal-card,
.tgb-edit-addr-modal .tgb-modal-box,
.tgb-light-surface {
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* All bold/strong headings inside light surfaces default to Brand CI Deep Navy */
#customer_details strong,
#customer_details b,
.woocommerce-checkout .col2-set strong,
.woocommerce-checkout .col2-set b,
.woocommerce-billing-fields strong,
.tgb-checkout-notice-card strong,
.tgb-modal-box:not(.tgb-modal-box-dark) strong,
.tgb-modal-box:not(.tgb-modal-box-dark) h1,
.tgb-modal-box:not(.tgb-modal-box-dark) h2,
.tgb-modal-box:not(.tgb-modal-box-dark) h3,
.tgb-modal-card strong,
.tgb-modal-card h3 {
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
}

/* All descriptions and spans inside light surfaces default to Slate Gray */
#customer_details p,
#customer_details span:not(.req):not([class*="badge"]):not([class*="btn"]):not([class*="pill"]):not([class*="icon"]),
.woocommerce-checkout .col2-set p,
.tgb-checkout-notice-card p,
.tgb-modal-box:not(.tgb-modal-box-dark) p,
.tgb-modal-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* Safe Exceptions: Interactive Buttons & Badges inside light surfaces */
.woocommerce-checkout a[class*="btn"],
.woocommerce-checkout button[class*="btn"]:not(.tgb-step2-edit-deliv-btn):not(#tgbStep2EditDelivBtn),
.woocommerce-checkout .tgb-guest-btn,
.woocommerce-checkout .tgb-btn,
.woocommerce-checkout #place_order,
.tgb-modal-box button[class*="save"],
.tgb-modal-btn-save {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Outer Checkout Wrapper */
body.woocommerce-checkout .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-page.woocommerce-checkout .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 30px 16px 80px 16px !important;
  box-sizing: border-box !important;
}

/* Page Header & Back Button (Matches Cart Page 1:1) */
.tgb-checkout-header-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}

.tgb-checkout-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

.tgb-checkout-back-btn:hover {
  background: #00C7CC !important;
  color: #08041C !important;
  -webkit-text-fill-color: #08041C !important;
  border-color: #00C7CC !important;
  transform: translateX(-3px) !important;
  box-shadow: 0 4px 14px rgba(0, 199, 204, 0.3) !important;
}

.tgb-checkout-title-wrap {
  display: flex !important;
  align-items: center !important;
}

.tgb-checkout-main-title {
  font-family: 'Prompt', 'Kanit', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin: 0 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
}

.tgb-checkout-main-subtitle {
  display: none !important;
}

body.woocommerce-checkout > .entry-title,
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout h1.page-title,
.woocommerce-checkout .entry-title,
.woocommerce-order-received .entry-title,
.woocommerce-order-received h1.entry-title,
.woocommerce-order-received .entry-header,
.woocommerce-checkout h1:not(.tgb-checkout-main-title):not(.tgb-pis-title) {
  display: none !important;
}

/* Checkout Login & Coupon Toggles */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-left: 5px solid #00C7CC !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  color: #2B2D7D !important;
  font-size: 14px !important;
}

body.woocommerce-checkout .woocommerce-form-login-toggle a,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a,
.woocommerce-checkout .woocommerce-form-login-toggle a,
.woocommerce-checkout .woocommerce-form-coupon-toggle a {
  color: #E23DD5 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

/* Notices: Errors & Alerts */
body.woocommerce-checkout ul.woocommerce-error,
.woocommerce-checkout ul.woocommerce-error {
  background: #FEF2F2 !important;
  border: 1.5px solid #FCA5A5 !important;
  border-left: 5px solid #EF4444 !important;
  border-radius: 14px !important;
  padding: 16px 20px 16px 54px !important;
  color: #991B1B !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  list-style: none !important;
  margin: 0 0 24px 0 !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.1) !important;
}

body.woocommerce-checkout ul.woocommerce-error li,
.woocommerce-checkout ul.woocommerce-error li {
  margin-bottom: 4px !important;
}

/* Two-Column Responsive Grid Layout - 2 Floating Cards (Matches Cart Page) */
@media (min-width: 992px) {
  body.woocommerce-checkout form.checkout,
  .woocommerce-checkout form.checkout,
  form.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 28px !important;
    align-items: start !important;
    float: none !important;
    clear: both !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout form.checkout input[type="hidden"] {
    display: none !important;
  }

  /* Header Row: Floating on Dark Background (Matches Cart Page 1:1) */
  .tgb-checkout-header-row {
    grid-column: 1 / -1 !important;
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .tgb-checkout-main-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
  }

  .tgb-checkout-main-subtitle {
    display: none !important;
  }

  .woocommerce-NoticeGroup-checkout,
  .woocommerce-NoticeGroup {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  /* Left Floating Card: Customer Details, Address & Delivery Method (Matches Cart Items Card) */
  body.woocommerce-checkout form.checkout .col2-set,
  .woocommerce-checkout form.checkout .col2-set,
  form.woocommerce-checkout .col2-set,
  body.woocommerce-checkout #customer_details,
  .woocommerce-checkout #customer_details,
  form.checkout #customer_details,
  form.woocommerce-checkout #customer_details {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 24px !important;
    padding: 32px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review_heading {
    display: none !important;
  }

  /* Right Floating Card: Order Review, Coupon & Payment (Sticky - Matches Cart Summary Card) */
  body.woocommerce-checkout form.checkout #order_review,
  .woocommerce-checkout form.checkout #order_review,
  form.woocommerce-checkout #order_review {
    float: none !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 24px !important;
    padding: 28px 24px !important;
    position: sticky !important;
    top: 90px !important;
    margin: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #order_review #payment,
  .woocommerce-checkout #order_review #payment {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 18px !important;
  }

  /* Desktop Redundancy Removal: Hide Deliver-to card and Continue-to-payment button */
  .tgb-step2-delivery-summary,
  #tgbStep2DeliverySummary {
    display: none !important;
  }

  .tgb-step1-next-wrap {
    display: none !important;
  }

  /* Sub-Cards inside Left Card on Desktop */
  .tgb-step1-shipping-wrapper {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: none !important;
    margin: 20px 0 0 0 !important;
  }

  .tgb-saved-address-card {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: none !important;
  }
}

@media (max-width: 991px) {
  body.woocommerce-checkout form.checkout,
  .woocommerce-checkout form.checkout,
  form.woocommerce-checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout form.checkout .col2-set,
  .woocommerce-checkout form.checkout .col2-set,
  form.woocommerce-checkout .col2-set,
  body.woocommerce-checkout form.checkout #order_review,
  .woocommerce-checkout form.checkout #order_review,
  form.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #customer_details,
  .woocommerce-checkout #customer_details,
  form.checkout #customer_details,
  form.woocommerce-checkout #customer_details,
  body.woocommerce-checkout .col2-set,
  .woocommerce-checkout .col2-set,
  form.checkout .col2-set,
  form.woocommerce-checkout .col2-set {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    margin-bottom: 24px !important;
  }

  /* Ensure step components are visible on mobile */
  .tgb-step1-next-wrap {
    display: block !important;
  }

  .tgb-step2-delivery-summary,
  #tgbStep2DeliverySummary {
    display: block !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout #customer_details,
  .woocommerce-checkout #customer_details,
  form.checkout #customer_details,
  form.woocommerce-checkout #customer_details,
  body.woocommerce-checkout .col2-set,
  .woocommerce-checkout .col2-set,
  form.checkout .col2-set,
  form.woocommerce-checkout .col2-set {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }
}

/* Prevent double background nesting if elements exist together */
#customer_details .woocommerce-billing-fields,
.col2-set .woocommerce-billing-fields,
#customer_details .col-1,
#customer_details .col-2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* Headings inside Customer Details */
body.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #customer_details h3,
form.checkout #customer_details h3,
form.woocommerce-checkout #customer_details h3,
.woocommerce-billing-fields h3 {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  font-size: 20px !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F1F5F9 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Saved Address Card (Simplified Flat Design per TGB UX Redesign) */
.tgb-saved-address-card {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.tgb-saved-address-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
  flex-wrap: wrap !important;
}

.tgb-saved-name-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.tgb-saved-recipient-name {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.tgb-saved-address-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.tgb-saved-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  color: #008B8F !important;
}

.tgb-badge-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #00C7CC !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.tgb-edit-address-toggle {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #2B2D7D !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tgb-edit-address-toggle:hover {
  border-color: #00C7CC !important;
  color: #008B8F !important;
  box-shadow: 0 2px 8px rgba(0, 199, 204, 0.15) !important;
}

.tgb-saved-name {
  font-size: 16px !important;
  color: #1E293B !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.tgb-saved-phone {
  color: #2B2D7D !important;
  font-weight: 750 !important;
  font-size: 13.5px !important;
  background: rgba(43, 45, 125, 0.06) !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
}

.tgb-saved-location {
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

.tgb-saved-hint {
  margin-top: 10px !important;
  padding-top: 8px !important;
  border-top: 1px dashed #CCFBF1 !important;
  font-size: 12px !important;
  color: #0D9488 !important;
  font-weight: 650 !important;
}

/* Notice Cards (No Saved Address & Guest Banner) */
.tgb-checkout-notice-card {
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin-bottom: 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  box-sizing: border-box !important;
}

.tgb-no-address-notice {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-left: 5px solid #00C7CC !important;
}

.tgb-notice-icon {
  font-size: 22px !important;
  flex-shrink: 0 !important;
}

.tgb-notice-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  font-size: 13px !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  line-height: 1.45 !important;
}

.tgb-notice-text strong {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.tgb-guest-banner {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-left: 5px solid #2B2D7D !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.tgb-guest-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.tgb-guest-icon {
  font-size: 24px !important;
  flex-shrink: 0 !important;
}

.tgb-guest-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.tgb-guest-banner strong,
.tgb-guest-content strong,
.tgb-guest-title {
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  display: block !important;
}

.tgb-guest-banner .tgb-guest-desc,
.tgb-guest-content .tgb-guest-desc,
.tgb-guest-content div:not(.tgb-guest-text) {
  font-size: 13px !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.tgb-guest-btn {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  padding: 9px 20px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(43, 45, 125, 0.25) !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.tgb-guest-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(226, 61, 213, 0.4) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Save to Profile Checkbox */
.tgb-save-profile-checkbox-wrap {
  background: #F8FAFC !important;
  border: 1.5px dashed #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
}

.tgb-custom-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
}

.tgb-custom-checkbox input[type="checkbox"] {
  accent-color: #2B2D7D !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.tgb-checkbox-label {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  font-size: 13.5px !important;
  color: #1E293B !important;
}

.tgb-checkbox-label strong {
  color: #2B2D7D !important;
  font-weight: 800 !important;
}

.tgb-checkbox-label small {
  color: #64748B !important;
  font-size: 12px !important;
}

/* Form Fields, Labels, Inputs & Focus Glow */
body.woocommerce-checkout form .form-row label,
.woocommerce-checkout form .form-row label {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
  display: block !important;
}

body.woocommerce-checkout form .form-row label .required,
.woocommerce-checkout form .form-row label .required {
  color: #E23DD5 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  background-color: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  min-height: 46px !important;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #00C7CC !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3.5px rgba(0, 199, 204, 0.2) !important;
  outline: none !important;
}

/* Invalid State for Inputs */
body.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
}

/* Card 2: Order Review & Payment Card (Mobile Card Style) */
@media (max-width: 991px) {
  body.woocommerce-checkout #order_review,
  .woocommerce-checkout #order_review,
  form.checkout #order_review,
  form.woocommerce-checkout #order_review {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    margin-bottom: 24px !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout #order_review,
  .woocommerce-checkout #order_review,
  form.checkout #order_review,
  form.woocommerce-checkout #order_review {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }
}

body.woocommerce-checkout #order_review::before,
.woocommerce-checkout #order_review::before {
  content: none !important;
  display: none !important;
}

/* Order Review Table */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table,
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin-bottom: 20px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 750 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  font-size: 13.5px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  font-size: 14px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 750 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  text-align: right !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th {
  font-size: 16px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  padding-top: 16px !important;
  border-bottom: none !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  text-align: right !important;
  padding-top: 16px !important;
  border-bottom: none !important;
}

/* Payment Methods Container */
body.woocommerce-checkout #payment,
.woocommerce-checkout #payment {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin-top: 20px !important;
}

body.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  border: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
}

body.woocommerce-checkout #payment ul.payment_methods li:hover,
.woocommerce-checkout #payment ul.payment_methods li:hover {
  border-color: #CBD5E1 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  accent-color: #2B2D7D !important;
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li label {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  cursor: pointer !important;
}

body.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-top: 10px !important;
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.woocommerce-checkout #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #FFFFFF !important;
}

/* Place Order Button (Pill Gradient CTA) */
body.woocommerce-checkout #payment button#place_order,
.woocommerce-checkout #payment button#place_order,
button#place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 50px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.45) !important;
  transition: all 0.25s ease !important;
  margin-top: 18px !important;
  letter-spacing: 0.3px !important;
}

body.woocommerce-checkout #payment button#place_order:hover,
.woocommerce-checkout #payment button#place_order:hover,
button#place_order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.6) !important;
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}


/* ==========================================================================
   ð ORDER RECEIVED / THANK YOU & SLIPOK PAYMENT PAGE (TGB BRAND CI)
   ========================================================================== */
.woocommerce-order-received .woocommerce {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 30px 15px !important;
}

/* Success Banner */
.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success {
  background: linear-gradient(135deg, rgba(0, 199, 204, 0.12), rgba(43, 45, 125, 0.08)) !important;
  border: 1.5px solid rgba(0, 199, 204, 0.35) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 20px !important;
  font-weight: 850 !important;
  text-align: center !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 25px !important;
}

/* Order KPI Overview Chips */
.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 30px 0 !important;
}

.woocommerce-order-received ul.woocommerce-order-overview li {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #64748B !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
  border-right: 1.5px solid #E2E8F0 !important;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  margin-top: 6px !important;
}

/* TGB Branded Payment Instruction Box */
.tgb-payment-instruction-box {
  background: #FFFFFF !important;
  border: 2px solid #2B2D7D !important;
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 10px 35px rgba(43, 45, 125, 0.12) !important;
  margin-bottom: 30px !important;
  color: #1E293B !important;
}

.tgb-pib-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 2px solid #F1F5F9 !important;
  padding-bottom: 14px !important;
  margin-bottom: 22px !important;
}

.tgb-pib-title {
  font-size: 19px !important;
  font-weight: 850 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  margin: 0 !important;
}

.tgb-pib-badge {
  background: linear-gradient(135deg, #00C7CC, #2B2D7D) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 5px 14px !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.tgb-bank-split {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 25px !important;
  align-items: center !important;
}

@media (max-width: 700px) {
  .tgb-bank-split {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

.tgb-qr-wrapper {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  text-align: center !important;
}

.tgb-qr-img {
  width: 180px !important;
  height: 180px !important;
  border-radius: 10px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  display: inline-block !important;
  margin-bottom: 8px !important;
}

.tgb-bank-card {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 14px !important;
  padding: 22px !important;
}

.tgb-bank-name {
  font-weight: 800 !important;
  color: #047857 !important;
  font-size: 15px !important;
  margin-bottom: 8px !important;
}

.tgb-bank-account-name {
  font-size: 14px !important;
  color: #64748B !important;
  margin-bottom: 14px !important;
}

.tgb-account-number-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF !important;
  border: 1.5px dashed #00C7CC !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  margin-bottom: 12px !important;
}

.tgb-account-number {
  font-family: monospace, -apple-system !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  letter-spacing: 1.5px !important;
}

.tgb-btn-copy {
  background: linear-gradient(135deg, #00C7CC, #2B2D7D) !important;
  border: none !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tgb-btn-copy:hover {
  opacity: 0.9 !important;
  transform: scale(1.02) !important;
}

/* SlipOK Custom Dropzone & Plugin Styling */
.tgb-slipok-dropzone,
#slipok-upload,
.slipok-container,
.slipok-dropzone,
.slipok-upload-wrap {
  background: #F0FDFD !important;
  border: 2px dashed #00C7CC !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  text-align: center !important;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.tgb-slipok-dropzone:hover,
div[class*="slipok"]:hover,
#slipok-upload:hover,
.slipok-container:hover,
.slipok-dropzone:hover {
  background: #E6FBFB !important;
  border-color: #00a8ad !important;
}

/* SlipOK Buttons */
div[class*="slipok"] button,
div[class*="slipok"] input[type="submit"],
#slipok-submit-btn,
.slipok-btn {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(226, 61, 213, 0.4) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

div[class*="slipok"] button:hover,
div[class*="slipok"] input[type="submit"]:hover,
#slipok-submit-btn:hover,
.slipok-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(226, 61, 213, 0.55) !important;
}

/* ==========================================================================
   ð§¾ ORDER DETAILS & CUSTOMER DETAILS (TGB CI BRANDING & CONTRAST FIX)
   ========================================================================== */
.woocommerce-order-received section.woocommerce-order-details,
.woocommerce-view-order section.woocommerce-order-details,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details,
section.woocommerce-order-details,
.woocommerce-order-received section.woocommerce-customer-details,
.woocommerce-view-order section.woocommerce-customer-details,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-customer-details,
section.woocommerce-customer-details {
  background: #FFFFFF !important;
  border: 1.5px solid #F1F5F9 !important;
  border-radius: 20px !important;
  padding: 24px 20px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
  margin: 0 auto 28px auto !important;
  max-width: 560px !important;
  box-sizing: border-box !important;
  color: #1E293B !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.woocommerce-order-received section.woocommerce-order-details h2,
.woocommerce-order-received section.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-view-order section.woocommerce-order-details h2,
.woocommerce-view-order section.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details h2,
section.woocommerce-order-details h2,
section.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-order-received section.woocommerce-customer-details h2,
.woocommerce-view-order section.woocommerce-customer-details h2,
section.woocommerce-customer-details h2 {
  color: #0C0D28 !important;
  -webkit-text-fill-color: #0C0D28 !important;
  font-weight: 850 !important;
  font-size: 20px !important;
  margin: 0 0 16px 0 !important;
  border-bottom: 2px solid #F8FAFC !important;
  padding-bottom: 12px !important;
  letter-spacing: -0.3px !important;
}

/* Order Details Table Styling */
.woocommerce-order-received table.woocommerce-table--order-details,
.woocommerce-order-received table.order_details,
.woocommerce-view-order table.woocommerce-table--order-details,
.woocommerce-view-order table.order_details,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details,
.woocommerce-account .woocommerce-MyAccount-content table.order_details,
.woocommerce-order-details table.woocommerce-table--order-details,
.woocommerce-order-details table.order_details,
table.woocommerce-table--order-details {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #F1F5F9 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  margin: 0 0 16px 0 !important;
}

/* Table Header (Fix Invisible / Low Contrast Headers) */
.woocommerce-order-received table.woocommerce-table--order-details thead th,
.woocommerce-order-received table.order_details thead th,
.woocommerce-view-order table.woocommerce-table--order-details thead th,
.woocommerce-view-order table.order_details thead th,
.woocommerce-account table.woocommerce-table--order-details thead th,
.woocommerce-account table.order_details thead th,
.woocommerce-order-details table thead th,
table.woocommerce-table--order-details thead th {
  background: #F8FAFC !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.woocommerce-order-received table.woocommerce-table--order-details thead th.product-total,
.woocommerce-order-received table.order_details thead th.product-total,
.woocommerce-view-order table.woocommerce-table--order-details thead th.product-total,
.woocommerce-view-order table.order_details thead th.product-total,
.woocommerce-account table.woocommerce-table--order-details thead th.product-total,
.woocommerce-order-details table thead th.product-total,
table.woocommerce-table--order-details thead th.product-total {
  text-align: right !important;
}
table.woocommerce-table--order-details thead th:first-child {
  border-top-left-radius: 12px !important;
}
table.woocommerce-table--order-details thead th:last-child {
  border-top-right-radius: 12px !important;
}

/* Table Body Rows */
.woocommerce-order-received table.woocommerce-table--order-details tbody td,
.woocommerce-order-received table.order_details tbody td,
.woocommerce-view-order table.woocommerce-table--order-details tbody td,
.woocommerce-view-order table.order_details tbody td,
.woocommerce-account table.woocommerce-table--order-details tbody td,
.woocommerce-account table.order_details tbody td,
.woocommerce-order-details table tbody td,
table.woocommerce-table--order-details tbody td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #F1F5F9 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a,
.woocommerce-order-received table.order_details tbody td.product-name a,
.woocommerce-view-order table.woocommerce-table--order-details tbody td.product-name a,
.woocommerce-view-order table.order_details tbody td.product-name a,
.woocommerce-account table.woocommerce-table--order-details tbody td.product-name a,
.woocommerce-order-details table tbody td.product-name a,
table.woocommerce-table--order-details tbody td.product-name a {
  color: #2563EB !important;
  -webkit-text-fill-color: #2563EB !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a:hover,
.woocommerce-order-received table.order_details tbody td.product-name a:hover,
.woocommerce-view-order table.woocommerce-table--order-details tbody td.product-name a:hover,
.woocommerce-order-details table tbody td.product-name a:hover,
table.woocommerce-table--order-details tbody td.product-name a:hover {
  color: #1D4ED8 !important;
  -webkit-text-fill-color: #1D4ED8 !important;
  text-decoration: underline !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name strong.product-quantity,
.woocommerce-order-received table.order_details tbody td.product-name strong.product-quantity,
.woocommerce-view-order table.woocommerce-table--order-details tbody td.product-name strong.product-quantity,
.woocommerce-view-order table.order_details tbody td.product-name strong.product-quantity,
.woocommerce-account table.woocommerce-table--order-details tbody td.product-name strong.product-quantity,
.woocommerce-order-details table tbody td.product-name strong.product-quantity,
table.woocommerce-table--order-details tbody td.product-name strong.product-quantity {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-left: 4px !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-order-received table.order_details tbody td.product-total,
.woocommerce-view-order table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-view-order table.order_details tbody td.product-total,
.woocommerce-account table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-order-details table tbody td.product-total,
table.woocommerce-table--order-details tbody td.product-total {
  text-align: right !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* Table Footer / Labels Row (Fix Invisible White Text on White Background) */
.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
.woocommerce-order-received table.order_details tfoot th,
.woocommerce-view-order table.woocommerce-table--order-details tfoot th,
.woocommerce-view-order table.order_details tfoot th,
.woocommerce-account table.woocommerce-table--order-details tfoot th,
.woocommerce-account table.order_details tfoot th,
.woocommerce-order-details table tfoot th,
table.woocommerce-table--order-details tfoot th {
  background: #FFFFFF !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #F8FAFC !important;
  text-align: left !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td,
.woocommerce-order-received table.order_details tfoot td,
.woocommerce-view-order table.woocommerce-table--order-details tfoot td,
.woocommerce-view-order table.order_details tfoot td,
.woocommerce-account table.woocommerce-table--order-details tfoot td,
.woocommerce-account table.order_details tfoot td,
.woocommerce-order-details table tfoot td,
table.woocommerce-table--order-details tfoot td {
  background: #FFFFFF !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #F8FAFC !important;
  text-align: right !important;
}

/* Order Total Row */
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr.order-total th,
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr.order-total td {
  background: #F8FAFC !important;
  color: #6366F1 !important;
  -webkit-text-fill-color: #6366F1 !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  border-bottom: none !important;
}

.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order-total th,
.woocommerce-account table.woocommerce-table--order-details tfoot tr.order-total th,
table.woocommerce-table--order-details tfoot tr.order-total th {
  background: #FFFFFF !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid #F8FAFC !important;
}

.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order-total td,
.woocommerce-account table.woocommerce-table--order-details tfoot tr.order-total td,
table.woocommerce-table--order-details tfoot tr.order-total td {
  background: #FFFFFF !important;
  color: #0C0D28 !important;
  -webkit-text-fill-color: #0C0D28 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #F8FAFC !important;
}

.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order-total td .amount,
.woocommerce-account table.woocommerce-table--order-details tfoot tr.order-total td .amount,
table.woocommerce-table--order-details tfoot tr.order-total td .amount {
  color: #0C0D28 !important;
  -webkit-text-fill-color: #0C0D28 !important;
  font-weight: 800 !important;
}

/* Powered by SlipOK Image Badge */
.tgb-pis-powered-by {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 14px !important;
  padding: 4px 0 !important;
}

.tgb-powered-by-slipok-img {
  height: 20px !important;
  width: auto !important;
  max-width: 150px !important;
  display: block !important;
  object-fit: contain !important;
  opacity: 0.88 !important;
}

/* Hide ENTIRE Actions Row and Buttons in Order Details ONLY on Thank You Page */
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:has(a),
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:has(button),
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:has(.cancel),
.woocommerce-order-received .woocommerce-table--order-details tr.order-actions,
.woocommerce-order-received .woocommerce-table--order-details td.actions,
.woocommerce-order-received .woocommerce-order-details a.button,
.woocommerce-order-received .woocommerce-order-details button,
.woocommerce-order-received .woocommerce-order-details .woocommerce-button,
.woocommerce-order-received .woocommerce-order-details .order-actions,
.woocommerce-order-received .woocommerce-order-details p.order-again,
.woocommerce-order-received .woocommerce-order-details .cancel,
.woocommerce-order-received table.woocommerce-table--order-details a.button,
.woocommerce-order-received table.woocommerce-table--order-details button {
  display: none !important;
}

/* ==========================================================================
   🎯 ACTIONS ROW & BUTTONS ON MY ACCOUNT > VIEW ORDER (Matching Image 2)
   ========================================================================== */
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(a.button),
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(button),
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order_actions,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:has(a.button),
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr.order_actions,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row,
table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row {
  background: #F8FAFC !important;
  border-top: 1.5px solid #E2E8F0 !important;
}

.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(a.button) th,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(button) th,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order_actions th,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:has(a.button) th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row th,
table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row th {
  background: #F8FAFC !important;
  color: #0C0D28 !important;
  -webkit-text-fill-color: #0C0D28 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  vertical-align: middle !important;
  padding: 16px !important;
  border: none !important;
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}

.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(a.button) td,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:has(button) td,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.order_actions td,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row td,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:has(a.button) td,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row td,
table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row td {
  background: #F8FAFC !important;
  text-align: right !important;
  padding: 16px !important;
  border: none !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.tgb-view-order-actions-wrap,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr td .order-actions,
.woocommerce-view-order table.woocommerce-table--order-details tfoot tr td:has(a.button),
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr td:has(a.button) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 10px !important;
}

/* Secondary Cancel Button: Clean white pill with grey outline (Image 2) */
.tgb-view-order-cancel-btn,
.woocommerce-view-order table.woocommerce-table--order-details a.button.cancel,
.woocommerce-view-order table.woocommerce-table--order-details button.cancel,
.woocommerce-view-order table.woocommerce-table--order-details a.cancel,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details a.button.cancel,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details a.cancel,
table.woocommerce-table--order-details a.cancel,
table.woocommerce-table--order-details a.button.cancel,
table.woocommerce-table--order-details button.cancel {
  background: #FFFFFF !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 6px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  min-width: 90px !important;
  text-align: center !important;
}
.woocommerce-view-order table.woocommerce-table--order-details a.button.cancel:hover,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details a.button.cancel:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* Primary Notification Payment / Action Button: Purple gradient pill (Image 2) */
.tgb-view-order-pay-btn,
.woocommerce-view-order table.woocommerce-table--order-details a.button:not(.cancel),
.woocommerce-view-order table.woocommerce-table--order-details button:not(.cancel),
.woocommerce-view-order table.woocommerce-table--order-details .woocommerce-button:not(.cancel),
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details a.button:not(.cancel),
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details button:not(.cancel),
table.woocommerce-table--order-details a.button:not(.cancel),
table.woocommerce-table--order-details button:not(.cancel) {
  background: #6366F1 !important;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
  min-width: 150px !important;
}
.woocommerce-view-order table.woocommerce-table--order-details a.button:not(.cancel):hover,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details a.button:not(.cancel):hover {
  opacity: 0.94 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45) !important;
}

/* My Account View Order Status Notice Banner */
.woocommerce-view-order mark.order-number,
.woocommerce-view-order mark.order-date,
.woocommerce-view-order mark.order-status {
  background: transparent !important;
  color: #0C0D28 !important;
  font-weight: 750 !important;
}
.woocommerce-view-order p:has(mark.order-number),
.woocommerce-account p:has(mark.order-number) {
  background: #FFFFFF !important;
  border: 1.5px solid #F1F5F9 !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  max-width: 560px !important;
  margin: 0 auto 20px auto !important;
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

/* Customer details address styling */
.woocommerce-view-order section.woocommerce-customer-details address,
.woocommerce-account section.woocommerce-customer-details address {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: #334155 !important;
  font-style: normal !important;
  line-height: 1.6 !important;
  margin-top: 8px !important;
}

/* Toast Notification for Copying */
#tgbCopyToast {
  visibility: hidden;
  min-width: 220px;
  background-color: #10B981;
  color: #FFFFFF;
  text-align: center;
  border-radius: 50px;
  padding: 12px 24px;
  position: fixed;
  z-index: 999999;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
}

#tgbCopyToast.tgb-show {
  visibility: visible;
  opacity: 1;
  bottom: 40px;
}


/* ==========================================================================
   🛒 WOOCOMMERCE CART BLOCKS SUPPORT (GUTENBERG FALLBACK)
   ========================================================================== */
.wp-block-woocommerce-cart,
.wc-block-cart {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 20px 0 !important;
}

.wc-block-cart__main {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  padding: 32px !important;
  box-sizing: border-box !important;
  color: #1E293B !important;
}

.wc-block-cart__sidebar,
.wc-block-cart__totals {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  padding: 28px 24px !important;
  box-sizing: border-box !important;
  color: #1E293B !important;
}

.wc-block-cart__submit-button,
.wc-block-cart__submit a,
.wp-block-woocommerce-cart .wc-block-components-checkout-button {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  border-radius: 50px !important;
  padding: 16px 28px !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.45) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-cart__submit a:hover,
.wp-block-woocommerce-cart .wc-block-components-checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.6) !important;
  background: linear-gradient(135deg, #222464 0%, #C826BB 100%) !important;
}

.wc-block-cart-items__row {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 16px 20px !important;
  margin-bottom: 14px !important;
}

.wc-block-cart-item__title {
  color: #2B2D7D !important;
  font-weight: 800 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #E23DD5 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}


/* ==========================================================================
   📱 MOBILE CHECKOUT 2-STEP WIZARD STYLES (< 992px)
   ========================================================================== */
.tgb-mobile-steps-bar {
  display: none;
}

@media (max-width: 991px) {
  .tgb-mobile-steps-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    backdrop-filter: blur(10px) !important;
  }

  .tgb-step-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    color: #94A3B8 !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .tgb-step-pill.active {
    background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(226, 61, 213, 0.4) !important;
  }

  .tgb-step-num {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 900 !important;
  }

  .tgb-step-pill.active .tgb-step-num {
    background: #FFFFFF !important;
    color: #2B2D7D !important;
  }

  .tgb-step-connector {
    width: 18px !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.2) !important;
  }

  /* Step 1 Next Button */
  .tgb-step1-next-wrap {
    margin-top: 24px !important;
    padding-top: 18px !important;
    border-top: 1px dashed #E2E8F0 !important;
  }

  .tgb-step1-next-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 52px !important;
    background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(226, 61, 213, 0.4) !important;
    font-family: inherit !important;
    transition: all 0.25s ease !important;
  }

  /* Step 2 Back Button */
  .tgb-step2-back-wrap {
    margin-bottom: 16px !important;
  }

  .tgb-step2-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
  }

  .tgb-step2-back-btn:hover {
    border-color: #00C7CC !important;
    color: #008B8F !important;
  }
}

/* ==========================================================================
   🧾 ORDER REVIEW TABLE: REMOVE HARSH GRID BORDERS & MODERNIZE ACCORDING TO CI
   ========================================================================== */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table,
.woocommerce-checkout table.woocommerce-checkout-review-order-table,
body.woocommerce-checkout table.shop_table,
.woocommerce-checkout table.shop_table {
  border: none !important;
  border-collapse: collapse !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  border-left: none !important;
  border-right: none !important;
  border-color: #F1F5F9 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
  border-top: none !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  padding: 8px 0 12px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td {
  padding: 14px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity {
  display: inline-block !important;
  background: #F1F5F9 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  padding: 1px 7px !important;
  border-radius: 20px !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  margin-left: 6px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  font-size: 15px !important;
  text-align: right !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 650 !important;
  font-size: 13.5px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 750 !important;
  font-size: 14px !important;
  text-align: right !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th {
  font-size: 16px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 850 !important;
  padding-top: 16px !important;
  border-top: 1.5px solid #F1F5F9 !important;
  border-bottom: none !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  text-align: right !important;
  padding-top: 16px !important;
  border-top: 1.5px solid #F1F5F9 !important;
  border-bottom: none !important;
}

/* Payment Methods Box & Direct Bank Transfer Compactness */
.woocommerce-checkout #payment div.payment_box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-top: 8px !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

/* ==========================================================================
   🎉 ORDER RECEIVED / THANK YOU PAGE REFINEMENTS (IMAGE 2 & 3 FIXES)
   ========================================================================== */

/* 1. Success Notice Banner: Clean White Card with Cyan Border & Dark Legible Text */
.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success {
  background: #FFFFFF !important;
  border: 2px solid #00C7CC !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  text-align: center !important;
  box-shadow: 0 6px 20px rgba(0, 199, 204, 0.15) !important;
  margin-bottom: 24px !important;
}

/* 2. Order Overview Cards: 2x2 Compact Grid & Overflow Text Wrap */
.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px 0 !important;
}

@media (max-width: 480px) {
  .woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
}

.woocommerce-order-received ul.woocommerce-order-overview li {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  text-align: center !important;
  font-size: 12.5px !important;
  color: #64748B !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 14.5px !important;
  font-weight: 850 !important;
  margin-top: 4px !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

/* ==========================================================================
   💳 MODERN 2-STEP PAYMENT INSTRUCTIONS SCREEN (media_1788884214465.png)
   ========================================================================== */

/* Hide redundant default WooCommerce BACS bank details & notices */
.woocommerce-bacs-bank-details,
.wc-bacs-bank-details-heading,
.wc-bacs-bank-details-account-name,
ul.wc-bacs-bank-details,
section.woocommerce-bacs-bank-details,
.woocommerce-order-received .woocommerce-bacs-bank-details,
.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success,
.woocommerce-order-received ul.woocommerce-order-overview {
  display: none !important;
}

/* Hide SlipOK's default clunky form (driven by our modern 2-step UI) */
.woocommerce-order-received div[class*="slipok"],
.woocommerce-order-received .slipok-container,
.woocommerce-order-received #slipok-form,
.woocommerce-order-received div[class*="confirm"],
.woocommerce-order-received div[class*="confirm-payment"] {
  display: none !important;
}

/* Ensure any verification modals or alerts from SlipOK remain visible */
.woocommerce-order-received div[class*="slipok-modal"],
.woocommerce-order-received .slipok-result,
.woocommerce-order-received .slipok-popup,
.swal2-container {
  display: block !important;
  z-index: 999999 !important;
}

/* Screen Wrapper */
.tgb-payment-instructions-screen {
  max-width: 1140px !important;
  width: 100% !important;
  margin: 0 auto 40px auto !important;
  padding: 10px 4px !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* Back Link (media_1788966541712.jpg) */
.tgb-pis-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
  transition: all 0.2s ease !important;
}

.tgb-pis-back-link:hover {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  transform: translateX(-3px) !important;
}

/* Top Row: Title on Left, Order Card on Right */
.tgb-pis-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

.tgb-pis-header {
  flex: 1 1 auto !important;
  text-align: left !important;
  margin-bottom: 0 !important;
}

.tgb-pis-title {
  display: block !important;
  font-size: 26px !important;
  font-weight: 850 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.4px !important;
}

.tgb-pis-subtitle {
  font-size: 13.5px !important;
  color: #94A3B8 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* Order Info & Awaiting Payment Card (Floating on Top Right) */
.tgb-pis-order-card {
  flex: 0 0 auto !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 14px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
  margin-bottom: 0 !important;
  gap: 16px !important;
}

.tgb-pis-order-left {
  flex: 1 1 auto !important;
}

.tgb-pis-order-no {
  font-size: 15px !important;
  font-weight: 850 !important;
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
}

.tgb-pis-order-date {
  font-size: 12px !important;
  color: #64748B !important;
  margin-top: 3px !important;
}

.tgb-pis-order-status-badge {
  flex: 0 0 auto !important;
  background: #FFFBEB !important;
  border: 1.2px solid #FDE68A !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.tgb-pis-badge-icon {
  font-size: 18px !important;
  line-height: 1 !important;
}

.tgb-pis-badge-content strong {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
}

.tgb-pis-badge-content small {
  display: block !important;
  font-size: 10.5px !important;
  color: #B45309 !important;
}

/* Two-Column Responsive Layout (media_1788966541712.jpg) */
@media (min-width: 992px) {
  .tgb-payment-instructions-screen {
    max-width: 1140px !important;
    width: 100% !important;
    margin: 0 auto 40px auto !important;
  }

  .tgb-thankyou-2col-layout {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
  }

  .tgb-thankyou-col-left {
    display: block !important;
    width: 100% !important;
    position: static !important;
  }

  .tgb-thankyou-col-right {
    display: block !important;
    width: 100% !important;
    position: sticky !important;
    top: 24px !important;
  }

  .tgb-pis-tabs-nav,
  .tgb-pis-continue-to-step2-btn,
  .tgb-pis-back-to-step1-btn {
    display: none !important;
  }

  .tgb-thankyou-2col-layout #tgbPisStep1,
  .tgb-thankyou-2col-layout #tgbPisStep2,
  .tgb-thankyou-2col-layout .tgb-thankyou-col-right {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .tgb-payment-instructions-screen {
    max-width: 520px !important;
    width: 100% !important;
    margin: 0 auto 30px auto !important;
  }

  .tgb-pis-top-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
  }

  .tgb-pis-order-card {
    margin-bottom: 0 !important;
  }

  .tgb-thankyou-2col-layout {
    display: block !important;
    width: 100% !important;
  }

  .tgb-thankyou-col-left,
  .tgb-thankyou-col-right {
    display: block !important;
    width: 100% !important;
  }

  /* Mobile 2-Step Tab Controller */
  .tgb-pis-tabs-nav {
    display: flex !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 5px !important;
    gap: 8px !important;
    margin: 16px 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  }

  .tgb-pis-nav-tab {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
  }

  .tgb-pis-nav-tab .tgb-tab-title {
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
  }

  .tgb-pis-nav-tab:hover:not(.active) {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
  }

  .tgb-pis-nav-tab.active {
    background: linear-gradient(135deg, #2B2D7D 0%, #8C52FF 100%) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(140, 82, 255, 0.3) !important;
  }

  .tgb-pis-nav-tab.active .tgb-tab-title {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  }

  .tgb-pis-nav-tab .tgb-tab-step-num {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #EDE9FE !important;
    color: #6D28D9 !important;
    -webkit-text-fill-color: #6D28D9 !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tgb-pis-nav-tab.active .tgb-tab-step-num {
    background: #00C7CC !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
  }

  /* Step 1 Active on Mobile */
  .tgb-thankyou-2col-layout.is-mobile-step-1 #tgbPisStep1 {
    display: block !important;
  }
  .tgb-thankyou-2col-layout.is-mobile-step-1 #tgbPisStep2,
  .tgb-thankyou-2col-layout.is-mobile-step-1 .tgb-thankyou-col-right {
    display: none !important;
  }

  /* Step 2 Active on Mobile */
  .tgb-thankyou-2col-layout.is-mobile-step-2 #tgbPisStep1 {
    display: none !important;
  }
  .tgb-thankyou-2col-layout.is-mobile-step-2 #tgbPisStep2,
  .tgb-thankyou-2col-layout.is-mobile-step-2 .tgb-thankyou-col-right {
    display: block !important;
  }

  .tgb-pis-continue-to-step2-btn {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    background: linear-gradient(90deg, #8C52FF 0%, #00C7CC 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    cursor: pointer !important;
    margin-top: 16px !important;
    box-shadow: 0 4px 16px rgba(140, 82, 255, 0.3) !important;
  }

  .tgb-pis-back-to-step1-btn {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    background: #F1F5F9 !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    margin-top: 14px !important;
  }
}

/* Elevated White Cards (Matches Cart & Checkout Floating Cards) */
.tgb-pis-step-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 24px !important;
  padding: 24px 22px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16) !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
}

.tgb-thankyou-col-left section.woocommerce-order-details,
.tgb-thankyou-col-left section.woocommerce-customer-details,
.tgb-thankyou-col-right section.woocommerce-order-details,
.tgb-thankyou-col-right section.woocommerce-customer-details,
section.woocommerce-order-details,
section.woocommerce-customer-details {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 24px !important;
  padding: 24px 22px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16) !important;
  margin: 0 0 16px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Hide duplicate order details and theme headers rendered outside #tgbPaymentInstructionsScreen */
.woocommerce-order:has(#tgbPaymentInstructionsScreen) > section.woocommerce-order-details,
.woocommerce-order:has(#tgbPaymentInstructionsScreen) > section.woocommerce-customer-details,
.woocommerce-order-received:has(#tgbPaymentInstructionsScreen) .woocommerce > section.woocommerce-order-details,
.woocommerce-order-received:has(#tgbPaymentInstructionsScreen) .woocommerce > section.woocommerce-customer-details,
.woocommerce-order-received .entry-header:not(.tgb-pis-header),
.woocommerce-order-received h1.entry-title,
.woocommerce-order-received h1.page-title,
.woocommerce-order-received .ast-archive-description,
body:has(#tgbPaymentInstructionsScreen) .entry-header:not(.tgb-pis-header),
body:has(#tgbPaymentInstructionsScreen) h1.entry-title,
body:has(#tgbPaymentInstructionsScreen) h1.page-title,
body:has(#tgbPaymentInstructionsScreen) .ast-archive-description {
  display: none !important;
}

/* Step Card Header */
.tgb-pis-step-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.tgb-pis-step-badge {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #6366F1 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4) !important;
}

.tgb-pis-step-header-text {
  flex: 1 1 auto !important;
}

.tgb-pis-step-title {
  font-size: 16px !important;
  font-weight: 850 !important;
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
  margin: 0 0 3px 0 !important;
}

.tgb-pis-step-desc {
  font-size: 12px !important;
  color: #64748B !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Total Amount Box with Integrated Subtle Notice */
.tgb-pis-amount-row {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.tgb-pis-amount-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.tgb-pis-amount-label {
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #475569 !important;
}

.tgb-pis-amount-val-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tgb-pis-amount-value {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #4F46E5 !important;
  -webkit-text-fill-color: #4F46E5 !important;
  letter-spacing: -0.5px !important;
}

.tgb-pis-amount-value {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  letter-spacing: -0.5px !important;
}

.tgb-pis-copy-amount-btn {
  background: #F0EDFF !important;
  border: 1.5px solid rgba(43, 45, 125, 0.25) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 4px rgba(43, 45, 125, 0.08) !important;
}

.tgb-pis-copy-amount-btn span {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

.tgb-pis-copy-amount-btn svg {
  stroke: #2b2d7d !important;
  color: #2b2d7d !important;
  flex-shrink: 0 !important;
}

.tgb-pis-copy-amount-btn:hover {
  background: #2b2d7d !important;
  border-color: #2b2d7d !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(43, 45, 125, 0.25) !important;
}

.tgb-pis-copy-amount-btn:hover span {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-pis-copy-amount-btn:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.tgb-pis-copy-amount-btn svg {
  flex-shrink: 0 !important;
}

.tgb-pis-amount-notice-inline {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  border-top: 1px dashed #E2E8F0 !important;
  padding-top: 9px !important;
}

.tgb-pis-notice-dot {
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

/* Obsolete notice banner cleanup */
.tgb-pis-info-banner,
.tgb-pis-amount-notice-row {
  display: contents !important;
}

@media (max-width: 480px) {
  .tgb-pis-amount-top {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .tgb-pis-amount-value {
    font-size: 21px !important;
  }
  .tgb-pis-amount-notice-inline {
    font-size: 11.5px !important;
  }
}

/* Payment Method Toggle Tabs (PromptPay QR vs Kasikornbank) */
.tgb-pis-pay-tabs {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  background: #F1F5F9 !important;
  padding: 5px !important;
  border-radius: 14px !important;
}

.tgb-pis-tab-btn {
  flex: 1 1 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1.5px solid transparent !important;
  background: transparent !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.tgb-pis-tab-btn span {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-weight: 750 !important;
  font-size: 13.5px !important;
}

.tgb-pis-tab-btn svg {
  color: #475569 !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  flex-shrink: 0 !important;
}

.tgb-pis-tab-btn:hover {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.tgb-pis-tab-btn:hover span {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
}

.tgb-pis-tab-btn:hover svg {
  color: #2b2d7d !important;
  fill: #2b2d7d !important;
  stroke: #2b2d7d !important;
}

.tgb-pis-tab-btn.is-active {
  background: #FFFFFF !important;
  border-color: rgba(43, 45, 125, 0.25) !important;
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-weight: 850 !important;
  box-shadow: 0 3px 10px rgba(43, 45, 125, 0.12) !important;
}

.tgb-pis-tab-btn.is-active span {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-weight: 850 !important;
}

.tgb-pis-tab-btn.is-active svg {
  color: #2b2d7d !important;
  fill: #2b2d7d !important;
  stroke: #2b2d7d !important;
}

.tgb-tab-content.is-hidden {
  display: none !important;
}

/* Bank Account Card (Kasikornbank) */
.tgb-pis-bank-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  margin-bottom: 14px !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .tgb-pis-bank-card {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 18px 22px !important;
  }

  .tgb-pis-bank-logo-wrap {
    flex: 0 0 145px !important;
    border-bottom: none !important;
    border-right: 1.5px solid #F1F5F9 !important;
    padding-bottom: 0 !important;
    padding-right: 18px !important;
    margin-bottom: 0 !important;
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .tgb-pis-bank-details {
    flex: 1 1 auto !important;
  }
}

@media (max-width: 767px) {
  .tgb-pis-bank-logo-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }
}

.tgb-kbank-logo-img,
.tgb-kbank-svg {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  display: block !important;
  margin: 0 auto 6px auto !important;
}

.tgb-pis-bank-names strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
}

.tgb-pis-bank-names small {
  display: block !important;
  font-size: 11.5px !important;
  color: #64748B !important;
}

.tgb-pis-bank-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.tgb-pis-bank-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.tgb-pis-detail-text small {
  display: block !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.tgb-pis-val {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
}

.tgb-pis-acc-num {
  font-family: monospace, -apple-system !important;
  font-size: 16px !important;
  letter-spacing: 0.8px !important;
  color: #1E1B4B !important;
}

.tgb-pis-bank-divider {
  height: 1px !important;
  background: #F1F5F9 !important;
}

.tgb-pis-copy-btn {
  background: #F0EDFF !important;
  border: 1.5px solid rgba(43, 45, 125, 0.25) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 4px rgba(43, 45, 125, 0.08) !important;
}

.tgb-pis-copy-btn span,
.tgb-pis-copy-btn .tgb-pis-copy-txt {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.tgb-pis-copy-btn svg {
  stroke: #2b2d7d !important;
  color: #2b2d7d !important;
  flex-shrink: 0 !important;
}

.tgb-pis-copy-btn:hover {
  background: #2b2d7d !important;
  border-color: #2b2d7d !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(43, 45, 125, 0.25) !important;
}

.tgb-pis-copy-btn:hover span,
.tgb-pis-copy-btn:hover .tgb-pis-copy-txt {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-pis-copy-btn:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* PromptPay QR Sub-card */
.tgb-pis-promptpay-card {
  background: #F0FDFD !important;
  border: 1.5px solid #CCFBF1 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  display: grid !important;
  grid-template-columns: 130px 1fr !important;
  gap: 16px !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .tgb-pis-promptpay-card {
    grid-template-columns: 160px 1fr !important;
    gap: 20px !important;
    padding: 20px 22px !important;
  }
}

.tgb-pis-pp-left {
  text-align: center !important;
}

.tgb-pis-pp-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #003D6B !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  margin-bottom: 6px !important;
}

.tgb-pis-qr-img {
  width: 120px !important;
  height: 120px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  display: block !important;
  margin: 0 auto !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

@media (min-width: 768px) {
  .tgb-pis-qr-img {
    width: 150px !important;
    height: 150px !important;
  }
}

.tgb-pis-pp-right h4 {
  font-size: 15px !important;
  font-weight: 850 !important;
  color: #0F766E !important;
  -webkit-text-fill-color: #0F766E !important;
  margin: 0 0 4px 0 !important;
}

.tgb-pis-pp-right p {
  font-size: 12px !important;
  color: #475569 !important;
  line-height: 1.4 !important;
  margin: 0 0 10px 0 !important;
}

.tgb-pis-save-qr-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #2b2d7d !important;
  border-radius: 9px !important;
  padding: 8px 16px !important;
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(43, 45, 125, 0.12) !important;
}

.tgb-pis-save-qr-btn span {
  color: #2b2d7d !important;
  -webkit-text-fill-color: #2b2d7d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.tgb-pis-save-qr-btn svg {
  stroke: #2b2d7d !important;
  color: #2b2d7d !important;
  flex-shrink: 0 !important;
}

.tgb-pis-save-qr-btn:hover {
  background: #2b2d7d !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(43, 45, 125, 0.25) !important;
  transform: translateY(-1px) !important;
}

.tgb-pis-save-qr-btn:hover span {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-pis-save-qr-btn:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* Step 2: Interactive Slip Dropzone */
.tgb-pis-dropzone {
  background: #FAF5FF !important;
  border: 2px dashed #A5B4FC !important;
  border-radius: 14px !important;
  padding: 18px 16px !important;
  text-align: center !important;
  cursor: pointer !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
}

.tgb-pis-dropzone:hover {
  background: #F3E8FF !important;
  border-color: #6366F1 !important;
}

.tgb-pis-upload-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #EEF2FF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 8px auto !important;
}

.tgb-pis-dz-title {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #4338CA !important;
  -webkit-text-fill-color: #4338CA !important;
  margin-bottom: 2px !important;
}

.tgb-pis-dz-sub {
  font-size: 11px !important;
  color: #94A3B8 !important;
}

/* File Selected Preview State (HIDDEN until .has-file) */
.tgb-pis-dropzone-preview {
  display: none !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
}

.tgb-pis-dropzone.has-file .tgb-pis-dropzone-idle {
  display: none !important;
}

.tgb-pis-dropzone.has-file .tgb-pis-dropzone-preview {
  display: flex !important;
}

.tgb-pis-thumb-img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.tgb-pis-file-meta {
  flex: 1 1 auto !important;
}

.tgb-pis-file-name {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #1E1B4B !important;
  max-width: 220px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.tgb-pis-file-ready {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  color: #059669 !important;
}

.tgb-pis-change-hint {
  font-size: 10px !important;
  color: #94A3B8 !important;
}

/* Shake Animation when no file */
@keyframes tgbShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.tgb-shake {
  animation: tgbShake 0.5s ease-in-out !important;
  border-color: #EF4444 !important;
}

/* Action CTA Button */
.tgb-pis-submit-btn {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 5px 18px rgba(226, 61, 213, 0.38) !important;
  transition: all 0.25s ease !important;
}

.tgb-pis-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 22px rgba(226, 61, 213, 0.5) !important;
}

.tgb-pis-submit-btn.is-loading {
  opacity: 0.8 !important;
  pointer-events: none !important;
}

.tgb-pis-spinner {
  width: 20px !important;
  height: 20px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  border-top-color: #FFFFFF !important;
  animation: tgbSpin 0.8s linear infinite !important;
}

@keyframes tgbSpin {
  to { transform: rotate(360deg); }
}

.tgb-pis-submit-msg {
  margin-top: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.tgb-pis-submit-msg.is-err {
  color: #DC2626 !important;
}

.tgb-pis-submit-msg.is-ok {
  color: #059669 !important;
}

/* Security Note */
.tgb-pis-security-note {
  text-align: center !important;
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  margin-top: 20px !important;
}

/* Order Item Thumbnail in Details Table */
.tgb-order-item-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.tgb-order-item-thumb {
  width: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1px solid #E2E8F0 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.tgb-order-item-text {
  display: inline-block !important;
}

/* Toast Notification */
#tgbCopyToast {
  visibility: hidden;
  min-width: 220px;
  background-color: #1E293B;
  color: #FFFFFF;
  text-align: center;
  border-radius: 50px;
  padding: 10px 20px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

#tgbCopyToast.tgb-show {
  visibility: visible;
  animation: tgbFadeIn 0.3s, tgbFadeOut 0.3s 2.2s;
}

@keyframes tgbFadeIn {
  from { bottom: 10px; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes tgbFadeOut {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 10px; opacity: 0; }
}

/* Clean Customer Details & Store Pick up on Payment Instructions Screen */
.tgb-customer-details-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.tgb-customer-details-header h2 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  color: #1E1B4B !important;
}

/* Hide Edit Address Button, Modals, and Any Duplicate Customer Details */
.tgb-edit-address-btn,
#tgbEditAddressModal,
.tgb-thankyou-2col-layout section.woocommerce-customer-details:not(#tgbCustomerDetailsSection),
.woocommerce-order-details + section.woocommerce-customer-details:not(#tgbCustomerDetailsSection),
#tgbPaymentInstructionsScreen section.woocommerce-customer-details:not(#tgbCustomerDetailsSection) {
  display: none !important;
}

.tgb-disp-phone {
  color: #64748B !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-left: 4px !important;
}

/* Store Pick up Details Card */
.tgb-pis-pickup-details {
  background: #F0FDF4 !important;
  border: 1.5px solid #BBF7D0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  margin-top: 6px !important;
  box-sizing: border-box !important;
}

.tgb-pis-pickup-recipient {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
  font-size: 14.5px !important;
  color: #14532D !important;
  -webkit-text-fill-color: #14532D !important;
}

.tgb-pis-pickup-recipient strong,
.tgb-pis-pickup-recipient .tgb-pis-pickup-name {
  font-weight: 850 !important;
  font-size: 15px !important;
  color: #14532D !important;
  -webkit-text-fill-color: #14532D !important;
}

.tgb-pis-pickup-recipient .tgb-disp-phone {
  font-size: 13px !important;
  color: #166534 !important;
  -webkit-text-fill-color: #166534 !important;
  font-weight: 600 !important;
}

.tgb-pis-pickup-desc {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: #166534 !important;
  -webkit-text-fill-color: #166534 !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}

.tgb-pis-pickup-map-row {
  display: flex !important;
  align-items: center !important;
  margin-top: 6px !important;
}

.tgb-pis-map-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #FFFFFF !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
  border: 1.5px solid #6EE7B7 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12) !important;
  transition: all 0.2s ease !important;
}

.tgb-pis-map-link:hover {
  background: #059669 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   🏷️ TGB BRAND CI COUPON STYLES

 (CART & CHECKOUT)
   ========================================================================== */

/* Cart Mobile Coupon Pill */
@media (max-width: 640px) {
  .woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 8px 6px 18px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 10px !important;
  }
  .woocommerce-cart table.shop_table.cart td.actions .coupon input#coupon_code {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 100px !important;
    font-size: 14px !important;
    padding: 6px 0 !important;
  }
  .woocommerce-cart table.shop_table.cart td.actions .coupon button.button {
    flex: 0 0 auto !important;
    background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    box-shadow: 0 3px 10px rgba(226, 61, 213, 0.25) !important;
  }
  .woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"] {
    width: 100% !important;
    padding: 10px 18px !important;
  }
}

/* Checkout Coupon Toggle: Brand CI */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-left: 4.5px solid #00C7CC !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: #2B2D7D !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  content: "🎟️" !important;
  font-size: 18px !important;
  display: inline-block !important;
  margin-right: 2px !important;
  color: inherit !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a.showcoupon,
.woocommerce-checkout .woocommerce-form-coupon-toggle a.showcoupon {
  color: #E23DD5 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: 1.5px dashed #E23DD5 !important;
  padding-bottom: 1px !important;
  transition: all 0.2s ease !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a.showcoupon:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle a.showcoupon:hover {
  color: #00C7CC !important;
  border-bottom-color: #00C7CC !important;
}

/* Checkout Coupon Form Expanded */
body.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.checkout_coupon {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  margin: -10px 0 24px 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

body.woocommerce-checkout form.checkout_coupon p {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-first {
  flex: 1 1 200px !important;
  width: auto !important;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-last {
  flex: 0 0 auto !important;
  width: auto !important;
}

body.woocommerce-checkout form.checkout_coupon input.input-text {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  border: 1.5px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  color: #2B2D7D !important;
}

body.woocommerce-checkout form.checkout_coupon button.button {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.3) !important;
}

/* ==========================================================================
   🏠 SAVED ADDRESS: HIDE BILLING FORM INPUTS WHEN SAVED ADDRESS IS SELECTED
   ========================================================================== */
.woocommerce-billing-fields:has(.tgb-saved-address-card) .woocommerce-billing-fields__field-wrapper,
.tgb-has-saved-address .woocommerce-billing-fields__field-wrapper {
  display: none !important;
}

.woocommerce-billing-fields.tgb-editing-address .woocommerce-billing-fields__field-wrapper,
.tgb-has-saved-address.tgb-editing-address .woocommerce-billing-fields__field-wrapper {
  display: block !important;
  animation: tgbFadeIn 0.25s ease-out;
}

/* ==========================================================================
   📋 ORDER REVIEW SECTION HEADING (STEP 2)
   ========================================================================== */
.tgb-order-review-title {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 20px !important;
  font-weight: 850 !important;
  letter-spacing: -0.3px !important;
  margin: 12px 0 16px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #F1F5F9 !important;
  display: block !important;
}

/* ==========================================================================
   🛒 TGB BRAND CI EMPTY CART SCREEN
   ========================================================================== */
/* Hide default harsh WooCommerce empty notice and unstyled button */
.woocommerce-cart .woocommerce-info.cart-empty,
.woocommerce-cart p.cart-empty.woocommerce-info,
.woocommerce-cart .woocommerce > p.cart-empty,
.woocommerce-cart p.return-to-shop {
  display: none !important;
}

.tgb-empty-cart-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 24px !important;
  padding: 50px 24px 44px 24px !important;
  margin: 20px auto 40px auto !important;
  max-width: 480px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
  animation: tgbFadeIn 0.35s ease-out !important;
  position: relative !important;
}

.tgb-empty-cart-icon-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(0, 199, 204, 0.15) 0%, rgba(226, 61, 213, 0.15) 100%) !important;
  border: 2px dashed rgba(0, 199, 204, 0.4) !important;
  margin-bottom: 22px !important;
}

.tgb-empty-cart-icon {
  font-size: 42px !important;
  line-height: 1 !important;
  display: inline-block !important;
  filter: drop-shadow(0 4px 8px rgba(43, 45, 125, 0.2)) !important;
}

.tgb-empty-cart-sparkle {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  font-size: 20px !important;
  animation: tgbBounce 2s infinite ease-in-out !important;
}

.tgb-empty-cart-title {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  letter-spacing: -0.4px !important;
  margin: 0 0 12px 0 !important;
}

.tgb-empty-cart-desc {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  margin: 0 auto 28px auto !important;
  max-width: 380px !important;
  font-weight: 500 !important;
}

.tgb-empty-cart-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

.tgb-empty-cart-btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 320px !important;
  min-height: 50px !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.4) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  padding: 12px 24px !important;
}

.tgb-empty-cart-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.6) !important;
  color: #FFFFFF !important;
}

.tgb-empty-cart-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  transition: all 0.2s ease !important;
}

.tgb-empty-cart-btn-secondary:hover {
  color: #008f92 !important;
  -webkit-text-fill-color: #008f92 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   ❤️ PRODUCT FAVORITE HEART BUTTON (SHOP GRID & SINGLE PRODUCT)
   ========================================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
  position: relative !important;
}

.tgb-product-fav-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.tgb-product-fav-btn:hover {
  transform: scale(1.14) !important;
  background: #FFFFFF !important;
  border-color: #E23DD5 !important;
  box-shadow: 0 6px 18px rgba(226, 61, 213, 0.35) !important;
}

.tgb-product-fav-btn:active {
  transform: scale(0.92) !important;
}

.tgb-product-fav-btn svg.tgb-heart-icon {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  display: block !important;
  pointer-events: none !important;
  transition: fill 0.25s ease, stroke 0.25s ease, transform 0.25s ease !important;
}

/* Unfavorited State */
.tgb-product-fav-btn:not(.is-favorite) svg.tgb-heart-icon {
  fill: none !important;
  stroke: #2B2D7D !important;
  stroke-width: 2px !important;
}

/* Favorited State */
.tgb-product-fav-btn.is-favorite {
  background: #FFFFFF !important;
  border-color: #FF3366 !important;
  box-shadow: 0 4px 16px rgba(255, 51, 102, 0.4) !important;
}

.tgb-product-fav-btn.is-favorite svg.tgb-heart-icon {
  fill: #FF3366 !important;
  stroke: #FF3366 !important;
  stroke-width: 1.5px !important;
  animation: tgbHeartPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Heart Pop Animation */
@keyframes tgbHeartPulse {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Floating Toast Notification */
.tgb-fav-toast {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(20px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: rgba(43, 45, 125, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(0, 199, 204, 0.5) !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 199, 204, 0.25) !important;
  z-index: 999999 !important;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.tgb-fav-toast.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.tgb-fav-toast.toast-err {
  border-color: rgba(239, 68, 68, 0.5) !important;
  background: rgba(153, 27, 27, 0.95) !important;
}

/* ==========================================================================
   🛍️ BRAND CI "VIEW CART" BUTTON & NOTICE STYLES
   ========================================================================== */

/* Shop Loop "View Cart" link after adding item to cart */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart,
ul.products li.product a.added_to_cart,
a.added_to_cart.wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 8px !important;
  padding: 6px 16px !important;
  background: rgba(0, 199, 204, 0.12) !important;
  border: 1.5px solid #00C7CC !important;
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0, 199, 204, 0.2) !important;
  white-space: nowrap !important;
  text-transform: none !important;
}

.woocommerce ul.products li.product a.added_to_cart:hover,
.woocommerce-page ul.products li.product a.added_to_cart:hover,
ul.products li.product a.added_to_cart:hover,
a.added_to_cart.wc-forward:hover {
  background: #00C7CC !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #00C7CC !important;
  box-shadow: 0 4px 16px rgba(0, 199, 204, 0.45) !important;
  transform: translateY(-1.5px) !important;
}

.woocommerce ul.products li.product a.added_to_cart::before,
a.added_to_cart.wc-forward::before {
  content: "🛍️" !important;
  font-size: 14px !important;
  margin-right: 2px !important;
}

/* WooCommerce Added to Cart Notice Bar */
.woocommerce-message,
.woocommerce-page .woocommerce-message {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-left: 5px solid #00C7CC !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  color: #2B2D7D !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.woocommerce-message::before,
.woocommerce-page .woocommerce-message::before {
  display: none !important;
  content: "" !important;
}

.woocommerce-message a.button.wc-forward,
.woocommerce-message a.button {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(226, 61, 213, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  float: none !important;
  margin: 0 0 0 auto !important;
  order: 1;
  flex-shrink: 0;
}

.woocommerce-message::after {
  display: none !important;
}

.woocommerce-message a.button.wc-forward:hover,
.woocommerce-message a.button:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 5px 16px rgba(226, 61, 213, 0.5) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   🛒 HEADER SHOPPING CART BADGE
   ========================================================================== */
.cart-btn-original,
#tgb-cart-link {
  position: relative !important;
}

.tgb-cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -5px !important;
  min-width: 19px !important;
  height: 19px !important;
  line-height: 19px !important;
  padding: 0 5px !important;
  border-radius: 50px !important;
  background: #E23DD5 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(226, 61, 213, 0.6) !important;
  border: 1.5px solid #08041C !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  z-index: 10 !important;
}

.tgb-cart-badge.is-empty {
  display: none !important;
}

.tgb-cart-badge.tgb-pop {
  transform: scale(1.4) !important;
}

/* ==========================================================================
   🎯 HEADER UTILITIES SINGLE-ROW NOWRAP ON ALL SCREENS (MOBILE & DESKTOP)
   Ensures Language, Cart, Favorites, User icons stay strictly in a single row
   ========================================================================== */
.elementor-element-b426401,
[class*="tgb-header-section"] .e-con:has(.cart-btn-original),
[class*="tgb-header-section"] .e-con:has(.header-utilities),
[class*="tgb-header-section"] .e-con:has(.tgb-header-user-btn),
[class*="tgb-header-section"] .elementor-column:has(.cart-btn-original) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  width: auto !important;
  max-width: none !important;
}

.elementor-element-b426401 > .elementor-widget,
.elementor-element-b426401 > .elementor-element,
[class*="tgb-header-section"] .e-con:has(.cart-btn-original) > .elementor-widget {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-utilities,
.tgb-header-user-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

/* Header User Account & Message Shortcut Buttons (Identical Circular Styling) */
.tgb-header-user-btn,
.tgb-header-msg-shortcut {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  background: rgba(140, 82, 255, 0.15) !important;
  border: 1.5px solid rgba(140, 82, 255, 0.4) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

.tgb-header-user-btn:hover,
.tgb-header-msg-shortcut:hover {
  transform: translateY(-2px) !important;
  border-color: #00C7CC !important;
  box-shadow: 0 4px 14px rgba(0, 199, 204, 0.4) !important;
}

/* Legacy Favorite Heart Shortcut: Hidden in header per user request */
.tgb-header-fav-shortcut,
.tgb-fav-badge,
.tgb-header-fav-shortcut .tgb-fav-badge {
  display: none !important;
}

/* Header Account Unread Inquiries Notification Badge */
.tgb-header-account-unread-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: #EF4444 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-align: center !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.85) !important;
  border: 1.5px solid #08041C !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  animation: tgb-pulse-badge 2s infinite !important;
  z-index: 10 !important;
}

/* Mobile responsive single-row compact sizes */
@media (max-width: 600px) {
  .elementor-element-b426401,
  [class*="tgb-header-section"] .e-con:has(.cart-btn-original),
  [class*="tgb-header-section"] .e-con:has(.header-utilities),
  [class*="tgb-header-section"] .e-con:has(.tgb-header-user-btn) {
    gap: 4px !important;
  }
  .header-utilities,
  .tgb-header-user-wrap {
    gap: 4px !important;
  }
  .lang-toggle-btn,
  .cart-btn-original,
  .tgb-header-msg-shortcut,
  .tgb-header-fav-shortcut,
  .tgb-header-user-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .lang-toggle-btn {
    font-size: 11px !important;
    line-height: 14px !important;
  }
  .cart-btn-original svg,
  .tgb-header-msg-shortcut svg,
  .tgb-header-fav-shortcut svg,
  .tgb-header-user-btn svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
  }
  .tgb-cart-badge,
  .tgb-fav-badge {
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 9.5px !important;
    padding: 0 3px !important;
    top: -3px !important;
    right: -3px !important;
  }
  [class*="tgb-header-section"] img {
    max-width: 80px !important;
  }
}

/* ==========================================================================
   🛒 VIEW CART OPTIMIZATIONS: REMOVE ADDRESS & HIDE CART COUPON
   Address is collected exclusively at Checkout (Step 1).
   Coupon is moved exclusively to Checkout Order Summary (Step 2).
   ========================================================================== */
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .shipping-calculator-form,
.woocommerce-cart form.woocommerce-shipping-calculator,
.woocommerce-cart .tgb-calc-btn-wrap {
  display: none !important;
}

/* Hide coupon form on View Cart page */
.woocommerce-cart table.shop_table.cart td.actions .coupon,
.woocommerce-cart .cart-collaterals .coupon {
  display: none !important;
}

/* Cart actions row without coupon: keep clean */
.woocommerce-cart table.shop_table.cart td.actions {
  text-align: right !important;
  padding: 12px 16px !important;
}

/* ==========================================================================
   💳 CHECKOUT STEP 2 COUPON INTEGRATION & HIDE DEFAULT TOP COUPON
   ========================================================================== */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}

/* Step 2 Brand CI Coupon Component */
.tgb-step2-coupon-container {
  margin: 18px 0 22px 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(140, 82, 255, 0.3) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.tgb-step2-coupon-container:hover {
  border-color: rgba(0, 199, 204, 0.5) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}

.tgb-step2-coupon-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  user-select: none !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #FFFFFF !important;
}

.tgb-step2-coupon-toggle-left {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #FFFFFF !important;
}

.tgb-step2-coupon-toggle-left .tgb-coupon-badge {
  background: rgba(226, 61, 213, 0.2) !important;
  color: #E23DD5 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 2px 9px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 61, 213, 0.45) !important;
  letter-spacing: 0.3px !important;
}

.tgb-step2-coupon-toggle-arrow {
  color: #00C7CC !important;
  font-size: 12px !important;
  transition: transform 0.25s ease !important;
}

.tgb-step2-coupon-toggle.is-open .tgb-step2-coupon-toggle-arrow {
  transform: rotate(180deg) !important;
}

.tgb-step2-coupon-box {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.12) !important;
}

.tgb-step2-coupon-row {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.tgb-step2-coupon-input {
  flex: 1 !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  border: 1.5px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.tgb-step2-coupon-input::placeholder,
.tgb-step2-coupon-input::-webkit-input-placeholder,
.tgb-step2-coupon-input::-moz-placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  font-weight: 500 !important;
}

.tgb-step2-coupon-input:focus {
  border-color: #8C52FF !important;
  box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.15) !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

.tgb-step2-coupon-btn {
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(135deg, #8C52FF 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 3px 12px rgba(226, 61, 213, 0.4) !important;
  box-sizing: border-box !important;
}

.tgb-step2-coupon-btn:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 5px 18px rgba(226, 61, 213, 0.6) !important;
}

.tgb-step2-coupon-btn:active {
  transform: translateY(1px) !important;
}

.tgb-step2-coupon-msg {
  margin-top: 8px !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
}

.tgb-step2-coupon-msg.is-err {
  color: #FF4757 !important;
}

.tgb-step2-coupon-msg.is-ok {
  color: #00C7CC !important;
}

@media (max-width: 600px) {
  .tgb-step2-coupon-container {
    padding: 12px 14px !important;
    margin: 14px 0 18px 0 !important;
  }
  .tgb-step2-coupon-row {
    flex-direction: row !important;
    gap: 8px !important;
  }
  .tgb-step2-coupon-input {
    height: 40px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
  }
  .tgb-step2-coupon-btn {
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   🛒 STREAMLINED CART TOTALS & CHECKOUT UX ENHANCEMENTS
   ========================================================================== */

/* 1. Hide Extraneous Headings on Checkout */
#order_review_heading,
.woocommerce-checkout #order_review_heading,
h3#order_review_heading {
  display: none !important;
}

/* 2. Simplified Cart Page Totals Card */
.woocommerce-cart .cart_totals h2,
.woocommerce-cart tr.shipping,
.woocommerce-cart tr.woocommerce-shipping-totals,
.woocommerce-cart tr.order-total,
.woocommerce-cart tr.tax-rate,
.woocommerce-cart tr.tax-total,
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .shipping-calculator-form,
.woocommerce-cart form.woocommerce-shipping-calculator,
.woocommerce-cart .tgb-calc-btn-wrap,
.woocommerce-cart table.shop_table.cart td.actions .coupon,
.woocommerce-cart .cart-collaterals .coupon {
  display: none !important;
}

.tgb-streamlined-cart-totals {
  margin-top: 24px !important;
  width: 100% !important;
  float: none !important;
}

.tgb-cart-totals-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 18px !important;
}

.tgb-cart-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.tgb-cart-row:last-child {
  border-bottom: none !important;
}

.tgb-cart-subtotal-label,
.tgb-cart-shipping-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  letter-spacing: 0.1px !important;
}

.tgb-cart-subtotal-value,
.tgb-cart-subtotal-value .woocommerce-Price-amount {
  font-size: 22px !important;
  font-weight: 850 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

.tgb-cart-shipping-note {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.tgb-cart-checkout-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #00C7CC 0%, #8C52FF 50%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  padding: 14px 24px !important;
  border-radius: 50px !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(140, 82, 255, 0.35) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-transform: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.tgb-cart-checkout-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(226, 61, 213, 0.5) !important;
}

.tgb-cart-continue-wrap {
  text-align: center !important;
  margin-top: 14px !important;
}

.tgb-cart-continue-link {
  display: inline-block !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.tgb-cart-continue-link:hover {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   🏷️ COUPON READABILITY & HIGH-CONTRAST TEXT ENHANCEMENTS
   ========================================================================== */

/* Top Checkout Coupon Form (if opened) */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  border-left: 4px solid #00C7CC !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

body.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.checkout_coupon {
  background: #FFFFFF !important;
  border: 2px solid #8C52FF !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  box-shadow: 0 8px 24px rgba(140, 82, 255, 0.15) !important;
}

body.woocommerce-checkout form.checkout_coupon input.input-text,
.woocommerce-checkout form.checkout_coupon input.input-text,
#coupon_code {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  border: 2px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  box-sizing: border-box !important;
  height: 46px !important;
  opacity: 1 !important;
}

body.woocommerce-checkout form.checkout_coupon input.input-text:focus,
#coupon_code:focus {
  border-color: #8C52FF !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 12px rgba(140, 82, 255, 0.3) !important;
  outline: none !important;
}

body.woocommerce-checkout form.checkout_coupon input.input-text::placeholder,
.woocommerce-checkout form.checkout_coupon input.input-text::placeholder,
#coupon_code::placeholder {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout form.checkout_coupon button.button,
.woocommerce-checkout form.checkout_coupon button.button {
  height: 46px !important;
  padding: 0 24px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #8C52FF 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 850 !important;
  font-size: 14.5px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.35) !important;
  cursor: pointer !important;
}

/* Step 2 Brand CI Coupon Component Readability */
.tgb-step2-coupon-input {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
}

.tgb-step2-coupon-input:focus {
  border-color: #8C52FF !important;
  box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.15) !important;
  outline: none !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

.tgb-step2-coupon-input::placeholder,
.tgb-step2-coupon-input::-webkit-input-placeholder,
.tgb-step2-coupon-input::-moz-placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   📦 TGB CHECKOUT STEP 1: SHIPPING METHOD SELECTION CARDS
   ========================================================================== */
.tgb-step1-shipping-wrapper {
  margin: 22px 0 16px 0 !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

.tgb-step1-shipping-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
}

.tgb-step1-shipping-header .tgb-shipping-icon {
  font-size: 20px !important;
}

.tgb-step1-shipping-header .tgb-shipping-title {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
}

.tgb-shipping-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.tgb-shipping-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.tgb-shipping-card:hover {
  border-color: #8C52FF !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(140, 82, 255, 0.1) !important;
}

.tgb-shipping-card.active {
  border: 2px solid #8C52FF !important;
  background: rgba(140, 82, 255, 0.05) !important;
  box-shadow: 0 4px 16px rgba(140, 82, 255, 0.2) !important;
}

.tgb-shipping-card-radio {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #8C52FF !important;
  line-height: 1 !important;
  width: 20px !important;
  text-align: center !important;
}

.tgb-shipping-card-body {
  flex: 1 !important;
}

.tgb-shipping-card-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

.tgb-shipping-card-desc {
  font-size: 12.5px !important;
  font-weight: 550 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  margin-top: 2px !important;
}

.tgb-shipping-card-badge {
  background: linear-gradient(135deg, #00C7CC 0%, #2B2D7D 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  letter-spacing: 0.3px !important;
}

.tgb-shipping-card-badge.free {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
}

/* ==========================================================================
   🏷️ FIX COUPON TEXT: HIGH CONTRAST & FULL LEGIBILITY (NEVER WHITE ON WHITE)
   ========================================================================== */
.tgb-step2-coupon-container {
  margin: 18px 0 22px 0 !important;
  background: #F8FAFC !important;
  border: 1.5px solid #8C52FF !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  box-shadow: 0 4px 16px rgba(140, 82, 255, 0.12) !important;
}

.tgb-step2-coupon-container:hover {
  border-color: #00C7CC !important;
  box-shadow: 0 6px 20px rgba(0, 199, 204, 0.25) !important;
}

.tgb-step2-coupon-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  user-select: none !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

.tgb-step2-coupon-toggle-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
}

.tgb-step2-coupon-toggle-left span {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
}

.tgb-step2-coupon-toggle-left .tgb-coupon-badge {
  background: rgba(226, 61, 213, 0.15) !important;
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 61, 213, 0.5) !important;
}

.tgb-step2-coupon-toggle-arrow {
  color: #00C7CC !important;
  font-size: 12px !important;
}

.tgb-step2-coupon-box {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px dashed #CBD5E1 !important;
}

.tgb-step2-coupon-input {
  background: #FFFFFF !important;
  border: 2px solid #CBD5E1 !important;
  border-radius: 10px !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  padding: 0 16px !important;
  height: 44px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.tgb-step2-coupon-input:focus {
  border-color: #8C52FF !important;
  box-shadow: 0 0 10px rgba(140, 82, 255, 0.3) !important;
}

.tgb-step2-coupon-input::placeholder,
.tgb-step2-coupon-input::-webkit-input-placeholder,
.tgb-step2-coupon-input::-moz-placeholder {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

.tgb-step2-coupon-btn {
  height: 44px !important;
  padding: 0 22px !important;
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(135deg, #8C52FF 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(226, 61, 213, 0.35) !important;
}

/* ==========================================================================
   🚫 HIDE ALL DUPLICATE TITLES IN CHECKOUT
   ========================================================================== */
#order_review_heading,
.woocommerce-checkout #order_review_heading,
h3#order_review_heading,
body.woocommerce-checkout #order_review::before,
.woocommerce-checkout #order_review::before {
  content: none !important;
  display: none !important;
}

.tgb-order-review-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  letter-spacing: -0.3px !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
}

.tgb-order-review-title .tgb-os-icon {
  font-size: 18px !important;
}

.tgb-order-review-title .tgb-os-text {
  font-size: 18px !important;
  font-weight: 850 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

/* My Account: Remove redundant My Account heading inside canvas */
.tgb-account-app h1.tgb-account-page-title,
.tgb-account-canvas .tgb-account-page-title {
    display: none !important;
}

/* ==========================================================================
   📦 CHECKOUT STEP 2: DELIVER TO SUMMARY COMPONENT
   ========================================================================== */
.tgb-step2-delivery-summary {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

@media (min-width: 992px) {
  .tgb-step2-delivery-summary,
  #tgbStep2DeliverySummary {
    display: none !important;
  }
}

.tgb-step2-deliv-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.tgb-step2-deliv-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.tgb-deliv-icon {
  font-size: 16px !important;
}

.tgb-deliv-heading-text {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

.woocommerce-checkout .tgb-step2-edit-deliv-btn,
button#tgbStep2EditDelivBtn,
.tgb-step2-edit-deliv-btn {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 5px 14px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.woocommerce-checkout .tgb-step2-edit-deliv-btn:hover,
button#tgbStep2EditDelivBtn:hover,
.tgb-step2-edit-deliv-btn:hover {
  background: #EDE9FE !important;
  border-color: #8C52FF !important;
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
}

.tgb-deliv-recipient-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 4px !important;
  flex-wrap: wrap !important;
}

.tgb-deliv-recipient-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.tgb-deliv-recipient-phone {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  background: rgba(43, 45, 125, 0.08) !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
}

.tgb-deliv-address-text {
  font-size: 13.5px !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  line-height: 1.5 !important;
  margin-bottom: 8px !important;
}

.tgb-deliv-method-pill {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(140, 82, 255, 0.1) !important;
  border: 1px solid rgba(140, 82, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
}

.tgb-deliv-method-text {
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
}

/* De-emphasized Minimal Coupon Line */
.tgb-step2-coupon-container {
  margin: 16px 0 20px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tgb-step2-coupon-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  user-select: none !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
  transition: color 0.2s ease !important;
}

.tgb-step2-coupon-toggle:hover {
  color: #E23DD5 !important;
  -webkit-text-fill-color: #E23DD5 !important;
  text-decoration: underline !important;
}

.tgb-step2-coupon-box {
  margin-top: 10px !important;
  padding: 12px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
}

/* Inactive Preview Payment Methods (TrueMoney & Credit Card) */
.tgb-disabled-payment-method {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  padding: 12px 14px !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 12px !important;
  margin-top: 8px !important;
  background: #F8FAFC !important;
}

.tgb-disabled-pay-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: not-allowed !important;
  user-select: none !important;
  width: 100% !important;
}

.tgb-disabled-radio {
  color: #94A3B8 !important;
  font-size: 16px !important;
}

.tgb-disabled-payment-method .tgb-pay-method-name {
  font-size: 14px !important;
  font-weight: 650 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.tgb-truemoney-logo-img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  border-radius: 5px !important;
  vertical-align: middle !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
  flex-shrink: 0 !important;
}

li.payment_method_bacs .tgb-pay-method-name {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

.tgb-coming-soon-pill {
  background: #E2E8F0 !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  margin-left: auto !important;
}

/* Dynamic Place Order Button & Step 1 Continue to Payment */
.tgb-step1-next-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  background: linear-gradient(135deg, #2B2D7D 0%, #8C52FF 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(43, 45, 125, 0.25) !important;
  transition: all 0.2s ease !important;
  margin-top: 18px !important;
}

.tgb-step1-next-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(140, 82, 255, 0.4) !important;
}

#place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  background: linear-gradient(135deg, #00C7CC 0%, #8C52FF 50%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(0, 199, 204, 0.35) !important;
  transition: all 0.25s ease !important;
  margin-top: 20px !important;
}

#place_order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(226, 61, 213, 0.55) !important;
}

/* Hide ship-to-different-address completely */
#ship-to-different-address,
.woocommerce-shipping-fields {
  display: none !important;
}

/* ==========================================================================
   💳 UNIFIED PAYMENT METHODS: BANK TRANSFER AS A SELECTION WITH TICK BOX
   ========================================================================== */
body.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs {
  background: rgba(140, 82, 255, 0.04) !important;
  border: 2px solid #8C52FF !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin: 0 0 10px 0 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 12px rgba(140, 82, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs:hover {
  border-color: #8C52FF !important;
  background: rgba(140, 82, 255, 0.07) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.tgb-pay-radio {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #8C52FF !important;
  line-height: 1 !important;
  width: 20px !important;
  text-align: center !important;
  display: inline-block !important;
}

/* Completely remove the text description box */
body.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box,
.payment_method_bacs div.payment_box,
.payment_method_bacs .payment_box {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* ==========================================================================
   🇹🇭 THAI ADDRESS AUTO-SUGGESTION (TYPEAHEAD DROPDOWN STYLING)
   ========================================================================== */
.tgb-address-auto-hint {
  background: rgba(0, 199, 204, 0.08) !important;
  border: 1px dashed rgba(0, 199, 204, 0.4) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 14px !important;
  font-size: 12.5px !important;
  color: #008B8F !important;
  -webkit-text-fill-color: #008B8F !important;
  line-height: 1.45 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.twitter-typeahead {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

.tt-menu {
  width: 100% !important;
  min-width: 280px !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  background: #FFFFFF !important;
  border: 1.5px solid #8C52FF !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(43, 45, 125, 0.2) !important;
  margin-top: 4px !important;
  padding: 4px 0 !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
}

.tt-suggestion {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  cursor: pointer !important;
  border-bottom: 1px solid #F1F5F9 !important;
  transition: all 0.15s ease !important;
  line-height: 1.4 !important;
}

.tt-suggestion:last-child {
  border-bottom: none !important;
}

.tt-cursor,
.tt-suggestion:hover {
  background: rgba(140, 82, 255, 0.1) !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  font-weight: 750 !important;
}

/* ==========================================================================
   🏠 TGB ADDRESS MODAL & SETTINGS EDIT FUNCTION
   ========================================================================== */
.tgb-address-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
}
.tgb-address-modal .tgb-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}
.tgb-address-modal .tgb-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}
.tgb-address-modal .tgb-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 24px;
}
.tgb-address-modal .tgb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.tgb-address-modal .tgb-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}
.tgb-address-modal .tgb-modal-close {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #64748B;
}
.tgb-address-modal .tgb-modal-field {
  margin-bottom: 14px;
}
.tgb-address-modal .tgb-modal-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  margin-bottom: 6px;
}
.tgb-address-modal .tgb-modal-field label .req {
  color: #E11D48;
}
.tgb-address-modal .tgb-modal-field input[type="text"],
.tgb-address-modal .tgb-modal-field input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 13.5px;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
  background: #FFF;
}
.tgb-address-modal .tgb-modal-field input:focus {
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.tgb-address-modal .tgb-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tgb-address-modal .tgb-modal-hint {
  background: #F5F3FF;
  border: 1px dashed #C4B5FD;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #6D28D9;
  margin-bottom: 14px;
}
.tgb-address-modal .tgb-modal-checkbox-row {
  margin: 14px 0 18px;
}
.tgb-address-modal .tgb-modal-checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  font-weight: 600;
}
.tgb-address-modal .tgb-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}
.tgb-address-modal .tgb-modal-cancel-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.tgb-address-modal .tgb-modal-save-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  border: none;
  color: #FFFFFF;
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* 2. Order Review Shipping Totals row on Checkout */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  font-size: 14px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
  font-weight: 600 !important;
  color: #64748B !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
  font-weight: 700 !important;
  color: #1E293B !important;
  text-align: right !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide any radio buttons inside review order table - shipping is chosen exclusively in Step 1 */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals input[type="radio"],
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping input[type="radio"] {
  display: none !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method li {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 700 !important;
  color: #1E293B !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals label {
  cursor: default !important;
  margin: 0 !important;
  font-weight: 700 !important;
  color: #1E293B !important;
}

/* ==========================================================================
   💳 SLIPOK PAYMENT CONFIRMATION PAGE (/slipok-confirm/) - HARMONIZED TYPOGRAPHY
   ========================================================================== */

/* 1. Explicitly suppress and hide any stray search form that might appear on this page */
.tgb-slipok-confirm-page form[role="search"],
.tgb-slipok-confirm-page form.search-form,
.tgb-slipok-confirm-page .search-form,
.tgb-slipok-confirm-page header form,
.tgb-slipok-confirm-page .ehf-header form,
.tgb-slipok-confirm-page .elementor-location-header form,
.tgb-slipok-confirm-page .site-header form,
.tgb-slipok-confirm-page .widget_search,
.tgb-slipok-confirm-page .header-search,
.tgb-slipok-confirm-page [class*="search-form"] {
  display: none !important;
}

/* 2. Clean Outer Layout on Confirmation Page */
.tgb-slipok-confirm-page .entry-content,
.tgb-slipok-confirm-page .page-content,
.tgb-slipok-confirm-page .site-main {
  max-width: 520px !important;
  margin: 0 auto 60px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* 3. Page Title (H1) - Balanced with Payment Instructions Header */
.tgb-slipok-confirm-page h1.entry-title,
.tgb-slipok-confirm-page h1.page-title {
  font-size: 22px !important;
  font-weight: 850 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-align: center !important;
  margin: 32px auto 18px auto !important;
  letter-spacing: -0.3px !important;
}

/* 4. White Card Container Styling (ONLY SlipOK Form - Never Catch Header Forms!) */
.tgb-slipok-confirm-page .entry-content form:not([role="search"]):not(.search-form),
.tgb-slipok-confirm-page .page-content form:not([role="search"]):not(.search-form),
.tgb-slipok-confirm-page .site-main form:not([role="search"]):not(.search-form),
.slipok-container,
#slipok-form {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid #E2E8F0 !important;
  padding: 28px 26px !important;
  box-sizing: border-box !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* 5. Section Headings inside Confirmation Form (Customer Detail, Bank Transfer, Payment Slip) */
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) h2,
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) h3,
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) h4,
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) h5,
.tgb-slipok-confirm-page .page-content form:not([role="search"]) h2,
.tgb-slipok-confirm-page .page-content form:not([role="search"]) h3,
.tgb-slipok-confirm-page .page-content form:not([role="search"]) h4,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) legend,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h2,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h3,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h4,
.slipok-container h2,
.slipok-container h3,
.slipok-container h4,
#slipok-form h2,
#slipok-form h3,
#slipok-form h4,
.tgb-slipok-section-title {
  font-size: 16px !important;
  font-weight: 850 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  letter-spacing: -0.2px !important;
  margin: 22px 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  line-height: 1.3 !important;
}

/* First section heading has no top margin */
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h2:first-of-type,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h3:first-of-type,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) h4:first-of-type,
#slipok-form h2:first-of-type,
#slipok-form h3:first-of-type,
#slipok-form h4:first-of-type {
  margin-top: 0 !important;
}

/* SlipOK Logo next to Customer Detail */
.tgb-slipok-confirm-page .site-main form img[alt*="SlipOK"],
.tgb-slipok-confirm-page .site-main form img[src*="slipok"],
.tgb-slipok-confirm-page .site-main form [class*="powered-by"] img {
  height: 15px !important;
  width: auto !important;
  opacity: 0.8 !important;
  vertical-align: middle !important;
}

/* Amount Badge next to Bank Transfer (Amount: 10 baht) - Strictly scoped to SlipOK form */
.tgb-slipok-confirm-page .site-main form:not([role="search"]) .tgb-slipok-amount-badge,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) [class*="amount-badge"],
.slipok-container form .badge:not(.tgb-cart-badge):not(.tgb-fav-badge),
#slipok-form .badge:not(.tgb-cart-badge):not(.tgb-fav-badge),
#slipok-form .tgb-slipok-amount-badge,
.slipok-container .tgb-slipok-amount-badge,
.tgb-slipok-amount-badge {
  font-size: 12px !important;
  font-weight: 750 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: #EEF2FF !important;
  color: #4F46E5 !important;
  -webkit-text-fill-color: #4F46E5 !important;
  border: 1px solid #C7D2FE !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Form Field Labels (Order ID *, Amount (Baht) *, Order Detail) */
.tgb-slipok-confirm-page .entry-content label,
.tgb-slipok-confirm-page .page-content label,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) label,
.slipok-container label,
#slipok-form label {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  display: block !important;
  margin-bottom: 5px !important;
}

/* Required red asterisk */
.tgb-slipok-confirm-page .site-main label span,
.tgb-slipok-confirm-page .site-main label .required,
.slipok-container label span,
#slipok-form label span {
  color: #EF4444 !important;
  -webkit-text-fill-color: #EF4444 !important;
  font-weight: 800 !important;
  margin-left: 3px !important;
}

/* Locked Order ID Field */
.tgb-slipok-confirm-page select[name*="order"],
.tgb-slipok-confirm-page .entry-content select,
.tgb-locked-order-select {
  pointer-events: none !important;
  background-color: #F8FAFC !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: default !important;
  user-select: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 15px 15px !important;
  padding: 9px 38px 9px 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Form Text Inputs & Number Inputs */
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) input[type="text"],
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) input[type="number"],
.tgb-slipok-confirm-page .page-content form:not([role="search"]) input[type="text"],
.tgb-slipok-confirm-page .page-content form:not([role="search"]) input[type="number"],
.tgb-slipok-confirm-page .site-main form:not([role="search"]) input[type="text"],
.tgb-slipok-confirm-page .site-main form:not([role="search"]) input[type="number"],
#slipok-form input[type="text"],
#slipok-form input[type="number"] {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 13px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: all 0.15s ease !important;
}

/* Order Detail Textarea (Compact & Neat) */
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) textarea,
.tgb-slipok-confirm-page .page-content form:not([role="search"]) textarea,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) textarea,
#slipok-form textarea {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 56px !important;
  max-height: 100px !important;
  height: 60px !important;
  resize: vertical !important;
  transition: all 0.15s ease !important;
}

.tgb-slipok-confirm-page .site-main form:not([role="search"]) input:focus,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) textarea:focus,
#slipok-form input:focus,
#slipok-form textarea:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  outline: none !important;
}

/* Input Placeholders */
.tgb-slipok-confirm-page .site-main form:not([role="search"]) ::placeholder,
#slipok-form ::placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
}

/* Dropzone Container */
.tgb-slipok-confirm-page .dropzone,
.tgb-slipok-confirm-page [class*="dropzone"],
.slipok-dropzone,
#slipok-upload {
  background: #F8FAFC !important;
  border: 2px dashed #CBD5E1 !important;
  border-radius: 14px !important;
  padding: 20px 16px !important;
  text-align: center !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.tgb-slipok-confirm-page .dropzone:hover,
.tgb-slipok-confirm-page [class*="dropzone"]:hover,
.slipok-dropzone:hover,
#slipok-upload:hover {
  border-color: #6366F1 !important;
  background: #EEF2FF !important;
}

/* Dropzone text */
.tgb-slipok-confirm-page .dropzone *,
.tgb-slipok-confirm-page [class*="dropzone"] *,
.slipok-dropzone *,
#slipok-upload *,
.dz-message,
.dz-message * {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}

.tgb-dz-main-text,
.dz-message p,
.dz-message span {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  margin: 0 0 3px 0 !important;
}

.tgb-dz-sub-text,
.dz-message small {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
}

/* Submit Button (Upload payment slip) - Styled ONLY inside SlipOK form */
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) button[type="submit"],
.tgb-slipok-confirm-page .entry-content form:not([role="search"]) input[type="submit"],
.tgb-slipok-confirm-page .page-content form:not([role="search"]) button[type="submit"],
.tgb-slipok-confirm-page .page-content form:not([role="search"]) input[type="submit"],
.tgb-slipok-confirm-page .site-main form:not([role="search"]) button[type="submit"],
.tgb-slipok-confirm-page .site-main form:not([role="search"]) input[type="submit"],
#slipok-form button[type="submit"],
#slipok-form input[type="submit"] {
  background: linear-gradient(110deg, #3924AF 0%, #E448D4 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(186, 64, 207, 0.3) !important;
  transition: all 0.2s ease !important;
  margin-top: 16px !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  letter-spacing: 0.1px !important;
}

.tgb-slipok-confirm-page .site-main form:not([role="search"]) button[type="submit"]:hover,
.tgb-slipok-confirm-page .site-main form:not([role="search"]) input[type="submit"]:hover,
#slipok-form button[type="submit"]:hover,
#slipok-form input[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(186, 64, 207, 0.45) !important;
}

/* ==========================================================================
   🔑 TGB BRAND CI: MY ACCOUNT MODERN AUTH CARD (LOGIN & REGISTRATION)
   ========================================================================== */

/* 1. Hide default raw page entry header and default WC titles for logged-out users */
body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) h1.entry-title,
body.woocommerce-account:not(.logged-in) .page-title,
body.woocommerce-account:not(.logged-in) #customer_login .col-1 > h2,
body.woocommerce-account:not(.logged-in) #customer_login .col-2 > h2,
body.woocommerce-account:not(.logged-in) #customer_login > h2 {
  display: none !important;
}

/* 2. Centered Glassmorphism Auth Card Container */
body.woocommerce-account:not(.logged-in) #customer_login {
  max-width: 480px !important;
  margin: 40px auto 80px auto !important;
  background: linear-gradient(145deg, rgba(20, 11, 46, 0.94), rgba(10, 5, 26, 0.98)) !important;
  border: 1.5px solid rgba(140, 82, 255, 0.35) !important;
  border-radius: 24px !important;
  padding: 36px 32px 32px 32px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 30px rgba(140, 82, 255, 0.15) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Top Signature Brand CI Accent Bar (Cyan -> Navy -> Magenta -> Gold) */
body.woocommerce-account:not(.logged-in) #customer_login::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #00C7CC 0%, #2B2D7D 35%, #E23DD5 70%, #FFBB05 100%) !important;
  z-index: 2 !important;
}

/* 3. Auth Card Header & Segmented Pill Switcher */
.tgb-auth-header {
  text-align: center !important;
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 1 !important;
}

.tgb-auth-icon-badge {
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 14px auto !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(140, 82, 255, 0.25), rgba(0, 199, 204, 0.25)) !important;
  border: 1.5px solid rgba(140, 82, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  box-shadow: 0 0 20px rgba(140, 82, 255, 0.3) !important;
}

.tgb-auth-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.02em !important;
}

.tgb-auth-subtitle {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.5 !important;
}

.tgb-auth-tabs {
  display: flex !important;
  background: rgba(0, 0, 0, 0.35) !important;
  padding: 5px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(140, 82, 255, 0.2) !important;
  gap: 6px !important;
  margin-bottom: 24px !important;
}

.tgb-auth-tab {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  outline: none !important;
}

.tgb-auth-tab:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-auth-tab.active {
  background: linear-gradient(135deg, #8C52FF 0%, #00C7CC 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.4) !important;
}

/* 4. Single / Two Column Toggle Overrides */
body.woocommerce-account:not(.logged-in) #customer_login .col-1,
body.woocommerce-account:not(.logged-in) #customer_login .col-2 {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Default state: Login is active */
body.woocommerce-account:not(.logged-in) #customer_login .col-1 {
  display: block !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .col-2 {
  display: none !important;
}

/* Tab Active State: Register is active */
body.woocommerce-account:not(.logged-in) #customer_login.show-register .col-1 {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login.show-register .col-2 {
  display: block !important;
  animation: tgbAuthFadeIn 0.25s ease-out !important;
}

@keyframes tgbAuthFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Inputs, Labels & Form Row Styling */
body.woocommerce-account:not(.logged-in) #customer_login form {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .form-row {
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  float: none !important;
  width: 100% !important;
}

body.woocommerce-account:not(.logged-in) #customer_login label {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin-bottom: 6px !important;
  display: block !important;
}

body.woocommerce-account:not(.logged-in) #customer_login label .required {
  color: #E23DD5 !important;
  font-weight: 800 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login {
  color-scheme: dark !important;
}

body.woocommerce-account:not(.logged-in) #customer_login form {
  color-scheme: dark !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-Input,
body.woocommerce-account:not(.logged-in) #customer_login input[type="text"],
body.woocommerce-account:not(.logged-in) #customer_login input[type="email"],
body.woocommerce-account:not(.logged-in) #customer_login input[type="password"],
body.woocommerce-account:not(.logged-in) #customer_login input[type="tel"] {
  color-scheme: dark !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(140, 82, 255, 0.28) !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  outline: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-Input:focus,
body.woocommerce-account:not(.logged-in) #customer_login input[type="text"]:focus,
body.woocommerce-account:not(.logged-in) #customer_login input[type="email"]:focus,
body.woocommerce-account:not(.logged-in) #customer_login input[type="password"]:focus,
body.woocommerce-account:not(.logged-in) #customer_login input[type="tel"]:focus {
  border-color: #00C7CC !important;
  background: rgba(0, 199, 204, 0.06) !important;
  box-shadow: 0 0 16px rgba(0, 199, 204, 0.3) !important;
}

/* 5.1 WebKit & Gecko Autofill Styling for Dark Auth Card */
body.woocommerce-account:not(.logged-in) #customer_login input:-webkit-autofill,
body.woocommerce-account:not(.logged-in) #customer_login input:-webkit-autofill:hover,
body.woocommerce-account:not(.logged-in) #customer_login input:-webkit-autofill:focus,
body.woocommerce-account:not(.logged-in) #customer_login input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #180D38 inset !important;
  box-shadow: 0 0 0 1000px #180D38 inset !important;
  -webkit-text-fill-color: #FFFFFF !important;
  color: #FFFFFF !important;
  caret-color: #FFFFFF !important;
  border: 1.5px solid rgba(140, 82, 255, 0.45) !important;
  font-size: 0.95rem !important;
  transition: background-color 5000000s ease-in-out 0s !important;
}

body.woocommerce-account:not(.logged-in) #customer_login input:-webkit-autofill:focus {
  border-color: #00C7CC !important;
  -webkit-box-shadow: 0 0 0 1000px #180D38 inset, 0 0 16px rgba(0, 199, 204, 0.3) !important;
  box-shadow: 0 0 0 1000px #180D38 inset, 0 0 16px rgba(0, 199, 204, 0.3) !important;
}

body.woocommerce-account:not(.logged-in) #customer_login input:autofill {
  background-color: #180D38 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: rgba(140, 82, 255, 0.45) !important;
}

/* 6. Remember Me & Lost Password Row */
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
  cursor: pointer !important;
  margin-bottom: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
  accent-color: #00C7CC !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .lost_password {
  margin-top: 14px !important;
  text-align: center !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .lost_password a {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: all 0.2s ease !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .lost_password a:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 0 10px rgba(0, 199, 204, 0.6) !important;
}

/* 7. Action Buttons (Submit Buttons) */
body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-register__submit,
body.woocommerce-account:not(.logged-in) #customer_login button[name="login"],
body.woocommerce-account:not(.logged-in) #customer_login button[name="register"] {
  background: linear-gradient(135deg, #2B2D7D 0%, #E23DD5 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  width: 100% !important;
  padding: 13px 24px !important;
  border-radius: 50px !important;
  border: none !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(226, 61, 213, 0.4) !important;
  transition: all 0.25s ease !important;
  display: block !important;
  margin-top: 8px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-login__submit:hover,
body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-register__submit:hover,
body.woocommerce-account:not(.logged-in) #customer_login button[name="login"]:hover,
body.woocommerce-account:not(.logged-in) #customer_login button[name="register"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(226, 61, 213, 0.6) !important;
}

body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-login__submit:active,
body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-form-register__submit:active,
body.woocommerce-account:not(.logged-in) #customer_login button[name="login"]:active,
body.woocommerce-account:not(.logged-in) #customer_login button[name="register"]:active {
  transform: translateY(0) !important;
}

/* Privacy policy text & notes */
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-password-hint,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register p:not(.form-row) {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.5 !important;
  margin: 8px 0 14px 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text a {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
  text-decoration: underline !important;
}

/* 8. LINE Login Button (Official LINE CI Green #06C755) */
.tgb-line-login-btn {
  background: #06C755 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35) !important;
  border-radius: 50px !important;
  transition: all 0.25s ease !important;
}

.tgb-line-login-btn:hover {
  background: #05B34C !important;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5) !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-line-login-btn:active {
  background: #049B41 !important;
  transform: translateY(0) !important;
}

/* 9. Notices on My Account (Errors / Messages) */
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper,
body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-info,
body.woocommerce-account:not(.logged-in) .woocommerce-message {
  max-width: 480px !important;
  margin: 20px auto !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error {
  background: rgba(26, 10, 20, 0.95) !important;
  border-left: 4px solid #FF4757 !important;
  border-radius: 14px !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2) !important;
  padding: 14px 18px 14px 44px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error li {
  color: #FFA4B0 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error li strong {
  color: #FFFFFF !important;
}

/* 10. Responsive Mobile Adaptations */
@media (max-width: 600px) {
  body.woocommerce-account:not(.logged-in) #customer_login {
    max-width: 92% !important;
    margin: 20px auto 40px auto !important;
    padding: 24px 20px 20px 20px !important;
    border-radius: 20px !important;
  }
  .tgb-auth-title {
    font-size: 1.35rem !important;
  }
  .tgb-auth-tab {
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
  }
}

/* 11. Checkout Store Pick-up Dynamic UI & Banner (Option 1: Fresh Mint & Map Link) */
#tgbPickupInfoBanner {
  display: none;
}

body.tgb-pickup-active #tgbPickupInfoBanner {
  display: flex !important;
}

.tgb-pickup-info-banner {
  flex-direction: column !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%) !important;
  border: 1.5px solid #A7F3D0 !important;
  border-left: 5px solid #059669 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  margin: 16px 0 20px 0 !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.08) !important;
  animation: tgbFadeIn 0.3s ease-out;
}

.tgb-pickup-banner-main {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.tgb-pickup-banner-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: rgba(5, 150, 105, 0.12) !important;
  border: 1px solid rgba(167, 243, 208, 0.8) !important;
  color: #047857 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.tgb-pickup-banner-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 !important;
}

.tgb-pickup-banner-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.tgb-pickup-banner-title {
  display: block !important;
  color: #064E3B !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  -webkit-text-fill-color: #064E3B !important;
  text-shadow: none !important;
}

.tgb-pickup-banner-badge {
  display: inline-block !important;
  background: #059669 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.tgb-pickup-banner-desc {
  display: block !important;
  color: #065F46 !important;
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
  -webkit-text-fill-color: #065F46 !important;
  font-weight: 500 !important;
}

.tgb-pickup-banner-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-top: 12px !important;
  margin-top: 4px !important;
  border-top: 1px dashed rgba(167, 243, 208, 0.9) !important;
}

.tgb-pickup-banner-location {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.tgb-pickup-map-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #059669 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
}

.tgb-pickup-map-btn:hover {
  background: #047857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-decoration: none !important;
}

/* Interactive Friday & Saturday Pickup Date & Time Scheduler */
.tgb-pickup-schedule-box {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1.5px dashed rgba(167, 243, 208, 0.9) !important;
}

.tgb-pickup-pills-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)) !important;
  gap: 8px !important;
  margin: 10px 0 !important;
}

.tgb-pickup-date-pill {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

.tgb-pickup-date-pill:hover {
  border-color: #8C52FF !important;
  background: #F5F3FF !important;
  transform: translateY(-1px) !important;
}

.tgb-pickup-date-pill.is-selected {
  background: linear-gradient(135deg, #2B2D7D 0%, #8C52FF 100%) !important;
  border-color: #2B2D7D !important;
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.3) !important;
}

.tgb-pickup-date-pill .tgb-pill-day {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
}

.tgb-pickup-date-pill.is-selected .tgb-pill-day {
  color: #00C7CC !important;
  -webkit-text-fill-color: #00C7CC !important;
}

.tgb-pickup-date-pill .tgb-pill-date {
  font-size: 13.5px !important;
  font-weight: 850 !important;
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.tgb-pickup-date-pill.is-selected .tgb-pill-date {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-pickup-time-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 !important;
}

.tgb-pickup-time-pill {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tgb-pickup-time-pill:hover {
  border-color: #8C52FF !important;
  background: #EDE9FE !important;
}

.tgb-pickup-time-pill.is-selected {
  background: #2B2D7D !important;
  border-color: #2B2D7D !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(43, 45, 125, 0.25) !important;
}

.tgb-pickup-card-map-wrap {
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px dashed #E2E8F0 !important;
}

.tgb-pickup-map-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
  text-decoration: underline !important;
  transition: color 0.15s ease !important;
}

.tgb-pickup-map-link:hover {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
  text-decoration: underline !important;
}

.tgb-deliv-map-link {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
  text-decoration: underline !important;
}

.tgb-deliv-map-link:hover {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
}

body.tgb-pickup-active #billing_address_1_field,
body.tgb-pickup-active #billing_address_2_field,
body.tgb-pickup-active #billing_city_field,
body.tgb-pickup-active #billing_state_field,
body.tgb-pickup-active #billing_postcode_field,
body.tgb-pickup-active #billing_country_field,
body.tgb-pickup-active .tgb-address-auto-hint,
body.tgb-pickup-active #tgbSaveAddressWrap {
  display: none !important;
}

body.tgb-pickup-active .woocommerce-billing-fields h3,
body.tgb-pickup-active #customer_details > .col-1 > h3 {
  color: #1E1B4B !important;
  -webkit-text-fill-color: #1E1B4B !important;
}

/* TGB Countdown Digits & Minimal Timer */
.tgb-countdown-digits {
  display: inline-block !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
  color: #DC2626 !important;
  -webkit-text-fill-color: #DC2626 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}

.tgb-order-countdown-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  line-height: 1.2 !important;
}

.tgb-order-countdown-badge .tgb-countdown-digits {
  font-size: 11.5px !important;
  color: #DC2626 !important;
  -webkit-text-fill-color: #DC2626 !important;
}

/* ==========================================================================
   TGB My Account Orders Tab: Enforce Single Card Layout (Hide Default WC Table)
   ========================================================================== */
.tgb-account-canvas table.woocommerce-orders-table,
.tgb-account-canvas .woocommerce-orders-table,
.tgb-account-canvas .my_account_orders,
.tgb-account-canvas table.shop_table.my_account_orders,
.tgb-account-canvas .woocommerce-pagination--without-numbers,
.tgb-account-active-pane > .woocommerce-message,
.tgb-account-active-pane > .woocommerce-info {
    display: none !important;
}

/* ==========================================================================
   TGB Checkout Refinements: Subtotal Align Right & Brand CI Text Colors
   ========================================================================== */

/* 1. Force Right Alignment for Subtotal Header & Cell in Order Review */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th.product-total,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-total {
    text-align: right !important;
}

/* 2. Crisp, Legible Table Headers (Eliminate Faded Grey) */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1.5px solid #E2E8F0 !important;
}

/* 3. Product Row Typography */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    font-weight: 750 !important;
    font-size: 14.5px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity {
    background: #F1F5F9 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    font-weight: 750 !important;
    border-radius: 20px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    font-weight: 800 !important;
    text-align: right !important;
}

/* 4. Subtotal & Shipping Row Labels (High-contrast Dark Slate instead of pale grey) */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-subtotal th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-weight: 750 !important;
    font-size: 14px !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    font-weight: 800 !important;
    text-align: right !important;
}

/* 5. Order Total: Deep Brand CI Navy #2B2D7D (Replace Neon Pink) */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 17px !important;
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td strong,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td strong,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td .amount,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td .amount {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    text-align: right !important;
}

/* 6. Payment Methods Box Styling */
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs label,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs label {
    color: #2B2D7D !important;
    -webkit-text-fill-color: #2B2D7D !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   TGB My Account View Order: Bank Transfer Payment Card & Pay Button
   ========================================================================== */
.tgb-order-pay-btn:hover {
    background: #1E1B4B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(43,45,125,0.3) !important;
}

.tgb-vo-payment-card {
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 18px !important;
    padding: 22px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 6px 24px rgba(43,45,125,0.08) !important;
}

.tgb-vo-status-banner {
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
}

.tgb-vo-status-banner.is-paid {
    background: #F0FFF4 !important;
    border: 1.5px solid #C6F6D5 !important;
}

/* Ensure Action cell in View Order details table has high contrast button */
.woocommerce-table--order-details td.tgb-actions-cell a.tgb-view-order-pay-btn,
.woocommerce-table--order-details a.tgb-view-order-pay-btn {
    background: #2B2D7D !important;
    border: 1.5px solid #2B2D7D !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(43,45,125,0.2) !important;
}

/* ==========================================================================
   TGB Mobile 2-Step Checkout Strict Visibility & Compact Styles
   ========================================================================== */
@media (max-width: 991px) {
  body.tgb-checkout-step-1 #order_review {
    display: none !important;
  }
  body.tgb-checkout-step-1 #customer_details,
  body.tgb-checkout-step-1 .col2-set {
    display: block !important;
  }

  body.tgb-checkout-step-2 #customer_details,
  body.tgb-checkout-step-2 .col2-set {
    display: none !important;
  }
  body.tgb-checkout-step-2 #order_review {
    display: block !important;
  }

  /* Compact form fields on mobile */
  .woocommerce-checkout .woocommerce-billing-fields .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields .form-row-last {
    width: 48% !important;
    display: inline-block !important;
    float: left !important;
  }
  .woocommerce-checkout .woocommerce-billing-fields .form-row-last {
    float: right !important;
  }
  .woocommerce-checkout .woocommerce-billing-fields .form-row-wide {
    clear: both !important;
  }
}

/* Dropzone Slip Attached Preview State */
.tgb-pis-dropzone.has-file {
  background: #F0FDF4 !important;
  border: 1.5px solid #10B981 !important;
}

.tgb-pis-dropzone.has-file .tgb-pis-dropzone-idle {
  display: none !important;
}

.tgb-pis-dropzone.has-file .tgb-pis-dropzone-preview {
  display: flex !important;
}

/* ==========================================================================
   🔔 HEADER BADGES CI & SPECIFICITY SHIELD (Cart & Favorites)
   Guarantees badges are never clobbered by Elementor, Astra, or page styles
   ========================================================================== */
.tgb-cart-badge:empty,
.tgb-fav-badge:empty,
#tgbCartBadge:empty,
.tgb-cart-badge.is-empty,
.tgb-fav-badge.is-empty,
#tgbCartBadge.is-empty,
.cart-btn-original .tgb-cart-badge.is-empty,
.tgb-header-fav-shortcut .tgb-fav-badge.is-empty,
.tgb-header-fav-shortcut.is-empty,
#tgbHeaderFavShortcut.is-empty,
a[class*="cart"] span.is-empty,
a.tgb-header-fav-shortcut span.is-empty {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cart-btn-original .tgb-cart-badge,
.tgb-header-fav-shortcut .tgb-fav-badge,
#tgb-cart-link .tgb-cart-badge,
#tgbHeaderFavShortcut .tgb-fav-badge,
.tgb-cart-badge,
.tgb-fav-badge {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  min-width: 17px !important;
  max-width: 26px !important;
  height: 17px !important;
  line-height: 17px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  border: 1.5px solid #08041C !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  z-index: 99 !important;
}

.cart-btn-original .tgb-cart-badge,
#tgb-cart-link .tgb-cart-badge,
.tgb-cart-badge {
  background: #E23DD5 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.tgb-header-fav-shortcut .tgb-fav-badge,
#tgbHeaderFavShortcut .tgb-fav-badge,
.tgb-fav-badge {
  background: #FF3366 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ==========================================================================
   💳 POST-PAYMENT SUCCESS ACTIONS & NAVIGATION BUTTONS
   ========================================================================== */
#tgbSlipokSuccessCard {
  background: #FFFFFF !important;
  border: 2px solid #10B981 !important;
  border-radius: 20px !important;
  padding: 28px 22px !important;
  text-align: center !important;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.18) !important;
  margin: 15px auto 30px auto !important;
  max-width: 560px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  animation: tgbFadeInDown 0.35s ease forwards !important;
}

@keyframes tgbFadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.tgb-post-pay-btn-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-width: 360px !important;
  margin: 20px auto 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tgb-post-payment-nav-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 13px 20px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
  width: 100% !important;
  line-height: 1.3 !important;
}

.tgb-post-payment-nav-btn.btn-primary {
  background: linear-gradient(90deg, #8C52FF 0%, #00C7CC 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(140, 82, 255, 0.35) !important;
  border: none !important;
}

.tgb-post-payment-nav-btn.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 199, 204, 0.45) !important;
}

.tgb-post-payment-nav-btn.btn-secondary {
  background: #F8FAFC !important;
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
  border: 1.5px solid #CBD5E1 !important;
}

.tgb-post-payment-nav-btn.btn-secondary:hover {
  background: #EDE9FE !important;
  border-color: #8C52FF !important;
  color: #8C52FF !important;
  -webkit-text-fill-color: #8C52FF !important;
  transform: translateY(-2px) !important;
}

.tgb-post-payment-nav-btn.btn-ghost {
  background: transparent !important;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px !important;
}

.tgb-post-payment-nav-btn.btn-ghost:hover {
  color: #2B2D7D !important;
  -webkit-text-fill-color: #2B2D7D !important;
}

/* ==========================================================================
   🎲 BGG API BADGE & GAMEPEDIA IMPORTER STYLES
   ========================================================================== */
.tgb-bgg-badge {
  font-size: 10.5px !important;
  font-weight: 750 !important;
  background: #EDE9FE !important;
  color: #6D28D9 !important;
  border: 1px solid #DDD6FE !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.tgb-bgg-importer-panel input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.tgb-bgg-importer-panel input:focus {
  border-color: #00C7CC !important;
  box-shadow: 0 0 0 2px rgba(0, 199, 204, 0.25) !important;
  outline: none !important;
}



/* ==========================================================================
   🌐 LANGUAGE CHIPS & SEARCH AUTOCOMPLETE STYLES (v1.2.0)
   ========================================================================== */
.tgb-lang-chip-label input:checked + .tgb-lang-chip-btn {
    background: #2B2D7D !important;
    color: #FFFFFF !important;
    border-color: #2B2D7D !important;
    box-shadow: 0 2px 8px rgba(43, 45, 125, 0.25) !important;
}

.tgb-card-lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

#tgb-search-suggestions-box::-webkit-scrollbar {
    width: 6px;
}
#tgb-search-suggestions-box::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 8px;
}
#tgb-search-suggestions-box::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 8px;
}


/* ==========================================================================
   💬 GAMEPEDIA COMMENTS & BGG ATTRIBUTION STYLES (v1.3.0)
   ========================================================================== */
.tgb-comments-wrapper {
    position: relative;
    box-sizing: border-box;
}
.tgb-single-comment-card:hover {
    border-color: rgba(140, 82, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}
.tgb-bgg-attribution a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.tgb-bgg-attribution img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
@media (max-width: 640px) {
    .tgb-comments-wrapper {
        padding: 18px 14px !important;
    }
    .tgb-single-comment-card {
        padding: 14px 14px !important;
    }
    .tgb-single-comment-card > div:last-child {
        padding-left: 0 !important;
        margin-top: 8px;
    }
}


/* ==========================================================================
   🚚 ORDER SHIPPING & TRACKING CARD (v1.3.1 / v1.3.3)
   ========================================================================== */
.tgb-order-tracking-card {
    transition: box-shadow 0.25s ease;
}
.tgb-order-tracking-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
.tgb-track-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 61, 213, 0.35) !important;
}
@media (max-width: 640px) {
    .tgb-order-tracking-card {
        padding: 16px 14px !important;
        margin: 18px 0 !important;
    }
    .tgb-order-tracking-card h3 {
        font-size: 1.05rem !important;
    }
    #tgb-tracking-display-val {
        font-size: 1.15rem !important;
    }
    .tgb-track-link-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 9px 18px !important;
        font-size: 0.88rem !important;
    }
}

/* ==========================================================================
   ⚡ MY ACCOUNT QUICK ACCESS 2x2 GRID (v1.3.3)
   ========================================================================== */
.tgb-quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 640px) {
    .tgb-quick-access-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    .tgb-quick-access-card {
        padding: 10px 4px !important;
        border-radius: 14px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: auto !important;
    }
    .tgb-quick-access-card .tgb-qa-icon-circle {
        margin-bottom: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .tgb-quick-access-card .tgb-qa-num {
        font-size: 16px !important;
    }
    .tgb-quick-access-card .tgb-qa-label {
        font-size: 10.5px !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
    }
}


/* ==========================================================================
   📱 MOBILE MARKET REFINEMENTS (v1.3.4)
   - Square Thumb View for List View on Mobile
   - Condition Badge Placed Under Price in List View
   - Separate Lines for Language Badges and Delivery Method
   - Equal Height for Mode Toggle Pill & Post Button
   - Single Clear Filter Button (Cut Duplicate)
   ========================================================================== */

/* Mobile Screen Rules (max-width: 640px) */
@media (max-width: 640px) {
    /* 1. Mobile Filter Bar: Cut Duplicate Bottom Button */
    .tgb-filter-mobile-toggle-row {
        display: flex !important;
    }
    .tgb-filter-pills-row {
        display: none !important; /* Collapsed by default on mobile */
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px dashed #E2E8F0 !important;
    }
    #tgb-filter-reset-btn {
        display: none !important; /* Remove redundant bottom clear button */
    }
    .tgb-filter-pill {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-search-filter-card {
        padding: 14px 14px !important;
        border-radius: 18px !important;
    }
    .tgb-sticky-note-img {
        display: none !important; /* Hide sticky note on mobile to maximize search bar space */
    }
    #tgb-search-submit-btn {
        padding: 10px 18px !important;
        font-size: 13.5px !important;
    }

    /* 2. Action Row: Matched Equal Height for Pill & Post Button */
    .tgb-action-row {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
    }
    .tgb-mode-toggle {
        height: 38px !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 3px !important;
        gap: 2px !important;
    }
    .tgb-mode-toggle .tgb-view-btn {
        height: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 11px !important;
        font-size: 11.5px !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }
    .tgb-post-game-action-btn {
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        font-size: 12.5px !important;
        gap: 4px !important;
        box-sizing: border-box !important;
        border-radius: 9999px !important;
    }

    /* 3. Grid View: Force 2 Columns on Mobile */
    .tgb-grouped-grid:not(.tgb-layout-list),
    .tgb-latest-grid:not(.tgb-layout-list) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .tgb-grouped-grid:not(.tgb-layout-list) .tgb-game-group-card,
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-listing-card {
        border-radius: 14px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }
    .tgb-grouped-grid:not(.tgb-layout-list) .tgb-group-body,
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-card-body {
        padding: 10px 10px !important;
    }
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-card-body {
        position: static !important;
    }
    .tgb-grouped-grid:not(.tgb-layout-list) .tgb-group-title,
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-listing-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    .tgb-grouped-grid:not(.tgb-layout-list) .tgb-group-price,
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-listing-price {
        font-size: 15.5px !important;
    }
    .tgb-grouped-grid:not(.tgb-layout-list) .tgb-group-copies-badge,
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-cond-badge-wrap {
        top: 6px !important;
        left: 6px !important;
    }
    .tgb-latest-grid:not(.tgb-layout-list) .tgb-card-cond-badge {
        font-size: 10px !important;
        padding: 2px 7px !important;
    }

    /* 4. List View: Square Thumb View with Maximum Room for Details */
    .tgb-grouped-grid.tgb-layout-list .tgb-game-group-card {
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        min-height: 138px !important;
        border-radius: 16px !important;
        gap: 0 !important;
        padding-bottom: 6px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-listing-card {
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        min-height: 110px !important;
        border-radius: 16px !important;
        gap: 0 !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-group-copies-badge {
        position: absolute !important;
        top: 104px !important;
        left: 10px !important;
        right: auto !important;
        bottom: auto !important;
        width: 88px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        z-index: 5 !important;
        font-size: 9.5px !important;
        padding: 2.5px 4px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(4px) !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
        border: 1px solid #E2E8F0 !important;
    }
    /* Condition Badge Under Price */
    .tgb-latest-grid.tgb-layout-list .tgb-cond-badge-wrap {
        position: static !important;
        margin: 2px 0 4px 0 !important;
        display: block !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-card-cond-badge {
        position: static !important;
        display: inline-flex !important;
        font-size: 10px !important;
        padding: 2px 6.5px !important;
        border-radius: 5px !important;
    }
    /* Square Thumbnail View on Mobile */
    .tgb-grouped-grid.tgb-layout-list .tgb-card-img-wrap,
    .tgb-latest-grid.tgb-layout-list .tgb-card-img-wrap {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        align-self: flex-start !important;
        background: #F8FAFC !important;
    }
    /* Thumbnail on top in Grouped List View */
    .tgb-grouped-grid.tgb-layout-list .tgb-card-img-wrap {
        margin: 10px 0 0 10px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-card-img-wrap {
        margin: 10px 0 10px 10px !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-card-img-wrap img,
    .tgb-latest-grid.tgb-layout-list .tgb-card-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    /* Card body fills remaining horizontal space */
    .tgb-grouped-grid.tgb-layout-list .tgb-group-body,
    .tgb-latest-grid.tgb-layout-list .tgb-card-body {
        flex: 1 !important;
        padding: 10px 12px 10px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important;
        min-width: 0 !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-group-title,
    .tgb-latest-grid.tgb-layout-list .tgb-listing-title {
        font-size: 13.5px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
        padding-right: 36px !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-group-price,
    .tgb-latest-grid.tgb-layout-list .tgb-listing-price {
        font-size: 16px !important;
        font-weight: 900 !important;
        margin-bottom: 2px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-listing-languages {
        margin: 2px 0 4px 0 !important;
        gap: 4px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-listing-languages span {
        font-size: 10px !important;
        padding: 1.5px 6px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-listing-delivery {
        font-size: 11px !important;
        margin: 0 0 6px 0 !important;
        gap: 4px !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-card-save-btn {
        top: 8px !important;
        right: 8px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 15px !important;
    }
    /* Hide 'View Details →' in List View: direct card click */
    .tgb-latest-grid.tgb-layout-list .tgb-listing-cta {
        display: none !important;
    }
    .tgb-latest-grid.tgb-layout-list .tgb-list-only-time {
        display: inline !important;
    }
    .tgb-listing-card {
        cursor: pointer !important;
    }

    /* 5. Floating BGG Logo (No container border or background) */
    .tgb-bgg-attribution {
        margin: 25px auto 15px auto !important;
        padding: 8px 0 !important;
    }
    .tgb-bgg-attribution img {
        height: 28px !important;
    }

    /* Mobile responsive search autocomplete dropdown */
    #tgb-search-suggestions-box {
        left: 0 !important;
        right: auto !important;
        width: calc(100vw - 44px) !important;
        max-width: 420px !important;
        min-width: 280px !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   🎮 GAMEPEDIA SINGLE PROFILE: REFINED RESPONSIVE TOP NAV & COMMENT SUPPRESSION
   ========================================================================== */

/* 1. Prevent default WordPress comment form / reply box on Gamepedia single posts */
.single-tgb_game #respond,
.single-tgb_game #comments,
.single-tgb_game .comment-respond,
.single-tgb_game .comments-area,
.post-type-archive-tgb_game #respond,
.tax-tgb_category #respond {
  display: none !important;
}

/* 2. Single Game Profile Bookmark Button (Ensure clean inline-flex and reset card sizing) */
.tgb-fav-single-btn {
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  min-height: unset !important;
  max-width: none !important;
  max-height: none !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  box-sizing: border-box !important;
}

/* 3. Mobile adjustments for Single Game top navigation */
@media (max-width: 640px) {
  .single-game-profile-wrapper {
    margin: 10px 0 30px 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .single-game-top-nav {
    margin-bottom: 16px !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .single-game-top-nav .tgb-back-gamepedia-link {
    font-size: 0.82rem !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .single-game-top-nav .tgb-back-desktop {
    display: none !important;
  }

  .single-game-top-nav .tgb-back-mobile {
    display: inline !important;
  }

  .single-game-top-nav .tgb-fav-single-btn {
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    padding: 7px 13px !important;
    font-size: 0.8rem !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .single-game-top-nav .tgb-fav-single-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
  }

  .single-game-top-nav .tgb-fav-label-desktop {
    display: none !important;
  }

  .single-game-top-nav .tgb-fav-label-mobile {
    display: inline !important;
  }
}


/* ==========================================================================
   🎮 GAMEPEDIA MOBILE COLLAPSIBLE FILTER DRAWER & 2-COL MECHANICS GRID
   ========================================================================== */
#tgb-game-pills-row {
  display: flex;
}
@media (min-width: 769px) {
  #tgb-game-pills-row {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .tgb-game-filter-mobile-toggle-row {
    display: flex !important;
  }
  #tgb-game-pills-row {
    display: none !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #tgb-game-pills-row.is-open {
    display: grid !important;
  }
  #tgb-game-pills-row .tgb-filter-pill {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex: none !important;
    padding: 6px 10px !important;
  }
  #tgb-game-pills-row #tgb-pill-wrap-mechanics {
    grid-column: span 2 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #tgb-game-pills-row #tgb-game-filter-reset-btn {
    display: none !important;
  }
  .tgb-pill-val {
    max-width: 110px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #tgb-pill-wrap-mechanics .tgb-pill-val {
    max-width: 220px !important;
  }
}

/* ==========================================================================
   📱 v1.3.7 MOBILE & MARKET UX REFINEMENTS
   ========================================================================== */
/* Sell List Status Dropdown (Single Clean Border matching Edit button) */
select.tgb-manage-status-select {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    background-color: #FFFFFF !important;
    font-weight: 750 !important;
    font-family: inherit !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 7px 10px !important;
}

/* Sell a Game Condition Buttons Mobile Flex */
@media (max-width: 600px) {
    .tgb-cond-cat-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 11px 6px !important;
        font-size: 13px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }
}

/* Market List View Thumbnail & Copies Badge on Mobile (Thumbnail Top, Badge Below) */
@media (max-width: 768px) {
    .tgb-grouped-grid.tgb-layout-list .tgb-game-group-card {
        min-height: 138px !important;
        position: relative !important;
        padding-bottom: 6px !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-card-img-wrap {
        margin: 10px 0 0 10px !important;
    }
    .tgb-grouped-grid.tgb-layout-list .tgb-group-copies-badge {
        position: absolute !important;
        top: 104px !important;
        left: 10px !important;
        width: 88px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        z-index: 5 !important;
        font-size: 9.5px !important;
        padding: 2.5px 4px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(4px) !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
        border: 1px solid #E2E8F0 !important;
    }
    /* Hide 'ดูรายละเอียด ->' in Mobile Grid View */
    .tgb-latest-grid .tgb-listing-cta {
        display: none !important;
    }
}

/* ==========================================================================
   TGB Marketplace Option 3: Full-Width Mobile Chat & Bottom Sheet Modals
   ========================================================================== */
#tgb-seller-reply-modal > div::before,
#tgb-interest-modal > div::before {
    content: '';
    display: none;
}

@media (max-width: 768px) {
    /* Full-width container adjustments for Inquiries */
    .tgb-account-app {
        border-radius: 12px !important;
        margin: 6px 0 20px !important;
    }
    .tgb-account-canvas {
        padding: 14px 8px !important;
    }
    #tgb-market-sub-inquiries {
        gap: 12px !important;
    }
    #tgb-market-sub-inquiries > div {
        padding: 14px 10px !important;
        border-radius: 14px !important;
    }
    .tgb-inquiry-card {
        padding: 12px 10px !important;
        border-radius: 14px !important;
    }
    .tgb-inquiry-card-header {
        gap: 8px !important;
    }
    .tgb-inquiry-thread-wrapper {
        padding: 10px 8px !important;
        border-radius: 12px !important;
    }
    .tgb-inquiry-thread-messages {
        max-height: 380px !important;
        padding-right: 2px !important;
    }
    .tgb-msg-row > div {
        max-width: 94% !important;
    }
    .tgb-msg-row > div > div {
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
    .tgb-inline-chat-form {
        gap: 6px !important;
    }
    .tgb-inline-chat-input {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    .tgb-inline-chat-submit {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    /* Bottom Sheet Mode for Pop-up Modals on Mobile */
    #tgb-seller-reply-modal,
    #tgb-interest-modal {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    #tgb-seller-reply-modal > div,
    #tgb-interest-modal > div {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 18px 16px 28px !important;
        margin: 0 !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3) !important;
    }
    #tgb-seller-reply-modal > div::before,
    #tgb-interest-modal > div::before {
        display: block !important;
        width: 44px !important;
        height: 4px !important;
        background: #CBD5E1 !important;
        border-radius: 999px !important;
        margin: 0 auto 14px auto !important;
    }
}

/* ==========================================================================
   Market Reserved ("ติดจอง") Status Enhancements
   ========================================================================== */
.tgb-game-group-card.is-reserved,
.tgb-listing-card.is-reserved {
  border-color: #FCD34D !important;
  background: #FFFEF9 !important;
}

.tgb-game-group-card.is-reserved:hover,
.tgb-listing-card.is-reserved:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15) !important;
}

.is-reserved .tgb-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(254, 243, 199, 0.18);
  pointer-events: none;
  z-index: 1;
}

.badge-reserved,
.tgb-card-status-badge.badge-reserved {
  background: #FEF3C7 !important;
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25) !important;
}

.tgb-reserved-pill {
  background: rgba(255, 187, 5, 0.14) !important;
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
  border: 1px solid rgba(255, 187, 5, 0.40) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.tgb-copy-row.is-reserved {
  background: #FFFEF9 !important;
  border-color: #FCD34D !important;
}

.tgb-copy-row.is-reserved:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12) !important;
}

/* ==========================================================================
   20. MarketChat Image Attachment & Lightbox Styles
   ========================================================================== */
.tgb-chat-attach-btn {
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.tgb-chat-attach-btn:hover {
  border-color: #2b2d7d !important;
  color: #2b2d7d !important;
}
.tgb-chat-attach-btn:active {
  transform: scale(0.95);
}

.tgb-chat-img-preview-bar {
  animation: tgbFadeInDown 0.2s ease-out;
}
@keyframes tgbFadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tgb-msg-attachment-thumb {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.tgb-msg-attachment-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.tgb-msg-attachment-thumb:active {
  transform: scale(0.98);
}

#tgb-chat-lightbox-modal {
  animation: tgbFadeInLightbox 0.2s ease-out;
}
@keyframes tgbFadeInLightbox {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Inline Chat Form & Scrollbar Polish */
.tgb-inquiry-thread-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.tgb-inquiry-thread-messages::-webkit-scrollbar {
  width: 5px;
}
.tgb-inquiry-thread-messages::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 6px;
}
.tgb-inquiry-thread-messages::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}
.tgb-inquiry-thread-messages::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.tgb-inline-chat-form {
  width: 100% !important;
  box-sizing: border-box !important;
}

.tgb-chat-inputs-row {
  width: 100% !important;
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.tgb-chat-inputs-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

.tgb-inline-chat-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
}

.tgb-chat-attach-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.tgb-inline-chat-submit {
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  padding: 0 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 600px) {
  .tgb-chat-inputs-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 6px !important;
  }
  .tgb-inline-chat-input {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 16px !important; /* Strictly prevents iOS Safari zoom */
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .tgb-chat-attach-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
    box-sizing: border-box !important;
  }
  .tgb-inline-chat-submit {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   🔍 MARKETPLACE GAME SEARCH AUTOCOMPLETE INPUT
   Ensures text is never obscured by the left magnifying glass icon
   ========================================================================== */
#tgb-game-autocomplete-input,
input#tgb-game-autocomplete-input,
.tgb-form-step input#tgb-game-autocomplete-input {
  padding: 12px 16px 12px 46px !important;
  padding-left: 46px !important;
  text-indent: 0 !important;
  box-sizing: border-box !important;
}





/* ==============================================================================
 * TGB MARKET MESSAGES INBOX POLISH & MOBILE SCROLL LOCK
 * ============================================================================== */
body.tgb-messages-page .entry-header,
body.tgb-messages-page h1.entry-title,
body.tgb-messages-page .page-title,
body.tgb-messages-page .ast-archive-description,
body:has(.tgb-inbox-wrapper) .entry-header,
body:has(.tgb-inbox-wrapper) h1.entry-title,
body:has(.tgb-inbox-wrapper) .page-title,
body:has(.tgb-inbox-wrapper) .ast-archive-description,
.tgb-messages-page .entry-header,
.tgb-messages-page h1.entry-title {
    display: none !important;
}

#tgbInboxSearchInput,
input#tgbInboxSearchInput[type="text"] {
    width: 100% !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 8px 14px 8px 38px !important;
    font-size: 13px !important;
    outline: none !important;
    font-family: inherit !important;
    color: #111827 !important;
    box-sizing: border-box !important;
    height: 38px !important;
    line-height: 20px !important;
    transition: all 0.15s ease !important;
}

#tgbInboxSearchInput:focus,
input#tgbInboxSearchInput[type="text"]:focus {
    border-color: #2b2d7d !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(43, 45, 125, 0.08) !important;
}

.tgb-inbox-attach-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tgb-inbox-attach-btn svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    stroke-width: 2.2 !important;
    display: block !important;
    margin: auto !important;
}

@media (max-width: 767px) {
    html:has(.tgb-inbox-app),
    body:has(.tgb-inbox-app),
    body.tgb-messages-page {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none !important;
        touch-action: pan-y !important;
    }
}

/* ==========================================================================
   Treasure Hunt Market Rules Bar / Minimalist Link (Mobile & Desktop)
   ========================================================================== */
.tgb-market-rules-link-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

.tgb-market-rules-inline-btn {
    background: transparent !important;
    border: none !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    color: #FFFFFF !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    opacity: 0.92 !important;
    transition: all 0.2s ease !important;
}

.tgb-market-rules-inline-btn:hover {
    opacity: 1 !important;
    color: #E23DD5 !important;
    transform: translateY(-1px) !important;
}

.tgb-market-rules-inline-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.tgb-market-rules-inline-text {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    letter-spacing: 0.2px !important;
}

.tgb-market-rules-bar {
    background: #FFFDF9;
    border: 1.5px solid #F3EDE4;
    border-radius: 14px;
    padding: 10px 18px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.tgb-market-rules-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #2D1B4E;
    min-width: 0;
}
.tgb-market-rules-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.tgb-market-rules-title strong {
    color: #2D1B4E;
    font-weight: 800;
    font-size: 13.5px;
}
.tgb-market-rules-btn {
    background: #2E1A47;
    color: #FFFFFF !important;
    border: none;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(46,26,71,0.22);
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}
.tgb-market-rules-btn:hover {
    background: #4C2A75;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .tgb-market-rules-link-wrap {
        margin-bottom: 6px !important;
    }
    .tgb-market-rules-inline-btn {
        font-size: 12.5px !important;
    }
    .tgb-market-rules-bar {
        padding: 7px 12px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        min-height: 38px !important;
    }
    .tgb-market-rules-icon {
        display: none !important;
    }
    .tgb-market-rules-left {
        gap: 0 !important;
        font-size: 12px !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    .tgb-market-rules-title strong {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    .tgb-market-rules-btn {
        padding: 5px 11px !important;
        font-size: 11.5px !important;
        gap: 4px !important;
    }
}

/* ==========================================================================
   TGB Market Share & Copy Link System
   ========================================================================== */
.tgb-card-share-btn {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #2b2d7d !important;
    border-radius: 8px !important;
    padding: 4px 9px !important;
    font-size: 11.5px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
}
.tgb-card-share-btn:hover {
    background: #EDE9FE !important;
    border-color: #8C52FF !important;
    color: #2b2d7d !important;
    transform: translateY(-1px);
}
.tgb-card-share-btn:active {
    transform: scale(0.96);
}

.tgb-single-share-btn {
    width: 100% !important;
    margin-top: 10px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #2B2D7D !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}
.tgb-single-share-btn:hover {
    background: #EDE9FE !important;
    border-color: #8C52FF !important;
    color: #2B2D7D !important;
    transform: translateY(-1px);
}

.tgb-profile-share-btn {
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #2B2D7D !important;
    border-radius: 10px !important;
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}
.tgb-profile-share-btn:hover {
    background: #EDE9FE !important;
    border-color: #8C52FF !important;
    color: #2B2D7D !important;
    transform: translateY(-1px);
}

.tgb-share-storefront-btn {
    background: linear-gradient(135deg, #2b2d7d 0%, #e23dd5 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(226, 61, 213, 0.25) !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}
.tgb-share-storefront-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(226, 61, 213, 0.35) !important;
}

/* Explicit SVG Dimension & Ratio Guard */
.tgb-card-share-btn svg,
.tgb-single-share-btn svg,
.tgb-profile-share-btn svg,
.tgb-share-storefront-btn svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    aspect-ratio: 1 / 1 !important;
}
.tgb-card-share-btn svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
}
.tgb-single-share-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

/* Option 3: In-Chat Deal Close & Review Action Polish */
.tgb-mark-sold-chat-btn {
    transition: all 0.2s ease !important;
}
.tgb-mark-sold-chat-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}
.tgb-mark-sold-chat-btn:active {
    transform: translateY(0) !important;
}
.tgb-reviewed-badge {
    animation: tgb-fade-in 0.3s ease;
}
.tgb-chat-deal-banner {
    animation: tgb-fade-in 0.3s ease;
}

/* Account Mobile Management Button Polish */
#tgb-toggle-change-mobile-btn:hover {
    background: #F1F5F9 !important;
    border-color: #94A3B8 !important;
}
#tgb-unlink-mobile-btn:hover {
    background: #FEE2E2 !important;
    border-color: #FCA5A5 !important;
}

/* Auction Bidder Avatars Strip (Safari WebKit & Mobile Proportions Fix) */
#tgb-auction-bidders-strip-wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#tgb-auction-avatars-row {
    display: flex !important;
    align-items: flex-end !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.tgb-bidder-avatar-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
    width: 32px !important;
}

#tgb-auction-avatars-row img,
.tgb-bidder-avatar-wrap img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    aspect-ratio: 1 / 1 !important;
    -webkit-aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    background: #E2E8F0 !important;
    display: block !important;
    flex-shrink: 0 !important;
}

#tgb-auction-stats-summary {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 12px !important;
}


/* ==========================================================================
   27. TGB Official Shop — Product Type Visual Category Badges & Cards (PRD Addendum)
   ========================================================================== */

.tgb-shop-badges-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: 'Outfit', 'Kanit', sans-serif;
    overflow: visible !important;
}

.tgb-shop-badges-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 6px 6px 14px 6px;
    margin: 0 auto;
    overflow: visible !important;
}

.tgb-shop-badge-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.2s ease;
    opacity: 0.72;
    transform: scale(0.96);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    overflow: visible !important;
}

.tgb-shop-badge-img-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tgb-shop-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Hover State (Desktop only) */
@media (hover: hover) and (pointer: fine) {
    .tgb-shop-badge-item:hover {
        opacity: 1;
        transform: translateY(-3px) scale(1.03);
    }
    .tgb-shop-badge-item:hover .tgb-shop-badge-img {
        filter: drop-shadow(0 6px 16px rgba(168, 85, 247, 0.45));
    }
}

/* Selected State: Full Opacity, Elevation, Zero Square Borders & Glowing Indicator Pill */
.tgb-shop-badge-item.is-active {
    opacity: 1 !important;
    transform: translateY(-3px) scale(1.05);
}

.tgb-shop-badge-item.is-active .tgb-shop-badge-img-wrap {
    background: transparent !important;
    border-radius: 0 !important;
}

.tgb-shop-badge-item.is-active .tgb-shop-badge-img {
    filter: drop-shadow(0 4px 14px rgba(168, 85, 247, 0.55)) !important;
}

.tgb-shop-badge-item::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #A855F7, #EC4899);
    border-radius: 10px;
    margin-top: 6px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    opacity: 0;
}

.tgb-shop-badge-item.is-active::after {
    width: 26px;
    opacity: 1;
}

/* Mobile Layout: Scaled to 68px, NO glow effect (eliminates square frames completely), NO cropping */
@media (max-width: 768px) {
    .tgb-shop-badges-container {
        padding: 0 8px !important;
        margin-bottom: 14px !important;
        overflow: visible !important;
    }
    .tgb-shop-badges-track {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 6px 4px 14px 4px !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    .tgb-shop-badge-item {
        flex-shrink: 0 !important;
        filter: none !important;
        -webkit-filter: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    .tgb-shop-badge-img-wrap {
        width: 68px !important;
        height: 68px !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .tgb-shop-badge-img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        overflow: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        box-shadow: none !important;
    }
    .tgb-shop-badge-item.is-active {
        opacity: 1 !important;
        transform: scale(1.06) !important;
    }
    .tgb-shop-badge-item.is-active .tgb-shop-badge-img-wrap {
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    .tgb-shop-badge-item.is-active .tgb-shop-badge-img {
        /* No glow on mobile per user instruction - prevents square clipping completely */
        filter: none !important;
        -webkit-filter: none !important;
        box-shadow: none !important;
    }
    .tgb-shop-badge-item.is-active::after {
        width: 22px !important;
        height: 3px !important;
        background: linear-gradient(90deg, #A855F7, #EC4899) !important;
        box-shadow: none !important;
    }
}

/* Product Card Minimalist Chip: Fixed baseline height across all cards */
.tgb-product-type-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    margin: 0 0 8px 0 !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: fit-content !important;
}

.tgb-product-type-chip.is-new {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tgb-product-type-chip.is-preloved {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tgb-product-type-chip.is-preorder {
    background: rgba(124, 58, 237, 0.12);
    color: #A78BFA;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.tgb-product-type-eta {
    font-size: 0.70rem;
    color: #94A3B8;
    margin-left: 2px;
    font-weight: 600;
    text-transform: none;
}

/* ==========================================================================
   27.8 Single Product Page (PDP) Game Specifications & Emoji-Free Chips
   ========================================================================== */

/* Strict defensive emoji protection: Hide any converted SVG or img emojis */
.tgb-product-type-chip img,
.tgb-product-type-chip .emoji,
.tgb-pdp-specs-strip img.emoji,
.tgb-pdp-type-pill img,
.tgb-pdp-type-pill .emoji {
    display: none !important;
}

/* Quick-Spec Ribbon on Single Product Page */
.tgb-pdp-specs-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0 14px 0;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.tgb-pdp-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.tgb-pdp-type-pill.is-new {
    background: rgba(16, 185, 129, 0.16);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.tgb-pdp-type-pill.is-preloved {
    background: rgba(245, 158, 11, 0.16);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.tgb-pdp-type-pill.is-preorder {
    background: rgba(124, 58, 237, 0.2);
    color: #A78BFA;
    border: 1px solid rgba(124, 58, 237, 0.45);
}

.tgb-pdp-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.80rem;
    font-weight: 600;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tgb-pdp-spec-pill.tgb-pdp-tier-light {
    border-color: rgba(56, 161, 105, 0.4);
    color: #4ADE80;
}

.tgb-pdp-spec-pill.tgb-pdp-tier-medium {
    border-color: rgba(221, 107, 32, 0.4);
    color: #FBBF24;
}

.tgb-pdp-spec-pill.tgb-pdp-tier-heavy {
    border-color: rgba(229, 62, 62, 0.4);
    color: #F87171;
}

.tgb-pdp-defect-banner {
    margin: 8px 0 14px 0;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #FDE68A;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.tgb-pdp-preorder-banner {
    margin: 8px 0 14px 0;
    padding: 10px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px dashed rgba(124, 58, 237, 0.4);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #DDD6FE;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

/* Single Product Tab: Game Specifications Card */
.tgb-pdp-game-specs-tab {
    background: rgba(13, 10, 36, 0.6);
    border: 1px solid rgba(140, 82, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
}

.tgb-pdp-specs-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tgb-pdp-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.tgb-pdp-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tgb-pdp-stat-lbl {
    font-size: 0.78rem;
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tgb-pdp-stat-val {
    font-size: 1.18rem;
    font-weight: 750;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tgb-pdp-tier-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
}

.tgb-pdp-tier-badge.tier-light {
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.tgb-pdp-tier-badge.tier-medium {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.tgb-pdp-tier-badge.tier-heavy {
    background: rgba(248, 113, 113, 0.15);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.tgb-pdp-meta-row {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tgb-pdp-meta-title {
    font-size: 0.86rem;
    color: #94A3B8;
    font-weight: 700;
}

.tgb-pdp-lang-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 199, 204, 0.12);
    border: 1px solid rgba(0, 199, 204, 0.35);
    color: #00C7CC;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
}

.tgb-pdp-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tgb-pdp-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(140, 82, 255, 0.14);
    border: 1px solid rgba(140, 82, 255, 0.32);
    color: #E9D5FF;
}

.tgb-pdp-tag-pill.is-mechanic {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.32);
    color: #BFDBFE;
}

.tgb-pdp-defect-box {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    font-size: 0.88rem;
    color: #FEF3C7;
    line-height: 1.6;
}

.tgb-pdp-gp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.3), rgba(0, 199, 204, 0.2));
    border: 1px solid #8C52FF;
    border-radius: 50px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.tgb-pdp-gp-link:hover {
    background: linear-gradient(135deg, #8C52FF, #00C7CC);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(140, 82, 255, 0.4);
}

/* ==========================================================================
   28. Single Product Page (PDP) Layout Redesign — Information-Dense & Brand CI (v3)
   - Zero Magenta (Cyan outlines & accents)
   - Breadcrumbs single clean flow
   - Fixed 1:1 circular stepper buttons
   - Side-by-side Add to Cart and Prominent Cyan Buy Now button
   - Pill Overview & Reviews tabs
   - Clean gallery card border
   ========================================================================== */

/* Hide default theme / WooCommerce breadcrumbs on single product page */
.single-product .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb,
.single-product .elementor-widget-woocommerce-breadcrumb {
    display: none !important;
}

/* ==========================================================================
   28.14 Single Product Page (PDP) — Market Light CI Design
   White Surface, 4-Color Gradient Accent Bar, Magenta Highlights & Purple Add to Cart
   ========================================================================== */

/* Hide default theme / WooCommerce breadcrumbs on single product page */
.single-product .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb,
.single-product .elementor-widget-woocommerce-breadcrumb {
    display: none !important;
}

/* Outer wrapper - Guaranteed Viewport Containment */
.tgb-pdp-outer-wrapper {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 24px 20px 60px 20px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Floating White Card Container with Signature 4-Color Gradient Top Accent Bar */
.tgb-pdp-container {
    width: 100% !important;
    max-width: 100% !important;
    background: #FFFFFF !important;
    border-radius: 24px !important;
    padding: 32px 34px 40px 34px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Signature 4-Color Gradient Top Accent Bar (00C7CC -> 8C52FF -> FF3366 -> FFA133) */
.tgb-pdp-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 6px !important;
    background: linear-gradient(90deg, #00C7CC 0%, #8C52FF 35%, #FF3366 70%, #FFA133 100%) !important;
    z-index: 10 !important;
}

/* Breadcrumbs in Light CI */
.tgb-pdp-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    margin-top: 4px !important;
    margin-bottom: 24px !important;
    color: #64748B !important;
    word-break: break-word !important;
    max-width: 100% !important;
}
.tgb-pdp-breadcrumbs a {
    color: #475569 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.tgb-pdp-breadcrumbs a:hover {
    color: #8C52FF !important;
}
.tgb-pdp-breadcrumbs .tgb-bc-sep {
    color: #94A3B8 !important;
    font-size: 0.9rem !important;
}
.tgb-pdp-breadcrumbs .tgb-bc-current {
    color: #1E1B4B !important;
    font-weight: 700 !important;
}

/* Main 2-Column Grid - min-width 0 prevents child blowout */
.tgb-pdp-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Left Column */
.tgb-pdp-left-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Gallery Card in Light CI */
.tgb-pdp-gallery-card {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.tgb-pdp-main-img-box {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 380px !important;
    max-height: 400px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
}
.tgb-pdp-main-img-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: opacity 0.2s ease, transform 0.3s ease !important;
}

/* Top-Right Image Actions (Share + Favorite Heart) */
.tgb-pdp-img-actions-wrap {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 10 !important;
}

.tgb-pdp-img-action-btn,
.tgb-pdp-img-fav-btn,
.tgb-pdp-img-share-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1.5px solid #E2E8F0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.tgb-pdp-img-action-btn:hover,
.tgb-pdp-img-fav-btn:hover,
.tgb-pdp-img-share-btn:hover {
    transform: scale(1.12) !important;
    background: #FFFFFF !important;
    border-color: #8C52FF !important;
    box-shadow: 0 6px 18px rgba(140, 82, 255, 0.25) !important;
}
.tgb-pdp-img-fav-btn:hover {
    border-color: #FF3366 !important;
    box-shadow: 0 6px 18px rgba(255, 51, 102, 0.35) !important;
}
.tgb-pdp-img-action-btn:active,
.tgb-pdp-img-fav-btn:active,
.tgb-pdp-img-share-btn:active {
    transform: scale(0.92) !important;
}
.tgb-pdp-img-fav-btn svg,
.tgb-pdp-img-fav-btn svg.tgb-heart-icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    pointer-events: none !important;
    transition: fill 0.25s ease, stroke 0.25s ease, transform 0.25s ease !important;
}
.tgb-pdp-img-fav-btn:not(.is-favorite) svg,
.tgb-pdp-img-fav-btn:not(.is-favorite) svg.tgb-heart-icon {
    fill: none !important;
    stroke: #2B2D7D !important;
    stroke-width: 2px !important;
}
.tgb-pdp-img-fav-btn.is-favorite {
    background: #FFFFFF !important;
    border-color: #FF3366 !important;
    box-shadow: 0 4px 16px rgba(255, 51, 102, 0.45) !important;
}
.tgb-pdp-img-fav-btn.is-favorite svg,
.tgb-pdp-img-fav-btn.is-favorite svg.tgb-heart-icon {
    fill: #FF3366 !important;
    stroke: #FF3366 !important;
    stroke-width: 1.5px !important;
    animation: tgbHeartPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Thumbnails Track in Light CI */
.tgb-pdp-thumbs-track {
    display: flex !important;
    gap: 12px !important;
    margin-top: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 6px 4px 10px 4px !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}
.tgb-pdp-thumbs-track::-webkit-scrollbar {
    height: 5px !important;
}
.tgb-pdp-thumbs-track::-webkit-scrollbar-track {
    background: #F1F5F9 !important;
    border-radius: 4px !important;
}
.tgb-pdp-thumbs-track::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border-radius: 4px !important;
}

.tgb-pdp-thumb-item {
    flex-shrink: 0 !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 10px !important;
    border: 2px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    padding: 0 !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.tgb-pdp-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px !important;
    margin: 0 !important;
    transition: opacity 0.2s ease !important;
}
.tgb-pdp-thumb-item:not(.is-active):hover {
    border-color: #CBD5E1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}
.tgb-pdp-thumb-item.is-active {
    border-color: #8C52FF !important;
    box-shadow: 0 0 10px rgba(140, 82, 255, 0.35) !important;
    transform: translateY(-2px) !important;
    z-index: 10 !important;
}

/* Tabs Under Gallery in Light CI */
.tgb-pdp-tabs-container {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}
.tgb-pdp-tabs-nav {
    display: flex !important;
    gap: 6px !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    padding: 4px !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
}
.tgb-pdp-tab-btn {
    background: transparent !important;
    border: none !important;
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    padding: 7px 20px !important;
    border-radius: 9999px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.tgb-pdp-tab-btn:hover {
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
}
.tgb-pdp-tab-btn.is-active {
    background: linear-gradient(135deg, #8C52FF 0%, #FF3366 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3) !important;
}
.tgb-pdp-tab-panel {
    display: none;
}
.tgb-pdp-tab-panel.is-active {
    display: block;
    animation: tgbFadeIn 0.3s ease;
}
.tgb-pdp-prose {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.tgb-pdp-prose p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}
.tgb-pdp-prose strong {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

/* BGG Link Button (Light CI Cyan Pill) */
.tgb-pdp-gp-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    background: #ECFEFF !important;
    border: 1px solid #CFFAFE !important;
    color: #0891B2 !important;
    -webkit-text-fill-color: #0891B2 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.tgb-pdp-gp-link:hover {
    background: #00C7CC !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0, 199, 204, 0.4) !important;
}

/* ================= PRODUCT REVIEWS & COMMENTS SYSTEM ================= */
.tgb-pdp-reviews-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.tgb-review-summary-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
.tgb-review-summary-left {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.tgb-review-avg-score {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    line-height: 1 !important;
}
.tgb-review-stars-static {
    font-size: 1.15rem !important;
    letter-spacing: 2px !important;
}
.tgb-review-count-txt {
    font-size: 0.82rem !important;
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    font-weight: 500 !important;
}
.tgb-write-review-btn {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    font-family: 'Outfit', 'Prompt', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.tgb-write-review-btn:hover {
    background: #8C52FF !important;
    border-color: #8C52FF !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(140, 82, 255, 0.3) !important;
}

/* Review Form Card */
.tgb-pdp-review-form-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    animation: tgbFadeIn 0.3s ease !important;
}
.tgb-review-form-title {
    font-family: 'Outfit', 'Prompt', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin: 0 0 14px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.tgb-star-picker {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    margin-top: 4px !important;
}
.tgb-star-btn {
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: #CBD5E1 !important;
    cursor: pointer !important;
    padding: 0 2px !important;
    line-height: 1 !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}
.tgb-star-btn.is-active,
.tgb-star-btn:hover,
.tgb-star-btn:hover ~ .tgb-star-btn {
    color: #F59E0B !important;
}
.tgb-star-btn:active {
    transform: scale(1.2) !important;
}
.tgb-form-group {
    margin-bottom: 12px !important;
}
.tgb-form-label {
    display: block !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    margin-bottom: 4px !important;
}
.tgb-form-row-2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}
.tgb-form-input,
.tgb-form-textarea {
    width: 100% !important;
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.tgb-form-input:focus,
.tgb-form-textarea:focus {
    outline: none !important;
    border-color: #8C52FF !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.15) !important;
}
.tgb-form-textarea {
    resize: vertical !important;
    min-height: 70px !important;
}
.tgb-logged-in-user-bar {
    font-size: 0.82rem !important;
    color: #475569 !important;
    margin-bottom: 10px !important;
}
.tgb-form-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 10px !important;
}
.tgb-submit-comment-btn {
    background: linear-gradient(135deg, #8C52FF 0%, #6D28D9 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-family: 'Outfit', 'Prompt', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 8px 22px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(140, 82, 255, 0.35) !important;
    transition: all 0.2s ease !important;
}
.tgb-submit-comment-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.5) !important;
}
.tgb-form-msg {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* Reviews List */
.tgb-pdp-reviews-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.tgb-review-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
.tgb-review-card-hdr {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}
.tgb-review-author-avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #8C52FF 0%, #FF3366 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    text-transform: uppercase !important;
}
.tgb-review-author-meta {
    flex: 1 !important;
    min-width: 0 !important;
}
.tgb-review-author-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.tgb-verified-badge {
    background: #DCFCE7 !important;
    color: #15803D !important;
    -webkit-text-fill-color: #15803D !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 1px 6px !important;
    border-radius: 9999px !important;
}
.tgb-review-date {
    font-size: 0.72rem !important;
    color: #94A3B8 !important;
}
.tgb-review-card-stars {
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
}
.tgb-review-card-body {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    padding-left: 44px !important;
}
.tgb-review-card-body p {
    margin: 0 !important;
}
.tgb-reviews-empty-state {
    text-align: center !important;
    padding: 30px 20px !important;
    background: #FFFFFF !important;
    border: 1px dashed #CBD5E1 !important;
    border-radius: 14px !important;
}

/* Right Column (Purchase & Specs Console) */
.tgb-pdp-right-col {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Hide duplicate wishlist/saved elements on right column */
.tgb-pdp-right-col .tgb-product-fav-single,
.tgb-pdp-right-col .tgb-pdp-btn-wishlist,
.tgb-pdp-right-col .yith-wcwl-add-to-wishlist,
.tgb-pdp-right-col .tinv-wraper,
.tgb-pdp-right-col .tgb-save-status {
    display: none !important;
}

/* Badges Strip */
.tgb-pdp-badge-strip {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}
.tgb-pdp-badge {
    padding: 4px 14px !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
}
.tgb-pdp-badge.is-new {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.12), rgba(255, 161, 51, 0.15)) !important;
    color: #E11D48 !important;
    -webkit-text-fill-color: #E11D48 !important;
    border: 1px solid rgba(255, 51, 102, 0.35) !important;
    font-weight: 700 !important;
}
.tgb-pdp-badge.is-preloved {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #D97706 !important;
    -webkit-text-fill-color: #D97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    font-weight: 700 !important;
}
.tgb-pdp-badge.is-preorder {
    background: rgba(140, 82, 255, 0.12) !important;
    color: #7C3AED !important;
    -webkit-text-fill-color: #7C3AED !important;
    border: 1px solid rgba(140, 82, 255, 0.35) !important;
    font-weight: 700 !important;
}
.tgb-pdp-badge.is-lang {
    background: #F1F5F9 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    border: 1px solid #CBD5E1 !important;
}

/* Product Title in Light CI */
.tgb-pdp-title,
.woocommerce div.product .product_title {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 1.95rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

/* Price & Live Stock Row in Light CI */
.tgb-pdp-price-stock-box {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
.tgb-pdp-main-price,
.tgb-pdp-main-price .amount {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #FF3366 0%, #8C52FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #FF3366 !important;
    letter-spacing: -0.5px !important;
}
.tgb-pdp-stock-status {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.tgb-pdp-stock-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
}
.tgb-pdp-stock-badge.is-instock {
    background: #ECFDF5 !important;
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
    border: 1px solid #A7F3D0 !important;
}
.tgb-stock-pulse {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10B981 !important;
    box-shadow: 0 0 8px #10B981 !important;
    animation: tgbPulse 1.8s infinite !important;
}
.tgb-pdp-stock-badge.is-preorder-stock {
    background: #FAF5FF !important;
    color: #7C3AED !important;
    -webkit-text-fill-color: #7C3AED !important;
    border: 1px solid #DDD6FE !important;
}
.tgb-pdp-stock-badge.is-outofstock {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    -webkit-text-fill-color: #DC2626 !important;
    border: 1px solid #FECACA !important;
}
.tgb-pdp-stock-count {
    font-size: 0.82rem !important;
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
}

/* Condition / Variant Selector Card in Light CI */
.tgb-pdp-condition-card {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 18px !important;
    padding: 18px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
}
.tgb-cond-hdr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
}
.tgb-cond-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    letter-spacing: -0.01em !important;
}
.tgb-cond-guide-btn {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
    transition: all 0.2s ease !important;
}
.tgb-cond-guide-btn:hover {
    background: #E2E8F0 !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}
.tgb-cond-guide-btn:hover {
    color: #BE123C !important;
    -webkit-text-fill-color: #BE123C !important;
    text-decoration: underline !important;
}
.tgb-cond-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.tgb-cond-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}
.tgb-cond-option:hover {
    border-color: #CBD5E1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
.tgb-cond-option.is-selected {
    border-color: #FF3366 !important;
    background: #FFF1F2 !important;
    box-shadow: 0 0 0 1px #FF3366, 0 4px 12px rgba(255, 51, 102, 0.12) !important;
}
.tgb-cond-option input[type="radio"] {
    accent-color: #FF3366 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}
.tgb-cond-info {
    flex: 1 !important;
}
.tgb-cond-name {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin-bottom: 2px !important;
}
.tgb-cond-desc {
    font-size: 0.82rem !important;
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    line-height: 1.4 !important;
}
.tgb-cond-price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #FF3366 !important;
    -webkit-text-fill-color: #FF3366 !important;
    white-space: nowrap !important;
}

/* Action Controls Row (SIDE-BY-SIDE: Stepper, Add to Cart & Buy Now) */
.tgb-pdp-cart-form {
    margin-bottom: 24px !important;
}
.tgb-pdp-action-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}
.tgb-pdp-btn-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
}

/* All 3 Controls in the Row must be EXACTLY 48px height */
.tgb-pdp-qty-stepper,
.tgb-pdp-btn-addtocart,
.woocommerce div.product form.cart .button.tgb-pdp-btn-addtocart,
.single-product .tgb-pdp-btn-addtocart,
.tgb-pdp-btn-buynow {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 9999px !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

/* Custom Sleek Pill Quantity Stepper with 1:1 Circular Buttons */
.tgb-pdp-qty-stepper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F1F5F9 !important;
    border: 1.5px solid #CBD5E1 !important;
    padding: 0 6px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    width: auto !important;
}
.tgb-stepper-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}
.tgb-stepper-btn:hover {
    border-color: #8C52FF !important;
    color: #8C52FF !important;
    -webkit-text-fill-color: #8C52FF !important;
    box-shadow: 0 2px 8px rgba(140, 82, 255, 0.25) !important;
}
.tgb-stepper-input {
    width: 40px !important;
    height: 36px !important;
    line-height: 36px !important;
    border: none !important;
    background: transparent !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}
.tgb-stepper-input::-webkit-outer-spin-button,
.tgb-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ==========================================================================
   PRIMARY PILL ADD TO CART BUTTON (PURPLE GRADIENT AS EXPLICITLY REQUESTED)
   ========================================================================== */
.tgb-pdp-btn-addtocart,
.woocommerce div.product form.cart .button.tgb-pdp-btn-addtocart,
.single-product .tgb-pdp-btn-addtocart {
    flex: 1 !important;
    min-width: 140px !important;
    background: linear-gradient(135deg, #8C52FF 0%, #6d28d9 100%) !important;
    border: 1px solid rgba(140, 82, 255, 0.5) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(140, 82, 255, 0.4) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}
.tgb-pdp-btn-addtocart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(140, 82, 255, 0.6) !important;
}

/* Prominent Cyan Buy Now Button (Placed Side-by-Side in Light CI) */
.tgb-pdp-btn-buynow {
    flex: 1 !important;
    min-width: 140px !important;
    background: linear-gradient(135deg, #00C7CC 0%, #0891B2 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 199, 204, 0.35) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}
.tgb-pdp-btn-buynow:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 199, 204, 0.55) !important;
}

/* Share Product Strip: Minimal Circular Icons */
.tgb-pdp-share-strip {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}
.tgb-share-strip-label {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.tgb-share-icon-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
}
.tgb-share-icon-btn:hover {
    transform: scale(1.14) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
}
.tgb-share-icon-btn:active {
    transform: scale(0.92) !important;
}
.tgb-share-icon-btn.is-share-native {
    background: #00A3FF !important;
}
.tgb-share-icon-btn.is-line {
    background: #06C755 !important;
}
.tgb-share-icon-btn.is-fb {
    background: #1877F2 !important;
}
.tgb-share-icon-btn.is-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}
.tgb-share-icon-btn.is-x {
    background: #000000 !important;
}

/* Share Toast Notification */
.tgb-share-toast {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    background: rgba(15, 23, 42, 0.94) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
.tgb-share-toast.is-visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
}

/* Complete Game Information Console in Light CI (White Spec Frames) */
.tgb-pdp-specs-card {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 18px !important;
    padding: 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}
.tgb-specs-hdr {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
.tgb-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
}
.tgb-spec-item {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    cursor: default !important;
}
.tgb-spec-item:hover,
.tgb-spec-item:active,
.tgb-spec-item:focus {
    border-color: #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transform: none !important;
}
.tgb-spec-item.is-wide {
    grid-column: span 2 !important;
    align-items: flex-start !important;
}
.tgb-spec-icon-img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    background: transparent !important;
}
.tgb-spec-icon-fallback {
    font-size: 1.3rem !important;
    width: 32px !important;
    text-align: center !important;
}
.tgb-spec-content {
    flex: 1 !important;
    min-width: 0 !important;
}
.tgb-spec-label {
    font-size: 0.72rem !important;
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 3px !important;
}
.tgb-spec-val {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.tgb-spec-val span,
.tgb-spec-sub {
    color: #FF3366 !important;
    -webkit-text-fill-color: #FF3366 !important;
    font-weight: 600 !important;
}

/* Category & Mechanics tags inside white spec boxes in Light CI */
.tgb-spec-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 4px !important;
}
.tgb-pdp-pill-tag {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    background: #ECFEFF !important;
    border: 1px solid #CFFAFE !important;
    color: #0891B2 !important;
    -webkit-text-fill-color: #0891B2 !important;
    transition: all 0.15s ease !important;
}
.tgb-pdp-pill-tag:hover {
    background: #00C7CC !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}
.tgb-pdp-pill-tag.is-mech {
    background: #FAF5FF !important;
    border-color: #DDD6FE !important;
    color: #7C3AED !important;
    -webkit-text-fill-color: #7C3AED !important;
}
.tgb-pdp-pill-tag.is-mech:hover {
    background: #8C52FF !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Tier Badges inside white spec boxes */
.tgb-pdp-tier-badge {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
}
.tgb-pdp-tier-badge.tier-light {
    background: #DCFCE7 !important;
    color: #15803D !important;
    -webkit-text-fill-color: #15803D !important;
    border: 1px solid #BBF7D0 !important;
}
.tgb-pdp-tier-badge.tier-medium {
    background: #FEF3C7 !important;
    color: #B45309 !important;
    -webkit-text-fill-color: #B45309 !important;
    border: 1px solid #FDE68A !important;
}
.tgb-pdp-tier-badge.tier-heavy {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
    -webkit-text-fill-color: #B91C1C !important;
    border: 1px solid #FECACA !important;
}

/* ==========================================================================
   28.15 PDP Related Products & Upsells Styling (Light CI Card Look)
   ========================================================================== */
.tgb-pdp-bottom-widgets {
    margin-top: 48px !important;
    padding-top: 36px !important;
    border-top: 1px solid #E2E8F0 !important;
    clear: both !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Section wrapper */
.tgb-pdp-bottom-widgets section.related,
.tgb-pdp-bottom-widgets section.upsells,
.tgb-pdp-bottom-widgets section.products,
.single-product section.related,
.single-product section.upsells,
.single-product .related.products,
.single-product .upsells.products {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Section heading: Navy text with Outfit bold styling */
.tgb-pdp-bottom-widgets section.related > h2,
.tgb-pdp-bottom-widgets section.upsells > h2,
.single-product .related.products > h2,
.single-product .upsells.products > h2,
.single-product section.related h2,
.single-product section.upsells h2 {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    letter-spacing: -0.02em !important;
    float: none !important;
    clear: both !important;
}

/* Products grid: true 4-column responsive grid */
.tgb-pdp-bottom-widgets ul.products,
.single-product section.related ul.products,
.single-product section.upsells ul.products,
.single-product .related.products ul.products,
.single-product .upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Product card inside Related Products in Light CI */
.tgb-pdp-bottom-widgets ul.products li.product,
.single-product section.related ul.products li.product,
.single-product section.upsells ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
}
.tgb-pdp-bottom-widgets ul.products li.product:hover,
.single-product section.related ul.products li.product:hover {
    transform: translateY(-4px) !important;
    border-color: #FF3366 !important;
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.15) !important;
}

/* Card Image */
.tgb-pdp-bottom-widgets ul.products li.product a.woocommerce-LoopProduct-link img,
.tgb-pdp-bottom-widgets ul.products li.product img,
.single-product section.related ul.products li.product img {
    border-radius: 14px !important;
    background-color: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    object-fit: cover !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    display: block !important;
}

/* Card Title: Strict Fixed 2-Line Height */
.tgb-pdp-bottom-widgets ul.products li.product .woocommerce-loop-product__title,
.tgb-pdp-bottom-widgets ul.products li.product h2,
.tgb-pdp-bottom-widgets ul.products li.product h3,
.single-product section.related ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.38 !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
}

/* Card Price: Magenta highlight */
.tgb-pdp-bottom-widgets ul.products li.product .price,
.single-product section.related ul.products li.product .price {
    color: #FF3366 !important;
    -webkit-text-fill-color: #FF3366 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    margin: 0 0 12px 0 !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}
.tgb-pdp-bottom-widgets ul.products li.product .price ins,
.single-product section.related ul.products li.product .price ins {
    color: #FF3366 !important;
    -webkit-text-fill-color: #FF3366 !important;
    text-decoration: none !important;
}

/* Add to Cart button in Related Products: Purple Gradient matching main PDP button */
.tgb-pdp-bottom-widgets ul.products li.product .button,
.single-product section.related ul.products li.product .button {
    background: linear-gradient(135deg, #8C52FF 0%, #6d28d9 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-radius: 9999px !important;
    padding: 0 20px !important;
    height: 42px !important;
    min-height: 42px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(140, 82, 255, 0.3) !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: all 0.25s ease !important;
}
.tgb-pdp-bottom-widgets ul.products li.product .button:hover,
.single-product section.related ul.products li.product .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.5) !important;
}

/* ==========================================================================
   28.16 Condition Guide Modal in Market Light CI (White Surface + Gradient Bar)
   ========================================================================== */
.tgb-modal-overlay.tgb-condition-modal,
#tgbConditionGuideModal.tgb-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(4, 2, 14, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

#tgbConditionGuideModal.tgb-modal-overlay:not(.is-open) {
    display: none !important;
}

#tgbConditionGuideModal.tgb-modal-overlay.is-open {
    display: flex !important;
}

#tgbConditionGuideModal .tgb-modal-box {
    background: #F7F5F0 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 24px !important;
    max-width: 520px !important;
    width: 92% !important;
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    color: #1E1B4B !important;
    position: relative !important;
}

/* Header: Dark Violet / Purple as in Treasure Hunt Market Rules */
#tgbConditionGuideModal .tgb-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 22px !important;
    background: #1A103C !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.tgb-modal-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.tgb-modal-header-icon {
    font-size: 1.5rem !important;
    line-height: 1 !important;
}
.tgb-modal-header-titles {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
#tgbConditionGuideModal .tgb-modal-header h3,
.woocommerce #tgbConditionGuideModal .tgb-modal-header h3,
.entry-content #tgbConditionGuideModal .tgb-modal-header h3 {
    margin: 0 !important;
    font-family: 'Outfit', 'Prompt', sans-serif !important;
    font-size: 1.15rem !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
}
.tgb-modal-subtitle {
    font-size: 0.78rem !important;
    color: #B4A6DC !important;
    -webkit-text-fill-color: #B4A6DC !important;
    font-weight: 500 !important;
}

/* Top-Right Close '✕' Button */
#tgbConditionGuideModal .tgb-modal-close {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 1.4rem !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    line-height: 1 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.75 !important;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}
#tgbConditionGuideModal .tgb-modal-close:hover {
    opacity: 1 !important;
    transform: scale(1.15) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
}

/* Body: Warm Paper/Cream Background */
#tgbConditionGuideModal .tgb-modal-body {
    padding: 16px 18px 24px 18px !important;
    overflow-y: auto !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    background: #F7F5F0 !important;
}
#tgbConditionGuideModal .tgb-modal-body::-webkit-scrollbar {
    width: 5px !important;
}
#tgbConditionGuideModal .tgb-modal-body::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border-radius: 4px !important;
}

/* Section Title */
#tgbConditionGuideModal .tgb-modal-section-title,
.woocommerce #tgbConditionGuideModal .tgb-modal-section-title,
.entry-content #tgbConditionGuideModal .tgb-modal-section-title {
    font-family: 'Outfit', 'Prompt', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1E1B4B !important;
    -webkit-text-fill-color: #1E1B4B !important;
    margin: 16px 0 8px 4px !important;
    padding: 0 !important;
    border: none !important;
    text-transform: none !important;
}
#tgbConditionGuideModal .tgb-modal-section-title:first-child {
    margin-top: 2px !important;
}

/* Grade Card (White Card with subtle border as in Treasure Hunt Market Rules) */
#tgbConditionGuideModal .tgb-grade-card {
    background: #FFFFFF !important;
    border: 1px solid #EDE8E1 !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
#tgbConditionGuideModal .tgb-grade-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}
#tgbConditionGuideModal .tgb-grade-tag {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-perfect {
    background: #ECFDF5 !important;
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
    border: 1px solid #A7F3D0 !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-defect {
    background: #FFFBEB !important;
    color: #D97706 !important;
    -webkit-text-fill-color: #D97706 !important;
    border: 1px solid #FDE68A !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-newgood {
    background: #FFF7ED !important;
    color: #EA580C !important;
    -webkit-text-fill-color: #EA580C !important;
    border: 1px solid #FED7AA !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-newfair {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    -webkit-text-fill-color: #DC2626 !important;
    border: 1px solid #FECACA !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-likenew {
    background: #FFFBEB !important;
    color: #D97706 !important;
    -webkit-text-fill-color: #D97706 !important;
    border: 1px solid #FDE68A !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-used {
    background: #FFF7ED !important;
    color: #EA580C !important;
    -webkit-text-fill-color: #EA580C !important;
    border: 1px solid #FED7AA !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-usedfair {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    -webkit-text-fill-color: #DC2626 !important;
    border: 1px solid #FECACA !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-usedpoor {
    background: #FAF5FF !important;
    color: #7C3AED !important;
    -webkit-text-fill-color: #7C3AED !important;
    border: 1px solid #DDD6FE !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-preorder-tag {
    background: #EEF2FF !important;
    color: #4F46E5 !important;
    -webkit-text-fill-color: #4F46E5 !important;
    border: 1px solid #C7D2FE !important;
}
#tgbConditionGuideModal .tgb-grade-tag.is-deposit-tag {
    background: #ECFEFF !important;
    color: #0891B2 !important;
    -webkit-text-fill-color: #0891B2 !important;
    border: 1px solid #CFFAFE !important;
}
#tgbConditionGuideModal .tgb-grade-card p {
    margin: 3px 0 0 0 !important;
    font-size: 0.84rem !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   Responsive Breakpoints for PDP (Mobile & Tablet Viewport Containment)
   ========================================================================== */
body.single-product,
.single-product {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

@media (max-width: 900px) {
    .tgb-pdp-main-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }
    .tgb-pdp-left-col {
        display: contents !important;
    }
    .tgb-pdp-gallery-card {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-bottom: 4px !important;
    }
    .tgb-pdp-right-col {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .tgb-pdp-tabs-container {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-top: 14px !important;
    }
    .tgb-pdp-container {
        padding: 24px 18px 32px 18px !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-pdp-outer-wrapper {
        padding: 16px 12px 48px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tgb-pdp-main-img-box {
        height: 320px !important;
    }
    .tgb-pdp-title,
    .woocommerce div.product .product_title {
        font-size: 1.5rem !important;
        line-height: 1.35 !important;
    }
    .tgb-pdp-main-price,
    .tgb-pdp-main-price .amount {
        font-size: 1.75rem !important;
    }
    /* Related Products 2-col on tablet */
    .tgb-pdp-bottom-widgets ul.products,
    .single-product section.related ul.products,
    .single-product section.upsells ul.products,
    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 640px) {
    .tgb-pdp-outer-wrapper {
        padding: 8px 10px 36px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tgb-pdp-container {
        padding: 14px 12px 24px 12px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .tgb-pdp-breadcrumbs {
        font-size: 0.74rem !important;
        margin-bottom: 8px !important;
        gap: 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    /* Main Grid: Balanced vertical spacing */
    .tgb-pdp-main-grid {
        gap: 12px !important;
    }

    /* Gallery Card: Comfortable height & proportional thumbnails */
    .tgb-pdp-gallery-card {
        padding: 8px 10px 10px 10px !important;
        border-radius: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 4px !important;
    }
    .tgb-pdp-main-img-box {
        height: 230px !important;
        max-height: 240px !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-pdp-main-img-box img {
        max-height: 220px !important;
        object-fit: contain !important;
    }
    .tgb-pdp-img-actions-wrap {
        top: 10px !important;
        right: 10px !important;
        gap: 8px !important;
    }
    .tgb-pdp-img-action-btn,
    .tgb-pdp-img-fav-btn,
    .tgb-pdp-img-share-btn {
        width: 36px !important;
        height: 36px !important;
    }
    .tgb-pdp-img-action-btn svg {
        width: 17px !important;
        height: 17px !important;
    }
    .tgb-pdp-thumbs-track {
        gap: 8px !important;
        padding: 2px 0 4px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-pdp-thumb-item {
        width: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    /* Right column: Comfortable breathing room */
    .tgb-pdp-right-col {
        gap: 8px !important;
        width: 100% !important;
    }

    /* Badges strip: Balanced pill sizing */
    .tgb-pdp-badge-strip {
        gap: 8px !important;
        margin-bottom: 6px !important;
    }
    .tgb-pdp-badge {
        padding: 3px 10px !important;
        font-size: 0.74rem !important;
        border-radius: 9999px !important;
    }

    /* Title: Clear, user-friendly typography with comfortable line height */
    .tgb-pdp-title,
    .woocommerce div.product .product_title {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
        margin: 0 0 6px 0 !important;
        word-break: break-word !important;
    }

    /* Price & Stock status: Inline row with clear spacing */
    .tgb-pdp-price-stock-box {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin-bottom: 8px !important;
        padding-bottom: 6px !important;
        border-bottom: none !important;
    }
    .tgb-pdp-main-price,
    .tgb-pdp-main-price .amount {
        font-size: 1.48rem !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
    }
    .tgb-pdp-stock-status {
        gap: 5px !important;
    }
    .tgb-pdp-stock-badge {
        font-size: 0.74rem !important;
        padding: 3px 9px !important;
        border-radius: 9999px !important;
    }
    .tgb-pdp-stock-count {
        font-size: 0.74rem !important;
    }

    /* Condition Selector: Readable, user-friendly card */
    .tgb-pdp-condition-card {
        padding: 8px 12px !important;
        border-radius: 12px !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important;
    }
    .tgb-cond-hdr {
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }
    .tgb-cond-title {
        font-size: 0.82rem !important;
    }
    .tgb-cond-guide-btn {
        font-size: 0.74rem !important;
        padding: 3px 8px !important;
        border-radius: 6px !important;
    }
    .tgb-cond-options {
        gap: 6px !important;
    }
    .tgb-cond-option {
        padding: 8px 10px !important;
        border-radius: 9px !important;
        gap: 10px !important;
        align-items: center !important;
    }
    .tgb-cond-name {
        font-size: 0.84rem !important;
        font-weight: 600 !important;
    }
    .tgb-cond-desc {
        display: none !important; /* Hide long secondary text on mobile to keep above-the-fold */
    }
    .tgb-cond-price {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
    }

    /* Action Controls: Mobile E-Com Standard Side-by-Side 50/50 (Stepper moved to Bottom Sheet) */
    .tgb-pdp-action-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }
    /* Hide inline stepper on mobile main view */
    .tgb-pdp-action-row .tgb-pdp-qty-stepper {
        display: none !important;
    }

    /* Add to Cart & Buy Now side-by-side (50% / 50%) */
    .tgb-pdp-btn-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-pdp-btn-addtocart,
    .woocommerce div.product form.cart .button.tgb-pdp-btn-addtocart,
    .single-product .tgb-pdp-btn-addtocart {
        flex: 1 1 50% !important;
        width: 50% !important;
        height: 46px !important;
        line-height: 46px !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        padding: 0 12px !important;
        border-radius: 9999px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(140, 82, 255, 0.35) !important;
    }
    .tgb-pdp-btn-buynow {
        flex: 1 1 50% !important;
        width: 50% !important;
        height: 46px !important;
        line-height: 46px !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        padding: 0 12px !important;
        border-radius: 9999px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(0, 199, 204, 0.35) !important;
    }

    /* Share Strip on mobile: Comfortable circular icons & readable label */
    .tgb-pdp-share-strip {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 6px !important;
        margin-bottom: 10px !important;
        flex-wrap: wrap !important;
    }
    .tgb-share-strip-label {
        font-size: 0.78rem !important;
        color: #475569 !important;
        font-weight: 700 !important;
    }
    .tgb-share-icon-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    .tgb-share-icon-btn svg {
        width: 15px !important;
        height: 15px !important;
    }

    /* Board game specifications: 3 rows with comfortable spacing */
    .tgb-pdp-specs-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
    }
    .tgb-specs-hdr {
        font-size: 0.92rem !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    .tgb-specs-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tgb-spec-item,
    .tgb-spec-item.is-wide {
        grid-column: span 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 9px !important;
        min-width: 0 !important;
        align-items: center !important;
    }
    .tgb-spec-item.is-wide {
        align-items: flex-start !important;
    }
    .tgb-spec-icon-img {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }
    .tgb-spec-icon-fallback {
        font-size: 1.05rem !important;
    }
    .tgb-spec-content {
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    .tgb-spec-label {
        font-size: 0.68rem !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .tgb-spec-val {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
        gap: 4px !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .tgb-pdp-tier-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }
    .tgb-spec-tags {
        gap: 4px !important;
        margin-top: 3px !important;
    }
    .tgb-pdp-pill-tag {
        font-size: 0.68rem !important;
        padding: 2px 6px !important;
        line-height: 1.25 !important;
    }

    /* Product tabs (Overview & Reviews) underneath Specs */
    .tgb-pdp-tabs-container {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        margin-top: 8px !important;
    }
    .tgb-pdp-tabs-nav {
        padding: 3px !important;
        margin-bottom: 10px !important;
    }
    .tgb-pdp-tab-btn {
        padding: 5px 12px !important;
        font-size: 0.8rem !important;
    }
    .tgb-pdp-prose {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }

    /* Reviews Box on Mobile */
    .tgb-review-summary-box {
        padding: 12px 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .tgb-review-avg-score {
        font-size: 1.8rem !important;
    }
    .tgb-write-review-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 7px 14px !important;
        font-size: 0.82rem !important;
    }
    .tgb-form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .tgb-review-card-body {
        padding-left: 0 !important;
        margin-top: 6px !important;
    }

    /* Related Products 2-col on mobile */
    .tgb-pdp-bottom-widgets ul.products,
    .single-product section.related ul.products,
    .single-product section.upsells ul.products,
    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   📱 28.17 MOBILE BOTTOM SHEET DRAWER (SHOPEE / TAOBAO STYLE OPTION 2: SMART HYBRID)
   ========================================================================== */
.tgb-bottom-sheet {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: none;
    align-items: flex-end !important;
    justify-content: center !important;
    pointer-events: none;
}
.tgb-bottom-sheet.is-open {
    display: flex !important;
    pointer-events: auto;
}

/* Backdrop with Smooth Fade & Blur */
.tgb-bottom-sheet-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
}
.tgb-bottom-sheet.is-open .tgb-bottom-sheet-backdrop {
    opacity: 1 !important;
}

/* Slide-up Panel Drawer */
.tgb-bottom-sheet-panel {
    position: relative !important;
    width: 100% !important;
    max-width: 520px !important;
    max-height: 85vh !important;
    background: #FFFFFF !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(100%) !important;
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}
.tgb-bottom-sheet.is-open .tgb-bottom-sheet-panel {
    transform: translateY(0) !important;
}

/* Drag Handle Bar */
.tgb-bs-handle-bar {
    width: 100% !important;
    padding-top: 10px !important;
    padding-bottom: 4px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.tgb-bs-handle {
    width: 40px !important;
    height: 4px !important;
    background: #CBD5E1 !important;
    border-radius: 9999px !important;
}

/* Header: Thumbnail, Price, Stock & Close */
.tgb-bs-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 10px 18px 14px 18px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    position: relative !important;
}
.tgb-bs-thumb {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    border-radius: 14px !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.tgb-bs-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.tgb-bs-header-info {
    flex: 1 !important;
    min-width: 0 !important;
    padding-right: 32px !important;
}
.tgb-bs-close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: none !important;
    color: #64748B !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}
.tgb-bs-close-btn:hover {
    background: #E2E8F0 !important;
    color: #1E293B !important;
}
.tgb-bs-price {
    font-size: 1.38rem !important;
    font-weight: 900 !important;
    color: #FF3366 !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
}
.tgb-bs-price .amount {
    color: #FF3366 !important;
}
.tgb-bs-stock {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #10B981 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
}
.tgb-stock-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #10B981 !important;
    display: inline-block !important;
}
.tgb-stock-dot.is-out {
    background: #EF4444 !important;
}
.tgb-bs-selected-summary {
    font-size: 0.76rem !important;
    color: #64748B !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.tgb-bs-summary-label {
    color: #94A3B8 !important;
}
.tgb-bs-selected-summary #tgbBsSelectedVal {
    font-weight: 700 !important;
    color: #1E1B4B !important;
}

/* Body */
.tgb-bs-body {
    padding: 16px 18px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(85vh - 180px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.tgb-bs-section-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #1E1B4B !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.tgb-bs-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
.tgb-bs-pill {
    padding: 9px 16px !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #1E1B4B !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.tgb-bs-pill.is-active {
    border-color: #8C52FF !important;
    background: rgba(140, 82, 255, 0.08) !important;
    color: #8C52FF !important;
    box-shadow: 0 0 0 1px #8C52FF !important;
}

/* Quantity in Bottom Sheet */
.tgb-bs-qty-section {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px dashed #E2E8F0 !important;
    padding-top: 14px !important;
}
.tgb-bs-qty-section .tgb-bs-section-title {
    margin-bottom: 0 !important;
}
.tgb-bs-stepper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 9999px !important;
    padding: 2px 6px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
}
.tgb-bs-stepper .tgb-stepper-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    font-size: 1.15rem !important;
    line-height: 30px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 50% !important;
    color: #1E1B4B !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}
.tgb-bs-stepper .tgb-stepper-input {
    width: 44px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #1E1B4B !important;
}

/* Footer Action */
.tgb-bs-footer {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 6px)) 18px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #F1F5F9 !important;
}
.tgb-bs-confirm-btn {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 9999px !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.35) !important;
    transition: all 0.25s ease !important;
}
.tgb-bs-confirm-btn.is-addtocart {
    background: linear-gradient(135deg, #8C52FF 0%, #6D28D9 100%) !important;
}
.tgb-bs-confirm-btn.is-buynow {
    background: linear-gradient(135deg, #FF3366 0%, #E23DD5 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.35) !important;
}
.tgb-bs-confirm-btn:active {
    transform: scale(0.98) !important;
}
.tgb-bs-confirm-btn.is-loading {
    opacity: 0.75 !important;
    pointer-events: none !important;
}

/* Floating Toast Notification */
.tgb-toast-notify {
    position: fixed !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-24px) !important;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #FFFFFF !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 100002 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}
.tgb-toast-notify.is-show {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}
.tgb-toast-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #10B981 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

/* Prevent body scrolling when bottom sheet is open */
body.tgb-sheet-open {
    overflow: hidden !important;
}

/* ==========================================================================
   27.3 Multi-SKU & Condition Variation Selector (Desktop & Shopee Bottom Sheet)
   ========================================================================== */
.tgb-sku-chips-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.tgb-sku-chip-btn {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 6px 12px 6px 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.18s ease !important;
    font-family: inherit !important;
    text-align: left !important;
}
.tgb-sku-chip-btn:hover {
    border-color: #CBD5E1 !important;
    background: #F1F5F9 !important;
}
.tgb-sku-chip-btn.is-active {
    background: #EEF2FF !important;
    border-color: #6366F1 !important;
    box-shadow: 0 0 0 1px #6366F1 !important;
}
.tgb-sku-chip-thumb {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    background: #E2E8F0 !important;
    display: block !important;
}
.tgb-sku-chip-text {
    display: flex !important;
    flex-direction: column !important;
}
.tgb-sku-chip-name {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #1E293B !important;
    line-height: 1.25 !important;
}
.tgb-sku-chip-btn.is-active .tgb-sku-chip-name {
    color: #4338CA !important;
}
.tgb-sku-chip-price {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #64748B !important;
    margin-top: 2px !important;
}
.tgb-sku-chip-btn.is-active .tgb-sku-chip-price {
    color: #E11D48 !important;
}

/* Condition Chips (Level 2) */
.tgb-cond-chips-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.tgb-cond-chip-btn {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.18s ease !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}
.tgb-cond-chip-btn:hover {
    border-color: #CBD5E1 !important;
}
.tgb-cond-chip-btn.is-active {
    background: #EEF2FF !important;
    border-color: #6366F1 !important;
    color: #4338CA !important;
    font-weight: 750 !important;
    box-shadow: 0 0 0 1px #6366F1 !important;
}
.tgb-cond-chip-price {
    font-size: 12px !important;
    font-weight: 750 !important;
    color: #E11D48 !important;
    margin-left: 2px !important;
}

/* Defect banner in bottom sheet */
.tgb-defect-callout-box {
    background: #FFFBEB !important;
    border: 1px solid #FDE68A !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    color: #92400E !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 10px !important;
}
.tgb-defect-btn-zoom {
    background: #FEF3C7 !important;
    border: 1px solid #F59E0B !important;
    border-radius: 6px !important;
    color: #B45309 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* Shopee Pop-up Thumbnail in Bottom Sheet Header */
.tgb-bs-thumb-popup {
    position: relative !important;
    margin-top: -24px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1) !important;
    cursor: pointer !important;
}
.tgb-bs-thumb-zoom-badge {
    position: absolute !important;
    bottom: 3px !important;
    right: 3px !important;
    background: rgba(0,0,0,0.65) !important;
    color: #FFFFFF !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    line-height: 1 !important;
}

/* Shopee Dual Action Buttons in Drawer Sticky Footer */
.tgb-bs-dual-btn-row {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}
.tgb-bs-btn-cart {
    flex: 1 !important;
    height: 48px !important;
    border-radius: 9999px !important;
    background: #2B1A4B !important;
    border: 1.5px solid #00C7CC !important;
    color: #00E5FF !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
}
.tgb-bs-btn-cart:active {
    background: #180E2E !important;
    transform: scale(0.98) !important;
}
.tgb-bs-btn-buy {
    flex: 1 !important;
    height: 48px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #00C7CC 0%, #0099FF 100%) !important;
    border: none !important;
    color: #090314 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 199, 204, 0.35) !important;
    transition: all 0.2s !important;
}
.tgb-bs-btn-buy:active {
    transform: scale(0.98) !important;
}

/* Mobile Trigger Card on Single Product Page */
.tgb-mobile-variation-trigger {
    display: none;
    margin: 12px 0 16px 0 !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.tgb-mobile-variation-trigger:active {
    background: #F1F5F9 !important;
    transform: scale(0.99) !important;
}
.tgb-trigger-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}
.tgb-trigger-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #64748B !important;
}
.tgb-trigger-selected {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
}
.tgb-trigger-arrow {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
}

@media (max-width: 768px) {
    .tgb-mobile-variation-trigger {
        display: flex !important;
    }
    .tgb-pdp-sku-selector {
        display: none !important;
    }
    .tgb-pdp-condition-card {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .tgb-mobile-variation-trigger {
        display: none !important;
    }
    .tgb-pdp-sku-selector {
        display: block !important;
    }
    .tgb-pdp-condition-card {
        display: block !important;
    }
}

/* ==========================================================================
   28. PDP Magnifier Glass Zoom & Image Lightbox Modal
   ========================================================================== */
.tgb-pdp-img-zoom-btn {
    position: absolute !important;
    bottom: 14px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2B2D7D !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10 !important;
    padding: 0 !important;
}
.tgb-pdp-img-zoom-btn:hover {
    background: #2B2D7D !important;
    color: #FFFFFF !important;
    border-color: #2B2D7D !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(43, 45, 125, 0.28) !important;
}
.tgb-pdp-img-zoom-btn:active {
    transform: scale(0.95) !important;
}

/* Lightbox Modal */
.tgb-zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease !important;
}
.tgb-zoom-modal.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.tgb-zoom-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
.tgb-zoom-dialog {
    position: relative !important;
    z-index: 2 !important;
    width: 92vw !important;
    max-width: 900px !important;
    max-height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.tgb-zoom-close-btn {
    position: absolute !important;
    top: -46px !important;
    right: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.tgb-zoom-close-btn:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: scale(1.08) !important;
}
.tgb-zoom-img-container {
    width: 100% !important;
    max-height: 72vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000000 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}
.tgb-zoom-img-container img {
    max-width: 100% !important;
    max-height: 72vh !important;
    object-fit: contain !important;
    display: block !important;
    user-select: none !important;
}
.tgb-zoom-thumbs {
    display: flex !important;
    gap: 8px !important;
    margin-top: 14px !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    padding: 4px 6px !important;
}
.tgb-zoom-thumb-item {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    background: #FFFFFF !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    opacity: 0.65 !important;
    transition: all 0.2s ease !important;
}
.tgb-zoom-thumb-item:hover,
.tgb-zoom-thumb-item.is-active {
    opacity: 1 !important;
    border-color: #F59E0B !important;
    transform: scale(1.05) !important;
}
.tgb-zoom-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ==========================================================================
   29. Shop Top Search Bar & Collapsible Filter View (Version 1 Layout + 3D Icons)
   ========================================================================== */
.tgb-shop-search-filter-wrap {
    width: 100% !important;
    max-width: 1160px !important;
    margin: 0 auto 18px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    font-family: 'Outfit', 'Kanit', sans-serif !important;
}

.tgb-shop-search-filter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Row 1: Search Pill + Filter Toggle Button (Beside each other) */
.tgb-shop-search-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

/* White search input pill */
.tgb-shop-search-input-box {
    flex: 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    padding: 4px 6px 4px 18px !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s ease !important;
}

.tgb-shop-search-input-box:focus-within {
    border-color: #2B2D7D !important;
    box-shadow: 0 0 0 3px rgba(43, 45, 125, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.tgb-search-icon {
    display: flex !important;
    align-items: center !important;
    color: #94A3B8 !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.tgb-shop-search-input-box:focus-within .tgb-search-icon {
    color: #2B2D7D !important;
}

.tgb-shop-search-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    padding: 8px 4px !important;
    min-width: 0 !important;
    font-family: inherit !important;
}

.tgb-shop-search-input::placeholder {
    color: #94A3B8 !important;
    font-weight: 400 !important;
}

.tgb-search-clear-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    color: #64748B !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    margin-right: 6px !important;
    transition: all 0.18s ease !important;
}

.tgb-search-clear-btn:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

.tgb-shop-search-submit-btn {
    background: #6C5CE7 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 9px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3) !important;
    font-family: inherit !important;
}

.tgb-shop-search-submit-btn:hover {
    background: #5B4BD6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(108, 92, 231, 0.4) !important;
}

/* Side Filter Toggle Button */
.tgb-shop-filter-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    padding: 10px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #2B2D7D !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    font-family: inherit !important;
}

.tgb-shop-filter-toggle-btn:hover,
.tgb-shop-filter-toggle-btn.is-active {
    background: #F5F3FF !important;
    border-color: #6C5CE7 !important;
    color: #6C5CE7 !important;
}

.tgb-shop-filter-toggle-btn .tgb-filter-icon {
    stroke: #2B2D7D !important;
    transition: stroke 0.2s ease !important;
}

.tgb-shop-filter-toggle-btn.is-active .tgb-filter-icon {
    stroke: #6C5CE7 !important;
}

.tgb-filter-count-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 10px !important;
    background: #F59E0B !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-sizing: border-box !important;
}

.tgb-chevron-icon {
    stroke: #64748B !important;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tgb-shop-filter-toggle-btn.is-active .tgb-chevron-icon {
    transform: rotate(180deg) !important;
    stroke: #6C5CE7 !important;
}

/* Row 2: Collapsible Filter Panel */
.tgb-shop-collapsible-filters {
    background: #FFFFFF !important;
    border: 1.5px solid #F1F5F9 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
    transition: all 0.24s ease !important;
}

.tgb-collapsible-filters-inner {
    padding: 22px 24px !important;
}

.tgb-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
}

.tgb-filter-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.tgb-filter-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
}

.tgb-filter-3d-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.tgb-filter-select {
    width: 100% !important;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 9px 12px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.tgb-filter-select:hover {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
}

.tgb-filter-select:focus {
    background: #FFFFFF !important;
    border-color: #6C5CE7 !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15) !important;
}

.tgb-filter-bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid #F1F5F9 !important;
}

.tgb-btn-apply-filters {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #6C5CE7 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3) !important;
    font-family: inherit !important;
}

.tgb-btn-apply-filters:hover {
    background: #5B4BD6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4) !important;
}

.tgb-btn-reset-filters {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #F1F5F9 !important;
    color: #64748B !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.tgb-btn-reset-filters:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

/* ==========================================================================
   29.1 Shop Grid Toolbar (Item Counter Left + Sort By Right)
   ========================================================================== */
.tgb-shop-grid-toolbar {
    width: 100% !important;
    max-width: 1160px !important;
    margin: 8px auto 16px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    font-family: 'Outfit', 'Kanit', sans-serif !important;
}

.tgb-shop-grid-toolbar .tgb-listings-count-wrap {
    font-size: 17px !important;
    font-weight: 850 !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.tgb-shop-grid-toolbar .tgb-market-sort-pill {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 10px !important;
    padding: 7px 14px 7px 12px !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}

.tgb-shop-grid-toolbar .tgb-market-sort-pill:hover,
.tgb-shop-grid-toolbar .tgb-market-sort-pill:focus-within {
    border-color: #6C5CE7 !important;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.12) !important;
}

.tgb-shop-grid-sort-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 9999px !important;
    padding: 6px 16px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s ease !important;
}

.tgb-shop-grid-sort-wrap:hover,
.tgb-shop-grid-sort-wrap:focus-within {
    border-color: #6C5CE7 !important;
    box-shadow: 0 2px 12px rgba(108, 92, 231, 0.12) !important;
}

.tgb-grid-sort-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.tgb-grid-sort-icon {
    font-size: 15px !important;
    color: #6C5CE7 !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.tgb-grid-sort-select {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    cursor: pointer !important;
    font-family: inherit !important;
    padding-right: 4px !important;
}

/* Hide duplicate default WooCommerce ordering form when TGB grid toolbar is active */
.woocommerce .woocommerce-ordering {
    display: none !important;
}

/* Responsive Search & Collapsible Filter */
@media (max-width: 991px) {
    .tgb-filter-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .tgb-shop-search-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .tgb-shop-search-input-box {
        flex: 1 !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 16px !important;
        border-radius: 9999px !important;
        display: flex !important;
        align-items: center !important;
        background: #FFFFFF !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }
    .tgb-search-icon {
        margin-right: 10px !important;
        display: flex !important;
        align-items: center !important;
        cursor: pointer !important;
    }
    .tgb-shop-search-input {
        font-size: 0.95rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        padding: 0 !important;
        height: 100% !important;
        line-height: 48px !important;
    }
    /* Hide submit button on mobile to maximize search typing width */
    .tgb-shop-search-submit-btn {
        display: none !important;
    }
    /* Compact Squircle Filter Toggle Button matching mockup */
    .tgb-shop-filter-toggle-btn {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        padding: 0 !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        background: #FFFFFF !important;
        border: 1.5px solid #E2E8F0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
        gap: 0 !important;
    }
    .tgb-shop-filter-toggle-btn:hover,
    .tgb-shop-filter-toggle-btn.is-active {
        background: #F5F3FF !important;
        border-color: #6C5CE7 !important;
    }
    .tgb-shop-filter-toggle-btn .tgb-filter-toggle-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .tgb-shop-filter-toggle-btn .tgb-filter-icon {
        width: 20px !important;
        height: 20px !important;
        stroke: #2B2D7D !important;
    }
    .tgb-shop-filter-toggle-btn.is-active .tgb-filter-icon {
        stroke: #6C5CE7 !important;
    }
    /* Hide Filter text completely on mobile across Shop, Gamepedia, and Market */
    .tgb-filter-toggle-text,
    .tgb-shop-filter-toggle-text,
    .tgb-shop-filter-toggle-btn .tgb-filter-toggle-text,
    .tgb-shop-filter-toggle-btn .tgb-shop-filter-toggle-text,
    #tgbShopFilterToggleBtn .tgb-filter-toggle-text,
    #tgb-game-toggle-filters-btn .tgb-filter-toggle-text,
    #tgb-toggle-filters-btn .tgb-filter-toggle-text {
        display: none !important;
        visibility: hidden !important;
        font-size: 0 !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .tgb-chevron-icon,
    #tgb-filter-toggle-arrow,
    #tgb-game-filter-toggle-arrow {
        display: none !important;
    }
    .tgb-shop-filter-toggle-btn .tgb-filter-count-badge {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        font-size: 10px !important;
        border-radius: 9px !important;
        background: #E23DD5 !important;
        color: #FFFFFF !important;
        font-weight: 800 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 5px rgba(226, 61, 213, 0.4) !important;
        border: 2px solid #FFFFFF !important;
    }
    .tgb-filter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .tgb-filter-col:last-child {
        grid-column: span 2 !important;
    }
    .tgb-collapsible-filters-inner {
        padding: 16px 14px !important;
    }
    .tgb-filter-bottom-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .tgb-btn-apply-filters,
    .tgb-btn-reset-filters {
        justify-content: center !important;
    }
    .tgb-shop-grid-toolbar {
        margin: 6px auto 12px auto !important;
    }
    .tgb-shop-grid-sort-wrap {
        padding: 5px 12px !important;
    }
    .tgb-grid-sort-label,
    .tgb-grid-sort-select {
        font-size: 0.80rem !important;
    }
}

@media (max-width: 480px) {
    .tgb-filter-grid {
        grid-template-columns: 1fr !important;
    }
    .tgb-filter-col:last-child {
        grid-column: auto !important;
    }
}

/* ==========================================================================
   29.2 Market Specific Search & Filter Grid Layout (7 Filter Items)
   ========================================================================== */
.tgb-market-search-filter-wrap {
    width: 100% !important;
    max-width: 1160px !important;
    margin: 0 auto 18px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.tgb-market-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 12px !important;
}

@media (max-width: 1200px) {
    .tgb-market-filter-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .tgb-market-filter-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .tgb-market-filter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tgb-market-filter-grid .tgb-filter-col:last-child {
        grid-column: span 2 !important;
    }
}

@media (max-width: 480px) {
    .tgb-market-filter-grid {
        grid-template-columns: 1fr !important;
    }
    .tgb-market-filter-grid .tgb-filter-col:last-child {
        grid-column: auto !important;
    }
}

/* ==========================================================================
   📱 16. MOBILE BOTTOM NAVIGATION DOCK (6 TABS) & MOBILE FOOTER CLEANUP
   ========================================================================== */
.tgb-mobile-bottom-nav {
    display: none !important;
}

@media (max-width: 768px) {
    /* 1. Hide visual footer elements on mobile (clean up space) */
    footer.site-footer,
    .site-footer,
    #colophon,
    .elementor-location-footer,
    .footer-widgets {
        display: none !important;
    }

    /* 2. Hide Hamburger Menu & Header Account Icon on mobile (now handled cleanly by Bottom Dock) */
    .elementor-element-aee7074,
    .hfe-menu-toggle,
    .hfe-nav-menu__toggle,
    .elementor-menu-toggle,
    .hfe-menu-toggle-button,
    .elementor-widget-nav-menu .elementor-menu-toggle,
    .elementor-widget-navigation-menu,
    .tgb-header-user-btn {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Force Logo + Beta flush to the left on mobile */
    .elementor-element-a6c882b,
    .tgb-header-section,
    header .elementor-container,
    .site-header .elementor-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .elementor-element-3abdf85,
    .site-branding,
    .site-header .site-logo {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        width: auto !important;
        max-width: none !important;
        flex: 0 1 auto !important;
        order: 1 !important;
    }

    .elementor-element-3abdf85 a,
    .elementor-element-3abdf85 .custom-logo-link,
    .site-branding a {
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .elementor-element-b426401,
    .header-utilities {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        order: 2 !important;
    }

    /* 3. Safe bottom padding on body so content never gets covered by the dock */
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }

    /* 4. Mobile Floating Navigation Pill Dock */
    .tgb-mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        left: 10px !important;
        right: 10px !important;
        height: 64px !important;
        padding: 0 4px !important;
        background: rgba(11, 14, 27, 0.92) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
        z-index: 99999 !important;
        align-items: center !important;
        justify-content: space-around !important;
        box-sizing: border-box !important;
        --nav-cutout-color: #0B0E1B;
    }

    .tgb-nav-tab-btn {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        padding: 3px 0 2px 0 !important;
        cursor: pointer !important;
        color: #64748B !important;
        text-decoration: none !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: relative !important;
        gap: 2px !important;
        box-sizing: border-box !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .tgb-nav-tab-btn:active {
        transform: scale(0.95) !important;
    }

    .tgb-tab-icon-wrap {
        position: relative !important;
        width: 38px !important;
        height: 28px !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .tgb-tab-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #64748B !important;
        transition: all 0.2s ease !important;
    }

    .tgb-tab-icon svg {
        width: 20px !important;
        height: 20px !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease !important;
        display: block !important;
    }

    .tgb-tab-label {
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #94A3B8 !important;
        transition: all 0.2s ease !important;
        line-height: 1.1 !important;
        letter-spacing: -0.2px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    /* Active Tab State */
    .tgb-nav-tab-btn.is-active {
        color: #FFFFFF !important;
    }

    .tgb-nav-tab-btn.is-active .tgb-tab-icon-wrap {
        background: rgba(108, 92, 231, 0.22) !important;
        box-shadow: 0 0 14px rgba(226, 61, 213, 0.35) !important;
    }

    .tgb-nav-tab-btn.is-active .tgb-tab-icon svg {
        transform: translateY(-1px) scale(1.08) !important;
        filter: drop-shadow(0 3px 10px rgba(226, 61, 213, 0.6)) !important;
    }

    .tgb-nav-tab-btn.is-active .tgb-tab-label {
        color: #FFFFFF !important;
        font-weight: 800 !important;
        background: linear-gradient(135deg, #A5B4FC, #FF76EA) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    .tgb-nav-tab-btn.is-active .tgb-gradient-icon path:not(.svg-cutout-mask),
    .tgb-nav-tab-btn.is-active .tgb-gradient-icon circle:not(.svg-cutout-mask),
    .tgb-nav-tab-btn.is-active .tgb-gradient-icon rect:not(.svg-cutout-mask) {
        fill: url(#tgbBrandGrad) !important;
    }

    .svg-cutout-mask {
        fill: var(--nav-cutout-color, #0B0E1B) !important;
    }

    .tgb-nav-tab-btn.is-active .tgb-gradient-icon .svg-back-layer {
        opacity: 0.55 !important;
    }
}

/* ========================================================
   28. SHOP EMPTY STATE & NOTICE STYLING (Dark Theme)
   ======================================================== */
.elementor-widget-shortcode .woocommerce-info,
.elementor-shortcode .woocommerce-info,
.woocommerce-products-loop .woocommerce-info,
.tgb-shop-grid-wrap .woocommerce-info,
.woocommerce .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info) {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.45) 0%, rgba(11, 14, 27, 0.65) 100%) !important;
    border: 1.5px solid rgba(140, 82, 255, 0.35) !important;
    color: #F1F5F9 !important;
    border-radius: 18px !important;
    padding: 36px 24px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 36px auto !important;
    max-width: 560px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.6 !important;
}

.elementor-widget-shortcode .woocommerce-info::before,
.elementor-shortcode .woocommerce-info::before,
.woocommerce .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info)::before {
    display: block !important;
    margin: 0 auto 12px auto !important;
    font-size: 24px !important;
    color: #00C7CC !important;
    position: static !important;
}

/* ========================================================
   29. PHASE 2: PROMOTIONAL PRICING & GAMIFIED TREASURE JOURNEY
   ======================================================== */

/* 29.1 Keyframe Animations */
@keyframes tgbWalkBob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-3deg);
    }
    75% {
        transform: translateY(-2px) rotate(3deg);
    }
}

@keyframes tgbBubbleBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes tgbGodRays {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) scale(1.15);
        opacity: 0.85;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.6;
    }
}

@keyframes tgbSparkle {
    0%, 100% {
        transform: scale(0.6) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.25) rotate(15deg);
        opacity: 1;
    }
}

@keyframes tgbChestPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 16px rgba(255, 187, 5, 0.7);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 26px rgba(255, 187, 5, 0.95), 0 0 40px rgba(226, 61, 213, 0.4);
    }
}

@keyframes tgbFlashPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.6));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.9));
    }
}

@keyframes tgbBadgeShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 29.2 Shop Loop Promo Chip (Flash Deal) */
.tgb-product-promo-chip.is-flash-deal {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%) !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}

.tgb-product-promo-chip.is-flash-deal .tgb-promo-flame {
    display: inline-block !important;
    animation: tgbFlashPulse 1.4s infinite ease-in-out !important;
}

.tgb-product-promo-chip.is-flash-deal .tgb-flash-deal-clock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    color: #FFFFFF !important;
    margin-left: 2px !important;
    font-variant-numeric: tabular-nums !important;
}

.tgb-product-promo-chip.is-flash-deal .tgb-flash-deal-clock .tgb-clock-icon {
    font-size: 9px !important;
    opacity: 0.9 !important;
    margin-right: 1px !important;
}

/* 29.3 Single Product Page (PDP) Promotions & Timer */
.tgb-pdp-promotions-container {
    width: 100% !important;
    box-sizing: border-box !important;
}

.tgb-flash-deal-pdp-banner {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
}

.tgb-flash-deal-pdp-banner:hover {
    border-color: #F97316 !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.16) !important;
}

.tgb-flash-countdown-wrap .tgb-timer-box {
    min-width: 24px !important;
    text-align: center !important;
    display: inline-block !important;
    font-variant-numeric: tabular-nums !important;
    box-shadow: 0 2px 5px rgba(194, 65, 12, 0.3) !important;
}

.tgb-treasure-price-pdp-card {
    transition: all 0.25s ease !important;
}

.tgb-treasure-price-pdp-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 170, 200, 0.12) !important;
}

/* 29.4 Treasure Journey RPG Quest Trail Card */
.tgb-treasure-journey-card {
    margin: 24px 0 !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.tgb-treasure-journey-card:hover {
    box-shadow: 0 12px 40px rgba(24, 25, 56, 0.6) !important;
}

.tgb-rpg-trail-container {
    position: relative !important;
    user-select: none !important;
}

.tgb-chest-node-wrap {
    transition: transform 0.25s ease !important;
}

.tgb-chest-node-wrap:hover .tgb-chest-box {
    transform: scale(1.1) !important;
}

.tgb-adventurer-bubble {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 29.5 Responsive Styling for Quest Trail on Tablets & Mobile */
@media (max-width: 640px) {
    .tgb-treasure-journey-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
    }

    .tgb-rpg-trail-container {
        margin: 50px 8px 30px 8px !important;
        padding: 0 6px !important;
    }

    .tgb-adventurer-bubble {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }

    .tgb-adventurer-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 17px !important;
    }

    .tgb-chest-box {
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
        border-radius: 10px !important;
    }

    .tgb-flash-deal-pdp-banner {
        padding: 12px 14px !important;
    }

    .tgb-flash-deal-pdp-banner > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .tgb-flash-countdown-wrap {
        width: 100% !important;
        justify-content: flex-end !important;
    }

    .tgb-treasure-price-pdp-card > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .tgb-treasure-price-pdp-card > div:first-child > div:last-child {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
}


/* Gamepedia mobile search: align with the containing game grid. */
@media (max-width: 768px) {
    .tgb-gamepedia-search-filter-wrap {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tgb-gamepedia-search-filter-wrap .tgb-shop-search-input-box {
        min-width: 0 !important;
    }
}

/* Mobile dock: immediate tap feedback and a pending-navigation indicator. */
@media (max-width: 768px) {
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn {
        touch-action: manipulation;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn:active,
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-pressed {
        transform: scale(0.92) !important;
        background: rgba(0, 199, 204, 0.12) !important;
        border-radius: 16px !important;
        transition-duration: 80ms !important;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-navigating .tgb-tab-icon-wrap {
        background: rgba(0, 199, 204, 0.22) !important;
        box-shadow: 0 0 16px rgba(0, 199, 204, 0.4) !important;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-navigating .tgb-tab-icon,
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-navigating .tgb-tab-label {
        color: #00C7CC !important;
        -webkit-text-fill-color: #00C7CC !important;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-navigating::after {
        content: '';
        position: absolute;
        bottom: 2px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #00C7CC;
        box-shadow: 0 0 7px rgba(0, 199, 204, 0.6);
        animation: tgb-dock-pending 800ms ease-in-out infinite alternate;
        pointer-events: none;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn:focus-visible {
        outline: 2px solid #00C7CC !important;
        outline-offset: -3px !important;
        border-radius: 16px !important;
    }
}
@keyframes tgb-dock-pending {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn,
    .tgb-mobile-bottom-nav .tgb-tab-icon-wrap,
    .tgb-mobile-bottom-nav .tgb-tab-icon,
    .tgb-mobile-bottom-nav .tgb-tab-icon svg,
    .tgb-mobile-bottom-nav .tgb-tab-label {
        transition: none !important;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn:active,
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-pressed {
        transform: none !important;
    }
    .tgb-mobile-bottom-nav .tgb-nav-tab-btn.is-navigating::after {
        animation: none !important;
    }
}

/* Coupon fields on light cart/checkout surfaces, including focus and autofill. */
body.woocommerce-cart .woocommerce input[name="coupon_code"],
body.woocommerce-checkout .woocommerce input[name="coupon_code"],
body.woocommerce-checkout input.tgb-step2-coupon-input,
body.woocommerce-cart input.tgb-step2-coupon-input {
    background: #FFFFFF !important;
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    caret-color: #2B2D7D !important;
    color-scheme: light;
    opacity: 1 !important;
}
body.woocommerce-cart .woocommerce input[name="coupon_code"]::placeholder,
body.woocommerce-checkout .woocommerce input[name="coupon_code"]::placeholder,
body.woocommerce-checkout input.tgb-step2-coupon-input::placeholder,
body.woocommerce-cart input.tgb-step2-coupon-input::placeholder {
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    opacity: 1 !important;
}
body.woocommerce-cart .woocommerce input[name="coupon_code"]:focus,
body.woocommerce-checkout .woocommerce input[name="coupon_code"]:focus,
body.woocommerce-checkout input.tgb-step2-coupon-input:focus,
body.woocommerce-cart input.tgb-step2-coupon-input:focus {
    background: #FFFFFF !important;
    border-color: #00C7CC !important;
    box-shadow: 0 0 0 3px rgba(0, 199, 204, 0.16) !important;
}
body.woocommerce-cart .woocommerce input[name="coupon_code"]:-webkit-autofill,
body.woocommerce-checkout .woocommerce input[name="coupon_code"]:-webkit-autofill,
body.woocommerce-checkout input.tgb-step2-coupon-input:-webkit-autofill,
body.woocommerce-cart input.tgb-step2-coupon-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: #1E293B !important;
}

/* One-page checkout: cart, delivery and payment in one continuous form. */
body.tgb-onepage-checkout .tgb-mobile-steps-bar,
body.tgb-onepage-checkout .tgb-step1-next-wrap,
body.tgb-onepage-checkout #tgbStep2DeliverySummary {
    display: none !important;
}
body.tgb-onepage-checkout #customer_details,
body.tgb-onepage-checkout #order_review {
    display: block !important;
}
.tgb-checkout-cart { grid-column: 1 / -1; background: #fff; color: #1E293B; border: 1px solid #E2E8F0; border-radius: 18px; padding: 20px; margin-bottom: 20px; }
.tgb-checkout-cart h3 { color: #2B2D7D !important; margin: 0 0 16px !important; }
.tgb-checkout-cart-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #E2E8F0; }
.tgb-checkout-cart-image { flex: 0 0 72px; }
.tgb-checkout-cart-image img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; }
.tgb-checkout-cart-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tgb-checkout-cart-info strong { color: #2B2D7D; }
.tgb-checkout-quantity-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tgb-checkout-quantity-controls label { display: flex; align-items: center; gap: 10px; color: #475569 !important; }
body.tgb-onepage-checkout input.tgb-checkout-quantity { width: 70px !important; background: #F8FAFC !important; color: #1E293B !important; -webkit-text-fill-color: #1E293B !important; padding: 8px !important; border: 1px solid #CBD5E1 !important; border-radius: 8px !important; }
.tgb-checkout-remove-item { background: transparent !important; color: #64748B !important; padding: 8px !important; text-decoration: underline; border: none !important; }
.tgb-checkout-cart-status { color: #2B2D7D; grid-column: 1 / -1; }
.tgb-checkout-cart-status:empty { display: none; }
.tgb-checkout-order-dock { display: none; }
@media (max-width: 768px) {
    body.tgb-onepage-checkout { padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important; }
    body.tgb-onepage-checkout .tgb-mobile-bottom-nav { display: none !important; }
    body.tgb-onepage-checkout form.checkout { display: flex !important; flex-direction: column !important; }
    body.tgb-onepage-checkout #customer_details,
    body.tgb-onepage-checkout #order_review { width: 100% !important; float: none !important; }
    .tgb-checkout-cart { padding: 16px; }
    .tgb-checkout-order-dock { display: flex; align-items: center; gap: 12px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999; background: #FFFFFF; border-top: 1px solid #E2E8F0; box-shadow: 0 -6px 24px rgba(43,45,125,.12); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
    .tgb-checkout-dock-total { flex: 1; color: #2B2D7D; font-weight: 800; font-size: 16px; }
    .tgb-checkout-dock-submit { border: none !important; border-radius: 14px !important; padding: 14px 18px !important; background: #2B2D7D !important; color: #FFFFFF !important; font-weight: 800 !important; }
    .tgb-checkout-dock-submit:disabled { opacity: .55; }
    .tgb-checkout-dock-submit:active { transform: scale(.97); }
}
body.tgb-onepage-checkout .woocommerce-checkout-review-order-table thead,
body.tgb-onepage-checkout .woocommerce-checkout-review-order-table tbody .cart_item {
    display: none !important;
}
@media (max-width: 768px) {
    body.tgb-onepage-checkout #place_order { display: none !important; }
    body.tgb-onepage-checkout #customer_details .col-1,
    body.tgb-onepage-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
}

/* Compact mobile checkout: summary rows and drawers instead of expanded forms. */
@media (max-width: 768px) {
    body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout form.checkout { gap: 10px !important; padding: 0 !important; }
    body.tgb-compact-checkout .tgb-checkout-header-row { margin: 10px 0 !important; padding: 0 4px !important; }
    body.tgb-compact-checkout .tgb-checkout-main-title { font-size: 22px !important; line-height: 1.25 !important; }
    body.tgb-compact-checkout .tgb-checkout-main-subtitle { display: none !important; }
    body.tgb-compact-checkout .tgb-checkout-back-btn { width: 36px !important; height: 36px !important; min-width: 36px !important; font-size: 20px !important; }
    body.tgb-compact-checkout .tgb-checkout-cart,
    body.woocommerce-checkout.tgb-compact-checkout #customer_details,
    body.woocommerce-checkout.tgb-compact-checkout #order_review { padding: 12px !important; margin: 0 !important; border-radius: 14px !important; box-shadow: none !important; }
    body.tgb-compact-checkout .tgb-checkout-cart h3,
    body.tgb-compact-checkout #order_review_heading,
    body.tgb-compact-checkout .tgb-order-review-heading, body.tgb-compact-checkout .tgb-order-review-title { font-size: 16px !important; margin: 0 0 8px !important; padding: 0 !important; line-height: 1.35 !important; }
    body.tgb-compact-checkout .tgb-checkout-cart-item { gap: 10px !important; padding: 8px 0 !important; }
    body.tgb-compact-checkout .tgb-checkout-cart-image { flex-basis: 58px !important; }
    body.tgb-compact-checkout .tgb-checkout-cart-image img { width: 58px !important; height: 58px !important; }
    body.tgb-compact-checkout .tgb-checkout-cart-info { gap: 5px !important; font-size: 14px !important; }
    body.tgb-compact-checkout .tgb-checkout-cart-info strong { font-size: 14px !important; line-height: 1.35 !important; }
    body.tgb-compact-checkout .tgb-checkout-quantity-controls { flex-wrap: nowrap !important; gap: 8px !important; }
    body.tgb-compact-checkout .tgb-checkout-quantity-controls label { gap: 6px !important; font-size: 12px !important; margin: 0 !important; }
    body.tgb-compact-checkout input.tgb-checkout-quantity { width: 54px !important; height: 36px !important; font-size: 16px !important; }
    body.tgb-compact-checkout .tgb-checkout-remove-item { margin: 0 0 0 auto !important; font-size: 12px !important; }
    body.tgb-compact-checkout #customer_details > .col-1,
    body.tgb-compact-checkout #customer_details > .col-2 { display: none !important; }
    .tgb-compact-row { width: 100% !important; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 10px !important; text-align: left !important; padding: 12px !important; margin: 0 !important; background: #FFFFFF !important; color: #2B2D7D !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
    .tgb-compact-row > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
    .tgb-compact-row strong { font-size: 14px !important; line-height: 1.35 !important; }
    .tgb-compact-row small { font-size: 12px !important; color: #64748B !important; line-height: 1.4 !important; white-space: normal !important; }
    .tgb-compact-row > span:last-child { font-size: 24px !important; color: #64748B !important; }
    .tgb-compact-row:active { background: #F0FDFA !important; }
    #tgbCompactRows .tgb-compact-row + .tgb-compact-row { border-top: 1px solid #E2E8F0 !important; }
    body.tgb-compact-checkout #order_review table.shop_table { margin: 0 !important; }
    body.tgb-compact-checkout #order_review table.shop_table th,
    body.tgb-compact-checkout #order_review table.shop_table td { padding: 7px 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
    body.tgb-compact-checkout #order_review .order-total .amount { font-size: 20px !important; }
    body.tgb-compact-checkout .tgb-step2-coupon-container { margin: 8px 0 !important; padding: 0 !important; box-shadow: none !important; }
    body.tgb-compact-checkout .tgb-step2-coupon-toggle { font-size: 13px !important; padding: 8px 0 !important; }
    body.tgb-compact-checkout #payment { padding: 0 !important; margin: 0 !important; background: #fff !important; box-shadow: none !important; border: 0 !important; }
    body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout form.checkout #payment #place_order { display: none !important; }
    body.tgb-compact-checkout #payment .place-order { padding: 8px 0 0 !important; margin: 0 !important; }
    body.tgb-compact-checkout #payment .woocommerce-privacy-policy-text { font-size: 11px !important; line-height: 1.4 !important; }
    body.tgb-compact-checkout .tgb-checkout-order-dock { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important; }
    body.tgb-compact-checkout .tgb-checkout-dock-submit { font-size: 14px !important; padding: 12px !important; }
    body.tgb-compact-checkout .tgb-checkout-dock-total { font-size: 15px !important; }
    body.tgb-compact-checkout .tgb-compact-drawer { display: none !important; position: fixed !important; inset: auto 0 0 !important; max-height: 88dvh !important; z-index: 100002 !important; background: #fff !important; color: #1E293B !important; border-radius: 20px 20px 0 0 !important; padding: 0 16px calc(16px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -8px 40px rgba(8,4,28,.25) !important; overflow-y: auto !important; overscroll-behavior: contain; box-sizing: border-box; }
    body.tgb-compact-checkout .tgb-compact-drawer.is-open { display: block !important; }
    .tgb-compact-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; position: sticky; top: 0; background: #fff; z-index: 2; border-bottom: 1px solid #E2E8F0; }
    .tgb-compact-drawer-head strong { color: #2B2D7D; font-size: 16px; }
    .tgb-compact-close { background: #F1F5F9 !important; color: #2B2D7D !important; border: 0 !important; padding: 10px 14px !important; border-radius: 10px !important; }
    .tgb-compact-done { display: block !important; width: 100% !important; padding: 14px !important; border: none !important; border-radius: 12px !important; background: #2B2D7D !important; color: #fff !important; margin-top: 12px !important; }
    .tgb-compact-backdrop { position: fixed !important; inset: 0 !important; z-index: 100001 !important; background: rgba(8,4,28,.55) !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
    body.tgb-compact-drawer-open { overflow: hidden !important; }
    body.tgb-compact-checkout .tgb-compact-drawer h3 { font-size: 16px !important; margin: 12px 0 !important; }
    body.tgb-compact-checkout #tgbCompact-address .tgb-guest-banner { padding: 10px !important; margin: 12px 0 !important; }
    body.tgb-compact-checkout #tgbCompact-address .tgb-guest-banner strong { font-size: 13px !important; }
    body.tgb-compact-checkout .tgb-compact-drawer input.input-text,
    body.tgb-compact-checkout .tgb-compact-drawer textarea { font-size: 16px !important; }
    body.tgb-compact-checkout .tgb-compact-drawer .tgb-preview-payment-methods { display: none !important; }
    body.tgb-compact-checkout .tgb-compact-drawer .tgb-step1-shipping-wrapper { margin: 10px 0 !important; padding: 12px !important; box-shadow: none !important; }
    body.tgb-compact-checkout .tgb-compact-drawer .tgb-shipping-card { padding: 12px !important; margin: 6px 0 !important; }
}
@media (min-width: 769px) {
    .tgb-compact-row, .tgb-compact-drawer-head, .tgb-compact-done, .tgb-compact-backdrop { display: none !important; }
    .tgb-compact-drawer { display: block !important; position: static !important; }
}

/* Mobile checkout art direction supplied by Treasure Game Box. */
@media (max-width:768px) {
 body.woocommerce-checkout.tgb-compact-checkout { background:linear-gradient(120deg,#f4feff 0%,#fff 32%,#fff 75%,#faf5ff 100%) !important; color:#100d35 !important; }
 body.tgb-compact-checkout .site-main, body.tgb-compact-checkout .woocommerce, body.tgb-compact-checkout .elementor, body.tgb-compact-checkout .elementor-widget-container { background:transparent !important; }
 body.tgb-compact-checkout .tgb-checkout-main-title { color:#100d35 !important; font-size:26px !important; }
 body.tgb-compact-checkout .tgb-checkout-back-btn { background:transparent !important; border:0 !important; color:#3624a7 !important; }
 body.woocommerce-checkout.tgb-compact-checkout form.checkout { gap:0 !important; }
 body.tgb-compact-checkout .tgb-checkout-cart,body.woocommerce-checkout.tgb-compact-checkout #customer_details,body.woocommerce-checkout.tgb-compact-checkout #order_review { background:transparent !important; border:0 !important; border-radius:0 !important; padding:0 !important; box-shadow:none !important; }
 body.tgb-compact-checkout #tgbCompactAddressRow { margin:16px 0 24px !important; }
 body.tgb-compact-checkout .tgb-compact-row { border-radius:0 !important; padding:15px 0 !important; background:transparent !important; border-bottom:1px solid #e2e5f3 !important; gap:14px !important; color:#100d35 !important; min-height:64px; }
 body.tgb-compact-checkout .tgb-compact-row .tgb-compact-row-copy { flex:1; display:flex; flex-direction:column; gap:4px; }
 body.tgb-compact-checkout .tgb-compact-row strong { font-size:14px !important; font-weight:500 !important; color:#7781a6 !important; }
 body.tgb-compact-checkout .tgb-compact-row small { font-size:16px !important; color:#100d35 !important; }
 body.tgb-compact-checkout .tgb-compact-row > span:last-child { font-size:25px !important; color:#7682aa !important; }
 body.tgb-compact-checkout .tgb-compact-icon { width:30px; flex:0 0 30px; display:flex; color:#3624a7; }
 .tgb-compact-icon svg { width:30px; height:30px; }
 body.tgb-compact-checkout #tgbCompactRow-address { padding:16px !important; border:1px solid #d9ccff !important; border-radius:13px !important; background:linear-gradient(110deg,#f2fbff,#fcf3ff) !important; }
 body.tgb-compact-checkout #tgbCompactRow-address strong { color:#100d35 !important; font-size:17px !important; font-weight:800 !important; }
 body.tgb-compact-checkout #tgbCompactRow-address small { color:#7781a6 !important; font-size:13px !important; }
 body.tgb-compact-checkout #tgbCompactRow-address > span:last-child { font-size:14px !important; color:#3624a7 !important; border-left:1px solid #d9ccff; padding-left:12px; white-space:nowrap; }
 body.tgb-compact-checkout #tgbCompactRow-coupon strong,body.tgb-compact-checkout #tgbCompactRow-notes strong { color:#100d35 !important; font-size:16px !important; }
 body.tgb-compact-checkout #tgbCompactRow-coupon small,body.tgb-compact-checkout #tgbCompactRow-notes small:empty { display:none !important; }
 body.tgb-compact-checkout .tgb-checkout-cart h3,body.tgb-compact-checkout .tgb-order-review-title { color:#100d35 !important; font-size:21px !important; font-weight:800 !important; border:0 !important; margin:0 0 14px !important; }
 body.tgb-compact-checkout .tgb-order-review-title .tgb-os-icon { display:none !important; }
 body.tgb-compact-checkout .tgb-checkout-cart-item { padding:0 0 18px !important; gap:14px !important; }
 body.tgb-compact-checkout .tgb-checkout-cart-image { flex-basis:80px !important; }
 body.tgb-compact-checkout .tgb-checkout-cart-image img { width:80px !important; height:80px !important; border-radius:10px !important; object-fit:cover; }
 body.tgb-compact-checkout .tgb-checkout-cart-info { flex:1; gap:8px !important; color:#3624a7 !important; }
 body.tgb-compact-checkout .tgb-checkout-cart-info strong { color:#100d35 !important; font-size:16px !important; }
 body.tgb-compact-checkout .tgb-checkout-cart-info > span { font-size:18px !important; font-weight:800; }
 body.tgb-compact-checkout .tgb-checkout-quantity-controls label { font-size:0 !important; }
 .tgb-quantity-stepper { display:inline-flex; align-items:center; border:1px solid #d5daee; border-radius:9px; overflow:hidden; }
 body.tgb-compact-checkout .tgb-quantity-stepper button { background:transparent !important; color:#7781a6 !important; padding:0 !important; width:32px; height:32px; border:0 !important; border-radius:0 !important; font-size:22px !important; }
 body.tgb-compact-checkout .tgb-quantity-stepper input.tgb-checkout-quantity { border:0 !important; border-left:1px solid #d5daee !important; border-right:1px solid #d5daee !important; background:transparent !important; width:40px !important; height:32px !important; text-align:center; padding:0 !important; border-radius:0 !important; appearance:textfield; color:#100d35 !important; }
 .tgb-quantity-stepper input::-webkit-inner-spin-button { appearance:none; }
 body.tgb-compact-checkout .tgb-checkout-remove-item { background:transparent !important; border:0 !important; padding:7px !important; color:#7781a6 !important; }
 .tgb-checkout-remove-item svg { width:21px; height:21px; }
 body.tgb-compact-checkout #order_review { margin-top:22px !important; }
 body.tgb-compact-checkout #order_review table.shop_table th,body.tgb-compact-checkout #order_review table.shop_table td { border:0 !important; font-size:15px !important; padding:6px 0 !important; color:#48557c !important; font-weight:500 !important; }
 body.tgb-compact-checkout #order_review table.shop_table td { text-align:right !important; color:#241b77 !important; }
 body.tgb-compact-checkout #order_review table.shop_table .order-total th,body.tgb-compact-checkout #order_review table.shop_table .order-total td { border-top:1px solid #e2e5f3 !important; padding-top:14px !important; font-size:20px !important; font-weight:800 !important; }
 body.tgb-compact-checkout #order_review .order-total .amount { font-size:27px !important; color:#3624a7 !important; }
 body.tgb-compact-checkout #payment { background:transparent !important; }
 body.tgb-compact-checkout .tgb-checkout-order-dock { border-radius:18px 18px 0 0 !important; background:linear-gradient(115deg,#f3fdff,#fff,#fcf1ff) !important; padding:14px 18px calc(14px + env(safe-area-inset-bottom)) !important; box-shadow:0 -3px 20px #dad3f333 !important; }
 body.tgb-compact-checkout .tgb-checkout-dock-total { color:#3624a7 !important; font-size:20px !important; }
 body.tgb-compact-checkout .tgb-checkout-dock-submit { background:linear-gradient(110deg,#3924af,#e448d4) !important; border-radius:32px !important; padding:16px 22px !important; font-size:17px !important; box-shadow:0 8px 20px #ba40cf33 !important; }
 body.tgb-compact-checkout .tgb-compact-row:focus-visible,body.tgb-compact-checkout .tgb-quantity-stepper button:focus-visible { outline:2px solid #7353db; outline-offset:3px; }
}

@media(max-width:768px) {
 body.tgb-compact-checkout form.checkout,body.tgb-compact-checkout .tgb-checkout-order-dock { font-family:inherit; }
 body.tgb-compact-checkout .tgb-compact-row,body.tgb-compact-checkout .tgb-checkout-cart-info,body.tgb-compact-checkout .tgb-checkout-cart h3 { font-family: "Noto Sans Thai", "Arial", sans-serif !important; }
 body.tgb-compact-checkout .tgb-compact-row:active { background:#f7f3ff !important; }
}

/* Checkout mobile corrections after staging review. */
@media(max-width:768px) {
 body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout .tgb-checkout-header-row h1.tgb-checkout-main-title { color:#100d35 !important; -webkit-text-fill-color:#100d35 !important; background:none !important; text-shadow:none !important; }
 body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout .tgb-checkout-header-row .tgb-checkout-back-btn { color:#3624a7 !important; -webkit-text-fill-color:#3624a7 !important; }
 body.tgb-compact-checkout #tgbCheckoutCart .tgb-checkout-cart-item { border-top:0 !important; padding-top:10px !important; padding-bottom:20px !important; }
 body.tgb-compact-checkout #tgbCheckoutCart h3 { padding-bottom:10px !important; border-bottom:1px solid #e2e5f3 !important; margin-bottom:10px !important; }
 body.tgb-compact-checkout .tgb-compact-drawer { width:100% !important; max-width:100vw !important; overflow-x:hidden !important; touch-action:pan-y; }
 body.tgb-compact-checkout .tgb-compact-drawer-content { min-width:0 !important; max-width:100% !important; overflow-x:hidden !important; }
 body.tgb-compact-checkout #tgbCompact-address .form-row,body.tgb-compact-checkout #tgbCompact-address input,body.tgb-compact-checkout #tgbCompact-address select,body.tgb-compact-checkout #tgbCompact-address textarea,body.tgb-compact-checkout #tgbCompact-address .select2-container { max-width:100% !important; min-width:0 !important; box-sizing:border-box !important; }
 body.tgb-compact-checkout .tgb-shipping-icon svg { width:27px; height:27px; color:#3624a7; display:block; }
 body.tgb-compact-checkout #tgbCompact-shipping .tgb-shipping-card-body { min-width:0 !important; flex:1 !important; }
 body.tgb-compact-checkout #tgbCompact-shipping .tgb-shipping-card-badge { flex-shrink:0; white-space:nowrap; }
 body.tgb-compact-checkout #tgbCompact-shipping .tgb-pickup-card-map-wrap { border:0 !important; padding-top:5px !important; margin-top:0 !important; }
 body.woocommerce-checkout.tgb-compact-checkout .tgb-compact-drawer button.tgb-compact-done { color:#fff !important; -webkit-text-fill-color:#fff !important; }
}

/* Keep the rainbow divider in the checkout flow, below the site header. */
@media(max-width:768px) {
 body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout .woocommerce { padding-top:0 !important; }
 body.woocommerce-checkout.tgb-compact-checkout .site-main { padding-top:0 !important; }
 body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout .tgb-checkout-header-row { margin:0 0 10px !important; padding:0 !important; gap:10px !important; }
 body.woocommerce-checkout.tgb-onepage-checkout.tgb-compact-checkout .tgb-checkout-main-title { margin:0 !important; }
 body.woocommerce-checkout.tgb-compact-checkout .tgb-checkout-title-wrap { margin:0 !important; padding:0 !important; }
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompactAddressRow { margin:4px 0 16px !important; }
}

/* Server-rendered mobile shell: native controls remain inside the drawers. */
@media(max-width:768px) {
 body.woocommerce-checkout.tgb-compact-checkout .entry-title,body.woocommerce-checkout.tgb-compact-checkout .page-title { display:none !important; }
 body.woocommerce-checkout.tgb-compact-checkout #payment > ul.payment_methods { display:none !important; }
 body.woocommerce-checkout.tgb-compact-checkout #payment > .tgb-preview-payment-methods { display:none !important; }
 body.woocommerce-checkout.tgb-compact-checkout .tgb-step2-coupon-container:not(#tgbCompact-coupon .tgb-step2-coupon-container) { display:none !important; }
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompactRows { display:block; }
}

/* QR payment art direction: compact amount, merchant QR and account accordion. */
.tgb-payment-refresh { position:relative; color:#100d35 !important; }
.tgb-payment-refresh .tgb-pis-tabs-nav,.tgb-payment-refresh .tgb-pis-subtitle,.tgb-payment-refresh .tgb-pis-order-date { display:none !important; }
.tgb-payment-refresh .tgb-pis-title { color:#100d35 !important; -webkit-text-fill-color:#100d35 !important; font-size:28px !important; }
.tgb-payment-refresh .tgb-pis-top-row { display:block !important; margin-bottom:16px !important; }
.tgb-payment-refresh .tgb-pis-header { padding-right:48px; }
.tgb-payment-refresh .tgb-pis-order-card { width:100% !important; background:transparent !important; border:0 !important; box-shadow:none !important; padding:10px 0 !important; margin:0 !important; }
.tgb-payment-refresh .tgb-pis-order-no { font-size:18px !important; color:#100d35 !important; -webkit-text-fill-color:#100d35 !important; }
.tgb-payment-refresh .tgb-pis-order-status-badge { background:#f2eaff !important; border:0 !important; padding:8px 14px !important; border-radius:24px !important; }
.tgb-payment-refresh .tgb-pis-badge-icon { display:none !important; }
.tgb-payment-refresh .tgb-pis-badge-content strong { color:#5930c8 !important; -webkit-text-fill-color:#5930c8 !important; }
.tgb-payment-refresh .tgb-countdown-digits { display:block; color:#e73640 !important; -webkit-text-fill-color:#e73640 !important; font-size:18px !important; }
.tgb-payment-refresh #tgbPisStep1 { background:transparent !important; padding:0 !important; border:0 !important; box-shadow:none !important; border-radius:0 !important; }
.tgb-payment-refresh .tgb-pis-amount-row { background:transparent !important; border:0 !important; padding:8px 0 !important; margin:0 !important; display:flex !important; flex-direction:column !important; align-items:center !important; gap:8px; }
.tgb-payment-refresh .tgb-pis-amount-label { color:#555185 !important; font-size:15px !important; }
.tgb-payment-refresh .tgb-pis-amount-value { font-size:42px !important; font-weight:850 !important; line-height:1.2 !important; color:#312081 !important; -webkit-text-fill-color:#312081 !important; }
.tgb-payment-refresh .tgb-pis-copy-amount-btn { background:transparent !important; border:0 !important; box-shadow:none !important; padding:4px !important; display:flex !important; gap:8px; align-items:center; font-size:13px !important; }
.tgb-payment-refresh .tgb-pay-qr { text-align:center; margin:14px auto 20px; }
.tgb-payment-refresh .tgb-pay-qr img { width:220px !important; max-width:80% !important; height:auto !important; display:block; padding:14px; box-sizing:border-box; margin:0 auto 18px; border:2px solid #d1bcff; border-radius:15px; background:#fff; image-rendering:pixelated; -webkit-touch-callout:default; }
.tgb-payment-refresh .tgb-pis-save-qr-btn { display:inline-flex !important; align-items:center; gap:10px; border:1.5px solid #5831d0 !important; border-radius:28px !important; padding:12px 24px !important; background:#fff !important; font-size:16px !important; }
.tgb-payment-refresh .tgb-pay-qr p { font-size:12px !important; color:#7b7aab !important; margin:10px 0 !important; }
.tgb-payment-refresh .tgb-pay-recipient { display:flex; align-items:center; gap:13px; padding:12px 0 16px; }
.tgb-pay-bank-icon { background:#efeaff; color:#39248e; border-radius:50%; width:45px; height:45px; display:flex; align-items:center; justify-content:center; }
.tgb-pay-recipient small,.tgb-pay-recipient strong { display:block; }
.tgb-pay-recipient small { color:#747098; font-size:13px; }
.tgb-pay-recipient strong { color:#100d35; font-size:16px; }
.tgb-pay-account { border-top:1px solid #dce0ee; border-bottom:1px solid #dce0ee; }
.tgb-pay-account summary { display:flex; justify-content:space-between; padding:15px 0; cursor:pointer; font-weight:750; color:#100d35; list-style:none; }
.tgb-pay-account summary::-webkit-details-marker,.tgb-pay-help summary::-webkit-details-marker { display:none; }
.tgb-pay-account-content { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:0 0 16px; }
.tgb-pay-account-content > span { font-size:19px; font-weight:800; color:#312081; }
.tgb-payment-refresh .tgb-pis-continue-to-step2-btn { display:flex !important; align-items:center; justify-content:center; gap:10px; margin:20px 0 0 !important; padding:16px !important; width:100% !important; background:linear-gradient(110deg,#5931ed,#ed57df) !important; border-radius:32px !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
.tgb-pay-help { position:absolute; right:0; top:8px; z-index:5; }
.tgb-pay-help summary { list-style:none; cursor:pointer; width:28px; height:28px; border:2px solid #5831d0; color:#5831d0; border-radius:50%; text-align:center; font-weight:800; line-height:24px; }
.tgb-pay-help-content { position:absolute; right:0; top:38px; width:310px; max-width:calc(100vw - 40px); padding:20px; box-sizing:border-box; border:1px solid #d1bcff; border-radius:16px; background:#fff; color:#100d35; box-shadow:0 8px 30px #30208022; font-size:14px; line-height:1.7; }
.tgb-pay-help-content ol { padding-left:22px; margin:12px 0; }
.tgb-pay-help-content p { margin:0; }
@media(max-width:991px) {
 body.woocommerce-order-received:has(.tgb-payment-refresh) { background:linear-gradient(115deg,#f1fcff,#fff 35%,#fff 70%,#faf2ff) !important; }
 body:has(.tgb-payment-refresh) .tgb-mobile-bottom-nav { display:none !important; }
 body:has(.tgb-payment-refresh) .woocommerce { padding:18px 20px 30px !important; }
 .tgb-payment-refresh .tgb-pis-back-link { color:#5931d0 !important; -webkit-text-fill-color:#5931d0 !important; margin-bottom:8px !important; }
 .tgb-payment-refresh .tgb-pis-order-card { display:flex !important; align-items:center !important; gap:10px !important; }
 .tgb-payment-refresh .tgb-pis-order-status-badge { max-width:55%; }
 .tgb-payment-refresh .tgb-thankyou-2col-layout { display:block !important; gap:0 !important; }
 .tgb-payment-refresh .tgb-pis-security-note { display:none !important; }
}
.tgb-payment-refresh .tgb-pis-order-card { position:relative; padding-bottom:38px !important; }
.tgb-payment-refresh .tgb-countdown-digits { position:absolute; left:0; bottom:6px; font-weight:750; }
.tgb-payment-refresh .tgb-pis-title,.tgb-payment-refresh .tgb-pis-header { margin-bottom:8px !important; }

/* Mobile staging corrections: recipient overflow and compact QR payment spacing. */
@media(max-width:991px) {
 body.tgb-compact-checkout #tgbCompactRow-address { box-sizing:border-box !important; max-width:100% !important; gap:10px !important; }
 body.tgb-compact-checkout #tgbCompactRow-address .tgb-compact-row-copy { flex:1 1 0 !important; min-width:0 !important; overflow-wrap:anywhere !important; }
 body.tgb-compact-checkout #tgbCompactRow-address strong,body.tgb-compact-checkout #tgbCompactRow-address small { white-space:normal !important; overflow-wrap:anywhere !important; }
 body.tgb-compact-checkout #tgbCompactRow-address > span:last-child { flex:0 0 auto !important; padding-left:9px !important; font-size:13px !important; }
 body:has(.tgb-payment-refresh) .entry-title,body:has(.tgb-payment-refresh) .page-title,body:has(.tgb-payment-refresh) .entry-header:not(.tgb-pis-header) { display:none !important; }
 body:has(.tgb-payment-refresh) .site-main { padding-top:0 !important; }
 body:has(.tgb-payment-refresh) .woocommerce { padding:10px 18px 18px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh { padding:0 !important; margin:0 auto 12px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-top-row { margin:0 0 8px !important; padding:0 !important; gap:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-header { padding:0 38px 0 0 !important; margin:0 !important; min-height:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-title { margin:0 0 6px !important; padding:0 !important; font-size:24px !important; line-height:1.3 !important; color:#100d35 !important; -webkit-text-fill-color:#100d35 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-back-link { margin:0 0 4px !important; font-size:12px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-order-card { padding:4px 0 28px !important; min-height:0 !important; margin:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-order-status-badge { min-height:0 !important; height:auto !important; padding:7px 12px !important; border-radius:22px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-badge-content { padding:0 !important; margin:0 !important; gap:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-countdown-digits { font-size:15px !important; line-height:1.3 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh #tgbPisStep1 { margin:0 !important; padding:0 !important; min-height:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-amount-row { padding:0 !important; gap:5px !important; min-height:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-amount-label { margin:0 !important; padding:0 !important; line-height:1.3 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-amount-value { display:block !important; margin:0 !important; padding:0 !important; font-size:36px !important; line-height:1.15 !important; min-height:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-copy-amount-btn { margin:0 !important; padding:4px 0 !important; line-height:1.4 !important; min-height:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pay-qr { margin:10px auto 8px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pay-qr img { width:190px !important; padding:10px !important; margin:0 auto 10px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-save-qr-btn { padding:9px 22px !important; margin:0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pay-qr p { margin:7px 0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pay-recipient { padding:8px 0 10px !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pay-account summary { padding:11px 0 !important; }
 body .tgb-payment-instructions-screen.tgb-payment-refresh .tgb-pis-continue-to-step2-btn { margin:12px 0 0 !important; padding:13px !important; }
}

/* SlipOK emits this heading before the custom payment panel. */
body:has(#tgbPaymentInstructionsScreen.tgb-payment-refresh) .woocommerce-order > h3.wp-block-heading {
 color:#100d35!important; -webkit-text-fill-color:#100d35!important;
 display:flex!important; align-items:center; gap:12px;
 font-size:26px!important; line-height:1.25!important; margin:12px 0!important;
}
@media(max-width:991px) {
body:has(.woocommerce-order > h3.wp-block-heading):has(#tgbPaymentInstructionsScreen.tgb-payment-refresh) #tgbPaymentInstructionsScreen .tgb-pis-header {
 display:none!important;
}
}


/* Order details use the compact checkout's light surface and product layout. */
body.tgb-compact-view-order .woocommerce-MyAccount-content { color:#100d35!important; }
.tgb-compact-view-order .tgb-view-order-payment { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:14px 0; padding:16px; background:#f6f3ff; border:1px solid #ddd2ff; border-radius:16px; }
.tgb-view-order-payment > div { display:flex; flex-direction:column; gap:4px; }
.tgb-view-order-payment strong { color:#100d35!important; }
.tgb-view-order-payment span { color:#3924af; font-weight:800; }
.tgb-view-order-payment > a { background:linear-gradient(110deg,#3924af,#d64bcd); color:white!important; -webkit-text-fill-color:white!important; padding:10px 16px; border-radius:24px; font-weight:700; text-decoration:none; }
@media(max-width:991px) {
 .tgb-compact-view-order .woocommerce-order-details,.tgb-compact-view-order .woocommerce-customer-details { padding:16px!important; margin:14px 0!important; border-radius:16px!important; box-shadow:none!important; }
 .tgb-compact-view-order .woocommerce-order-details h2 { font-size:21px!important; margin:0 0 14px!important; padding:0!important; color:#100d35!important; }
 .tgb-compact-view-order .woocommerce-table--order-details { display:block!important; border:0!important; border-radius:0!important; background:transparent!important; }
 .tgb-compact-view-order .woocommerce-table--order-details thead { display:none!important; }
 .tgb-compact-view-order .woocommerce-table--order-details tbody,.tgb-compact-view-order .woocommerce-table--order-details tfoot { display:block!important; width:100%!important; }
 .tgb-compact-view-order .woocommerce-table--order-details tr { display:grid!important; grid-template-columns:minmax(0,1fr) auto; gap:10px; border-bottom:1px solid #e4e5f1!important; background:transparent!important; }
 .tgb-compact-view-order .woocommerce-table--order-details th,.tgb-compact-view-order .woocommerce-table--order-details td { display:block!important; padding:12px 0!important; border:0!important; background:transparent!important; font-size:14px!important; min-width:0!important; }
 .tgb-compact-view-order .woocommerce-table--order-details td.product-name { grid-column:1/-1; }
 .tgb-compact-view-order .woocommerce-table--order-details tbody td.product-total { grid-column:1/-1; padding:0 0 14px 84px!important; text-align:left!important; color:#3924af!important; font-size:18px!important; font-weight:800!important; }
 .tgb-compact-view-order .tgb-order-item-wrap { display:flex!important; align-items:flex-start!important; gap:12px!important; }
 .tgb-compact-view-order .tgb-order-item-thumb { width:72px!important; height:72px!important; object-fit:cover; flex:0 0 72px; border-radius:10px!important; }
 .tgb-compact-view-order .tgb-order-item-text { min-width:0; font-size:16px!important; line-height:1.4!important; }
 .tgb-compact-view-order .tgb-order-item-text a { color:#100d35!important; text-decoration:none!important; }
 .tgb-compact-view-order .product-quantity,.tgb-compact-view-order .wc-item-meta { margin:4px 0 0 84px!important; font-size:12px!important; line-height:1.4!important; }
 .tgb-compact-view-order .wc-item-meta li { margin:2px 0!important; }
 .tgb-compact-view-order .woocommerce-table--order-details tfoot td { text-align:right!important; max-width:210px; }
 .tgb-compact-view-order .woocommerce-table--order-details .tgb-actions-cell a { border-radius:22px!important; padding:10px 14px!important; }
}

/* The order's native status and totals are shown once; payment lives on its own screen. */
.tgb-compact-view-order .tgb-view-order-payment-action { background:transparent; border:0; padding:0; margin:16px 0; justify-content:flex-end; }


/* View-order: one action group, aligned product details and totals. */
@media(max-width:991px) {
 body.woocommerce-account .woocommerce-table--order-details tbody td.product-name { display:block!important; width:auto!important; }
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-wrap { display:grid!important; grid-template-columns:72px minmax(0,1fr); gap:12px; align-items:start; }
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-thumb { width:72px!important; height:72px!important; object-fit:cover; margin:0!important; }
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-text { display:flex!important; flex-direction:column; align-items:flex-start; min-width:0; gap:5px; }
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-text a { color:#100d35!important; font-size:16px!important; line-height:1.4!important; }
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-text .product-quantity,
 body.woocommerce-account .woocommerce-table--order-details .tgb-order-item-text .wc-item-meta { display:block!important; margin:0!important; padding:0!important; text-align:left!important; font-size:12px!important; line-height:1.4!important; }
 body.woocommerce-account .woocommerce-table--order-details .wc-item-meta li,
 body.woocommerce-account .woocommerce-table--order-details .wc-item-meta p { margin:0!important; padding:0!important; text-align:left!important; }
 body.woocommerce-account .woocommerce-table--order-details tfoot tr { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:start; }
 body.woocommerce-account .woocommerce-table--order-details tfoot th,
 body.woocommerce-account .woocommerce-table--order-details tfoot td { display:block!important; width:auto!important; max-width:none!important; padding:12px 14px!important; margin:0!important; border:0!important; }
 body.woocommerce-account .woocommerce-table--order-details tfoot th { text-align:left!important; }
 body.woocommerce-account .woocommerce-table--order-details tfoot td { text-align:right!important; }
 body.woocommerce-account .woocommerce-table--order-details tbody td.product-total { text-align:right!important; padding:8px 14px 14px!important; }
}

/* Keep option confirmation accessible above navigation and browser safe areas. */
@media (max-width: 767px) {
 body.tgb-sheet-open .tgb-mobile-bottom-nav { display:none !important; }
 #tgbPdpBottomSheet { z-index:2147483000 !important; }
 #tgbPdpBottomSheet .tgb-bottom-sheet-panel { max-height:90dvh !important; }
 #tgbPdpBottomSheet .tgb-bs-handle-bar,
 #tgbPdpBottomSheet .tgb-bs-header,
 #tgbPdpBottomSheet .tgb-bs-footer { flex-shrink:0 !important; }
 #tgbPdpBottomSheet .tgb-bs-body { flex:1 1 auto !important; min-height:0 !important; max-height:none !important; overflow-y:auto !important; }
 #tgbPdpBottomSheet .tgb-bs-footer { padding-bottom:calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Desktop condition list scrolls independently of heading and purchase actions. */
@media (min-width: 768px) {
 #tgbDesktopCondOptions {
  max-height: min(420px, 50vh) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #8c52ff #f1eefb;
  padding: 3px 8px 3px 3px !important;
 }
 #tgbDesktopCondOptions::-webkit-scrollbar { width: 7px; }
 #tgbDesktopCondOptions::-webkit-scrollbar-thumb { background: #8c52ff; border-radius: 8px; }
 #tgbDesktopCondOptions::-webkit-scrollbar-track { background: #f1eefb; border-radius: 8px; }
 #tgbDesktopCondOptions > .tgb-cond-option { flex-shrink: 0; }
}

/* Image viewer sits above the SKU drawer, outside transformed product containers. */
#tgbImageZoomModal { z-index:2147483500 !important; height:100dvh !important; }
body.tgb-zoom-open .tgb-mobile-bottom-nav { display:none !important; }
@media (max-width:767px) {
 #tgbImageZoomModal .tgb-zoom-dialog { width:100vw !important; max-width:none !important; height:100dvh !important; max-height:100dvh !important; padding:60px 0 20px !important; box-sizing:border-box !important; }
 #tgbImageZoomModal .tgb-zoom-close-btn { position:fixed !important; top:calc(12px + env(safe-area-inset-top, 0px)) !important; right:12px !important; z-index:3 !important; }
 #tgbImageZoomModal .tgb-zoom-img-container { width:100% !important; flex:1 !important; max-height:none !important; border-radius:0 !important; }
 #tgbImageZoomModal #tgbZoomModalImg { width:100% !important; height:100% !important; max-height:80dvh !important; object-fit:contain !important; touch-action:pinch-zoom; }
}
.tgb-bs-btn-cart { background:linear-gradient(135deg,#8C52FF 0%,#6d28d9 100%) !important; color:#fff !important; border:1px solid rgba(140,82,255,.5) !important; }
.tgb-bs-btn-buy { background:linear-gradient(135deg,#00C7CC 0%,#0891B2 100%) !important; color:#fff !important; border:none !important; }
.tgb-bs-btn-cart span, .tgb-bs-btn-buy span { color:#fff !important; -webkit-text-fill-color:#fff !important; }
.tgb-cond-price del, .tgb-bs-price del, .tgb-cond-chip-btn del { color:#7b8190 !important; -webkit-text-fill-color:#7b8190 !important; font-size:.75em !important; }
.tgb-cond-price ins, .tgb-bs-price ins, .tgb-cond-chip-btn ins { text-decoration:none !important; background:transparent !important; }

/* Shop Flash Sale countdown over the product image. */
.tgb-shop-flash-photo { display:block; position:relative; }
.tgb-shop-flash-photo > img { display:block; width:100%; margin-bottom:0 !important; }
.tgb-shop-flash-pill {
 position:absolute !important; bottom:12px; left:50%; transform:translateX(-50%);
 display:flex !important; align-items:center; justify-content:center; gap:5px;
 width:max-content; max-width:calc(100% - 16px); padding:7px 10px;
 border-radius:999px; background:linear-gradient(90deg,#ff6a23,#ff4816);
 color:#fff !important; font-size:clamp(11px,1.2vw,15px); font-weight:800; line-height:1.2;
 z-index:2; pointer-events:none; box-sizing:border-box;
}
.tgb-shop-flash-pill[hidden] { display:none !important; }
.tgb-shop-flash-pill .tgb-shop-flash-label { margin-right:3px; }
.tgb-shop-flash-pill .tgb-fd-timer-h,
.tgb-shop-flash-pill .tgb-fd-timer-m,
.tgb-shop-flash-pill .tgb-fd-timer-s {
 background:#111; color:#fff !important; padding:5px; border-radius:7px;
 font-variant-numeric:tabular-nums; min-width:2ch; text-align:center;
}

.tgb-card-current-price { display:block; font-weight:800; }
.tgb-card-discount-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:4px; font-size:.78em; }
.tgb-card-discount-row del, .tgb-card-discount-row del * { color:#a5a3bb !important; -webkit-text-fill-color:#a5a3bb !important; }
.tgb-card-discount-percent { color:#ff3366 !important; -webkit-text-fill-color:#ff3366 !important; font-weight:800; }
.tgb-shop-flash-pill .tgb-fd-timer-days { font-weight:800; white-space:nowrap; }
.tgb-shop-flash-pill .tgb-fd-timer-days[hidden] { display:none !important; }

/* Compact two-unit Flash Sale timer, aligned with auction card badges. */
.tgb-shop-flash-pill {
 left:10px !important; bottom:10px !important; transform:none !important;
 padding:6px 10px !important; gap:5px !important;
 font-size:12px !important; line-height:1.2 !important;
 background:#242638 !important; color:#ffe779 !important;
 border:1px solid rgba(255,231,121,.3); box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.tgb-shop-flash-time { color:inherit !important; font-variant-numeric:tabular-nums; white-space:nowrap; }

/* Match auction countdown metrics; Flash Sale retains orange/white identity. */
.tgb-shop-flash-pill {
 bottom:10px !important; left:10px !important; z-index:2 !important;
 padding:3.5px 11px !important; font-size:11.5px !important; font-weight:850 !important;
 line-height:1.2 !important; border-radius:9999px !important; gap:4px !important;
 background:#ff5a1f !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
 border:1px solid rgba(255,255,255,.35) !important;
 box-shadow:0 2px 8px rgba(0,0,0,.3) !important;
 backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
 white-space:nowrap !important; flex-shrink:0 !important;
}
.tgb-shop-flash-pill span { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* The image margin belongs outside its overlay frame, so pill offsets measure the photo. */
.woocommerce ul.products li.product .tgb-shop-flash-photo { margin-bottom:10px !important; }
.woocommerce ul.products li.product .tgb-shop-flash-photo > img,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link .tgb-shop-flash-photo > img {
 margin:0 !important; padding:0 !important;
}
.woocommerce ul.products li.product .tgb-card-current-price { display:block !important; width:100%; }
.woocommerce ul.products li.product .tgb-card-discount-row { display:flex !important; width:100%; margin-top:4px !important; }

/* Sale cards use two price rows instead of the legacy fixed-height flex line. */
.woocommerce ul.products li.product .price:has(.tgb-card-current-price) {
 display:flex !important; flex-direction:column !important; align-items:flex-start !important;
 justify-content:flex-start !important; gap:4px !important;
 height:auto !important; min-height:0 !important; max-height:none !important;
 white-space:normal !important; margin-bottom:12px !important;
}
.woocommerce ul.products li.product .price .tgb-card-current-price {
 display:block !important; width:auto !important; flex:none !important; margin:0 !important; line-height:1.2 !important;
}
.woocommerce ul.products li.product .price .tgb-card-discount-row {
 display:flex !important; flex-direction:row !important; align-items:baseline !important; justify-content:flex-start !important;
 width:auto !important; flex:none !important; gap:10px !important; margin:0 !important; line-height:1.2 !important;
}
.woocommerce ul.products li.product .price .tgb-card-discount-row del,
.woocommerce ul.products li.product .price .tgb-card-discount-percent {
 display:inline-block !important; float:none !important; position:static !important; margin:0 !important;
 font-size:inherit !important; white-space:nowrap !important;
}

/* Desktop checkout: order items left, configuration and confirmation right. */
@media (min-width:1024px) {
 body.woocommerce-checkout.tgb-onepage-checkout .woocommerce { max-width:1240px !important; margin-left:auto !important; margin-right:auto !important; }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout {
  display:grid !important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) !important;
  gap:24px !important; align-items:start !important; width:100% !important;
 }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout > #tgbCheckoutCart {
  grid-column:1 !important; grid-row:1 / span 3 !important;
  position:sticky; top:100px; align-self:start;
  width:100% !important; max-width:none !important; margin:0 !important; padding:24px !important; box-sizing:border-box;
 }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout > #customer_details {
  grid-column:2 !important; grid-row:1 !important;
  float:none !important; width:100% !important; max-width:none !important; margin:0 !important; padding:24px !important; box-sizing:border-box;
 }
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details .col-1,
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details .col-2 {
  float:none !important; width:100% !important; max-width:none !important;
 }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout > #order_review {
  grid-column:2 !important; grid-row:2 !important;
  float:none !important; width:100% !important; max-width:none !important; margin:0 !important; padding:24px !important; box-sizing:border-box;
 }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout > #order_review_heading { display:none !important; }
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout::before,
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout::after,
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details::before,
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details::after { display:none !important; }
 body.woocommerce-checkout.tgb-onepage-checkout #tgbCheckoutCart .tgb-checkout-cart-item {
  display:flex !important; gap:16px !important; padding:16px 0 !important; border-bottom:1px solid #e2e5f3;
 }
 body.woocommerce-checkout.tgb-onepage-checkout #tgbCheckoutCart .tgb-checkout-cart-item > img { width:88px !important; height:88px !important; object-fit:cover; flex-shrink:0; }
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details .form-row { margin-bottom:12px !important; }
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details input.input-text,
 body.woocommerce-checkout.tgb-onepage-checkout #customer_details select { min-height:44px; }
 body.woocommerce-checkout.tgb-onepage-checkout #payment #place_order { width:100% !important; min-height:48px !important; }
}

@media(min-width:1024px) {
 body.woocommerce-checkout.tgb-desktop-checkout form.checkout { grid-template-columns:minmax(0,1.8fr) minmax(340px,1fr) !important; }
 #tgbDesktopLeft { grid-column:1; grid-row:1; background:#fff; border:1px solid #e2e5f3; border-radius:20px; padding:24px; min-width:0; }
 body.tgb-desktop-checkout #tgbDesktopLeft #tgbCheckoutCart,
 body.tgb-desktop-checkout #tgbDesktopLeft #customer_details,
 body.tgb-desktop-checkout #tgbDesktopLeft #payment { position:static !important; width:100% !important; float:none !important; margin:0 !important; padding:0 !important; background:transparent !important; box-shadow:none !important; border:0 !important; border-radius:0 !important; }
 body.tgb-desktop-checkout #tgbDesktopLeft #customer_details,
 body.tgb-desktop-checkout #tgbDesktopLeft #payment { border-top:1px solid #e2e5f3 !important; padding-top:20px !important; margin-top:20px !important; }
 body.woocommerce-checkout.tgb-desktop-checkout form.checkout > #order_review { grid-column:2 !important; grid-row:1 !important; position:sticky; top:100px; align-self:start; border-radius:20px !important; background:linear-gradient(135deg,#fcf5ff,#fff) !important; }
 #tgbDesktopAddress { display:flex; justify-content:space-between; gap:16px; padding:12px 0; color:#100d35; }
 #tgbDesktopAddress p { margin:8px 0 0; line-height:1.6; color:#55627c; }
 #tgbDesktopAddress button, #tgbDesktopAddressDone { color:#7541db; background:#f3edff; border:0; border-radius:8px; padding:8px 14px; align-self:start; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; width:100%; min-width:0; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info > strong { grid-column:1; overflow-wrap:anywhere; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info > dl { grid-column:1; margin:0 !important; font-size:13px; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info > span { grid-column:2; grid-row:1; font-weight:800; color:#23166d; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-quantity-controls { grid-column:2; grid-row:2; display:flex; gap:8px; align-items:start; }
 body.tgb-desktop-checkout #payment .wc_payment_methods { margin:0 !important; }
 body.tgb-desktop-checkout #order_review .place-order { padding:16px 0 0 !important; }
 body.tgb-desktop-checkout #order_review #place_order { background:linear-gradient(100deg,#332982,#d238c9) !important; color:#fff !important; border-radius:14px !important; }
}

/* Desktop checkout: reuse one address card and consistent section frames. */
@media (min-width:1024px) {
 body.tgb-desktop-checkout #tgbDesktopLeft #payment { border:0 !important; padding:0 !important; margin-top:24px !important; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options { border:1px solid #dfe5f2; border-radius:18px; padding:20px; background:#fff; box-shadow:0 5px 18px #22186d08; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary { display:flex; align-items:center; gap:12px; color:#302780; font-size:18px; font-weight:750; cursor:pointer; list-style:none; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary::-webkit-details-marker { display:none; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary::after { content:'⌄'; margin-left:auto; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options[open] > summary { border-bottom:1px solid #e2e5f3; padding-bottom:16px; margin-bottom:16px; }
 body.tgb-desktop-checkout .tgb-desktop-selected-payment { font-size:13px; color:#66718c; font-weight:500; }
 body.tgb-desktop-checkout .tgb-desktop-payment-options[open] .tgb-desktop-selected-payment { display:none; }
 body.tgb-desktop-checkout .woocommerce-billing-fields > h3 { display:flex; align-items:center; gap:12px; }
 body.tgb-desktop-checkout .woocommerce-billing-fields > h3 > svg,
 body.tgb-desktop-checkout .tgb-shipping-icon svg,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary > svg { width:26px; height:26px; flex-shrink:0; color:#34288e; }
 body.tgb-desktop-checkout #payment ul.payment_methods { padding:0 !important; }
}

/* Shared checkout selection states and shipping quote badge. */
body.woocommerce-checkout #tgbSpxPrice { background:#ff741f !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.woocommerce-checkout .tgb-pickup-card-map-wrap { border:0 !important; }
body.woocommerce-checkout .tgb-shipping-card-radio,
body.woocommerce-checkout .tgb-pay-radio,
body.woocommerce-checkout .tgb-disabled-radio { display:inline-block !important; width:20px !important; height:20px !important; min-width:20px; box-sizing:border-box; border:2px solid #7b8394; border-radius:50%; background:#fff; font-size:0 !important; line-height:0 !important; flex-shrink:0; }
body.woocommerce-checkout .tgb-shipping-card.active .tgb-shipping-card-radio,
body.woocommerce-checkout .tgb-pay-radio { border:6px solid #7c3aed; }
body.woocommerce-checkout .tgb-disabled-radio { border-color:#c4c8d2; }
body.woocommerce-checkout input[type=radio] { appearance:none; -webkit-appearance:none; width:20px; height:20px; border:2px solid #7b8394; border-radius:50%; background:#fff; vertical-align:middle; }
body.woocommerce-checkout input[type=radio]:checked { border:6px solid #7c3aed; }
body.woocommerce-checkout input[type=radio]:disabled { border-color:#c4c8d2; }
body.woocommerce-checkout input[type=radio]:focus-visible { outline:2px solid #a78bfa; outline-offset:3px; }
@media(min-width:1024px) {
 body.tgb-desktop-checkout #customer_details .woocommerce-billing-fields > h3 { border-bottom:0 !important; }
 body.tgb-desktop-checkout #tgbDesktopLeft #customer_details { border-top:0 !important; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info { grid-template-columns:minmax(0,1fr) 150px 125px !important; align-items:center; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy { grid-column:1; grid-row:1; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-quantity-controls { grid-column:2; grid-row:1; align-items:center; justify-content:center; flex-wrap:wrap; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-quantity-controls > label { display:none; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info > span { grid-column:3; grid-row:1; text-align:right; }
 body.tgb-desktop-checkout #tgbDesktopCartColumns { display:grid; grid-template-columns:minmax(0,1fr) 150px 125px; gap:16px; padding:0 0 12px 110px; font-size:12px; color:#68718c; }
 body.tgb-desktop-checkout #tgbDesktopCartColumns span:nth-child(2) { text-align:center; }
 body.tgb-desktop-checkout #tgbDesktopCartColumns span:last-child { text-align:right; }
}

/* Quote HTML contains nested amount spans with their own text colour. */
body.woocommerce-checkout #tgbSpxPrice,
body.woocommerce-checkout #tgbSpxPrice * { color:#fff !important; -webkit-text-fill-color:#fff !important; }
@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-quantity-controls > label { display:block !important; font-size:0 !important; margin:0 !important; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper { display:inline-flex; align-items:center; border:1px solid #cdd5e6; border-radius:10px; overflow:hidden; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper button { width:32px; height:36px; padding:0; border:0; background:#f7f8fc; color:#302780; font-size:18px; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper input { display:block !important; width:40px !important; height:36px !important; margin:0 !important; padding:0 !important; border:0 !important; text-align:center; font-size:15px !important; appearance:textfield; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper input::-webkit-inner-spin-button { -webkit-appearance:none; }
 body.tgb-desktop-checkout #payment ul.payment_methods { display:flex !important; flex-direction:column; gap:10px !important; }
 body.tgb-desktop-checkout #payment ul.payment_methods > li { margin:0 !important; padding:0 !important; }
 body.tgb-desktop-checkout #payment ul.payment_methods > li > label { margin:0 !important; }
}

@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy .tgb-checkout-remove-item { display:inline-block; font-size:12px !important; line-height:1.4; color:#8a6072 !important; background:transparent !important; border:0 !important; padding:0 !important; margin:2px 0 0 !important; text-decoration:underline; }
 body.tgb-desktop-checkout #tgbDesktopContinueShopping { display:inline-flex; margin-top:18px; font-size:14px; font-weight:650; color:#38278f; text-decoration:none; }
 body.tgb-desktop-checkout #tgbDesktopContinueShopping:hover { text-decoration:underline; }
}

/* Shipping cards use matching rows, with controls centred on both options. */
body.woocommerce-checkout .tgb-shipping-options-grid { display:grid !important; grid-auto-rows:1fr; }
body.woocommerce-checkout .tgb-shipping-options-grid .tgb-shipping-card { box-sizing:border-box; height:100%; min-height:86px; display:grid !important; grid-template-columns:20px minmax(0,1fr) auto; align-items:center !important; }
body.woocommerce-checkout .tgb-shipping-card-body { display:flex; flex-direction:column; justify-content:center; min-width:0; gap:3px; }
body.woocommerce-checkout .tgb-pickup-card-map-wrap { margin:0 !important; padding:0 !important; }
body.woocommerce-checkout .tgb-shipping-card-desc { margin:0 !important; }
body.woocommerce-checkout .tgb-shipping-card-radio,
body.woocommerce-checkout .tgb-shipping-card-badge { align-self:center; }
body.woocommerce-checkout #tgbSpxPrice { color:#fff !important; -webkit-text-fill-color:#fff !important; }

@media(min-width:1024px) {
 body.woocommerce-checkout.tgb-desktop-checkout #payment ul.payment_methods > li.wc_payment_method { box-sizing:border-box !important; min-height:64px !important; padding:14px 16px !important; display:flex !important; flex-direction:column; justify-content:center; }
 body.woocommerce-checkout.tgb-desktop-checkout #payment ul.payment_methods > li.wc_payment_method > label { display:flex !important; align-items:center !important; width:100%; min-height:24px; }
 body.woocommerce-checkout.tgb-desktop-checkout #payment .tgb-disabled-pay-label { gap:10px !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dl,
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dt,
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dd,
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dd p { text-align:left !important; margin-left:0 !important; padding-left:0 !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dl { width:100%; display:block !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dt,
 body.woocommerce-checkout.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy dd { float:none !important; display:block !important; width:auto !important; margin-bottom:4px !important; }
}
@media(min-width:1024px) {
 body.tgb-desktop-checkout #customer_details .woocommerce-billing-fields > h3,
 body.tgb-desktop-checkout #tgbSavedAddressCard { display:none !important; }
 body.tgb-desktop-checkout #tgbDesktopAddress { display:block !important; padding:20px; border:1px solid #dfe5f2; border-radius:18px; }
 #tgbDesktopAddress summary { display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; color:#302780; font-size:18px; font-weight:750; }
 #tgbDesktopAddress summary::-webkit-details-marker { display:none; }
 #tgbDesktopAddress summary svg { width:26px; height:26px; }
 #tgbDesktopAddress summary small { margin-left:auto; font-size:13px; color:#68718c; font-weight:500; }
 #tgbDesktopAddress summary::after { content:'⌄'; }
 #tgbDesktopAddress .tgb-address-choice { margin-top:18px; padding-top:16px; border-top:1px solid #e2e5f3; }
 #tgbDesktopAddress .tgb-address-choice p { margin:8px 0 14px; font-size:14px; line-height:1.6; }
 #tgbAddressModal[hidden] { display:none !important; }
 #tgbAddressModal:not([hidden]) { position:fixed; inset:0; z-index:2147483500; display:flex; align-items:center; justify-content:center; padding:32px; background:#0a062a80; backdrop-filter:blur(4px); }
 #tgbAddressModal > section { width:min(720px,90vw); max-height:90vh; overflow:auto; background:#fff; border-radius:22px; padding:26px; box-shadow:0 20px 80px #0003; }
 #tgbAddressModal header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
 #tgbAddressModal h2 { font-size:24px; margin:0; color:#241a68; }
 #tgbAddressModal header button { background:transparent; border:0; color:#68718c; font-size:28px; }
 #tgbAddressModal .woocommerce-billing-fields__field-wrapper { display:grid !important; grid-template-columns:1fr 1fr; gap:14px; }
 #tgbAddressModal .form-row { width:auto !important; float:none !important; margin:0 !important; padding:12px !important; border:1px solid #dfe3ec; border-radius:12px; background:#fff; }
 #tgbAddressModal .form-row-wide, #tgbAddressModal .tgb-address-auto-hint { grid-column:1 / -1; }
 #tgbAddressModal .form-row label { font-size:12px; color:#68718c; margin-bottom:4px; }
 #tgbAddressModal .form-row input, #tgbAddressModal .form-row select { border:0 !important; background:transparent !important; box-shadow:none !important; padding:4px 0 !important; width:100%; }
 #tgbAddressModal footer { display:flex; gap:14px; margin-top:22px; }
 #tgbAddressModal footer button { flex:1; border-radius:12px; padding:12px; }
 #tgbAddressModal #tgbDesktopAddressDone { background:linear-gradient(100deg,#332982,#d238c9); color:#fff; border:0; }
 body.tgb-address-modal-open { overflow:hidden; }
 body.tgb-address-modal-open .select2-container--open { z-index:2147483600 !important; }
}

@media(min-width:1024px) {
 body.tgb-desktop-checkout .tgb-no-address-notice { display:none !important; }
 body.tgb-desktop-checkout #tgbAddressModal > section { display:flex; flex-direction:column; max-height:88vh; overflow:hidden; padding:24px; }
 body.tgb-desktop-checkout #tgbAddressModal .tgb-address-modal-fields { overflow:auto; min-height:0; padding:0 4px 4px; }
 body.tgb-desktop-checkout #tgbAddressModal header,
 body.tgb-desktop-checkout #tgbAddressModal footer { flex-shrink:0; }
 body.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper::before,
 body.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper::after { display:none !important; content:none !important; }
 body.tgb-desktop-checkout #tgbAddressModal .form-row { grid-column:auto; clear:none !important; min-height:0 !important; height:auto !important; padding:8px 12px !important; }
 body.tgb-desktop-checkout #tgbAddressModal #billing_first_name_field { grid-column:1; grid-row:1; }
 body.tgb-desktop-checkout #tgbAddressModal #billing_last_name_field { grid-column:2; grid-row:1; }
 body.tgb-desktop-checkout #tgbAddressModal .form-row-wide { grid-column:1 / -1; }
 body.tgb-desktop-checkout #tgbAddressModal .form-row label { display:block; line-height:1.4 !important; margin:0 0 4px !important; }
 body.tgb-desktop-checkout #tgbAddressModal .form-row input { height:32px !important; min-height:0 !important; line-height:24px !important; font-size:15px !important; }
 body.tgb-desktop-checkout #tgbAddressModal .woocommerce-input-wrapper { display:block; }
 body.tgb-desktop-checkout #tgbAddressModal .tgb-address-auto-hint { display:none !important; }
 body.tgb-desktop-checkout .tgb-address-add { margin-left:10px; }
 body.tgb-desktop-checkout .tgb-address-alternatives { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
 body.tgb-desktop-checkout .tgb-address-previous { text-align:left; font-size:13px; }
}
@media(min-width:1024px) {
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper { gap:14px !important; row-gap:14px !important; column-gap:14px !important; grid-auto-rows:min-content; align-content:start !important; height:auto !important; min-height:0 !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper > .clear { display:none !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .form-row { margin:0 !important; align-self:start !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #tgbDesktopAddressDone { color:#fff !important; -webkit-text-fill-color:#fff !important; }
 #tgbAddressSaveError { color:#b42338; font-size:13px; margin:10px 0 0; }
 #tgbAddressSaveError:empty { display:none; }
}

/* Explicit modal tracks avoid legacy WooCommerce row sizes and gaps. */
@media(min-width:1024px) {
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper { grid-template-rows:none !important; grid-auto-rows:auto !important; gap:14px !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .woocommerce-billing-fields__field-wrapper > .form-row { box-sizing:border-box !important; height:72px !important; min-height:72px !important; max-height:72px !important; padding:8px 12px !important; display:flex !important; flex-direction:column !important; justify-content:center !important; grid-row:auto !important; order:20; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_first_name_field { order:1; grid-column:1; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_last_name_field { order:2; grid-column:2; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_address_1_field { order:3; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_address_2_field { order:4; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_city_field { order:5; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_state_field { order:6; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_country_field { order:7; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_postcode_field { order:8; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_phone_field { order:9; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal #billing_email_field { order:10; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .form-row label { height:18px !important; min-height:18px !important; font-size:12px !important; line-height:18px !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-choice { display:flex; flex-direction:column; gap:12px; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-choice p { margin:0 !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:4px; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-actions button { margin:0 !important; padding:9px 14px !important; font-size:13px !important; border-radius:10px; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-alternatives { margin:0 !important; gap:8px; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-previous { width:100%; margin:0; padding:12px 14px; border:1px solid #e0ddee; border-radius:10px; background:#faf9fd; line-height:1.5; }
}

@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbDesktopAddress summary { min-width:0; }
 body.tgb-desktop-checkout #tgbDesktopAddress summary small { display:flex; flex-direction:column; gap:4px; min-width:0; max-width:60%; text-align:right; }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-name { color:#292444; font-weight:650; }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-location { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#68718c; font-size:12px; line-height:1.5; font-weight:400; }
}
/* Desktop payment overview: contained white surface and balanced columns. */
@media(min-width:992px) {
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh { width:calc(100% - 48px) !important; max-width:1080px !important; margin:30px auto 48px !important; padding:30px !important; box-sizing:border-box; background:#fff !important; border:1px solid #e2e5f3 !important; border-radius:24px !important; box-shadow:0 14px 50px #0002; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-top-row { display:block !important; margin:0 0 24px !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-header { margin:0 0 16px !important; padding:0 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-title { color:#241c63 !important; -webkit-text-fill-color:#241c63 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-back-link { color:#6540c4 !important; -webkit-text-fill-color:#6540c4 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-order-card { display:flex !important; align-items:center; justify-content:space-between; padding:14px 16px !important; background:#f7f6fc !important; border-radius:14px !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-order-no { color:#241c63 !important; -webkit-text-fill-color:#241c63 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-countdown-digits { position:static !important; margin-top:4px; font-size:14px !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYou2ColLayout { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:24px !important; align-items:start; width:100% !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColLeft,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight { display:block !important; width:100% !important; min-width:0; float:none !important; position:static !important; margin:0 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbPisStep1 { position:relative; background:#faf9ff !important; border:1px solid #e1dcef !important; border-radius:18px !important; padding:24px !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbPisStep2 { display:none !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pay-help { right:16px; top:16px; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-amount-value { font-size:38px !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pay-qr img { width:240px !important; max-width:100% !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-save-qr-btn,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-copy-amount-btn { color:#49328a !important; -webkit-text-fill-color:#49328a !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pay-recipient strong,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pay-account summary { color:#241c63 !important; -webkit-text-fill-color:#241c63 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight > section { margin:0 0 18px !important; padding:20px !important; background:#fff !important; border:1px solid #e2e5f3 !important; border-radius:18px !important; color:#34344f !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight h2 { font-size:20px !important; color:#241c63 !important; -webkit-text-fill-color:#241c63 !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight table { font-size:14px !important; width:100% !important; }
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-security-note { margin-top:20px; color:#73718b; font-size:12px; }
}
@media(min-width:1024px) {
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .select2-container { width:100% !important; height:32px !important; margin:0 !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .select2-container .select2-selection--single { height:32px !important; min-height:32px !important; padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .select2-selection__rendered { line-height:32px !important; padding:0 24px 0 0 !important; font-size:15px !important; }
 body.woocommerce-checkout.tgb-desktop-checkout #tgbAddressModal .select2-selection__arrow { top:0 !important; height:32px !important; }
}

/* Keep tracker dots clear of the header divider; scoped away from Shop cards. */
#tgb-trackers-list .tracker-timeline-col { padding-top:16px !important; padding-bottom:8px !important; }
#tgb-trackers-list .preorder-timeline.compact-bar { margin:0 !important; }

/* Tracker header flows into the timeline without a divider. */
#tgb-trackers-list .tracker-collapsible-body,
#tgb-trackers-list .tracker-container.expanded .tracker-collapsible-body { border-top:0 !important; }
@media(max-width:767px) {
 #tgb-trackers-list .tracker-container.expanded { gap:0 !important; }
 #tgb-trackers-list .tracker-container.expanded .tracker-collapsible-body { margin-top:12px !important; padding-top:0 !important; }
 #tgb-trackers-list .tracker-timeline-col { padding-top:8px !important; padding-bottom:4px !important; }
}

/* Keep the inbox composer above the 64px dock and its safe-area offset. */
@media(max-width:767px) {
 body:has(.tgb-inbox-app) .tgb-inbox-wrapper {
  height:calc(100dvh - 58px - 88px - env(safe-area-inset-bottom))!important;
  max-height:calc(100dvh - 58px - 88px - env(safe-area-inset-bottom))!important;
  margin-bottom:calc(88px + env(safe-area-inset-bottom))!important;
 }
 body:has(.tgb-inbox-app) .tgb-inbox-app { min-height:0!important; }
}

@media(min-width:1024px) {
 #tgbDesktopAddress .tgb-address-choice > strong,
 #tgbDesktopAddress .tgb-address-choice > p { display:none!important; }
 #tgbDesktopAddress .tgb-address-alternatives { display:grid!important; gap:12px!important; margin:18px 0!important; }
 #tgbDesktopAddress .tgb-address-radio-card { display:flex!important; gap:16px!important; align-items:center!important; padding:18px!important; border:1px solid #cbd5e1!important; border-radius:16px!important; background:#f8f9fb!important; cursor:pointer; }
 #tgbDesktopAddress .tgb-address-radio-card.is-selected { border:2px solid #8d50ff!important; background:#faf6ff!important; }
 #tgbDesktopAddress .tgb-address-radio-card input { appearance:none!important; flex:0 0 22px!important; width:22px!important; height:22px!important; border:2px solid #85899b!important; border-radius:50%!important; background:#fff!important; padding:0!important; margin:0!important; }
 #tgbDesktopAddress .tgb-address-radio-card input:checked { border:7px solid #8035ef!important; }
 #tgbDesktopAddress .tgb-address-radio-card input:focus-visible { outline:2px solid #8035ef; outline-offset:4px; }
 #tgbDesktopAddress .tgb-address-radio-copy { display:grid; gap:6px; min-width:0; }
 #tgbDesktopAddress .tgb-address-radio-copy strong { font-size:17px!important; }
 #tgbDesktopAddress .tgb-address-radio-copy span { line-height:1.6; overflow-wrap:anywhere; }
 #tgbDesktopAddress .tgb-address-radio-copy small { font-size:14px!important; color:#555e78!important; }
 .tgb-desktop-delivery-options > summary { display:flex; gap:12px; align-items:center; cursor:pointer; list-style:none; font-weight:700; }
 .tgb-desktop-delivery-options > summary::-webkit-details-marker { display:none; }
 .tgb-desktop-delivery-options > summary::after { content:'⌄'; margin-left:auto; }
 .tgb-desktop-delivery-options[open] > summary::after { content:'⌃'; }
 .tgb-desktop-delivery-options > summary .tgb-delivery-selected { font-size:14px; font-weight:400; margin-left:auto; }
 .tgb-desktop-delivery-options .tgb-shipping-options-grid { margin-top:18px!important; }
 .tgb-desktop-delivery-options .tgb-shipping-icon svg { width:26px; height:26px; }
}

/* Reserve a separate icon gutter, including wrapped validation messages. */
body .woocommerce-error {
 position:relative!important;
 padding:16px 20px 16px 54px!important;
 box-sizing:border-box!important;
 line-height:1.6!important;
}
body .woocommerce-error::before {
 position:absolute!important;
 top:16px!important;
 left:18px!important;
 right:auto!important;
 width:22px!important;
 margin:0!important;
 line-height:1.6!important;
 text-align:center!important;
 transform:none!important;
}
body .woocommerce-error li {
 margin:0!important;
 padding:0!important;
 list-style:none!important;
 overflow-wrap:anywhere;
}
body .woocommerce-error li + li { margin-top:6px!important; }

/* One desktop accordion appearance and a stateful chevron. */
@media(min-width:1024px) {
 body.tgb-desktop-checkout .tgb-step1-shipping-wrapper {
  background:#fff!important; border:1px solid #dce2f2!important;
  box-shadow:none!important; border-radius:20px!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress summary::after,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary::after,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary::after {
  content:''!important; display:block!important; flex:0 0 8px!important;
  width:8px!important; height:8px!important; border:solid currentColor!important;
  border-width:0 2px 2px 0!important; transform:rotate(45deg)!important;
  margin:0 4px 4px 16px!important; position:static!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress[open] summary::after,
 body.tgb-desktop-checkout .tgb-desktop-payment-options[open] > summary::after,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options[open] > summary::after {
  transform:rotate(225deg)!important; margin-bottom:-4px!important;
 }
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary .tgb-delivery-selected {
  margin-left:auto!important; text-align:right!important; flex:1!important;
  color:#65708c!important; font-size:14px!important;
 }
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary .tgb-desktop-selected-payment { margin-left:auto!important; text-align:right!important; }
}

/* Match all three desktop section headers to the same geometry. */
@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbDesktopAddress,
 body.tgb-desktop-checkout .tgb-step1-shipping-wrapper,
 body.tgb-desktop-checkout .tgb-desktop-payment-options {
  padding:22px!important; margin:20px 0 0!important;
  border:1px solid #dce2f2!important; border-radius:20px!important;
  background:#fff!important; box-shadow:none!important; box-sizing:border-box!important;
 }
 body.tgb-desktop-checkout #tgbDesktopLeft #payment { margin-top:0!important; }
 body.tgb-desktop-checkout #tgbDesktopAddress > summary,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary {
  display:grid!important; grid-template-columns:26px max-content minmax(0,1fr) 8px!important;
  align-items:center!important; gap:14px!important; min-height:44px!important;
  padding:0!important; margin:0!important; border:0!important;
  font-size:18px!important; font-weight:700!important; line-height:1.4!important;
  color:#4b586e!important; -webkit-text-fill-color:#4b586e!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress > summary > svg,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary .tgb-shipping-icon svg,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary > svg {
  display:block!important; width:26px!important; height:26px!important;
  color:#36258e!important; -webkit-text-fill-color:#36258e!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress > summary > small,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary .tgb-delivery-selected,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary .tgb-desktop-selected-payment {
  display:block!important; min-width:0!important; margin:0!important; text-align:right!important;
  font-size:14px!important; font-weight:500!important; line-height:1.5!important;
  color:#65708c!important; -webkit-text-fill-color:#65708c!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-name { font-size:14px!important; font-weight:500!important; }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-location { font-size:13px!important; margin-top:3px!important; }
 body.tgb-desktop-checkout #tgbDesktopAddress > summary::after,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options > summary::after,
 body.tgb-desktop-checkout .tgb-desktop-payment-options > summary::after { margin:0 0 4px!important; color:#36258e!important; }
 body.tgb-desktop-checkout #tgbDesktopAddress[open] > summary,
 body.tgb-desktop-checkout .tgb-desktop-delivery-options[open] > summary,
 body.tgb-desktop-checkout .tgb-desktop-payment-options[open] > summary {
  padding-bottom:18px!important; margin-bottom:18px!important; border-bottom:1px solid #e2e5f3!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-choice { padding-top:0!important; border-top:0!important; }
 body.tgb-desktop-checkout .tgb-desktop-delivery-options .tgb-shipping-options-grid { margin-top:0!important; }
}

@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbDesktopAddress > summary > small {
  justify-self:stretch!important; width:100%!important; max-width:none!important;
  text-align:right!important;
 }
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-name,
 body.tgb-desktop-checkout #tgbDesktopAddress .tgb-address-brief-location {
  display:block!important; width:100%!important; text-align:right!important;
 }
}

#tgbSlipBankBack {
 display:flex!important; align-items:center; width:fit-content; gap:8px;
 margin:0 auto 20px!important; padding:10px 16px!important;
 background:#f3eeff!important; border:1px solid #cec2ef!important; border-radius:12px!important;
 color:#36258e!important; -webkit-text-fill-color:#36258e!important;
 font-size:15px!important; font-weight:600!important; text-decoration:none!important; cursor:pointer;
}
#tgbSlipBankBack:focus-visible { outline:2px solid #8d50ff; outline-offset:3px; }

/* Six Shop filters: keep the existing responsive layout on smaller screens. */
@media (min-width: 992px) {
    #tgbShopSearchFilterWrap .tgb-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    #tgbShopSearchFilterWrap .tgb-filter-col:last-child { grid-column: auto !important; }
}

/* Touch browsers retain hover: keep QR button text visible on its white surface. */
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn,
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn:hover,
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn span,
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn:hover span {
    background: #fff !important; color: #2b2d7d !important;
    -webkit-text-fill-color: #2b2d7d !important;
}
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn svg,
body #tgbPaymentInstructionsScreen .tgb-pis-save-qr-btn:hover svg {
    color: #2b2d7d !important; stroke: #2b2d7d !important;
}

#tgbCompactRow-address .tgb-pickup-contact-phone {
    display: block; margin-top: 4px; white-space: nowrap;
    font: inherit; line-height: 1.4;
}

@media(max-width:768px) {
    #tgbCompact-address #tgbSavedAddressCard,
    #tgbCompact-address #tgbToggleAddressBtn,
    #tgbCompact-address #tgbSaveAddressWrap {display:none!important;}
    #tgbCompact-address:not(.tgb-mobile-address-editing) .woocommerce-billing-fields__field-wrapper {display:none!important;}
    #tgbCompact-address.tgb-mobile-address-editing .woocommerce-billing-fields__field-wrapper {display:block!important;}
    #tgbCompact-address.tgb-mobile-address-editing .tgb-mobile-address-manager {display:none!important;}
    .tgb-mobile-address-card {display:flex;gap:14px;align-items:center;border:1px solid #dce0ed;border-radius:16px;padding:16px;margin-bottom:12px;}
    .tgb-mobile-address-card.is-selected {border:2px solid #8c52ff;background:#faf7ff;}
    .tgb-mobile-address-card input {flex:0 0 20px;accent-color:#8c52ff;}
    .tgb-mobile-address-card > span {display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;line-height:1.5;}
    .tgb-mobile-address-card strong {font-size:16px;}
    .tgb-mobile-address-edit,.tgb-mobile-address-add {margin:6px 8px 12px 0;padding:12px 16px;border-radius:12px;background:#f2ecff;color:#342778;}
}

/* Shared preorder controls and saved shipment batches. */
.tgb-preorder-plan-control {display:block;color:#475569;font-size:14px;line-height:1.5;margin:12px 0;}
.tgb-preorder-plan-control select {display:block;width:100%;max-width:420px;border:1px solid #c4b5fd;border-radius:10px;padding:10px;background:#faf7ff;color:#2b2d7d;font:inherit;}
.tgb-preorder-plan-status {display:block;margin-top:6px;}
.tgb-preorder-batches {background:#fff;color:#2b2d7d;border:1px solid #c4b5fd;border-radius:16px;padding:20px;margin:20px 0;line-height:1.6;}
.tgb-preorder-batches .button {display:inline-block;margin:6px 6px 6px 0;white-space:normal;}

/* Compact checkout item copy: one plan control and no repeated metadata headings. */
#tgbCheckoutCart .tgb-cart-details { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; font-size:14px; line-height:1.5; }
#tgbCheckoutCart .tgb-cart-condition { border:1px solid #cbd5e1; border-radius:12px; padding:3px 9px; font-size:12px; }
#tgbCheckoutCart .tgb-cart-extra { flex-basis:100%; }
#tgbCheckoutCart .tgb-cart-arrival { display:flex; flex-wrap:wrap; gap:10px; align-items:center; width:100%; color:#64748b; }
#tgbCheckoutCart .tgb-cart-preorder { background:#eee6ff; color:#5933b7; padding:3px 10px; border-radius:12px; font-size:12px; }
#tgbCheckoutCart .tgb-cart-payment { width:100%; color:#64748b; font-size:13px; line-height:1.5; }
#tgbCheckoutCart .tgb-cart-payment p { margin:4px 0 !important; font-size:13px !important; line-height:1.5 !important; }
#tgbCheckoutCart .tgb-preorder-plan-control { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; font-size:13px; }
#tgbCheckoutCart .tgb-preorder-plan-control select { width:auto; max-width:100%; padding:8px 12px; font-size:14px; }
#tgbCheckoutCart .tgb-preorder-plan-status:empty { display:none; }

@media(min-width:1024px) {
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info { grid-template-columns:minmax(0,1fr) 120px 110px 28px !important; gap:12px; }
 body.tgb-desktop-checkout #tgbDesktopCartColumns { grid-template-columns:minmax(0,1fr) 120px 150px; }
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info > .tgb-checkout-remove-item { grid-column:4; grid-row:1; padding:4px !important; border:0 !important; background:transparent !important; color:#68718c !important; }
}

#tgbPreorderBatches .tgb-preorder-batch-guidance { margin:14px 0 18px; padding-left:24px; list-style:disc; }
#tgbPreorderBatches .tgb-preorder-batch-guidance li { margin:6px 0; line-height:1.6; }

/* Shared desktop cart/checkout frame and compact warning spacing. */
@media(min-width:1024px) {
 body.woocommerce-cart .woocommerce,
 body.woocommerce-checkout.tgb-onepage-checkout .woocommerce { max-width:1240px !important; width:100% !important; padding:30px 16px 80px !important; box-sizing:border-box !important; }
 body.woocommerce-cart .woocommerce { column-gap:24px !important; row-gap:20px !important; }
 body.woocommerce-cart #tgbPreorderBatches,
 body.woocommerce-checkout #tgbPreorderBatches { width:100% !important; max-width:none !important; box-sizing:border-box !important; margin:0 0 20px !important; }
 body.woocommerce-cart #tgbPreorderBatches { flex:0 0 100% !important; margin-bottom:0 !important; }
 body.woocommerce-cart #tgbPreorderBatches:empty,
 body.woocommerce-checkout #tgbPreorderBatches:empty,
 body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper:empty { display:none !important; }
 body.woocommerce-cart .woocommerce > .tgb-cart-header-row { flex:0 0 100% !important; margin:0 !important; padding:0 !important; }
 body.woocommerce-checkout .tgb-checkout-header-row { margin:0 0 20px !important; padding:0 !important; }
 body.woocommerce-cart .woocommerce-cart-form { flex:1.8 1 0 !important; padding:24px !important; border-radius:20px !important; }
 body.woocommerce-cart .cart-collaterals { flex:1 1 0 !important; width:auto !important; min-width:340px !important; margin:0 !important; }
 body.woocommerce-cart .tgb-cart-header-row h1 { margin:0 !important; }
}

/* Compact account choice shared by cart and checkout. */
.tgb-account-choice{box-sizing:border-box;width:100%;flex:0 0 100%;background:#f8f7fc;border:1px solid #ded9f1;border-radius:16px;padding:14px 18px;margin:0 0 20px;color:#2b2d7d;font-size:14px;line-height:1.5}
.tgb-account-choice[hidden]{display:none!important}
.tgb-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.woocommerce .tgb-account-actions a,.woocommerce .tgb-account-actions button{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;min-height:38px;border-radius:22px;border:0;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;width:auto;box-shadow:none}
.woocommerce .tgb-account-actions .tgb-account-signin{background:linear-gradient(100deg,#2b2d7d,#b63dc4);color:white;-webkit-text-fill-color:white}
.woocommerce .tgb-account-actions .tgb-account-line{background:#50c45d;color:white;-webkit-text-fill-color:white}
.woocommerce .tgb-account-actions .tgb-account-guest{background:transparent;color:#2b2d7d;-webkit-text-fill-color:#2b2d7d;border:0;border-radius:0;padding:6px 0;min-height:0;font-weight:500;gap:6px}

/* Mobile product cards keep the preorder chip short; ETA stays on product details. */
@media (max-width: 767px) {
  .tgb-product-type-chip.is-preorder .tgb-product-type-eta { display: none; }
  .tgb-product-type-chip.is-preorder { max-width: 100%; box-sizing: border-box; }
}

.tgb-pdp-arrival-estimate{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0 0 18px;color:#64748b;font-size:15px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.tgb-pdp-arrival-estimate strong{color:#5930c8}

/* Mobile cart: match the checkout item hierarchy and restore Woo's hidden thumbnail. */
@media (max-width:767px){
 body.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item{display:grid!important;grid-template-columns:72px minmax(0,1fr) 28px;gap:10px 12px!important;align-items:start!important;padding:18px 0!important;width:100%!important}
 body.woocommerce-cart table.shop_table.cart tr.cart_item>td{width:auto!important;min-width:0!important;margin:0!important;float:none!important;text-align:left!important}
 body.woocommerce-cart table.shop_table.cart td.product-thumbnail{display:block!important;grid-column:1;grid-row:1;align-self:start}
 body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{display:block!important;width:72px!important;height:72px!important;object-fit:contain!important;border-radius:12px!important}
 body.woocommerce-cart table.shop_table.cart td.product-name{display:flex!important;flex-direction:column;grid-column:2;grid-row:1;overflow-wrap:anywhere}
 body.woocommerce-cart table.shop_table.cart td.product-name>a{order:0;font-size:15px!important}
 body.woocommerce-cart table.shop_table.cart td.product-name .variation{order:1;margin:5px 0!important;font-size:13px!important;line-height:1.5!important}
 body.woocommerce-cart table.shop_table.cart td.product-name .tgb-cart-payment{order:3;margin-top:8px;color:#64748b!important;-webkit-text-fill-color:#64748b!important;font-size:13px!important}
 body.woocommerce-cart .tgb-cart-payment p,body.woocommerce-cart .tgb-cart-payment p *{color:#64748b!important;-webkit-text-fill-color:#64748b!important;font-size:13px!important;line-height:1.5!important;margin:4px 0!important}
 body.woocommerce-cart .tgb-preorder-plan-control{display:flex;flex-wrap:wrap;gap:5px;color:#475569!important;-webkit-text-fill-color:#475569!important;font-size:13px!important}
 body.woocommerce-cart .tgb-preorder-plan{width:100%!important;max-width:100%!important;min-width:0!important;font-size:14px!important;padding:8px!important;color:#1e293b!important;-webkit-text-fill-color:#1e293b!important}
 body.woocommerce-cart table.shop_table.cart td.product-remove{display:block!important;grid-column:3;grid-row:1;align-self:start}
 body.woocommerce-cart table.shop_table.cart td.product-quantity{display:block!important;grid-column:2;grid-row:2;justify-self:start}
 body.woocommerce-cart table.shop_table.cart td.product-subtotal{display:block!important;grid-column:2/4;grid-row:3;justify-self:end;color:#2b2d7d!important;-webkit-text-fill-color:#2b2d7d!important}
 body.woocommerce-cart table.shop_table.cart td.product-price{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form{margin-top:16px!important}
}

/* Notes are independent of saved-address editing; condition badges never wrap. */
body.tgb-compact-checkout #tgbCompact-notes .woocommerce-additional-fields{display:block!important}
body.tgb-compact-checkout #tgbCompact-notes textarea{display:block!important;width:100%!important;min-height:110px;color:#1e293b!important;-webkit-text-fill-color:#1e293b!important;background:#f8fafc!important;font-size:16px!important}
#tgbCheckoutCart .tgb-cart-condition{display:inline-flex;white-space:nowrap!important;flex-shrink:0;align-items:center;max-width:none;line-height:1.4}
#tgbCheckoutCart .tgb-cart-condition *{white-space:nowrap!important}

/* Home: separate Pre-order and New product carousels below the banner. */
.tgb-home-rails { width:100%; min-width:0; margin:32px auto 48px; }
.tgb-home-rail { margin:0 0 40px; min-width:0; }
.tgb-home-rail-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.tgb-home-rail-heading h2 { margin:0 0 6px; font-size:clamp(24px,3vw,32px); font-weight:700; }
.tgb-home-rail-heading p { margin:0; opacity:.75; font-size:14px; }
.tgb-home-rail-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.tgb-home-rail-actions a { margin-right:8px; font-weight:600; }
.tgb-home-rail-actions button { display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid #d8dce5; border-radius:50%; background:#fff; color:#2b2d7d; font-size:28px; cursor:pointer; }
.tgb-home-rail-actions button:disabled { opacity:.35; cursor:default; }
.tgb-home-rail-actions button:focus-visible,.tgb-home-rail-track:focus-visible { outline:3px solid #00c7cc; outline-offset:3px; }
.tgb-home-rails ul.products.tgb-home-rail-track { display:flex!important; flex-wrap:nowrap!important; gap:20px!important; overflow-x:auto; scroll-snap-type:x mandatory; padding:4px 3px 20px!important; margin:0!important; width:100%; scrollbar-width:thin; }
.tgb-home-rails ul.products.tgb-home-rail-track::before,.tgb-home-rails ul.products.tgb-home-rail-track::after { display:none!important; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product { float:none!important; clear:none!important; flex:0 0 calc((100% - 60px)/4)!important; width:calc((100% - 60px)/4)!important; margin:0!important; scroll-snap-align:start; }
.tgb-home-rail-empty { padding:24px; border:1px dashed #d8dce5; border-radius:12px; }
@media(max-width:1024px) { .tgb-home-rails ul.products.tgb-home-rail-track li.product { flex-basis:calc((100% - 40px)/3)!important; width:calc((100% - 40px)/3)!important; } }
@media(max-width:767px) { .tgb-home-rail-heading { align-items:flex-start; flex-wrap:wrap; gap:12px; } .tgb-home-rail-actions { margin-left:auto; } .tgb-home-rails ul.products.tgb-home-rail-track { gap:14px!important; } .tgb-home-rails ul.products.tgb-home-rail-track li.product { flex-basis:72%!important; width:72%!important; } }

/* Both filter drawers expose Apply and Reset on mobile and desktop. */
#tgb-market-collapsible-filters .tgb-filter-bottom-actions,
#tgbShopCollapsibleFilters .tgb-filter-bottom-actions{display:flex!important;gap:10px}
#tgb-market-collapsible-filters #tgb-filter-reset-btn,
#tgbShopCollapsibleFilters .tgb-btn-reset-filters{display:inline-flex!important;align-items:center;justify-content:center}

/* Consistent Home card slots and controls (override legacy 100% card height). */
.tgb-home-rails ul.products.tgb-home-rail-track { align-items:stretch!important; box-sizing:border-box; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product { height:auto!important; min-width:0; padding:16px!important; display:flex!important; flex-direction:column!important; justify-content:flex-start!important; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product a.woocommerce-LoopProduct-link { flex:1 1 auto!important; min-width:0; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title { height:48px!important; min-height:48px!important; max-height:48px!important; line-height:24px!important; padding:0!important; margin:8px 0!important; flex-shrink:0; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-product-type-chip { height:24px!important; min-height:24px!important; max-height:24px!important; flex-shrink:0; max-width:100%; margin:0 0 8px!important; }
.tgb-home-rails .tgb-product-type-chip .tgb-chip-label { flex-shrink:0; }
.tgb-home-rails .tgb-product-type-chip .tgb-product-type-eta { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product .price { height:56px!important; min-height:56px!important; max-height:none!important; flex:0 0 56px!important; display:flex!important; flex-direction:column!important; align-items:flex-start!important; justify-content:flex-start!important; gap:4px!important; margin:0 0 12px!important; line-height:1.2!important; white-space:normal!important; }
.tgb-home-rails ul.products.tgb-home-rail-track li.product > .button { margin-top:auto!important; width:100%!important; box-sizing:border-box; }
.tgb-home-rail-actions a,.tgb-home-rail-actions a:visited { color:#00C7CC!important; -webkit-text-fill-color:#00C7CC!important; }
.tgb-home-rail-actions a:hover { color:#5ee9ed!important; -webkit-text-fill-color:#5ee9ed!important; }
.tgb-home-rail-actions button { background:transparent!important; border:1px solid rgba(255,255,255,.28)!important; color:#fff!important; -webkit-text-fill-color:#fff!important; box-shadow:none!important; }
.tgb-home-rail-actions button svg { stroke:currentColor; }
.tgb-home-rail-actions button:not(:disabled):hover { background:rgba(255,255,255,.1)!important; border-color:rgba(255,255,255,.6)!important; }
.tgb-home-rail-actions button[hidden] { display:none!important; }
.tgb-home-rail-actions button:disabled { opacity:.3!important; pointer-events:none; }

/* Compact mobile Home rails: larger cards with two full cards and a partial third. */
@media (max-width:767px) {
 .tgb-home-rails { margin:20px auto 32px; }
 .tgb-home-rail { background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:12px; margin-bottom:16px; overflow:hidden; }
 .tgb-home-rail-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:start; margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.1); }
 .tgb-home-rail-heading h2 { font-size:18px!important; line-height:24px!important; margin:0!important; }
 .tgb-home-rail-heading p { font-size:11px; line-height:16px; margin-top:4px; }
 .tgb-home-rail-actions { gap:0; margin:0; padding-top:3px; }
 .tgb-home-rail-actions a { font-size:12px; line-height:20px; white-space:nowrap; margin:0; }
 /* Touch scrolling keeps the heading compact on mobile. */
 .tgb-home-rail-actions button { display:none!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track { gap:8px!important; padding:0 0 6px!important; scrollbar-width:none; }
 .tgb-home-rails ul.products.tgb-home-rail-track::-webkit-scrollbar { display:none; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product { flex:0 0 calc((100% - 16px)/2.3)!important; width:calc((100% - 16px)/2.3)!important; padding:6px!important; border-radius:10px!important; box-shadow:none!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product:hover { transform:none!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product img { border-radius:6px!important; margin-bottom:4px!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-shop-flash-photo { margin-bottom:4px!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title { display:block!important; height:18px!important; min-height:18px!important; max-height:18px!important; font-size:11px!important; line-height:18px!important; font-weight:700!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; margin:3px 0 5px!important; -webkit-line-clamp:unset!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-product-type-chip { height:18px!important; min-height:18px!important; max-height:18px!important; font-size:8px!important; line-height:12px!important; padding:1px 4px!important; margin-bottom:5px!important; border-radius:4px!important; letter-spacing:0!important; }
 .tgb-home-rails .tgb-product-type-eta { display:none!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .price { height:38px!important; min-height:38px!important; flex-basis:38px!important; font-size:13px!important; line-height:17px!important; gap:2px!important; margin-bottom:6px!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .price del { font-size:9px!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-discount-row { font-size:9px!important; line-height:13px!important; gap:4px!important; flex-wrap:nowrap!important; white-space:nowrap!important; }
 .tgb-home-rails ul.products.tgb-home-rail-track li.product > .button { display:flex!important; align-items:center; justify-content:center; height:30px!important; min-height:30px!important; padding:3px!important; font-size:10px!important; line-height:12px!important; letter-spacing:0!important; text-transform:none!important; white-space:nowrap!important; overflow:hidden; box-shadow:none!important; }
 .tgb-home-rails .tgb-shop-flash-pill { font-size:8px!important; padding:2px 4px!important; max-width:100%; }
}

/* Tablet PDP: give purchase information a full row instead of a squeezed column. */
@media(min-width:768px) and (max-width:1199px){
 .tgb-pdp-outer-wrapper{width:100%!important;max-width:100%!important;padding:20px 20px 48px!important;box-sizing:border-box!important}
 .tgb-pdp-container{width:100%!important;max-width:100%!important;padding:26px 24px 32px!important;box-sizing:border-box!important}
 .tgb-pdp-main-grid{display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;min-width:0!important}
 .tgb-pdp-left-col{display:contents!important}
 .tgb-pdp-gallery-card{order:1!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .tgb-pdp-right-col{order:2!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 .tgb-pdp-tabs-container{order:3!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .tgb-pdp-main-img-box{height:400px!important;max-width:100%!important}
 .tgb-pdp-right-col>div,.tgb-pdp-right-col select{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .tgb-pdp-title,.tgb-active-sku-name,.tgb-sku-chip-name{overflow-wrap:anywhere!important}
 .tgb-pdp-badge-strip,.tgb-sku-chips-row{flex-wrap:wrap!important}
 .tgb-sku-hdr{flex-wrap:wrap!important;gap:8px!important}
 .tgb-sku-chip-btn{min-width:0!important;max-width:100%!important}
}

/* Image-only banners preserve the artwork and its embedded text. */
.hero-slider .tgb-image-slide { padding:0!important; background:none!important; }
.hero-slider .tgb-image-slide picture,.hero-slider .tgb-banner-image-link { display:block; width:100%; height:100%; }
.hero-slider .tgb-image-slide img { display:block; width:100%; height:100%; object-fit:contain; }
.hero-slider .tgb-banner-image-link:focus-visible { outline:3px solid #00c7cc; outline-offset:-3px; }
.hero-slider.tgb-image-only-slider { height:auto!important; min-height:0!important; }
.hero-slider.tgb-image-only-slider .slider-wrapper { display:grid!important; height:auto!important; min-height:0!important; }
.hero-slider.tgb-image-only-slider .hero-slide { grid-area:1 / 1; position:relative!important; inset:auto!important; height:auto!important; min-height:0!important; padding:0!important; pointer-events:none; }
.hero-slider.tgb-image-only-slider .hero-slide.active { pointer-events:auto; z-index:1; }
.hero-slider.tgb-image-only-slider .tgb-image-slide img { height:auto; }

/* Mobile banner height follows the active artwork, not the tallest hidden slide. */
@media (max-width:767px) {
 .hero-slider.tgb-image-only-slider { height:auto!important; min-height:0!important; aspect-ratio:auto!important; }
 .hero-slider.tgb-image-only-slider .slider-wrapper { display:block!important; position:relative!important; height:auto!important; min-height:0!important; aspect-ratio:auto!important; }
 .hero-slider.tgb-image-only-slider .hero-slide { position:absolute!important; inset:0!important; height:auto!important; min-height:0!important; }
 .hero-slider.tgb-image-only-slider .hero-slide.active { position:relative!important; inset:auto!important; }
 .hero-slider.tgb-image-only-slider .tgb-image-slide picture,
 .hero-slider.tgb-image-only-slider .tgb-banner-image-link { height:auto!important; }
 .hero-slider.tgb-image-only-slider .tgb-image-slide img { width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:auto!important; margin:0!important; padding:0!important; object-fit:contain!important; }
}

/* Desktop Home: compact hero beside four section shortcuts. */
.tgb-home-shortcuts { display:none; }
@media(min-width:1025px) {
 .tgb-home-desktop-layout { max-width:1200px; width:100%; margin:0 auto; }
 .tgb-home-banner-row { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(0,1fr); gap:20px; align-items:stretch; }
 .tgb-home-banner-row > .hero-slider { min-width:0; margin:0!important; height:300px!important; min-height:0!important; border-radius:16px!important; }
 .tgb-home-banner-row .hero-slider .slider-wrapper { height:294px!important; min-height:0!important; }
 .tgb-home-banner-row .hero-slider .hero-slide { height:294px!important; min-height:0!important; }
 .tgb-home-banner-row .hero-slider .tgb-image-slide picture,
 .tgb-home-banner-row .hero-slider .tgb-banner-image-link { height:100%!important; }
 .tgb-home-banner-row .hero-slider .tgb-image-slide img { height:100%!important; width:100%!important; object-fit:contain!important; }
 .tgb-home-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px; height:300px; }
 .tgb-home-shortcut { display:flex; flex-direction:column; min-width:0; overflow:hidden; border-radius:12px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); text-decoration:none; padding:8px; transition:background .2s; }
 .tgb-home-shortcut:hover { background:rgba(255,255,255,.12); }
 .tgb-home-shortcut img { width:100%; min-height:0; flex:1; object-fit:contain; border-radius:6px; }
 .tgb-home-shortcut > span { display:flex; align-items:center; justify-content:space-between; gap:5px; color:#fff; font-size:13px; font-weight:700; padding-top:6px; }
 .tgb-home-shortcut > span > span { color:#00c7cc; }
 .tgb-home-shortcut:focus-visible { outline:3px solid #00c7cc; outline-offset:3px; }
 .tgb-home-desktop-layout .tgb-home-rails { margin-top:20px; }
 .tgb-home-desktop-layout .tgb-home-rail { margin-bottom:28px; }
 .tgb-home-desktop-layout .tgb-home-rail-heading { margin-bottom:12px; }
 .tgb-home-desktop-layout .tgb-home-rail-heading h2 { font-size:24px!important; }
 .tgb-home-desktop-layout ul.products.tgb-home-rail-track li.product { padding:12px!important; }
}

/* Desktop image banners follow their natural ratio; shortcuts follow the hero height. */
@media(min-width:1025px) {
 .tgb-home-banner-row > .hero-slider.tgb-image-only-slider { height:auto!important; min-height:0!important; align-self:start; }
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .slider-wrapper { display:block!important; height:auto!important; min-height:0!important; position:relative!important; }
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .hero-slide { position:absolute!important; inset:0!important; height:auto!important; min-height:0!important; }
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .hero-slide.active { position:relative!important; inset:auto!important; }
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .tgb-image-slide picture,
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .tgb-banner-image-link { height:auto!important; }
 .tgb-home-banner-row .hero-slider.tgb-image-only-slider .tgb-image-slide img { display:block!important; width:100%!important; height:auto!important; max-height:none!important; margin:0!important; padding:0!important; }
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcuts { height:auto; min-height:0; grid-template-rows:repeat(2,minmax(0,1fr)); }
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut { position:relative; }
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut img { position:absolute; inset:8px 8px 34px; width:calc(100% - 16px); height:calc(100% - 42px); object-fit:contain; }
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut > span { margin-top:auto; }
}

/* New mini-banner artwork fills each 5:3 tile, with no label or inset. */
@media(min-width:1025px) {
 .tgb-home-banner-row .tgb-home-shortcuts,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcuts { height:auto; align-self:center; grid-template-rows:repeat(2,auto); }
 .tgb-home-banner-row .tgb-home-shortcut,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut { display:block; aspect-ratio:5 / 3; padding:0!important; border:0; background:none; overflow:hidden; }
 .tgb-home-banner-row .tgb-home-shortcut img,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut img { position:static; display:block; width:100%!important; height:100%!important; margin:0; padding:0; object-fit:cover; border-radius:0; }
}

/* Balanced desktop hero grid: both columns share the main banner's height. */
@media(min-width:1025px) {
 .tgb-home-banner-row { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:stretch; }
 .tgb-home-banner-row .tgb-home-shortcuts,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcuts { align-self:stretch; height:auto; grid-template-rows:repeat(2,minmax(0,1fr)); }
 .tgb-home-banner-row .tgb-home-shortcut,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut { position:relative; aspect-ratio:auto; min-height:0; }
 .tgb-home-banner-row .tgb-home-shortcut img,
 .tgb-home-banner-row:has(> .tgb-image-only-slider) .tgb-home-shortcut img { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:cover; object-position:center; }
}

/* Asia collection country tiles share product carousel sizing. */
.tgb-asia-collection { max-width:1200px; width:100%; margin:0 auto; }
.tgb-asia-header { display:block; width:100%; height:auto; border-radius:16px; }
.tgb-asia-accessible-title { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.tgb-asia-collection .tgb-home-rail-heading { justify-content:flex-end; }
.tgb-asia-collection .tgb-home-rail-track .tgb-asia-country-card { background:#2c1064!important; border-color:#60458a!important; justify-content:center!important; align-items:center; text-align:center; color:#fff; }
.tgb-asia-collection .tgb-asia-flag { font-size:72px; line-height:1.3; margin-bottom:18px; }
.tgb-asia-collection ul.products li.product.tgb-asia-country-card h2 { display:block!important; color:#fff!important; -webkit-text-fill-color:#fff!important; font-size:30px!important; line-height:1.2!important; height:auto!important; min-height:0!important; max-height:none!important; margin:0 0 8px!important; overflow:visible!important; }
.tgb-asia-country-caption { font-size:18px; color:#fff; }
.tgb-asia-empty { color:#bcb3d1; font-size:14px; }
@media(max-width:767px) {
 .tgb-asia-collection .tgb-asia-flag { font-size:44px; margin-bottom:12px; }
 .tgb-asia-collection ul.products li.product.tgb-asia-country-card h2 { font-size:18px!important; }
 .tgb-asia-country-caption { font-size:12px; }
}

/* Compact Asia collection; country tiles are independent of Woo product overrides. */
body.tgb-asia-page .entry-header,body.tgb-asia-page .entry-title,body.tgb-asia-page .page-header,body.tgb-asia-page .page-title { display:none!important; }
.tgb-asia-collection { max-width:1040px!important; }
.tgb-asia-collection > .tgb-asia-header { width:min(100%,840px)!important; height:auto!important; margin:0 auto!important; }
.tgb-asia-collection .tgb-home-rails { margin-top:16px!important; }
.tgb-asia-collection .tgb-home-rail { margin-bottom:24px!important; }
.tgb-asia-collection .tgb-home-rail-heading { margin-bottom:10px!important; }
.tgb-asia-collection ul.products.tgb-home-rail-track > .tgb-asia-country-card { float:none!important; clear:none!important; flex:0 0 calc((100% - 80px)/5)!important; width:calc((100% - 80px)/5)!important; margin:0!important; height:auto!important; min-width:0; box-sizing:border-box; display:flex!important; flex-direction:column; align-items:center; justify-content:center!important; padding:12px!important; border:1px solid #60458a!important; border-radius:14px; background:#2c1064!important; text-align:center; scroll-snap-align:start; }
.tgb-asia-collection .tgb-asia-country-card h2 { color:#fff!important; -webkit-text-fill-color:#fff!important; font-size:26px!important; line-height:1.2!important; margin:0 0 8px!important; display:block!important; height:auto!important; }
.tgb-asia-collection .tgb-asia-country-caption { display:block!important; color:#fff!important; -webkit-text-fill-color:#fff!important; font-size:15px; }
.tgb-asia-collection .tgb-asia-flag { display:block!important; font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; font-size:58px!important; margin-bottom:14px!important; }
.tgb-asia-collection .tgb-asia-flag img.emoji { display:inline-block!important; width:58px!important; height:58px!important; padding:0!important; margin:0!important; background:none!important; }
@media(min-width:768px) {
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product { flex:0 0 calc((100% - 80px)/5)!important; width:calc((100% - 80px)/5)!important; padding:10px!important; }
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title { font-size:14px!important; height:40px!important; min-height:40px!important; max-height:40px!important; line-height:20px!important; }
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product .price { font-size:17px!important; height:46px!important; min-height:46px!important; flex-basis:46px!important; }
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product > .button { font-size:12px!important; padding:8px!important; }
}
@media(max-width:767px) {
 .tgb-asia-collection ul.products.tgb-home-rail-track > .tgb-asia-country-card { flex-basis:calc((100% - 16px)/2.3)!important; width:calc((100% - 16px)/2.3)!important; padding:6px!important; }
 .tgb-asia-collection .tgb-asia-country-card h2 { font-size:18px!important; }
 .tgb-asia-collection .tgb-asia-country-caption { font-size:12px; }
 .tgb-asia-collection .tgb-asia-flag { font-size:40px!important; }
}

/* Product cards share a compact, single-line title at every viewport. */
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product h2,
body .woocommerce ul.products li.product h3,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title,
body .tgb-asia-collection ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title,
body.single-product section.related ul.products li.product .woocommerce-loop-product__title{
 display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 -webkit-line-clamp:unset!important;word-break:normal!important;overflow-wrap:normal!important;
 height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;min-width:0!important;
}

/* Remove the old two-line title spacing as well as Woo's default heading padding. */
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product h2,
body .woocommerce ul.products li.product h3,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title,
body .tgb-asia-collection ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title{
 padding:0!important;margin:0 0 8px!important;line-height:1.3!important;
 height:1.3em!important;min-height:1.3em!important;max-height:1.3em!important;flex:0 0 auto!important;
}
body ul.products li.product a.woocommerce-LoopProduct-link{row-gap:0!important}
body ul.products li.product .tgb-product-type-chip{margin-top:0!important;margin-bottom:8px!important}

/* Country heading and transparent mascot leading each product rail. */
.tgb-asia-collection .tgb-home-rail-heading{justify-content:space-between!important;gap:12px!important;}
.tgb-asia-collection .tgb-home-rail-heading h2{margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:24px!important;line-height:1.3!important;}
.tgb-asia-collection ul.products.tgb-home-rail-track > .tgb-asia-mascot{flex:0 0 calc((100% - 80px)/5);min-width:0;display:flex;align-items:center;justify-content:center;align-self:stretch;margin:0;padding:0;border:0;background:transparent;box-shadow:none;scroll-snap-align:start;}
.tgb-asia-collection .tgb-asia-mascot img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;margin:0;padding:0;border:0;border-radius:0;background:transparent;}
@media(max-width:767px){
 .tgb-asia-collection .tgb-home-rail-heading h2{font-size:20px!important;}
 .tgb-asia-collection ul.products.tgb-home-rail-track > .tgb-asia-mascot{flex-basis:calc((100% - 16px)/2.3);}
}

/* Desktop country rows share the mobile frame; the larger mascot stays centered. */
@media(min-width:768px){
 .tgb-asia-collection .tgb-asia-country-row{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:20px;overflow:hidden;box-sizing:border-box;}
 .tgb-asia-collection ul.products.tgb-home-rail-track > .tgb-asia-mascot{flex-basis:24%;}
}

/* Compact desktop country sections with a divider under the heading. */
@media(min-width:768px){
 .tgb-asia-collection .tgb-asia-country-row{padding:12px 16px!important;margin-bottom:16px!important;}
 .tgb-asia-collection .tgb-home-rail-heading{border-bottom:1px solid rgba(255,255,255,.16);padding-bottom:8px!important;margin-bottom:10px!important;}
 .tgb-asia-collection .tgb-home-rails{margin-top:12px!important;margin-bottom:16px!important;}
 .tgb-asia-collection ul.products.tgb-home-rail-track{padding:0 0 6px!important;}
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product a.woocommerce-LoopProduct-link{flex:0 0 auto!important;}
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product .price{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;margin-bottom:8px!important;}
 .tgb-asia-collection ul.products.tgb-home-rail-track li.product > .button{margin-top:auto!important;}
}


/* Keep scenery independent of the horizontally scrolling product layer. */
.tgb-asia-collection .tgb-asia-country-content{position:relative;isolation:isolate;background:#d8cdf4;border-radius:12px;padding:10px 8px 4px;}
.tgb-asia-collection .tgb-asia-country-content > img.tgb-asia-country-scenery{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center;border-radius:12px;margin:0!important;padding:0!important;pointer-events:none;z-index:0;transform:translateZ(0);backface-visibility:hidden;}
.tgb-asia-collection .tgb-asia-country-content > .tgb-home-rail-track,
.tgb-asia-collection .tgb-asia-country-content > .tgb-asia-empty{position:relative;z-index:1;}
.tgb-asia-collection .tgb-asia-country-content .tgb-asia-empty{color:#2b2d7d;}
@media(max-width:767px){
 .tgb-asia-collection .tgb-asia-country-content{padding:8px 6px 2px;}
 .tgb-asia-collection .tgb-asia-country-content > img.tgb-asia-country-scenery{object-position:35% center;}
}

/* Mobile mascots stand slightly below center, on the scenery path. */
@media(max-width:767px){
 .tgb-asia-collection .tgb-asia-mascot img{transform:translateY(16%);}
}

/* Home Market sellers keep a fixed row without affecting square product photos. */
.tgb-home-market-rail .tgb-home-market-seller { display:flex; align-items:center; gap:7px; height:32px; min-height:32px; flex:0 0 32px; margin:0 0 8px; overflow:hidden; color:#665b80; }
.tgb-home-market-rail .tgb-home-market-seller-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:18px; }
.tgb-home-market-rail ul.products.tgb-home-rail-track li.product a.woocommerce-LoopProduct-link .tgb-home-market-seller img.tgb-home-market-avatar { display:block!important; width:28px!important; height:28px!important; min-width:28px!important; max-width:28px!important; flex:0 0 28px; aspect-ratio:1!important; object-fit:cover!important; border-radius:50%!important; margin:0!important; padding:0!important; }
@media(max-width:767px) {
 .tgb-home-market-rail .tgb-home-market-seller { height:24px; min-height:24px; flex-basis:24px; gap:4px; margin-bottom:5px; }
 .tgb-home-market-rail .tgb-home-market-seller-name { font-size:10px; line-height:14px; }
 .tgb-home-market-rail ul.products.tgb-home-rail-track li.product a.woocommerce-LoopProduct-link .tgb-home-market-seller img.tgb-home-market-avatar { width:20px!important; height:20px!important; min-width:20px!important; max-width:20px!important; flex-basis:20px; }
}

/* Internal spacing cannot collapse outward and move the address section. */
@media(min-width:768px){
 body.woocommerce-checkout form.checkout .woocommerce-additional-fields{padding-top:24px!important;}
 body.woocommerce-checkout form.checkout .woocommerce-additional-fields > h3,
 body.woocommerce-checkout form.checkout .woocommerce-additional-fields > h2{margin-top:0!important;}
}

/* Keep delivery details close to the cart; subsequent fields follow in normal flow. */
@media(min-width:1024px){
 body.woocommerce-checkout.tgb-desktop-checkout #tgbDesktopLeft #customer_details{margin-top:16px!important;padding-top:0!important;}
}

/* Tablet checkout/cart: full-width items before the order summary. */
@media(min-width:768px) and (max-width:1366px){
 body.woocommerce-checkout.tgb-onepage-checkout form.checkout,
 body.woocommerce-checkout.tgb-desktop-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
 body.woocommerce-checkout #tgbDesktopLeft,
 body.woocommerce-checkout form.checkout > #order_review{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important;box-sizing:border-box;position:static!important;}
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info{grid-template-columns:minmax(0,1fr) 120px 110px 28px!important;gap:10px!important;min-width:0!important;}
 body.tgb-desktop-checkout #tgbDesktopCartColumns{grid-template-columns:minmax(0,1fr) 120px 148px!important;gap:10px!important;}
 body.woocommerce-checkout .tgb-checkout-cart-info strong,
 body.woocommerce-checkout .tgb-desktop-product-copy{min-width:0!important;overflow-wrap:anywhere;}
 body.woocommerce-checkout .tgb-checkout-cart-info select{max-width:100%!important;box-sizing:border-box;}
 body.woocommerce-cart .woocommerce{display:flex!important;flex-wrap:wrap!important;gap:20px!important;}
 body.woocommerce-cart .woocommerce-cart-form,
 body.woocommerce-cart .cart-collaterals{flex:0 0 100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
 body.woocommerce-cart table.shop_table.cart{width:100%!important;table-layout:fixed;}
 body.woocommerce-cart table.shop_table.cart td.product-name{overflow-wrap:anywhere;}
 body.woocommerce-cart table.shop_table.cart td.product-name select{max-width:100%!important;box-sizing:border-box;}
}

/* Thai address suggestions remain readable and fit the address modal. */
#tgbAddressModal .twitter-typeahead{width:100%;min-width:0;}
#tgbAddressModal .tt-menu{min-width:0!important;width:100%!important;z-index:2147483601!important;}
#tgbAddressModal .tt-suggestion{white-space:normal;overflow-wrap:anywhere;color:#27324b!important;-webkit-text-fill-color:#27324b!important;}

/* Tablet payment confirmation uses one centered column instead of desktop slots. */
@media(min-width:768px) and (max-width:1199px){
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh{width:100%!important;max-width:900px!important;box-sizing:border-box!important;padding:24px!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYou2ColLayout{display:flex!important;flex-direction:column!important;gap:16px!important;align-items:stretch!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColLeft,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight{width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;position:static!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColLeft:empty,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight:empty{display:none!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbPisStep1{width:100%!important;max-width:680px!important;margin:0 auto!important;box-sizing:border-box!important;padding:20px!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh .tgb-pis-order-card{gap:16px;flex-wrap:wrap;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh img{max-width:100%;height:auto;}
}

/* Compact quantity controls leave the product name more room on tablets. */
@media(min-width:768px) and (max-width:1366px){
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-checkout-cart-info{grid-template-columns:minmax(0,1fr) 88px 100px 24px!important;gap:8px!important;}
 body.tgb-desktop-checkout #tgbDesktopCartColumns{grid-template-columns:minmax(0,1fr) 88px 132px!important;gap:8px!important;}
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper button{width:27px!important;height:34px!important;padding:0!important;font-size:16px!important;}
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-quantity-stepper input{width:30px!important;height:34px!important;font-size:14px!important;}
 body.tgb-desktop-checkout #tgbCheckoutCart .tgb-desktop-product-copy strong{word-break:normal!important;overflow-wrap:break-word!important;}
}

/* Give the optional sign-in card breathing room below the address card. */
body.woocommerce-checkout .woocommerce-billing-fields > .tgb-account-choice{margin-top:16px!important;}

/* Condition colors follow the guide; preserve line breaks entered in notes. */
.tgb-condition-name-pill{display:inline-flex!important;align-items:center;padding:3px 10px;border:1px solid var(--condition-border);border-radius:999px;color:var(--condition-color)!important;-webkit-text-fill-color:var(--condition-color)!important;background:var(--condition-bg)!important;font-weight:700;line-height:1.4;max-width:100%;box-sizing:border-box;}
.tgb-cond-desc,#tgbBsDefectText{white-space:pre-line!important;overflow-wrap:anywhere;}

/* Shop pagination follows the product grid on its own full-width row. */
.woocommerce .woocommerce-pagination{width:100%;clear:both;margin:24px 0;}
.woocommerce .woocommerce-pagination ul.page-numbers{display:inline-flex;flex-wrap:wrap;gap:8px;border:0;}
.woocommerce .woocommerce-pagination ul.page-numbers li{border:0;}
.woocommerce .woocommerce-pagination ul.page-numbers a,
.woocommerce .woocommerce-pagination ul.page-numbers span{display:block;min-width:38px;padding:10px;border-radius:10px;background:#fff;color:#2b2d7d;}
.woocommerce .woocommerce-pagination ul.page-numbers .current{background:#7135db;color:#fff;}

/* Market Single Modal Comments Styling */
#tgb-single-comments-section .tgb-comments-title,
#tgb-single-comments-section h4 {
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  letter-spacing: -0.2px !important;
}
#tgb-single-comments-section #tgb-comments-count-badge {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}
#tgb-single-comments-section .tgb-comment-item strong {
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* Guide must sit above the product drawer; hidden condition callouts stay hidden. */
body > #tgbConditionGuideModal{z-index:2147483646!important;}
#tgbBsDefectCallout[hidden],#tgbBsCondSection[hidden]{display:none!important;}
.tgb-condition-name-pill{color:var(--condition-color,#2b2d7d)!important;-webkit-text-fill-color:var(--condition-color,#2b2d7d)!important;background:var(--condition-bg,#f8fafc)!important;}

/* Explicit desktop payment columns prevent legacy clearfix/grid auto-placement gaps. */
@media(min-width:1200px){
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh{width:100%!important;max-width:1140px!important;margin:24px auto 40px!important;padding:28px!important;box-sizing:border-box!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYou2ColLayout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;gap:24px!important;align-items:start!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYou2ColLayout::before,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYou2ColLayout::after{display:none!important;content:none!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColLeft{grid-column:1!important;grid-row:1!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight{grid-column:2!important;grid-row:1!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColLeft,
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight{display:block!important;min-width:0!important;width:100%!important;float:none!important;position:static!important;margin:0!important;padding:0!important;box-sizing:border-box!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbPisStep1{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;}
 body #tgbPaymentInstructionsScreen.tgb-payment-refresh #tgbThankYouColRight table{table-layout:fixed;overflow-wrap:anywhere;}
}

/* Header account/message/notification controls match language and cart states. */
body .tgb-header-user-wrap .tgb-header-user-btn,
body .tgb-header-user-wrap .tgb-header-msg-shortcut,
body button.tgb-nc-bell,
body a.tgb-nc-bell{background:rgba(255,255,255,.05)!important;border:1px solid rgba(140,82,255,.15)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important;transform:none!important;transition:background .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease!important;}
body .tgb-header-user-wrap .tgb-header-user-btn:hover,
body .tgb-header-user-wrap .tgb-header-msg-shortcut:hover,
body button.tgb-nc-bell:hover,
body a.tgb-nc-bell:hover,
body .tgb-header-user-wrap .tgb-header-user-btn:focus-visible,
body .tgb-header-user-wrap .tgb-header-msg-shortcut:focus-visible,
body .tgb-nc-bell:focus-visible{background:rgba(122,64,255,.2)!important;border-color:#00c7cc!important;color:#00c7cc!important;-webkit-text-fill-color:#00c7cc!important;box-shadow:0 0 15px rgba(0,199,204,.45)!important;transform:none!important;}
body .tgb-header-user-wrap .tgb-header-user-btn svg,
body .tgb-header-user-wrap .tgb-header-msg-shortcut svg,
body .tgb-nc-bell svg{stroke:currentColor!important;color:inherit!important;}

/* Equal icon canvases for all Quick access cards, including emoji image replacement. */
.tgb-quick-access-card .tgb-qa-watermark{right:8px!important;bottom:8px!important;width:64px!important;height:64px!important;display:flex!important;align-items:center;justify-content:center;font-size:60px!important;line-height:1!important;overflow:hidden;}
.tgb-quick-access-card .tgb-qa-watermark img.emoji{width:60px!important;height:60px!important;margin:0!important;object-fit:contain;}
.tgb-quick-access-card .tgb-qa-icon-circle{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;line-height:1!important;}
.tgb-quick-access-card .tgb-qa-icon-circle img.emoji{width:20px!important;height:20px!important;margin:0!important;object-fit:contain;}

/* Member price leads the card; regular price and savings follow underneath. */
body ul.products li.product .price .tgb-card-treasure-price{display:inline-flex!important;align-items:center;gap:6px;background:#101522;border-radius:7px;padding:2px 9px;color:#71e5ff!important;-webkit-text-fill-color:#71e5ff!important;font-size:.9rem!important;line-height:1.2;font-weight:850;width:fit-content;}
body ul.products li.product .price .tgb-card-treasure-price .amount{color:#71e5ff!important;-webkit-text-fill-color:#71e5ff!important;font-size:inherit!important;}
body ul.products li.product .price img.tgb-treasure-diamond,.tgb-treasure-price-pdp-card img.tgb-treasure-diamond{display:block!important;width:28px!important;height:28px!important;object-fit:contain;aspect-ratio:1;margin:0!important;border:0!important;padding:0!important;flex-shrink:0;}
body ul.products li.product .price:has(.tgb-card-treasure-price){height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;gap:5px!important;}

/* Diamond artwork is transparent and must not inherit product-thumbnail styles. */
body .woocommerce ul.products li.product .price img.tgb-treasure-diamond,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price img.tgb-treasure-diamond,
body .tgb-treasure-price-pdp-card img.tgb-treasure-diamond{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;object-fit:contain!important;aspect-ratio:1!important;}
body .tgb-treasure-price-pdp-card .tgb-treasure-pdp-icon{flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;aspect-ratio:1;border-radius:50%!important;box-sizing:border-box!important;}
body .tgb-treasure-price-pdp-card .tgb-treasure-pdp-icon img{width:28px!important;height:28px!important;max-width:28px!important;min-width:0!important;}
@media(max-width:767px){
 body ul.products li.product .price .tgb-card-treasure-price,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price{font-size:12px!important;line-height:1.2!important;gap:4px!important;padding:2px 6px!important;min-height:22px!important;max-width:100%!important;box-sizing:border-box;white-space:nowrap!important;}
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price img.tgb-treasure-diamond,
 body ul.products li.product .price img.tgb-treasure-diamond{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px!important;}
 body ul.products li.product .price .tgb-card-treasure-price .amount,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price .amount{font-size:12px!important;line-height:1.2!important;}
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price:has(.tgb-card-treasure-price){margin-bottom:10px!important;}
}

/* Keep the member label and price together inside a compact primary badge. */
body ul.products li.product .price .tgb-card-treasure-price,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price{width:100%!important;box-sizing:border-box!important;padding:5px 8px!important;gap:7px!important;}
body ul.products li.product .price .tgb-card-treasure-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;gap:1px!important;}
body ul.products li.product .price .tgb-card-treasure-label{font-size:10px!important;line-height:1.25!important;font-weight:700!important;white-space:normal!important;color:#71e5ff!important;-webkit-text-fill-color:#71e5ff!important;}
body ul.products li.product .price .tgb-card-treasure-price .amount,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price .amount{font-size:20px!important;line-height:1.1!important;}
@media(max-width:767px){
 body ul.products li.product .price .tgb-card-treasure-price,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price{padding:4px 6px!important;gap:4px!important;}
 body ul.products li.product .price .tgb-card-treasure-label{font-size:9px!important;}
 body ul.products li.product .price .tgb-card-treasure-price .amount,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price .tgb-card-treasure-price .amount{font-size:15px!important;}
}

/* An explicit stack keeps savings below the member badge in every product rail. */
body ul.products li.product .price .tgb-card-treasure-pricing{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;gap:5px!important;white-space:normal!important;}
body ul.products li.product .price .tgb-card-treasure-pricing > .tgb-card-treasure-price{display:flex!important;background:#101522!important;color:#71e5ff!important;-webkit-text-fill-color:#71e5ff!important;max-width:100%!important;}
body ul.products li.product .price .tgb-card-treasure-pricing > .tgb-card-discount-row{display:flex!important;position:static!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;flex-wrap:wrap!important;margin:0!important;}

/* Treasure uses the normal price typography, with a separate tag to its right. */
body ul.products li.product .price:has(.tgb-card-treasure-pricing){height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;}
body ul.products li.product .price .tgb-card-treasure-line{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;width:100%!important;background:transparent!important;padding:0!important;}
body ul.products li.product .price .tgb-card-member-amount,
body ul.products li.product .price .tgb-card-member-amount *{font-size:inherit!important;font-weight:inherit!important;color:#0075cf!important;-webkit-text-fill-color:#0075cf!important;background:none!important;background-clip:initial!important;white-space:nowrap!important;}
body ul.products li.product .price img.tgb-card-treasure-tag,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price img.tgb-card-treasure-tag{display:block!important;width:34%!important;max-width:90px!important;min-width:36px!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;flex:0 1 auto!important;}

body .tgb-pdp-main-price .tgb-pdp-treasure-pricing{display:flex;flex-direction:column;gap:6px;}
body .tgb-pdp-main-price .tgb-pdp-treasure-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
body .tgb-pdp-main-price .tgb-pdp-treasure-line,
body .tgb-pdp-main-price .tgb-pdp-treasure-line *{color:#0075cf!important;-webkit-text-fill-color:#0075cf!important;background:none!important;text-decoration:none!important;}
body .tgb-pdp-main-price .tgb-pdp-treasure-line img{width:120px!important;max-width:35%!important;height:auto!important;object-fit:contain;margin:0!important;flex-shrink:0;}
body .tgb-pdp-main-price .tgb-pdp-treasure-saving,
body .tgb-pdp-main-price .tgb-pdp-treasure-saving *{font-size:14px!important;line-height:1.5!important;font-weight:600!important;color:#80889a!important;-webkit-text-fill-color:#80889a!important;background:none!important;}
body .tgb-pdp-main-price .tgb-pdp-treasure-saving del{text-decoration:line-through!important;}

/* Native sales use the same two-row structure as Flash and Treasure cards. */
body ul.products li.product .price:has(.tgb-card-sale-pricing){height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;}
body ul.products li.product .price .tgb-card-sale-pricing{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;width:100%!important;min-width:0!important;}
body ul.products li.product .price .tgb-card-sale-pricing > .tgb-card-current-price{display:block!important;margin:0!important;}
body ul.products li.product .price .tgb-card-sale-pricing > .tgb-card-discount-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;position:static!important;margin:0!important;width:100%!important;}

/* Keep AJAX checkout validation outside the two-column order grid. */
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout{width:100%;box-sizing:border-box;margin-bottom:20px;}
body.woocommerce-checkout .woocommerce-error li::before,
body.woocommerce-checkout .woocommerce-error li a::before{content:none!important;display:none!important;}
body.woocommerce-checkout .woocommerce-error li a{display:inline!important;position:static!important;}

.tgb-recipient-review{padding:14px;margin:14px 0;border:1px solid #d7dcef;border-radius:10px;background:#f6f8ff;color:#273450;font-size:13px;line-height:1.6;}
.tgb-recipient-review p{overflow-wrap:anywhere;margin:8px 0;}
.tgb-recipient-review label{display:block;cursor:pointer;}
.tgb-order-email-notice{padding:16px;background:#effaff;color:#244776;border:1px solid #b5e3f2;border-radius:12px;}

/* Related cards must grow with sale rows and wrapped Treasure tags. */
body.single-product section.related ul.products li.product .price,
body.single-product section.upsells ul.products li.product .price,
body.single-product .tgb-pdp-bottom-widgets ul.products li.product .price{
 height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 white-space:normal!important;gap:4px!important;margin-bottom:14px!important;overflow:visible!important;
}
body.single-product section.related ul.products li.product > .woocommerce-LoopProduct-link,
body.single-product section.upsells ul.products li.product > .woocommerce-LoopProduct-link,
body.single-product .tgb-pdp-bottom-widgets ul.products li.product > .woocommerce-LoopProduct-link{display:block!important;flex:1 0 auto!important;min-height:0!important;}
body.single-product section.related ul.products li.product > .button,
body.single-product section.upsells ul.products li.product > .button,
body.single-product .tgb-pdp-bottom-widgets ul.products li.product > .button{position:static!important;transform:none!important;flex-shrink:0!important;margin-top:auto!important;}

/* Multiple live gateways: selection styling follows the native WooCommerce radio. */
body.woocommerce-checkout #payment ul.payment_methods.tgb-has-beam > li.wc_payment_method {
  border:2px solid #d8dce5 !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout #payment ul.payment_methods.tgb-has-beam > li.wc_payment_method:has(input[name="payment_method"]:checked) {
  border-color:#8c52ff !important;
  background:rgba(140,82,255,.04) !important;
}
body.woocommerce-checkout #payment ul.payment_methods.tgb-has-beam input[name="payment_method"] {
  display:inline-block !important;
  position:static !important;
  opacity:1 !important;
}

@media (min-width:768px) {
/* Account order details: one two-column table from header through totals. */
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details {
  display:table !important; table-layout:fixed !important; width:100% !important;
  border-collapse:separate !important; border-spacing:0 !important;
  background:#fff !important; border:1px solid #e2e8f0 !important; border-radius:14px !important;
  overflow:hidden;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead { display:table-header-group !important; }
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody { display:table-row-group !important; }
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot { display:table-footer-group !important; }
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr { display:table-row !important; }
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td {
  display:table-cell !important; padding:14px 16px !important; margin:0 !important;
  max-width:none !important; min-width:0 !important; vertical-align:top !important;
  grid-column:auto !important; white-space:normal !important; overflow-wrap:anywhere;
  border:0 !important; border-bottom:1px solid #edf0f5 !important;
  background:#fff !important; color:#1e293b !important; -webkit-text-fill-color:#1e293b !important;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr > :first-child {
  width:44% !important; text-align:left !important;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr > :last-child {
  width:56% !important; text-align:right !important;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th {
  background:#f1f5f9 !important; color:#475569 !important; -webkit-text-fill-color:#475569 !important;
}
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot th {
  color:#475569 !important; -webkit-text-fill-color:#475569 !important; font-weight:600 !important;
}
}
body.woocommerce-account .woocommerce-order-details .tgb-order-preparing-card {
  background:#f4f0ff !important; border:1px solid #ddd2ff !important; box-shadow:none !important;
}
body.woocommerce-account .woocommerce-order-details .tgb-order-preparing-card h4 {
  color:#302568 !important; -webkit-text-fill-color:#302568 !important;
}
body.woocommerce-account .woocommerce-order-details .tgb-order-preparing-card p {
  color:#475569 !important; -webkit-text-fill-color:#475569 !important; line-height:1.6 !important;
}

body ul.products li.product .tgb-card-stock-badge {
 position:absolute; inset-block-start:12px; inset-inline-start:12px; z-index:4;
 padding:4px 8px; border-radius:6px; background:#b42336; color:#fff;
 font-size:clamp(9px, 2.4vw, 12px); font-weight:750; line-height:1.3; pointer-events:none;
}
body ul.products li.product .tgb-product-fav-btn:has(.tgb-card-heart-count:not([hidden])) {
 width:auto!important; padding-inline:7px!important; gap:4px; border-radius:999px!important;
}
body ul.products li.product .tgb-card-heart-count {
 font-size:10px; line-height:1; font-weight:750; color:inherit; font-variant-numeric:tabular-nums;
}

.tgb-card-heart-count[hidden] { display:none!important; }

/* Mobile catalog: readable type without relying on browser zoom. */
@media (max-width:767px) {
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product {
  flex-basis:calc((100% - 12px) / 2.1)!important;
  width:calc((100% - 12px) / 2.1)!important;
  padding:8px!important;
 }
 body ul.products li.product .woocommerce-loop-product__title,
 body .woocommerce ul.products li.product .woocommerce-loop-product__title,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title,
 body .tgb-asia-collection ul.products.tgb-home-rail-track li.product .woocommerce-loop-product__title,
 body.single-product section.related ul.products li.product .woocommerce-loop-product__title {
  display:block!important;-webkit-line-clamp:unset!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:14px!important;line-height:20px!important;
  height:20px!important;min-height:20px!important;max-height:20px!important;
  margin:4px 0 6px!important;overflow-wrap:normal!important;
 }
 body ul.products li.product .tgb-product-type-chip,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-product-type-chip {
  font-size:10px!important;line-height:16px!important;padding:2px 5px!important;
  height:auto!important;min-height:22px!important;max-height:none!important;
  letter-spacing:0!important;margin-bottom:6px!important;
 }
 body ul.products li.product .price,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price {
  font-size:18px!important;line-height:24px!important;height:auto!important;
  min-height:44px!important;max-height:none!important;flex:0 0 auto!important;margin-bottom:6px!important;
 }
 body ul.products li.product .price del,
 body ul.products li.product .tgb-card-discount-row,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .price del,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-card-discount-row {
  font-size:12px!important;line-height:18px!important;
 }
 body ul.products li.product .button,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product .button {
  position:static!important;font-size:13px!important;line-height:18px!important;
  height:auto!important;min-height:44px!important;padding:10px 5px!important;margin-top:auto!important;
  white-space:normal!important;
 }
 body ul.products li.product .tgb-product-fav-btn { min-width:36px!important;min-height:36px!important; }
 body ul.products li.product a.woocommerce-LoopProduct-link > img,
 body .tgb-home-rails ul.products.tgb-home-rail-track li.product a.woocommerce-LoopProduct-link > img {
  margin-bottom:4px!important;
 }
 body ul.products li.product .tgb-product-fav-btn svg { width:22px!important;height:22px!important; }
 body .tgb-mobile-bottom-nav .tgb-tab-icon svg { width:24px!important;height:24px!important; }
 body .tgb-mobile-bottom-nav .tgb-tab-label { font-size:clamp(10px,2.85vw,12px)!important;line-height:16px!important; }
 body .tgb-home-rail-heading h2 { font-size:20px!important;line-height:28px!important; }
 body .tgb-home-rail-actions a { font-size:14px!important;line-height:24px!important; }
}

/* Keep sale status alongside the existing product type, away from artwork. */
body ul.products li.product .tgb-card-labels {
 display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 6px;
 margin:0 0 8px!important;min-width:0;flex:0 0 auto;
}
body ul.products li.product .tgb-card-labels .tgb-product-type-chip,
body .tgb-home-rails ul.products.tgb-home-rail-track li.product .tgb-card-labels .tgb-product-type-chip {
 margin:0!important;
}
body ul.products li.product .tgb-card-sale-badge {
 background:rgba(225,29,72,.10);border:1px solid rgba(225,29,72,.30);
 color:#be123c;-webkit-text-fill-color:#be123c;
}
@media(max-width:767px) {
 body ul.products li.product .tgb-card-labels { margin-bottom:6px!important;gap:4px; }
}

/* Mobile Shop cards share the Home rail's slim frame and image inset. */
@media(max-width:767px) {
 body:has(#tgbShopGridToolbar) ul.products li.product {
  padding:8px!important;border:1px solid #e2e8f0!important;
  border-radius:10px!important;box-shadow:none!important;
 }
 body:has(#tgbShopGridToolbar) ul.products li.product a.woocommerce-LoopProduct-link > img,
 body:has(#tgbShopGridToolbar) ul.products li.product .tgb-shop-flash-photo {
  padding:0!important;border-radius:6px!important;overflow:hidden;
 }
 body:has(#tgbShopGridToolbar) ul.products li.product .tgb-shop-flash-photo > img {
  padding:0!important;border-radius:6px!important;
 }
}

/* Reserve the image frame independently of lazy-image intrinsic sizing (Safari). */
.hero-slider.tgb-image-only-slider .slider-wrapper {
  display:block!important;
  position:relative!important;
  width:100%;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:var(--tgb-hero-ratio, 12 / 5)!important;
}
.hero-slider.tgb-image-only-slider .slider-wrapper .hero-slide,
.hero-slider.tgb-image-only-slider .slider-wrapper .hero-slide.active {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block;
}
.hero-slider.tgb-image-only-slider .slider-wrapper .tgb-banner-image-link,
.hero-slider.tgb-image-only-slider .slider-wrapper picture,
.hero-slider.tgb-image-only-slider .slider-wrapper .tgb-image-slide img {
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}

/* Mobile product actions must share the available width, including their gap. */
@media(max-width:767px) {
 body.single-product .tgb-pdp-action-row,
 body.single-product .tgb-pdp-btn-group { min-width:0 !important; max-width:100%; }
 body.single-product .tgb-pdp-btn-group > .tgb-pdp-btn-addtocart,
 body.single-product .tgb-pdp-btn-group > .tgb-pdp-btn-buynow,
 body.single-product .tgb-pdp-action-row > .tgb-pdp-btn-addtocart,
 body.single-product .tgb-pdp-action-row > .tgb-pdp-btn-buynow { min-width:0 !important; width:auto !important; flex:1 1 0 !important; padding-inline:8px !important; }
}

@media(max-width:767px) {
 body.single-product #tgbPdpAddToCartBtn,
 body.single-product #tgbPdpBuyNowBtn { min-width:0 !important; width:auto !important; flex:1 1 0 !important; padding-inline:8px !important; }
}

.tgb-shop-page-indicator { clear:both; width:100%; text-align:center; color:#fff; font-family:inherit; font-size:15px; line-height:1.5; margin:16px 0 24px; }

/* Compact checkout delivery options must size to content, not their tallest sibling. */
@media(max-width:768px) {
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping .tgb-shipping-options-grid {height:auto!important;min-height:0!important;grid-auto-rows:auto!important;gap:10px!important;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping .tgb-shipping-card {height:auto!important;min-height:76px!important;margin:0!important;padding:12px!important;grid-template-columns:20px minmax(0,1fr) auto!important;gap:10px!important;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping #tgbStorageChoice .tgb-shipping-card-badge {grid-column:2/-1;justify-self:start;white-space:normal!important;margin-top:2px;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping #tgbStorageChoice .tgb-shipping-card-radio {grid-row:1/3;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-address .tgb-mobile-address-edit,
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-address .tgb-mobile-address-add {border:1px solid #d8c4f6!important;border-radius:999px!important;background:#f2ecff!important;color:#342778!important;-webkit-text-fill-color:#342778!important;font:inherit;font-size:14px!important;font-weight:600;padding:10px 16px!important;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-address:not(.tgb-mobile-address-editing) .tgb-no-address-notice {display:none!important;}
 body.tgb-mobile-order-details .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.tgb-actions-highlight-row {grid-template-columns:minmax(0,1fr)!important;}
 body.tgb-mobile-order-details .woocommerce-order-details .tgb-actions-cell,
 body.tgb-mobile-order-details .woocommerce-order-details .tgb-view-order-actions-wrap {display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px!important;justify-content:flex-end!important;width:100%!important;}
 body.tgb-mobile-order-details .woocommerce-order-details .tgb-actions-cell a {width:auto!important;min-width:0!important;flex:1!important;margin:0!important;padding:12px 16px!important;border-radius:999px!important;text-align:center!important;}
 body.tgb-mobile-order-details .woocommerce-order-details .tgb-actions-cell .tgb-view-order-pay-btn {background:#7136d5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}

@media(max-width:767px) {
 body.woocommerce-account.tgb-mobile-order-details .woocommerce-order-details table.woocommerce-table--order-details td.tgb-actions-cell .tgb-view-order-actions-wrap {align-items:stretch!important;}
 body.woocommerce-account.tgb-mobile-order-details .woocommerce-order-details table.woocommerce-table--order-details td.tgb-actions-cell .tgb-view-order-actions-wrap a.button {display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;width:0!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:10px 14px!important;box-sizing:border-box!important;border-radius:999px!important;}
 body.woocommerce-account.tgb-mobile-order-details .woocommerce-order-details table.woocommerce-table--order-details td.tgb-actions-cell .tgb-view-order-actions-wrap a.button.tgb-view-order-pay-btn {background:#7136d5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}

@media(max-width:768px) {
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping #tgbStorageChoice .tgb-shipping-card-badge {grid-column:3;grid-row:1;justify-self:end;align-self:center;max-width:116px;white-space:normal!important;text-align:center;line-height:1.4;}
 body.woocommerce-checkout.tgb-compact-checkout #tgbCompact-shipping #tgbStorageChoice .tgb-shipping-card-radio {grid-row:1;}
}
