/* ==========================================================================
   TRENDSPICK PUBLIC HEADER & LAYOUT STYLESHEET
   Desktop: 3-Part Layout [LOGO] [SEARCH] [SIGN IN + CART (FAR RIGHT)]
   Mobile: 2-Row Architecture [☰ HAMBURGER] [CENTERED LOGO] [🛒 CART] + [FULL-WIDTH SEARCH]
   ========================================================================== */

/* ==================== 1. TOP PROMO BAR ==================== */
.tp-topbar {
  background-color: var(--brand-dark);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--brand-dark-border);
  overflow: hidden;
}

.tp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.tp-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.tp-topbar-right {
  display: none;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .tp-topbar-right {
    display: flex;
  }
}

.tp-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-topbar-item i {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.tp-topbar-link {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 0.8rem;
}

.tp-topbar-link:hover {
  color: var(--brand-primary);
}

.tp-topbar-divider {
  color: #475569;
}

/* ==========================================================================
   TRENDSPICK PUBLIC HEADER & LAYOUT STYLESHEET
   Mobile-First Architecture:
   Mobile (≤ 768px/991px):
     Row 1: [ ☰ ] [ LOGO (CENTER) ] [ ♡ ] [ 🛒 ]
     Row 2: [ FULL-WIDTH SEARCH BAR ]
     Row 3: [ 📍 DELIVERY LOCATION BAR ]
   Desktop (≥ 992px):
     [ LOGO ] [ SEARCH (CENTER) ] [ 📍 DELIVERY ] [ SIGN IN / PROFILE ] [ ♡ WISHLIST ] [ 🛒 CART ]
   ========================================================================== */

/* ==================== 1. TOP PROMO BAR ==================== */
.tp-topbar {
  background-color: var(--brand-dark);
  color: var(--text-white);
  padding: 6px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--brand-dark-border);
  overflow: hidden;
  width: 100%;
}

.tp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.tp-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.tp-topbar-right {
  display: none;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .tp-topbar-right {
    display: flex;
  }
}

.tp-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.78rem;
}

.tp-topbar-item i {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.tp-topbar-link {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 0.78rem;
}

.tp-topbar-link:hover {
  color: var(--brand-primary);
}

.tp-topbar-divider {
  color: #475569;
}

/* ==================== 2. MAIN STOREFRONT HEADER ==================== */
.tp-header {
  background-color: var(--brand-surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  width: 100%;
  border-bottom: 1px solid var(--brand-border);
}

.tp-header-main {
  width: 100%;
}

/* Mobile Header Structure (< 992px) */
@media (max-width: 991px) {
  .tp-header-main {
    padding: 8px 12px 6px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
      "logo actions"
      "search search";
    gap: 8px;
    width: 100%;
  }

  .tp-logo-wrapper {
    grid-area: logo;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .tp-hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--brand-dark);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .tp-logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .tp-search-container {
    grid-area: search;
    width: 100%;
    position: relative;
    margin: 0;
  }

  .tp-header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
  }

  .tp-btn-header-login,
  .tp-user-menu {
    display: none !important;
  }
}

/* Desktop Header Structure (≥ 992px) */
@media (min-width: 992px) {
  .tp-header-main {
    display: grid;
    grid-template-columns: auto minmax(400px, 1fr) auto;
    align-items: center;
    gap: 24px;
    height: 74px;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }

  .tp-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .tp-hamburger-btn {
    display: none !important;
  }

  .tp-logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .tp-search-container {
    min-width: 0;
    width: 100%;
    position: relative;
  }

  .tp-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
  }

  .tp-btn-header-login {
    display: inline-flex !important;
  }

  .tp-user-menu {
    display: flex !important;
  }
}

/* Logo Image */
.tp-logo-img {
  height: 34px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  cursor: pointer;
  display: block;
}

@media (min-width: 992px) {
  .tp-logo-img {
    height: 44px;
    max-width: 210px;
  }
}

/* Mobile Hamburger Button */
.tp-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
  flex-shrink: 0;
}

.tp-hamburger-btn:hover {
  background-color: #F1F5F9;
  color: var(--brand-primary);
}

/* Header Action Icons (Wishlist, Cart) */
.tp-header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid var(--brand-border);
  color: var(--brand-dark);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.tp-header-icon-btn:hover {
  background-color: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.tp-header-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  background-color: var(--brand-primary);
  color: var(--text-white);
  font-size: 0.68rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

/* Search Bar Component */
.tp-search-bar {
  display: flex;
  align-items: center;
  background-color: #F1F5F9;
  border: 1.5px solid var(--brand-border);
  border-radius: 16px;
  height: 48px;
  overflow: hidden;
  width: 100%;
  transition: all 0.15s ease;
  position: relative;
}

.tp-search-bar:focus-within {
  border-color: var(--brand-primary);
  background-color: var(--brand-surface);
  box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

.tp-search-lead-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 14px;
  color: #64748B;
  flex-shrink: 0;
}

.tp-search-cat-select {
  display: none;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  outline: none;
  cursor: pointer;
  border-right: 1px solid var(--brand-border);
  height: 100%;
  max-width: 140px;
}

@media (min-width: 992px) {
  .tp-search-cat-select {
    display: block;
  }
}

.tp-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  min-width: 0;
}

.tp-search-input::placeholder {
  color: #94A3B8;
  font-size: 0.88rem;
}

.tp-search-action-btn {
  background: transparent;
  color: #64748B;
  border: none;
  width: 38px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s;
}

.tp-search-action-btn:hover {
  color: var(--brand-primary);
}

.tp-search-btn-submit {
  background-color: var(--brand-primary);
  color: var(--text-white);
  border: none;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s;
}

.tp-search-btn-submit:hover {
  background-color: var(--brand-primary-hover);
}

/* Autocomplete Dropdown */
.tp-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--brand-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--brand-border);
  z-index: 200;
  max-height: 340px;
  overflow-y: auto;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.12s;
}

.search-suggest-item:hover {
  background-color: #FFF7ED;
}

.suggest-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--brand-border);
  flex-shrink: 0;
}

.suggest-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.suggest-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==================== 3. DELIVERY LOCATION BAR ==================== */
.tp-delivery-bar {
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--brand-border);
  padding: 7px 0;
  font-size: 0.8rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s;
}

.tp-delivery-bar:hover {
  background-color: #FFF7ED;
}

.tp-delivery-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tp-delivery-text-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tp-delivery-pin-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.tp-delivery-location-name {
  color: var(--brand-dark);
  font-weight: 700;
}

.tp-delivery-change-action {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  flex-shrink: 0;
}

.tp-delivery-bar:hover .tp-delivery-change-action {
  color: var(--brand-primary);
}

/* Desktop User Menu & Cart Trigger (≥ 992px) */
.tp-btn-header-login {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--brand-border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.tp-btn-header-login:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: var(--brand-primary-light);
}

@media (min-width: 992px) {
  .tp-btn-header-login {
    display: inline-flex;
  }
}

.tp-user-menu {
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--brand-border);
  background-color: var(--brand-surface);
  transition: all 0.15s;
}

.tp-user-menu:hover {
  border-color: var(--brand-primary);
  background-color: #FFF7ED;
}

@media (min-width: 992px) {
  .tp-user-menu {
    display: flex;
  }
}

.tp-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: var(--text-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.tp-user-info {
  display: flex;
  flex-direction: column;
}

.tp-user-greeting {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.tp-user-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tp-cart-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background-color: #F8FAFC;
  border: 1.5px solid var(--brand-border);
  transition: all 0.15s;
  white-space: nowrap;
}

.tp-cart-trigger:hover {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary-light);
}

.tp-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}

.tp-cart-label {
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
}

@media (min-width: 992px) {
  .tp-cart-label {
    display: inline-block;
  }
}

/* ==================== 4. DESKTOP CATEGORY NAVIGATION STRIP ==================== */
.tp-cat-nav {
  background-color: var(--brand-surface);
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid var(--brand-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: none;
}

@media (min-width: 992px) {
  .tp-cat-nav {
    display: block;
  }
}

.tp-cat-nav::-webkit-scrollbar {
  display: none;
}

.tp-cat-nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 42px;
}

.tp-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.tp-cat-link:hover {
  color: var(--brand-primary);
  background-color: #FFF7ED;
}

.tp-cat-link.active {
  color: var(--brand-primary);
  font-weight: 700;
}

/* ==================== 5. MOBILE NAVIGATION DRAWER ==================== */
.tp-mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 20, 23, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.tp-mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tp-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: var(--brand-surface);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.tp-mobile-drawer.active {
  transform: translateX(0);
}

.tp-drawer-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #F8FAFC;
}

.tp-drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: var(--text-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tp-drawer-user-details {
  display: flex;
  flex-direction: column;
}

.tp-drawer-user-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.tp-drawer-user-phone {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.tp-drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
}

.tp-drawer-nav {
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.tp-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}

.tp-drawer-link:hover, .tp-drawer-link.active {
  background-color: #FFF7ED;
  color: var(--brand-primary);
}

.tp-drawer-link i {
  color: #64748B;
  flex-shrink: 0;
}

.tp-drawer-link:hover i, .tp-drawer-link.active i {
  color: var(--brand-primary);
}

.tp-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding: 14px 14px 4px 14px;
}

.tp-drawer-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--brand-border);
  background-color: #F8FAFC;
}

/* ==================== 6. FIXED MOBILE BOTTOM NAVIGATION ==================== */
.tp-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--brand-surface);
  border-top: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 60px;
  z-index: 900;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 992px) {
  .tp-mobile-bottom-nav {
    display: none !important;
  }
}

.tp-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748B;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  flex: 1;
  transition: all 0.15s ease;
  position: relative;
}

.tp-bottom-nav-item i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform 0.15s ease;
}

.tp-bottom-nav-item:hover, .tp-bottom-nav-item.active {
  color: var(--brand-primary);
}

.tp-bottom-nav-item.active i {
  transform: translateY(-1px);
}

.tp-bottom-nav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-bottom-nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--brand-primary);
  color: var(--text-white);
  font-size: 0.62rem;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

/* Adjust page bottom padding to prevent bottom navigation overlap */
@media (max-width: 991px) {
  .tp-main-content, #app-root {
    padding-bottom: 74px !important;
  }
}

/* ==================== 7. BOTTOM SHEET MODAL (DELIVERY & FILTERS) ==================== */
.tp-bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 20, 23, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.tp-bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tp-bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brand-surface);
  border-radius: 20px 20px 0 0;
  z-index: 1101;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

@media (min-width: 768px) {
  .tp-bottom-sheet {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    bottom: auto;
    top: 50%;
    transform: translate(0, -50%) scale(0.95);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .tp-bottom-sheet-overlay.active .tp-bottom-sheet {
    transform: translate(0, -50%) scale(1);
    opacity: 1;
  }
}

.tp-bottom-sheet.active {
  transform: translateY(0);
}

.tp-sheet-handle {
  width: 40px;
  height: 4px;
  background-color: #CBD5E1;
  border-radius: var(--radius-full);
  margin: 10px auto 4px auto;
}

@media (min-width: 768px) {
  .tp-sheet-handle {
    display: none;
  }
}

.tp-sheet-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-sheet-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.tp-sheet-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

.tp-sheet-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

/* ==================== 8. PUBLIC FOOTER ==================== */
.tp-footer {
  background-color: var(--brand-dark);
  color: #CBD5E1;
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 4px solid var(--brand-primary);
}

.tp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--brand-dark-border);
}

@media (min-width: 640px) {
  .tp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tp-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.tp-logo-footer-card {
  display: inline-block;
  background-color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  cursor: pointer;
}

.tp-logo-footer-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.tp-footer-about {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}

.tp-footer-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.tp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s;
}

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

.tp-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-footer-bottom {
  padding: var(--space-4) 0;
  font-size: 0.75rem;
  color: #64748B;
}

.tp-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

@media (min-width: 768px) {
  .tp-footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

