/* ============================================
   TRENDTROVE - MASTER STYLESHEET
   Version: 1.0.0
   Author: Trendtrove Team
   Description: Core styles for all pages
   ============================================ */

/* ---------- GLOBAL RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- TOAST NOTIFICATION ---------- */
.toast-message {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #1e293b;
  color: white;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
  font-family: "Inter", sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-message.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ---------- PRODUCT CARDS ---------- */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* ---------- LOGO COMPONENT ---------- */
.tt-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.tt-logo-svg {
  flex-shrink: 0;
}

.tt-logo-wordmark {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #0a0a0a;
  line-height: 1;
}

.tt-logo-wordmark span {
  color: #1a73e8;
}

/* Footer logo variant */
.footer-logo-white .tt-logo-wordmark {
  color: white;
}

.footer-logo-white .tt-logo-wordmark span {
  color: #60a5fa;
}

/* ---------- BADGES ---------- */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  z-index: 10;
  font-family: "Inter", sans-serif;
}

.store-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  z-index: 10;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}

/* ---------- SCROLLBAR CUSTOMIZATION ---------- */
#trendingScrollContainer::-webkit-scrollbar {
  height: 4px;
}

#trendingScrollContainer::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

#trendingScrollContainer::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 10px;
}

#trendingScrollContainer::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* ---------- CAROUSEL ANIMATION ---------- */
.carousel-image {
  transition: opacity 1s ease-in-out;
}

/* ---------- FORM FOCUS STATES ---------- */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  --tw-ring-color: #004ac6;
  border-color: #004ac6;
}

/* ---------- UTILITY CLASSES ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .tt-logo-wordmark {
    font-size: 16px;
  }
}
/* ============================================
   HOW IT WORKS PAGE STYLES
   ============================================ */
.step-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   DEALS PAGE STYLES
   ============================================ */
.deal-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.2);
}
.discount-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 30px;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* ============================================
   CUSTOMER SERVICE PAGE STYLES
   ============================================ */
.faq-item {
  transition: all 0.2s ease;
}
.faq-question:hover {
  background-color: #f3f4f6;
}
.support-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */
input:focus,
select:focus {
  outline: none;
  ring: 2px solid #004ac6;
  border-color: #004ac6;
}
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   CATEGORY PRODUCTS PAGE STYLES
   ============================================ */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
/* ============================================
   CATEGORIES PAGE STYLES
   ============================================ */
.product-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CART PAGE STYLES
   ============================================ */
.cart-item {
  transition: background-color 0.2s ease;
}
.cart-item:hover {
  background-color: #fafafa;
}
