/* 
  MEDICO LIFE SCIENCE - Design System
  ====================================
  Easily modify colors by changing the CSS variables below
*/

:root {
  /* Primary Colors */
  --primary: #fdf485; /* Lemon Yellow */
  --primary-foreground: #000000; /* Black for contrast */

  /* Secondary/Background Colors */
  --secondary: #ffffff; /* White */
  --secondary-foreground: #4e4e4e; /* Text color */

  /* Accent - Red */
  --accent: #710000; /* Red */
  --accent-foreground: #ffffff; /* White */

  /* Green - Natural elements */
  --green: #6cdd51; /* Green */
  --green-foreground: #ffffff;

  /* Background */
  --background: #ffffff;
  --foreground: #4e4e4e;

  /* Light backgrounds */
  --light-bg: #f7f7fb;
  --frozen: #e4eaf1;
  --light-lemon: #fffeef;
  --sky-blue: #f1f5f9;

  /* Border */
  --border: #e6e6e6;
  --border-lemon: #eeecd3;

  /* Additional colors */
  --text-muted: #b6b6b6;
  --grey: #a7a7a7;
  --dark-grey: #363b3e;
  --brown: #433c30;
  --pink: #dd78a0;
  --yellow: #fbd12a;
  --peach: #ff6565;

  /* Spacing */
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Archivo", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Utility Classes */
.text-accent {
  color: var(--accent);
}
.text-muted {
  color: var(--text-muted);
}

/* ======================================
   BUTTONS
   ====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn i {
  width: 1.25rem;
  height: 1.25rem;
}
.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-normal);
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(253, 244, 133, 0.3);
}
.btn-hero:hover {
  background-color: #fcef5e;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(253, 244, 133, 0.4);
}

.btn-hero-outline {
  background-color: transparent;
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  border: 2px solid var(--border);
}
.btn-hero-outline:hover {
  background-color: var(--light-bg);
  border-color: var(--accent);
}

.btn-contact {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.625rem 1.25rem;
}
.btn-contact:hover {
  background-color: #4a0000;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  padding: 0.625rem 1.25rem;
}
.btn-ghost:hover {
  color: var(--accent);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
}
.btn-accent:hover {
  background-color: #4a0000;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background-color: var(--light-bg);
  border-color: var(--accent);
}

.btn-card {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  width: 100%;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--accent);
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-secondary:hover {
  background-color: var(--light-bg);
}

.btn-full {
  width: 100%;
}

/* ======================================
   KICKER / TAG
   ====================================== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  background-color: rgba(92, 69, 191, 0.12);
  color: var(--accent);
}
.kicker-icon {
  width: 1rem;
  height: 1rem;
}
.kicker-light {
  background-color: rgba(253, 244, 133, 0.2);
  color: var(--primary);
}
.kicker-testimonial {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--secondary);
}

/* ======================================
   HEADER
   ====================================== */
.header {
  position: fixed;
  top: 1rem;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 0.75rem 0;
  transition: all var(--transition-slow);

  /* 90% width with 5% margins on each side */
  width: 90vw;
  left: 5vw;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(92, 69, 191, 0.08);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-link:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon {
  width: 8rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}
.logo-icon span {
  color: var(--accent-foreground);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  display: none;
}
@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color var(--transition-normal);
}
.nav-link:hover {
  color: var(--accent);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-normal);
}
.active {
  color: var(--accent);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-icon {
  width: 1rem;
  height: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-actions .btn-contact {
  display: none;
}
.header-actions .btn-ghost {
  display: none;
}
@media (min-width: 640px) {
  .header-actions .btn-contact {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .header-actions .btn-ghost {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: color var(--transition-normal);
}
.mobile-menu-btn:hover {
  color: var(--accent);
}
.mobile-menu-btn i {
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--secondary);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(92, 69, 191, 0.12);
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}
.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--foreground);
  font-weight: 600;
  transition: all var(--transition-normal);
}
.mobile-nav-link:hover {
  background-color: var(--light-bg);
  color: var(--accent);
}

.mobile-divider {
  margin: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* 
  SINGLE PRODUCT PAGE - Additional Styles
  ========================================
*/

/* ======================================
   PRODUCT DETAIL SECTION
   ====================================== */
.product-detail-section {
  padding: 8rem 0 4rem;
  background-color: var(--secondary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.6);
}

.breadcrumb a {
  color: rgba(78, 78, 78, 0.6);
  transition: color var(--transition-normal);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  width: 1rem;
  height: 1rem;
}

.breadcrumb span {
  color: var(--foreground);
  font-weight: 600;
}

.product-detail-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Product Images */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/3;
  background-color: var(--light-bg);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.image-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.image-nav-btn:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.prev-image-btn {
  left: 1rem;
}

.next-image-btn {
  right: 1rem;
}

.image-nav-btn i {
  width: 1.25rem;
  height: 1.25rem;
}

.main-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(
    135deg,
    rgba(92, 69, 191, 0.1),
    rgba(108, 221, 81, 0.1)
  );
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.thumbnail {
  aspect-ratio: 1 / 1;
  background-color: var(--light-bg);
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  background: linear-gradient(
    135deg,
    rgba(92, 69, 191, 0.05),
    rgba(108, 221, 81, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--yellow);
}

.star.filled {
  fill: var(--yellow);
}

.star.half {
  fill: url(#half-star);
}

.rating-text {
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.7);
  margin-left: 0.5rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 2.5rem;
  }
}

.product-short-desc {
  font-size: 1.125rem;
  color: rgba(78, 78, 78, 0.7);
  line-height: 1.7;
}

/* Pricing */
.product-pricing {
  background-color: var(--light-lemon);
  border-radius: 1rem;
  padding: 1.5rem;
}

.price-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.original-price {
  font-size: 1.25rem;
  color: rgba(78, 78, 78, 0.5);
  text-decoration: line-through;
}

.discount-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background-color: var(--green);
  color: var(--green-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.tax-info {
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.6);
}

/* Product Options */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-label {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}

.option-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.option-btn {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border);
  background-color: var(--secondary);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.option-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.option-btn.active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Quantity Selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.qty-btn:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.qty-btn i {
  width: 1rem;
  height: 1rem;
}

.qty-input {
  width: 4rem;
  height: 2.5rem;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
}

/* Product Actions */
.product-actions-detail {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product Features */
.product-features {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .product-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon-detail {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-title-detail {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}

.feature-desc-detail {
  font-size: 0.75rem;
  color: rgba(78, 78, 78, 0.6);
}

/* ======================================
   PRODUCT INFO SECTION (TABS)
   ====================================== */
.product-info-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Tab Headers */
.tab-headers {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-header {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(78, 78, 78, 0.6);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-normal);
  white-space: nowrap;
}

.tab-header:hover {
  color: var(--accent);
}

.tab-header.active {
  color: var(--accent);
}

.tab-header.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
}

/* Tab Content */
.tab-content-container {
  background-color: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .tab-content-container {
    padding: 3rem;
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.tab-content-text {
  font-size: 1rem;
  color: rgba(78, 78, 78, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tab-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 2rem 0 1rem;
}

.benefits-list,
.ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(78, 78, 78, 0.8);
  line-height: 1.6;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.ingredients-list li {
  color: rgba(78, 78, 78, 0.8);
  padding-left: 1.5rem;
  position: relative;
}

.ingredients-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Info Table */
.info-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:nth-child(even) {
  background-color: var(--light-bg);
}

.info-label {
  font-weight: 600;
  color: var(--foreground);
}

.info-value {
  color: rgba(78, 78, 78, 0.8);
}

/* Reviews */
.reviews-summary {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .reviews-summary {
    grid-template-columns: 1fr 2fr;
  }
}

.rating-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--light-lemon);
  border-radius: 1rem;
}

.rating-score {
  text-align: center;
}

.score-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.score-stars {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin: 0.5rem 0;
}

.score-text {
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.6);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rating-bar-item {
  display: grid;
  grid-template-columns: 4rem 1fr 3rem;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.7);
}

.bar-container {
  height: 0.5rem;
  background-color: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: var(--yellow);
  border-radius: 9999px;
}

.bar-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(78, 78, 78, 0.7);
  text-align: right;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-foreground);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 600;
  color: var(--foreground);
}

.review-date {
  font-size: 0.875rem;
  color: rgba(78, 78, 78, 0.6);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
}

.review-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.review-text {
  color: rgba(78, 78, 78, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-helpful {
  display: flex;
  gap: 0.75rem;
}

.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(78, 78, 78, 0.7);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.helpful-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.helpful-btn i {
  width: 1rem;
  height: 1rem;
}

/* ======================================
   EXPLORE PRODUCTS SECTION
   ====================================== */
.explore-products-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.explore-products-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
}

.header-left {
  flex: 1;
}

.kicker-light {
  background-color: rgba(253, 244, 133, 0.15);
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(113, 0, 0, 0.2);
}

.view-all-link:hover {
  background-color: #4a0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(113, 0, 0, 0.3);
  gap: 0.75rem;
}

.view-all-link i {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-normal);
}

.view-all-link:hover i {
  transform: translateX(4px);
}

/* Carousel Wrapper */
.products-carousel-wrapper {
  position: relative;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .products-carousel-wrapper {
    padding: 0 1rem;
  }
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
}

.carousel-btn {
  pointer-events: all;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(113, 0, 0, 0.2);
}

.carousel-btn i {
  width: 1.5rem;
  height: 1.5rem;
}

.prev-btn {
  transform: translateX(-50%);
}

.next-btn {
  transform: translateX(50%);
}

/* Products Carousel */
.products-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 1.5rem);
  gap: 1.8rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  position: relative;
}

@media (max-width: 1200px) {
  .products-carousel {
    grid-auto-columns: calc(33.333% - 1.5rem);
  }
}

@media (max-width: 768px) {
  .products-carousel {
    grid-auto-columns: calc(50% - 1rem);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .products-carousel {
    grid-auto-columns: calc(100% - 1rem);
  }
}

/* Product Card Updates */
.envato-card {
  scroll-snap-align: start;
  background: var(--secondary);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.envato-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.envato-img {
  background: var(--light-lemon);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
  margin: 1rem;
  transition: all var(--transition-normal);
}

.envato-card:hover .envato-img {
  transform: scale(1.02);
}

.envato-img .product-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.envato-card:hover .product-placeholder {
  transform: scale(1.15);
}

/* Wishlist Button Update */
.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--secondary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
}

.wishlist-btn:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  transform: scale(1.1);
}

.wishlist-btn i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Product Info */
.envato-info {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  background-color: rgba(113, 0, 0, 0.08);
  border-radius: 9999px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.star-icon {
  width: 1rem;
  height: 1rem;
}

.star-icon.filled {
  fill: var(--yellow);
  color: var(--yellow);
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0.5rem 0;
  line-height: 1.3;
}

.product-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex: 1;
}

/* Info Bottom */
.info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.original-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  padding: 0.125rem 0rem;
  border-radius: 9999px;
  align-self: flex-start;
}

.btn-card {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-card:hover {
  background-color: #4a0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 0, 0, 0.3);
}

.btn-card i {
  width: 1rem;
  height: 1rem;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background-color: var(--accent);
}

/* Animation for carousel */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.products-carousel .envato-card {
  animation: slideIn 0.6s ease-out;
}

/* Progress Bar */
.carousel-progress {
  height: 3px;
  background-color: var(--border);
  margin-top: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  position: relative;
  background-size: cover;
  background-position: center;
  margin-top: 3rem;
  border-radius: 2rem 2rem 0 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(78, 78, 78, 0.95);
  border-radius: 2rem 2rem 0 0;
}

.footer-content {
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 15rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon span {
  color: var(--accent-foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all var(--transition-normal);
}
.social-link:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.social-link i {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-nav {
}

.footer-title {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-links a:hover::before {
  width: 1rem;
}

.footer-contact {
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-primary {
  color: var(--secondary);
  font-weight: 600;
}
.contact-secondary {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.copyright span {
  display: block;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .copyright span {
    display: inline;
    margin-top: 0;
    margin-left: 0.5rem;
  }
}
/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  box-shadow: 0 5px 20px rgba(113, 0, 0, 0.3);
  z-index: 1000;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: #4a0000;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(113, 0, 0, 0.4);
}

.scroll-top i {
  width: 1.5rem;
  height: 1.5rem;
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

/* Reveal animation (used with IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================
   SCROLLBAR
   ====================================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(92, 69, 191, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(92, 69, 191, 0.5);
}
