/* ============================================ */
/* Hero Slider Styles */
/* ============================================ */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

section:has(.hero-slider-container) {
  margin: 0;
  padding: 0;
}

.hero-slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 90vh;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.hero-slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-nav-btn.prev {
  left: 2rem;
}

.hero-slider-nav-btn.next {
  right: 2rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.hero-slider-dot {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background: white;
  width: 64px;
}

@media (max-width: 768px) {
  .hero-slider-nav-btn {
    display: none !important;
  }
  
  .hero-slider-dots {
    bottom: 1.5rem;
  }
}

/* ============================================ */
/* Image Marquee - Seamless Infinite Loop */
/* ============================================ */
.image-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.image-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll-images 22s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.image-marquee-group {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.image-marquee-item {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.image-marquee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes marquee-scroll-images {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@media (max-width: 768px) {
  .image-marquee-track {
    animation-duration: 12s;
  }
}

/* ============================================ */
/* Flavor Cards - Owl Carousel Style */
/* ============================================ */
.flavors-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 20px 0;
}

.flavors-carousel {
  width: 100%;
  overflow: visible;
}

.flavors-carousel .owl-stage-outer {
  overflow: visible;
  padding: 20px 0;
}

.flavors-carousel .owl-stage {
  display: flex;
  overflow: visible;
}

.flavors-carousel .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3px;
  overflow: visible;
}

.flavor-card-circle {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.flavor-card-circle:hover {
  transform: translateY(-8px);
  z-index: 10;
}

.flavor-circle-image-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: rgb(62 39 35); /* deep-brown */
  padding: 8px;
  box-shadow: 0 8px 16px rgba(62, 39, 35, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0 auto;
}

.flavor-card-circle:hover .flavor-circle-image-wrapper {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(62, 39, 35, 0.25);
}

.flavor-circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flavor-card-circle:hover .flavor-circle-image {
  transform: scale(1.1);
}

.flavor-card-circle h3 {
  transition: color 0.3s ease, transform 0.3s ease;
  color: rgb(62 39 35); /* deep-brown */
}

.flavor-card-circle:hover h3 {
  color: rgb(254 144 0); /* primary */
  transform: scale(1.05);
}

.flavor-card-circle p {
  transition: color 0.3s ease;
  color: rgb(93 93 93); /* earthy-gray */
}

.flavor-card-circle:hover p {
  color: rgb(254 144 0); /* primary */
}

/* Owl Carousel Navigation Buttons - Hidden */
.flavors-carousel-wrapper .owl-nav {
  display: none !important;
}

/* Owl Carousel Dots */
.flavors-carousel-wrapper .owl-dots {
  display: none;
}

.flavors-carousel-wrapper .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(93 93 93) !important; /* earthy-gray */
  margin: 0 6px;
  transition: all 0.3s ease;
}

.flavors-carousel-wrapper .owl-dots .owl-dot.active {
  background: rgb(254 144 0) !important; /* primary */
  width: 32px;
  border-radius: 6px;
}

/* Ensure section doesn't clip hover effects */
section:has(.flavors-carousel-wrapper) {
  overflow: visible;
}

/* ============================================ */
/* Text Selection Colors */
/* ============================================ */
::selection {
  background-color: rgb(254 144 0); /* primary */
  color: rgb(255 255 255); /* white */
}

::-moz-selection {
  background-color: rgb(254 144 0); /* primary */
  color: rgb(255 255 255); /* white */
}

/* ============================================ */
/* Custom Scrollbar Colors */
/* ============================================ */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgb(245 241 232); /* beige */
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgb(254 144 0); /* primary */
  border-radius: 6px;
  border: 2px solid rgb(245 241 232); /* beige */
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(62 39 35); /* deep-brown */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(254 144 0) rgb(245 241 232); /* primary beige */
}

/* For specific containers */
.flavors-carousel-wrapper::-webkit-scrollbar {
  height: 8px;
}

.flavors-carousel-wrapper::-webkit-scrollbar-track {
  background: rgb(245 241 232); /* beige */
  border-radius: 4px;
}

.flavors-carousel-wrapper::-webkit-scrollbar-thumb {
  background: rgb(254 144 0); /* primary */
  border-radius: 4px;
}

.flavors-carousel-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgb(62 39 35); /* deep-brown */
}

@media (max-width: 768px) {
  .flavor-card-circle {
    max-width: 160px;
  }
  
  .flavor-circle-image-wrapper {
    width: 140px;
    height: 140px;
    padding: 6px;
  }
  
  .flavor-card-circle h3 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .flavor-card-circle p {
    font-size: 0.75rem;
  }
  
  .flavors-carousel-wrapper {
    padding: 15px 0;
  }
  
  .flavors-carousel .owl-stage-outer {
    padding: 15px 0;
  }
  
  .flavors-carousel .item {
    padding: 0 2px;
  }
}

@media (max-width: 480px) {
  .flavor-card-circle {
    max-width: 150px;
  }
  
  .flavor-circle-image-wrapper {
    width: 130px;
    height: 130px;
    padding: 5px;
  }
  
  .flavor-card-circle h3 {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 0.375rem;
  }
  
  .flavor-card-circle p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  section:has(.flavors-carousel-wrapper) {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .flavors-carousel-wrapper {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ============================================ */
/* Signature Flavors Carousel - Separate Code */
/* ============================================ */
.signature-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 20px 0;
}

.signature-carousel {
  width: 100%;
  overflow: visible;
}

.signature-carousel .owl-stage-outer {
  overflow: visible;
  padding: 20px 0;
}

.signature-carousel .owl-stage {
  display: flex;
  overflow: visible;
  align-items: stretch;
}

.signature-carousel .item {
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: 100%;
}

.signature-carousel .owl-item {
  display: flex;
  height: 100%;
}

.signature-product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: rgb(255 255 255);
  border-radius: 16px;
  border: 1px solid rgb(245 241 232);
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  padding: 0;
}

.signature-product-card:hover {
  transform: translateY(-8px);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(62, 39, 35, 0.12);
  border-color: rgb(254 144 0 / 0.3);
}

.signature-card-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: rgb(62 39 35); /* deep-brown - colored background like image */
  margin-bottom: 0;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signature-product-card:hover .signature-card-image-wrapper {
  box-shadow: 0 6px 20px rgba(62, 39, 35, 0.15);
  transform: scale(1.02);
}

.signature-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.signature-product-card:hover .signature-card-image {
  transform: scale(1.1);
}

/* Favorite Button */
.signature-fav-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgb(255 255 255);
  border: 2px solid transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.signature-fav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.signature-fav-btn .material-symbols-outlined {
  font-size: 1.125rem;
  color: rgb(156 163 175); /* gray-400 */
  transition: all 0.3s ease;
}

/* Hover state - only if not favorited */
.signature-fav-btn:hover:not([data-favorited="1"]):not(.bg-primary) .material-symbols-outlined,
.signature-fav-btn.active .material-symbols-outlined {
  color: rgb(239 68 68); /* red-500 */
  font-variation-settings: 'FILL' 1;
}

.signature-fav-btn.active {
  background: rgb(255 255 255);
}

/* Favorited state - when data-favorited="1" or has bg-primary class */
.signature-fav-btn[data-favorited="1"],
.signature-fav-btn.bg-primary {
  background: rgb(254 144 0) !important; /* primary color */
  border: 2px solid rgb(254 144 0) !important;
}

.signature-fav-btn[data-favorited="1"] .material-symbols-outlined,
.signature-fav-btn.bg-primary .material-symbols-outlined,
.signature-fav-btn .material-symbols-outlined.fill-1 {
  color: rgb(255 255 255) !important;
  font-variation-settings: 'FILL' 1 !important;
}

.signature-card-content {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.4s ease;
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
  min-height: 140px;
}

/* Category Label */
.signature-category-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(254 144 0); /* primary */
  margin-bottom: 0.125rem;
}

.signature-product-card h3 {
  transition: color 0.3s ease;
  color: rgb(62 39 35); /* deep-brown */
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signature-product-card:hover h3 {
  color: rgb(254 144 0); /* primary */
}

.signature-product-card .flex.items-center.gap-1 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.signature-product-card .flex.items-center.gap-1 .material-symbols-outlined {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(234 179 8); /* amber-500 */
}

.signature-product-card .flex.items-center.gap-1 span.text-earthy-gray {
  font-size: 0.875rem;
  margin-left: 0.375rem;
  color: rgb(93 93 93); /* earthy-gray */
}

/* Price */
.signature-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: rgb(62 39 35); /* deep-brown */
  line-height: 1.2;
  margin-top: 0;
}

/* Badge styling */
.signature-card-image-wrapper .absolute {
  z-index: 2;
}

.signature-card-image-wrapper .absolute span {
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .signature-product-card {
    padding: 0.625rem;
  }
  
  .signature-card-image-wrapper {
    margin-bottom: 0.625rem;
  }
  
  .signature-product-card h3 {
    font-size: 0.95rem;
  }
  
  .signature-product-card p {
    font-size: 0.7rem;
  }
  
  .signature-product-card .font-black {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .signature-product-card {
    padding: 0.5rem;
  }
  
  .signature-card-image-wrapper {
    margin-bottom: 0.5rem;
  }
  
  .signature-product-card h3 {
    font-size: 0.875rem;
  }
  
  .signature-product-card p {
    font-size: 0.65rem;
    min-height: 2rem;
  }
  
  .signature-product-card .font-black {
    font-size: 1rem;
  }
  
  .signature-product-card button {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.5rem;
  }
  
  .signature-product-card button .material-symbols-outlined {
    font-size: 1rem;
  }
}

/* Owl Carousel Navigation - Hidden */
.signature-carousel-wrapper .owl-nav {
  display: none !important;
}

.signature-carousel-wrapper .owl-dots {
  display: none;
}

/* Ensure section doesn't clip hover effects */
section:has(.signature-carousel-wrapper) {
  overflow: visible;
}

/* ============================================ */
/* Popular Products Carousel - Similar to Signature */
/* ============================================ */
.popular-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 20px 0;
}

.popular-carousel {
  width: 100%;
  overflow: visible;
}

.popular-carousel .owl-stage-outer {
  overflow: visible;
  padding: 20px 0;
}

.popular-carousel .owl-stage {
  display: flex;
  overflow: visible;
  align-items: stretch;
}

.popular-carousel .item {
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: 100%;

}

.popular-carousel .owl-item {
  display: flex;
  height: 100%;
}

.popular-product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: rgb(255 255 255);
  border-radius: 16px;
  border: 1px solid rgb(245 241 232);
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  padding: 0;
}

.popular-product-card:hover {
  transform: translateY(-8px);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(62, 39, 35, 0.12);
  border-color: rgb(254 144 0 / 0.3);
}

.popular-card-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: rgb(62 39 35);
  margin-bottom: 0;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-product-card:hover .popular-card-image-wrapper {
  box-shadow: 0 6px 20px rgba(62, 39, 35, 0.15);
  transform: scale(1.02);
}

.popular-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-product-card:hover .popular-card-image {
  transform: scale(1.1);
}

.popular-fav-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgb(255 255 255);
  border: 2px solid transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.popular-fav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popular-fav-btn .material-symbols-outlined {
  font-size: 1.125rem;
  color: rgb(156 163 175);
  transition: all 0.3s ease;
}

/* Hover state - only if not favorited */
.popular-fav-btn:hover:not([data-favorited="1"]):not(.bg-primary) .material-symbols-outlined,
.popular-fav-btn.active .material-symbols-outlined {
  color: rgb(239 68 68);
  font-variation-settings: 'FILL' 1;
}

.popular-fav-btn.active {
  background: rgb(255 255 255);
}

/* Favorited state - when data-favorited="1" or has bg-primary class */
.popular-fav-btn[data-favorited="1"],
.popular-fav-btn.bg-primary {
  background: rgb(254 144 0) !important; /* primary color */
  border: 2px solid rgb(254 144 0) !important;
}

.popular-fav-btn[data-favorited="1"] .material-symbols-outlined,
.popular-fav-btn.bg-primary .material-symbols-outlined,
.popular-fav-btn .material-symbols-outlined.fill-1 {
  color: rgb(255 255 255) !important;
  font-variation-settings: 'FILL' 1 !important;
}

.popular-card-content {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.4s ease;
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
  min-height: 140px;
}

.popular-category-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(254 144 0);
  margin-bottom: 0.125rem;
}

.popular-product-card h3 {
  transition: color 0.3s ease;
  color: rgb(62 39 35);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-product-card:hover h3 {
  color: rgb(254 144 0);
}

.popular-product-card .flex.items-center.gap-1 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.popular-product-card .flex.items-center.gap-1 .material-symbols-outlined {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(234 179 8);
}

.popular-product-card .flex.items-center.gap-1 span.text-earthy-gray {
  font-size: 0.875rem;
  margin-left: 0.375rem;
  color: rgb(93 93 93);
}

.popular-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: rgb(62 39 35);
  line-height: 1.2;
  margin-top: 0;
}

.popular-carousel-wrapper .owl-nav {
  display: none !important;
}

.popular-carousel-wrapper .owl-dots {
  display: none;
}

section:has(.popular-carousel-wrapper) {
  overflow: visible;
}

@media (max-width: 767px) {
  .popular-section-header {
    margin-bottom: 1rem;
  }
  
  .popular-heading {
    display: none;
  }
  
  .popular-view-all-text {
    display: none;
  }
  
  .popular-view-all-link {
    gap: 0;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgb(245 241 232);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .popular-view-all-link .material-symbols-outlined {
    margin: 0;
  }
  
  .popular-product-card {
    padding: 0;
  }
  
  .popular-card-image-wrapper {
    border-radius: 12px 12px 0 0;
  }
  
  .popular-card-content {
    padding: 0.75rem 0.875rem 0.875rem 0.875rem;
    gap: 0.5rem;
    min-height: 120px;
  }
  
  .popular-category-label {
    font-size: 0.65rem;
    margin-bottom: 0.125rem;
  }
  
  .popular-product-card h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 2.4rem;
  }
  
  .popular-product-card .flex.items-center.gap-1 {
    margin-bottom: 0.5rem;
    gap: 0.2rem;
  }
  
  .popular-product-card .flex.items-center.gap-1 .material-symbols-outlined {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
  }
  
  .popular-product-card .flex.items-center.gap-1 span.text-earthy-gray {
    font-size: 0.75rem;
    margin-left: 0.25rem;
  }
  
  .popular-price {
    font-size: 1.5rem;
  }
  
  .popular-fav-btn {
    width: 2rem;
    height: 2rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  .popular-fav-btn .material-symbols-outlined {
    font-size: 1rem;
  }
  
  .popular-carousel-wrapper {
    padding: 10px 0;
  }
  
  .popular-carousel .owl-stage-outer {
    padding: 10px 0;
  }
  
  .popular-carousel .item {
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .popular-card-content {
    padding: 0.625rem 0.75rem 0.75rem 0.75rem;
    gap: 0.375rem;
    min-height: 110px;
  }
  
  .popular-category-label {
    font-size: 0.6rem;
  }
  
  .popular-product-card h3 {
    font-size: 0.875rem;
    min-height: 2.2rem;
  }
  
  .popular-product-card .flex.items-center.gap-1 .material-symbols-outlined {
    font-size: 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
  }
  
  .popular-product-card .flex.items-center.gap-1 span.text-earthy-gray {
    font-size: 0.7rem;
  }
  
  .popular-price {
    font-size: 1.375rem;
  }
  
  .popular-fav-btn {
    width: 1.875rem;
    height: 1.875rem;
  }
  
  .popular-fav-btn .material-symbols-outlined {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  /* Hide heading and text on mobile, show only arrow */
  .signature-section-header {
    margin-bottom: 1rem;
  }
  
  .signature-heading {
    display: none;
  }
  
  .signature-view-all-text {
    display: none;
  }
  
  .signature-view-all-link {
    gap: 0;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgb(245 241 232);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .signature-view-all-link .material-symbols-outlined {
    margin: 0;
  }
  
  .signature-product-card {
    padding: 0;
  }
  
  .signature-card-image-wrapper {
    border-radius: 12px 12px 0 0;
  }
  
  .signature-card-content {
    padding: 0.75rem 0.875rem 0.875rem 0.875rem;
    gap: 0.5rem;
  }
  
  .signature-category-label {
    font-size: 0.65rem;
    margin-bottom: 0.125rem;
  }
  
  .signature-product-card h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .signature-product-card .flex.items-center.gap-1 {
    margin-bottom: 0.5rem;
    gap: 0.2rem;
  }
  
  .signature-product-card .flex.items-center.gap-1 .material-symbols-outlined {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
  }
  
  .signature-product-card .flex.items-center.gap-1 span.text-earthy-gray {
    font-size: 0.75rem;
    margin-left: 0.25rem;
  }
  
  .signature-price {
    font-size: 1.5rem;
  }
  
  .signature-fav-btn {
    width: 2rem;
    height: 2rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  .signature-fav-btn .material-symbols-outlined {
    font-size: 1rem;
  }
  
  .signature-carousel-wrapper {
    padding: 10px 0;
  }
  
  .signature-carousel .owl-stage-outer {
    padding: 10px 0;
  }
  
  .signature-carousel .item {
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .signature-card-content {
    padding: 0.625rem 0.75rem 0.75rem 0.75rem;
    gap: 0.375rem;
  }
  
  .signature-category-label {
    font-size: 0.6rem;
  }
  
  .signature-product-card h3 {
    font-size: 0.875rem;
  }
  
  .signature-product-card .flex.items-center.gap-1 .material-symbols-outlined {
    font-size: 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
  }
  
  .signature-product-card .flex.items-center.gap-1 span.text-earthy-gray {
    font-size: 0.7rem;
  }
  
  .signature-price {
    font-size: 1.375rem;
  }
  
  .signature-fav-btn {
    width: 1.875rem;
    height: 1.875rem;
  }
  
  .signature-fav-btn .material-symbols-outlined {
    font-size: 0.9rem;
  }
}

/* ============================================ */
/* Mobile Section Heading Sizes */
/* ============================================ */
@media (max-width: 767px) {
  /* Reduce all section headings on mobile */
  section h2.text-4xl {
    font-size: 1.75rem !important; /* text-3xl equivalent */
    line-height: 1.2;
  }
  
  section h2.text-4xl.md\:text-5xl {
    font-size: 1.75rem !important;
  }
  
  /* Hero slider headings are already responsive with md:text-7xl */
  /* But we can make them smaller on very small screens */
  .hero-slide h2.text-6xl {
    font-size: 2rem !important; /* Smaller on mobile */
    line-height: 1.2;
  }
  
  /* Section subheadings */
  section h3.text-xl {
    font-size: 1rem !important; /* text-lg equivalent */
  }
  
  /* Reduce spacing for section headers */
  section > div > div.flex.items-end.justify-between {
    margin-bottom: 1.5rem;
  }
  
  section > div > div.text-center {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  /* Even smaller for very small screens */
  section h2.text-4xl {
    font-size: 1.5rem !important; /* text-2xl equivalent */
  }
  
  section h2.text-4xl.md\:text-5xl {
    font-size: 1.5rem !important;
  }
  
  .hero-slide h2.text-6xl {
    font-size: 1.75rem !important;
  }
  
  section h3.text-xl {
    font-size: 0.95rem !important;
  }
}

/* ============================================ */
/* The Kreative Difference Section - Mobile */
/* ============================================ */
.kreative-difference-section {
  position: relative;
  background: rgb(254 144 0 / 0.05); /* primary/5 */
}

.kreative-bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FE9000' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
  pointer-events: none;
}

.kreative-features-grid {
  gap: 1.5rem;
}

.kreative-feature-item {
  padding: 1rem;
  transition: transform 0.3s ease;
}

.kreative-feature-item:hover {
  transform: translateY(-4px);
}

.kreative-icon-wrapper {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgb(255 255 255);
  border-color: rgb(254 144 0 / 0.1);
}

.kreative-feature-item:hover .kreative-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(254, 144, 0, 0.2);
  background: rgb(254 144 0 / 0.05); /* Light primary background */
  border-color: rgb(254 144 0 / 0.3); /* Stronger border */
}

.kreative-icon {
  transition: all 0.3s ease;
  color: rgb(254 144 0); /* primary */
  font-size: 2.5rem !important; /* Override Material Symbols default 24px */
  line-height: 1;
}

@media (min-width: 1024px) {
  .kreative-icon {
    font-size: 3rem !important; /* text-5xl - 48px */
  }
}

.kreative-feature-item:hover .kreative-icon {
  transform: scale(1.1);
  color: rgb(254 144 0); /* Keep primary color on hover */
}

.kreative-feature-title {
  transition: color 0.3s ease;
}

.kreative-feature-item:hover .kreative-feature-title {
  color: rgb(254 144 0); /* primary */
}

@media (max-width: 767px) {
  .kreative-features-grid {
    gap: 1.5rem;
  }
  
  .kreative-icon-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
  }
  
  .kreative-icon {
    font-size: 2.25rem !important;
  }
  
  .kreative-feature-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .kreative-feature-desc {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .kreative-feature-item {
    padding: 0.75rem;
  }
  
  section.bg-primary\/5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  section.bg-primary\/5 > div > div.text-center {
    margin-bottom: 2rem;
  }
  
  section.bg-primary\/5 > div > div.text-center h2 {
    margin-bottom: 0.75rem;
  }
  
  section.bg-primary\/5 > div > div.text-center p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .kreative-features-grid {
    gap: 1.25rem;
  }
  
  .kreative-icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.75rem;
  }
  
  .kreative-icon {
    font-size: 2rem !important;
  }
  
  .kreative-feature-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .kreative-feature-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .kreative-feature-item {
    padding: 0.5rem;
  }
  
  section.bg-primary\/5 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* ============================================ */
/* Testimonials Carousel - What Our Tribe Says */
/* ============================================ */
.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

section:has(.testimonials-carousel-wrapper) {
  padding-left: 0;
  padding-right: 0;
}

.testimonials-carousel {
  width: 100%;
}

.testimonials-carousel .owl-stage-outer {
  overflow: visible;
  padding: 30px 0;
}

.testimonials-carousel .owl-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-carousel .item {
  height: 100%;
  padding: 0 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-carousel .owl-item {
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Center card - larger */
.testimonials-carousel .owl-item.center .item > div {
  transform: scale(1.08);
  z-index: 2;
}

.testimonials-carousel .owl-item.center {
  z-index: 2;
}

/* Side cards - slightly smaller */
.testimonials-carousel .owl-item:not(.center) .item > div {
  transform: scale(0.95);
  opacity: 0.85;
}

.testimonials-carousel .item > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-carousel .item:hover > div {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(62, 39, 35, 0.1);
}

/* Override hover for center card */
.testimonials-carousel .owl-item.center .item:hover > div {
  transform: translateY(-4px) scale(1.12);
}

/* Custom Navigation Buttons - Hidden */
.testimonials-carousel-wrapper .owl-nav {
  display: none !important;
}

/* Dots - Hidden */
.testimonials-carousel-wrapper .owl-dots {
  display: none !important;
}

/* ============================================ */
/* Star Rating Component - Interactive */
/* ============================================ */
.rating {
  display: inline-block;
  direction: rtl; /* Right to left for proper star ordering */
  unicode-bidi: bidi-override;
}

.rating input {
  display: none;
}

.rating label {
  float: right;
  cursor: pointer;
  color: rgb(245 241 232); /* beige - unselected stars */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 28px;
  line-height: 1;
  margin: 0 2px;
  padding: 0;
  transform: scale(1);
}

.rating label:before {
  content: '\2605'; /* Star character */
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect - scale and color change */
.rating label:hover {
  color: rgb(245 158 11); /* amber-500 */
  transform: scale(1.2);
}

.rating label:hover:before {
  transform: scale(1.1);
}

/* Show all stars up to hovered star */
.rating label:hover ~ label {
  color: rgb(245 158 11); /* amber-500 */
  transform: scale(1.1);
}

/* Selected stars - show checked stars */
.rating input:checked ~ label {
  color: rgb(245 158 11); /* amber-500 */
  transform: scale(1.15);
}

.rating input:checked ~ label:before {
  transform: scale(1.05);
}

/* Active state when clicking */
.rating label:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Rating value styling */
.rating-value {
  min-width: 40px;
  display: inline-block;
  transition: all 0.3s ease;
}

.rating-value.has-rating {
  color: rgb(245 158 11); /* amber-500 */
  font-weight: 700;
}

@media (max-width: 767px) {
  .testimonials-carousel .item {
    padding: 0 8px;
  }
  
  .testimonials-carousel .owl-item.center .item > div,
  .testimonials-carousel .owl-item:not(.center) .item > div {
    transform: scale(1);
    opacity: 1;
  }
  
  .testimonials-carousel .item > div {
    padding: 1.5rem;
  }
  
  .testimonials-carousel .item > div p {
    font-size: 1rem;
  }
  
  .rating label {
    font-size: 20px;
  }
}

/* ============================================ */
/* Newsletter Section */
/* ============================================ */
.newsletter-section {
    box-shadow: 0 20px 60px rgba(35, 35, 35, 0.726), 0 8px 24px rgba(62, 39, 35, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.349);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-section:hover {
  box-shadow: 0 24px 72px rgba(62, 39, 35, 0.4), 
              0 12px 32px rgba(62, 39, 35, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .newsletter-section {
    box-shadow: 0 12px 40px rgba(62, 39, 35, 0.25), 
                0 4px 16px rgba(62, 39, 35, 0.15);
  }
  
  .newsletter-section:hover {
    box-shadow: 0 16px 48px rgba(62, 39, 35, 0.35), 
                0 8px 24px rgba(62, 39, 35, 0.25);
    transform: translateY(-1px);
  }
}

/* ============================================ */
/* About Page Styles */
/* ============================================ */
/* Values Cards Hover Effect */
.about-values-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.about-values-card:hover {
  transform: translateY(-8px);
}

.about-values-card .material-symbols-outlined {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: inherit !important;
}

.about-values-card:hover .material-symbols-outlined {
  transform: scale(1.1);
}

/* Desktop Large Icons */
@media (min-width: 1024px) {
  .about-values-card > div {
    width: 6rem;
    height: 6rem;
  }
  
  .about-values-card .material-symbols-outlined {
    font-size: 4rem !important;
  }
}

/* Process Cards Animation */
.about-process-card {
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-process-card:hover {
  transform: translateY(-12px) scale(1.02);
  z-index: 20;
}

.about-process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(254, 144, 0, 0.05) 0%, rgba(254, 144, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.about-process-card:hover::before {
  opacity: 1;
}

@media (max-width: 767px) {
  .about-process-card {
    margin-bottom: 1rem;
  }
  
  .about-process-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* Mobile Responsive Adjustments for About Page */
@media (max-width: 767px) {
  section h1.text-6xl {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  section h2.text-4xl {
    font-size: 2rem;
  }
  
  section h2.text-5xl {
    font-size: 2.25rem;
  }
  
  section:has(.h-\[600px\]) {
    height: 400px;
  }
  
  /* Values Section Mobile */
  .about-values-card {
    padding: 0.5rem;
  }
  
  .about-values-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .about-values-card p {
    font-size: 0.875rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .about-values-card {
    padding: 0.25rem;
  }
  
  .about-values-card .material-symbols-outlined {
    font-size: 4rem !important;
  }
  
  .about-values-card > div {
    width: 120px !important;
    height: 120px !important;
    margin-bottom: 1rem;
  }
}

/* ============================================ */
/* Home Page - New Hero Slider */
/* ============================================ */
.slider .inner-container {
  height: 100%;
  margin: 0 auto;
  margin-top: 75px;
  max-width: 85rem;
  width: calc(100% - 2.5rem);
}

.slider .flex-column {
  display: flex;
  flex-direction: column;
}

.slider .flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider .justify-between {
  display: flex;
  justify-content: space-between;
}

.slider {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  background-color: #f6ead8;
  color: #3e2723;
}

.slider__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slider__wrraper {
  position: relative;
  z-index: 1;
  height: 100%;
  justify-content: center;
  padding: 1.25rem 0 2rem;
  overflow: visible;
}

.slider .slider__content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(380px, 1.15fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 0;
  overflow: visible;
}

.slider__img {
  width: min(50vw, 640px);
  max-height: 75vh;
  height: auto;
  object-fit: contain;
  margin: 0;
  justify-self: start;
  grid-column: 1;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.2));
}

.slider__context {
  font-weight: 900;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  width: 100%;
  max-width: 470px;
  margin-bottom: 0;
  text-transform: capitalize;
  align-self: center;
  text-align: left;
  justify-self: end;
  grid-column: 2;
}

.slider__title {
  font-size: 1.05em;
  line-height: 1.15;
  margin: 0.2rem 0 0.55rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.slider__category {
  margin: 0;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4);
}

.slider__price {
  font-size: 0.42em;
  font-weight: 300;
  font-family: sans-serif;
  color: #f6ead8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider__actions {
  margin-top: 1.05rem;
  width: min(34vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.slider__btn-buy {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  border-radius: 9999px;
  text-transform: uppercase;
  padding: 0.9rem 2.55rem 0.78rem;
  color: #ffffff;
  background: linear-gradient(135deg, #3e2723, #5a3934);
  box-shadow: 0 10px 22px rgba(62, 39, 35, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.slider__btn-buy:hover {
  background-color: #8b5e34;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(62, 39, 35, 0.28);
}

.slider__btn-switch {
  width: 58px;
  height: 58px;
  position: relative;
  border-radius: 50%;
  margin-inline-start: 0;
  cursor: pointer;
}

.slider__btn-switch::before {
  content: "";
  height: 0.5rem;
  width: 0.5rem;
  position: absolute;
  border: 3px solid;
  border-top: unset;
  border-left: unset;
  margin-inline-end: 0.1rem;
  transform: rotate(-45deg);
}

.slider__btn-switch--dark {
  background-color: #ffffff;
  border: 2px solid #3e2723;
  transform: rotate(180deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(62, 39, 35, 0.3);
}

.slider__btn-switch--dark::before {
  border-color: #3e2723;
}

.slider__btn-switch--light {
  background-color: #ffffff;
  border: 2px solid #3e2723;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(62, 39, 35, 0.3);
}

.slider__btn-switch--light::before {
  border-color: #3e2723;
}

.slider__nav-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

@media (min-width: 768px) {
  .slider {
    margin-top: 24px;
    min-height: calc(100vh - 24px);
  }
}

@media (min-width: 490px) {
  .slider__img {
    width: min(54vw, 600px);
    max-height: 72vh;
    object-fit: contain;
  }

  .slider__context {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
  }

  .slider__price {
    font-size: 0.4em;
  }

  .slider__actions {
    font-size: 0.98rem;
    margin-bottom: 0;
  }
}

@media (min-width: 830px) {
  .slider__img {
    width: min(50vw, 660px);
    max-height: 75vh;
    object-fit: contain;
  }

  .slider__context {
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    margin-bottom: 0;
  }

  .slider__actions {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .slider {
    min-height: calc(100vh - 64px);
  }

  .slider .inner-container {
    width: calc(100% - 1.3rem);
    margin-top: 24px;
  }

  .slider .slider__content {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: start;
  }

  .slider__img {
    grid-column: 1;
    width: min(100%, 520px);
    max-height: 44vh;
    justify-self: center;
  }

  .slider__context {
    grid-column: 1;
    justify-self: start;
    width: 100%;
    max-width: none;
    font-size: clamp(1.35rem, 5.2vw, 2rem);
    text-align: left;
  }

  .slider__price {
    font-size: 0.56em;
    font-weight: 500;
  }

  .slider__actions {
    width: 100%;
    margin-top: 0.9rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .slider__nav-row {
    margin-top: 0.2rem;
    gap: 0.7rem;
  }

  .slider__btn-switch {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 640px) {
  .slider .slider__content {
    justify-items: center;
  }

  .slider__context {
    justify-self: center;
    text-align: center;
  }

  .slider__price {
    font-size: 0.6em;
    font-weight: 600;
  }

  .slider__actions {
    align-items: center;
  }

  .slider__nav-row {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .slider {
    margin-top: 50px;
    min-height: calc(100vh - 72px);
    overflow: visible;
  }

  .slider__img {
    max-height: 70vh;
    object-fit: contain;
  }

  .slider__img,
  .slider__category,
  .slider__title,
  .slider__price {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .slider__img {
    max-height: 68vh;
    width: min(48vw, 600px);
  }

  .slider__wrraper {
    padding-bottom: 2.5rem;
  }
}

/* ============================================ */
/* Home Page - Scroll Marquee */
/* ============================================ */
.scroll-marquee {
  display: flex;
  padding: 0.4em 0;
  margin: 0;
  white-space: nowrap;
  color: #f6ead8;
  justify-content: flex-end;
  background: #3e2723;
  overflow: hidden;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* Match section h2.text-4xl responsive sizes exactly */
@media (max-width: 767px) {
  .scroll-marquee {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .scroll-marquee {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }
}

.scroll-marquee[data-reversed="true"] {
  justify-content: flex-start;
  background: #d7be95;
  color: #3e2723;
}

.scroll-marquee span {
  display: block;
  padding: 0 1ch;
  flex-shrink: 0;
}

/* ============================================ */
/* User Dashboard Sidebar (home page variables) */
/* ============================================ */
:root {
  --user-sidebar-bg: #3e2723;
  --user-sidebar-header: #2c1e1b;
  --user-sidebar-border: rgba(246, 234, 216, 0.12);
  --user-sidebar-text: #f6ead8;
  --user-sidebar-text-muted: rgba(246, 234, 216, 0.75);
  --user-sidebar-accent: #FE9000;
  --user-sidebar-hover: rgba(254, 144, 0, 0.25);
  --user-sidebar-active-bg: rgba(254, 144, 0, 0.35);
  --user-sidebar-active-text: #f6ead8;
  --user-sidebar-avatar: #5a3934;
  --user-sidebar-tooltip-bg: #2c1e1b;
}

.user-sidebar {
  background: var(--user-sidebar-bg);
  color: var(--user-sidebar-text);
  font-family: 'Lato', sans-serif;
}

.user-sidebar .user-sidebar__header {
  background: var(--user-sidebar-header);
  border-bottom: 1px solid var(--user-sidebar-border);
}

.user-sidebar .user-sidebar__brand {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--user-sidebar-text);
}

.user-sidebar .user-sidebar__user-card {
  background: var(--user-sidebar-header);
  border-bottom: 1px solid var(--user-sidebar-border);
}

.user-sidebar .user-sidebar__avatar {
  background: var(--user-sidebar-avatar);
  color: var(--user-sidebar-text);
  font-weight: 700;
}

.user-sidebar .user-sidebar__nav-link {
  color: var(--user-sidebar-text-muted);
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-sidebar .user-sidebar__nav-link:hover {
  background: var(--user-sidebar-hover);
  color: var(--user-sidebar-text);
}

.user-sidebar .user-sidebar__nav-link--active {
  background: var(--user-sidebar-active-bg);
  color: var(--user-sidebar-active-text);
  font-weight: 600;
}

.user-sidebar .user-sidebar__nav-link--active:hover {
  background: var(--user-sidebar-active-bg);
  color: var(--user-sidebar-active-text);
}

.user-sidebar .user-sidebar__footer {
  border-top: 1px solid var(--user-sidebar-border);
}

.user-sidebar .user-sidebar__logout-btn {
  color: var(--user-sidebar-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.user-sidebar .user-sidebar__logout-btn:hover {
  background: rgba(139, 0, 0, 0.25);
  color: var(--user-sidebar-text);
}

.user-sidebar .user-sidebar__tooltip {
  background: var(--user-sidebar-tooltip-bg);
  color: var(--user-sidebar-text);
}

.user-sidebar .user-sidebar__toggle-btn,
.user-sidebar .user-sidebar__close-btn {
  color: var(--user-sidebar-text-muted);
}

.user-sidebar .user-sidebar__toggle-btn:hover,
.user-sidebar .user-sidebar__close-btn:hover {
  color: var(--user-sidebar-text);
  background: var(--user-sidebar-hover);
}

.user-sidebar .user-sidebar__icon--accent {
  color: var(--user-sidebar-accent);
}

#user-sidebar[data-collapsed="true"] {
  width: 5rem;
  overflow: hidden;
}

#user-sidebar[data-collapsed="false"] {
  width: 17rem;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__text {
  display: none;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__user-card .user-sidebar__user-meta {
  display: none;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__tooltip {
  display: block !important;
}

#user-sidebar[data-collapsed="false"] .user-sidebar__tooltip {
  display: none !important;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__user-card:hover .user-sidebar__tooltip,
#user-sidebar[data-collapsed="true"] .user-sidebar__nav-link:hover .user-sidebar__tooltip,
#user-sidebar[data-collapsed="true"] .user-sidebar__logout-btn:hover .user-sidebar__tooltip {
  opacity: 1 !important;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__header-brand {
  display: none;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__header-actions {
  justify-content: center;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__nav {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__nav-link {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__user-card {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  justify-content: center;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__user-card > div {
  justify-content: center;
}

#user-sidebar[data-collapsed="true"] .user-sidebar__footer .user-sidebar__logout-btn {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 1024px) {
  #user-main-content {
    margin-left: 17rem;
    transition: margin-left 0.3s ease-in-out;
  }
}

@media (max-width: 1023px) {
  #user-main-content {
    margin-left: 0 !important;
  }
}

/* Admin sidebar: same look as user, own collapse/margin */
#admin-sidebar[data-collapsed="true"] {
  width: 5rem;
  overflow: hidden;
}
#admin-sidebar[data-collapsed="false"] {
  width: 17rem;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__text {
  display: none;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__user-card .user-sidebar__user-meta {
  display: none;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__tooltip {
  display: block !important;
}
#admin-sidebar[data-collapsed="false"] .user-sidebar__tooltip {
  display: none !important;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__user-card:hover .user-sidebar__tooltip,
#admin-sidebar[data-collapsed="true"] .user-sidebar__nav-link:hover .user-sidebar__tooltip,
#admin-sidebar[data-collapsed="true"] .user-sidebar__logout-btn:hover .user-sidebar__tooltip {
  opacity: 1 !important;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__header-brand {
  display: none;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__header-actions {
  justify-content: center;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__nav {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__nav-link {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__user-card {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  justify-content: center;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__user-card > div {
  justify-content: center;
}
#admin-sidebar[data-collapsed="true"] .user-sidebar__footer .user-sidebar__logout-btn {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
@media (min-width: 1024px) {
  #admin-main-content {
    margin-left: 17rem;
    transition: margin-left 0.3s ease-in-out;
  }
}
@media (max-width: 1023px) {
  #admin-main-content {
    margin-left: 0 !important;
  }
}

/* Mobile only (phones): hide sidebar completely, show dark header with company name */
@media (max-width: 767px) {
  #user-sidebar,
  #user-sidebar-backdrop {
    display: none !important;
  }

  #admin-sidebar,
  #admin-sidebar-backdrop {
    display: none !important;
  }

  .user-panel-header {
    display: none !important;
  }
}

/* ============================================ */
/* User Panel - Mobile-only header (dark, company name) */
/* ============================================ */
.user-panel-mobile-header {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  background: #3e2723;
  color: #f6ead8;
}

.user-panel-mobile-header__brand {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f6ead8;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.user-panel-mobile-header__brand:hover {
  color: #f6ead8;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .user-panel-mobile-header {
    display: flex;
  }
}

@media (min-width: 768px) {
  .user-panel-mobile-header {
    display: none !important;
  }
}

/* ============================================ */
/* User Panel - Mobile bottom navigation (sticky) */
/* ============================================ */
.user-panel-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #3e2723;
  color: #f6ead8;
  min-height: 3.25rem;
  padding: 0.5rem 0.2rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid rgba(246, 234, 216, 0.1);
}

@media (max-width: 767px) {
  .user-panel-bottom-nav {
    display: flex;
  }

  /* Reserve space so full page content is visible above the navbar (nav height + safe area) */
  #user-main-content .user-panel-main {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  #admin-main-content .user-panel-main {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Ensure wrapper allows full scroll; navbar is fixed so content needs room at bottom */
  #user-main-content {
    min-height: 100vh;
    min-height: 100dvh;
  }

  #admin-main-content {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

@media (min-width: 768px) {
  .user-panel-bottom-nav {
    display: none !important;
  }
}

.user-panel-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.35rem;
  color: rgba(246, 234, 216, 0.9);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  border-radius: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.user-panel-bottom-nav__label {
  display: none;
}

.user-panel-bottom-nav__item:hover,
.user-panel-bottom-nav__item:active {
  color: #f6ead8;
  background: rgba(246, 234, 216, 0.08);
}

.user-panel-bottom-nav__item--active {
  color: #a8c99a;
}

.user-panel-bottom-nav__item--active:hover {
  color: #b8d4a8;
}

.user-panel-bottom-nav__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.user-panel-bottom-nav__item:active .user-panel-bottom-nav__icon {
  transform: scale(0.92);
}

.user-panel-bottom-nav__item--active .user-panel-bottom-nav__icon {
  filter: drop-shadow(0 0 6px rgba(168, 201, 154, 0.4));
}

@media (max-width: 380px) {
  .user-panel-bottom-nav__icon {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* ============================================ */
/* User Panel Header (navbar + search) - desktop / tablet */
/* ============================================ */
.user-panel-header {
  background: #fdfcf9;
  border-bottom: 1px solid rgba(62, 39, 35, 0.12);
}

.user-panel-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.user-panel-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 0;
}

.user-panel-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #3e2723;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-panel-header__menu-btn:hover {
  background: rgba(254, 144, 0, 0.2);
}

@media (min-width: 1024px) {
  .user-panel-header__menu-btn--mobile-only {
    display: none !important;
  }
}

.user-panel-header__title {
  min-width: 0;
}

.user-panel-header__heading {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #3e2723;
  line-height: 1.3;
}

.user-panel-header__profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  color: #3e2723;
  background: rgba(62, 39, 35, 0.08);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-panel-header__profile-link:hover {
  background: #FE9000;
  color: #fff;
}

.user-panel-header__profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-panel-header__search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  margin: 0 auto;
}

.user-panel-header__search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(62, 39, 35, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(62, 39, 35, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-panel-header__search-form:focus-within {
  border-color: #FE9000;
  box-shadow: 0 0 0 3px rgba(254, 144, 0, 0.2);
}

.user-panel-header__search-form *:focus {
  outline: none;
}

.user-panel-header__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  color: rgba(62, 39, 35, 0.5);
  flex-shrink: 0;
}

.user-panel-header__search-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  color: #3e2723;
  outline: none;
  box-shadow: none;
}

.user-panel-header__search-input:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}

.user-panel-header__search-input::-webkit-search-decoration,
.user-panel-header__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.user-panel-header__search-input::placeholder {
  color: rgba(62, 39, 35, 0.5);
}

.user-panel-header__search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  background: #FE9000;
  color: #fff;
  border: 0;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.user-panel-header__search-submit:hover {
  background: #3e2723;
}

.user-panel-header__search-submit:focus {
  outline: none;
}

.user-panel-header__search-submit-icon {
  display: none;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .user-panel-header__search-wrap {
    max-width: 360px;
  }
}

@media (min-width: 768px) {
  .user-panel-header__inner {
    padding: 0.875rem 1.5rem;
  }

  .user-panel-header__search-wrap {
    max-width: 400px;
  }
}

@media (max-width: 639px) {
  .user-panel-header__search-submit-text {
    display: none;
  }

  .user-panel-header__search-submit-icon {
    display: block;
  }

  .user-panel-header__search-submit {
    padding: 0.5rem;
  }
}

/* ============================================ */
/* User Dashboard */
/* ============================================ */
.user-dashboard {
  font-family: 'Lato', sans-serif;
}

.user-dashboard__stats {
  margin-bottom: 2rem;
}

.user-dashboard__card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(62, 39, 35, 0.08);
  border: 1px solid rgba(62, 39, 35, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.user-dashboard__card:hover {
  box-shadow: 0 4px 12px rgba(62, 39, 35, 0.1);
  border-color: rgba(254, 144, 0, 0.25);
}

.user-dashboard__card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
}

.user-dashboard__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.user-dashboard__card-icon--products {
  background: rgba(254, 144, 0, 0.15);
  color: #FE9000;
}

.user-dashboard__card-icon--orders {
  background: rgba(62, 39, 35, 0.1);
  color: #3e2723;
}

.user-dashboard__card-icon--pending {
  background: rgba(214, 190, 149, 0.35);
  color: #8b6914;
}

.user-dashboard__card-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5d5d5d;
}

.user-dashboard__card-value {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: #3e2723;
}

.user-dashboard__section {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(62, 39, 35, 0.08);
  border: 1px solid rgba(62, 39, 35, 0.08);
  padding: 1.5rem;
}

.user-dashboard__section-title {
  margin: 0 0 1.25rem;
  font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3e2723;
}

.user-dashboard__actions {
  display: grid;
}

.user-dashboard__action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(62, 39, 35, 0.12);
  color: #3e2723;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.user-dashboard__action:hover {
  background: rgba(254, 144, 0, 0.08);
  border-color: rgba(254, 144, 0, 0.3);
  color: #3e2723;
}

.user-dashboard__action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(254, 144, 0, 0.12);
  color: #FE9000;
  flex-shrink: 0;
}

.user-dashboard__action:hover .user-dashboard__action-icon {
  background: rgba(254, 144, 0, 0.2);
  color: #FE9000;
}

.user-dashboard__action-text {
  font-size: 0.9375rem;
}

/* ============================================ */
/* User Profile Page */
/* ============================================ */
.user-profile {
  font-family: 'Lato', sans-serif;
}

.user-profile__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.user-profile__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #3e2723;
  color: #f6ead8;
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-profile__details {
  text-align: center;
  margin-bottom: 2rem;
}

.user-profile__name {
  margin: 0 0 0.35rem;
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3e2723;
}

.user-profile__meta {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  color: #5d5d5d;
}

.user-profile__meta:last-child {
  margin-bottom: 0;
}

.user-profile__account-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(62, 39, 35, 0.08);
  border: 1px solid rgba(62, 39, 35, 0.08);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.user-profile__account-title {
  margin: 0 0 1rem;
  font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3e2723;
}

.user-profile__account-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-profile__account-list li {
  border-bottom: 1px solid rgba(62, 39, 35, 0.08);
}

.user-profile__account-list li:last-child {
  border-bottom: 0;
}

.user-profile__account-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  color: #3e2723;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-profile__account-link:hover {
  color: #FE9000;
}

.user-profile__account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(254, 144, 0, 0.12);
  color: #FE9000;
  flex-shrink: 0;
}

.user-profile__account-link:hover .user-profile__account-icon {
  background: rgba(254, 144, 0, 0.2);
}

.user-profile__account-chevron {
  margin-left: auto;
  color: #9ca3af;
  flex-shrink: 0;
}

.user-profile__section {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(62, 39, 35, 0.08);
  border: 1px solid rgba(62, 39, 35, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.user-profile__section--collapsed {
  display: none;
}

.user-profile__account-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.user-profile__account-chevron {
  transition: transform 0.2s ease;
}

.user-profile__account-trigger[aria-expanded="true"] .user-profile__account-chevron {
  transform: rotate(90deg);
}

.user-profile__btn--link {
  display: inline-block;
  text-decoration: none;
}

.user-profile__section .border-gray-200 {
  border-color: rgba(62, 39, 35, 0.1);
}

.user-profile__section input:focus,
.user-profile__section input.focus {
  border-color: #FE9000;
  box-shadow: 0 0 0 2px rgba(254, 144, 0, 0.2);
}

.user-profile__section label {
  color: #3e2723;
}

.user-profile__section .text-gray-600,
.user-profile__section .text-gray-700 {
  color: #5d5d5d;
}

.user-profile__btn,
.user-profile__section button[type="submit"] {
  background: #FE9000;
  color: #fff;
  border: 0;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.user-profile__btn:hover,
.user-profile__section button[type="submit"]:hover {
  background: #3e2723;
}

.user-profile-input:focus {
  outline: none;
  border-color: #FE9000;
  box-shadow: 0 0 0 2px rgba(254, 144, 0, 0.2);
}

.user-profile-form-title {
  margin: 0 0 0.25rem;
  font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3e2723;
}

.user-profile-form-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #5d5d5d;
}

/* ============================================ */
/* User Panel Footer */
/* ============================================ */
.user-panel-footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid rgba(62, 39, 35, 0.08);
}

@media (max-width: 767px) {
  .user-panel-footer {
    display: none;
  }
}

.user-panel-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.user-panel-footer__copy,
.user-panel-footer__dev {
  margin: 0;
  font-size: 0.8125rem;
  color: #5d5d5d;
}

.user-panel-footer__copy {
  margin-bottom: 0.35rem;
}

.user-panel-footer__dev {
  font-size: 0.8125rem;
  color: #6b6b6b;
}

.user-panel-footer__link {
  color: #FE9000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.user-panel-footer__link:hover {
  color: #3e2723;
  text-decoration: underline;
}

/* ============================================ */
/* Global flash messages (success / error)     */
/* ============================================ */
.global-flash-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 36rem;
  padding: 0.75rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.global-flash {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  animation: global-flash-in 0.35s ease-out;
  min-width: 0;
}

.global-flash--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.global-flash--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.global-flash__icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.125rem;
}

.global-flash--success .global-flash__icon {
  color: #16a34a;
}

.global-flash--error .global-flash__icon {
  color: #dc2626;
}

.global-flash__svg {
  width: 100%;
  height: 100%;
}

.global-flash__text {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 500;
  min-width: 0;
  padding-right: 1.5rem;
}

.global-flash__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.global-flash__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.global-flash--error .global-flash__close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.global-flash__close-svg {
  width: 1rem;
  height: 1rem;
}

.global-flash__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.35;
  width: 100%;
  transform-origin: left;
  animation: global-flash-progress 5s linear forwards;
}

.global-flash--success .global-flash__progress {
  background: #16a34a;
}

.global-flash--error .global-flash__progress {
  background: #dc2626;
}

.global-flash.global-flash--hiding {
  animation: global-flash-out 0.3s ease-in forwards;
}

@keyframes global-flash-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes global-flash-out {
  to {
    opacity: 0;
    transform: translateY(-50%);
  }
}

@keyframes global-flash-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Responsive: smaller padding and text on very small screens */
@media (max-width: 480px) {
  .global-flash-container {
    padding: 0.5rem;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    max-width: calc(100% - 1rem);
  }

  .global-flash {
    padding: 0.75rem 0.875rem;
    gap: 0.5rem;
  }

  .global-flash__text {
    font-size: 0.8125rem;
  }

  .global-flash__icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ============================================ */
/* Admin user management – action buttons       */
/* ============================================ */
.admin-user-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.admin-user-actions__form {
  display: inline-flex;
}

.admin-user-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.admin-user-actions__btn:active {
  transform: scale(0.98);
}

.admin-user-actions__icon {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
}

.admin-user-actions__btn--view {
  background: #3e2723;
  color: #fdfcf9;
  border-color: #3e2723;
}

.admin-user-actions__btn--view:hover {
  background: #5c4039;
  border-color: #5c4039;
  color: #fdfcf9;
}

.admin-user-actions__btn--suspend {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.admin-user-actions__btn--suspend:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.admin-user-actions__btn--unsuspend {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.admin-user-actions__btn--unsuspend:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}

.admin-user-actions__btn--delete {
  background: #fff;
  color: #991b1b;
  border-color: #fecaca;
}

.admin-user-actions__btn--delete:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.admin-user-actions__btn--secondary {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.admin-user-actions__btn--secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: #1f2937;
}

/* Mobile: table action buttons icon-only in one row (no stacking) */
@media (max-width: 767px) {
  .admin-users-table .admin-user-actions {
    flex-wrap: nowrap;
    gap: 0.35rem;
    min-width: 0;
  }

  .admin-users-table .admin-user-actions__form {
    flex-shrink: 0;
  }

  .admin-users-table .admin-user-actions__btn {
    padding: 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    font-size: 0;
  }

  .admin-users-table .admin-user-actions__label {
    display: none !important;
  }

  .admin-users-table .admin-user-actions__icon {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
  }

  .admin-users-table .admin-users-table__td:last-child {
    min-width: 8.5rem;
    white-space: nowrap;
  }
}

/* ============================================ */
/* Custom error page (single global error view) */
/* ============================================ */
.error-page__btn {
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.error-page__btn--primary {
  background: #3e2723;
  color: #fdfcf9;
  border-color: #3e2723;
}

.error-page__btn--primary:hover {
  background: #5c4039;
  border-color: #5c4039;
  color: #fdfcf9;
}

.error-page__btn--secondary {
  background: #fdfcf9;
  color: #3e2723;
  border-color: rgba(62, 39, 35, 0.3);
}

.error-page__btn--secondary:hover {
  background: #f6ead8;
  border-color: rgba(62, 39, 35, 0.4);
  color: #3e2723;
}

