/**
 * Moda Fashion Catalog - Page Styles
 * Page-specific styling
 */

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 300px;
  max-height: 1000px;
  overflow: hidden;
  border-radius: 0 0 0 0;
  margin-top: -72px;
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .hero {
    height: 100vh !important;
    height: 100svh !important; /* Use svh for mobile full viewport height */
    min-height: 100vh !important;
    min-height: 100svh !important;
    max-height: none !important;
  }
}

.hero__slider {
  position: absolute;
  inset: 0;
}

.hero__slider .swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__slider .swiper-wrapper {
  height: 100%;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slider .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slide-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s ease-out;
}

.hero__slide.swiper-slide-active .hero__slide-image {
  transform: scale(1);
}

/* 
.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.6) 100%);
} */

.hero__content {
  position: absolute;
  top: calc(50% + 36px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: var(--color-secondary);
  text-align: center;
  padding: 0 var(--space-8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.hero__content-inner {
  padding: var(--space-10) var(--space-12);
  /* background: rgba(0, 0, 0, 0.233); */
  /* backdrop-filter: blur(5px); */
  /* -webkit-backdrop-filter: blur(5px); */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.055); */
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
}

.hero__subtitle {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  opacity: 0;
  color: var(--color-secondary);
  transform: translateY(30px);
}

.hero__desc {
  max-width: 600px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
  opacity: 0;
  transform: translateY(20px);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
}

.hero__slide.swiper-slide-active .hero__subtitle,
.hero__slide.swiper-slide-active .hero__title,
.hero__slide.swiper-slide-active .hero__desc,
.hero__slide.swiper-slide-active .hero__actions {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero__slide.swiper-slide-active .hero__subtitle {
  transition-delay: 0.8s;
}

.hero__slide.swiper-slide-active .hero__title {
  transition-delay: 0.8s;
}

.hero__slide.swiper-slide-active .hero__desc {
  transition-delay: 0.8s;
}

.hero__slide.swiper-slide-active .hero__actions {
  transition-delay: 0.8s;
}

/* Slider Controls */
.hero__pagination {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: var(--space-2);
}

.hero__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.hero__pagination .swiper-pagination-bullet-active {
  background: var(--color-accent);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.hero__prev,
.hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__prev {
  left: var(--space-8);
}

.hero__next {
  right: var(--space-8);
}

.hero__prev:hover,
.hero__next:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {

  .hero__prev,
  .hero__next {
    display: none;
  }
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  opacity: 0.7;
  cursor: pointer;
}

.hero__scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

/* ===========================
   Featured Section
   =========================== */
.featured {
  padding: var(--space-16) 0;
  background: var(--color-gray-50);
}

.featured__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.featured__label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.featured__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.featured__desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-gray-600);
}

/* ===========================
   Trends (Redesign Featured)
   =========================== */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.trends-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.trends-card:hover {
  transform: translateY(-5px);
}

.trends-card__visual {
  position: relative;
  margin-bottom: var(--space-6);
}

.trends-card__circle {
  aspect-ratio: 1/1;
  background: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease;
}

.trends-card:hover .trends-card__circle {
  background: #ebebeb;
}

.trends-card__image {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out-expo);
}

.trends-card:hover .trends-card__image {
  transform: scale(1.1);
}

.trends-card__badge {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 64px;
  height: 64px;
  background: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.trends-card__content {
  padding: 0 var(--space-1);
}

.trends-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
  color: var(--color-primary);
}

.trends-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.4;
}

.trends-card__link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-primary);
  text-decoration: none;
  display: inline-block;
  border-bottom: 1.5px solid var(--color-primary);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.trends-card:hover .trends-card__link {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .trends-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  .trends-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-4) var(--space-6);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .trends-grid::-webkit-scrollbar {
    display: none;
  }

  .trends-card {
    flex: 0 0 160px;
    /* Smaller cards as requested */
    scroll-snap-align: start;
    text-align: center;
  }

  .trends-card__circle {
    max-width: 140px;
    /* Smaller circles */
    margin: 0 auto;
    aspect-ratio: 1/1;
  }

  .trends-card__title {
    font-size: var(--text-base);
    /* Smaller title */
    margin-top: var(--space-2);
  }

  .trends-card__desc {
    font-size: var(--text-xs);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trends-card__link {
    margin: 0 auto;
    font-size: var(--text-xs);
  }
}

/* ===========================
   Category Cards (Legacy - Deprecated)
   =========================== */
.category-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
}

.category-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.1);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
}

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  color: var(--color-secondary);
}

.category-card__title {
  color: azure;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.category-card__count {
  font-size: var(--text-sm);
  opacity: 0.8;
}

.category-card__arrow {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-white);
  backdrop-filter: blur(var(--blur-md));
  border-radius: 50%;
  color: var(--color-secondary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.category-card:hover .category-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   Products Grid
   =========================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media (max-width: 1279px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

/* ===========================
   Product Detail Page
   =========================== */
.product-detail {
  padding-top: 10px;
  padding-bottom: var(--space-8);
  background: #FFFFFF;
}

.product-detail ~ .section.featured {
  background: #FFFFFF;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 120px;
  width: 100%;
  max-width: 100%;
}

.product-gallery--desktop {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  align-items: flex-start;
  box-sizing: border-box;
}

.product-gallery__main {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  order: 1;
  aspect-ratio: 3/4;
  border-radius: 5px;
  overflow: hidden;
  background: var(--color-gray-100);
  margin-bottom: 0;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* Hover zoom panel (desktop, beside the main image) */
.product-gallery__zoom-panel {
  position: fixed;
  z-index: 900;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  opacity: 0;
transform: scale(1.08);
transform-origin: center center;
transition: opacity 0.15s ease, transform 0.15s ease;
}

.product-gallery__zoom-panel.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Marker on the main image showing the area visible in the panel */
.product-gallery__zoom-marker {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(17, 17, 17, 0.7);
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.product-gallery__zoom-marker.is-active {
  opacity: 1;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 80px;
  gap: var(--space-3);
  order: 0;
}

.product-gallery__thumb {
  width: 80px;
  height: 100px;
  /* border-radius: var(--radius-lg); */
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--color-primary);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: var(--space-4) 0;
}

.product-info__category {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.product-info__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.product-info__price {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.product-info__price-current {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: red;
}

.product-info__price-old {
  font-size: var(--text-xl);
  color: var(--color-gray-400);
  text-decoration: line-through;
}

.product-info__discount {
  border: 1px solid red;
  color: red;
  padding: 2px 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: var(--space-2);
}

.product-info__desc {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.product-options {
  margin-bottom: var(--space-8);
}

.product-option {
  margin-bottom: var(--space-6);
}

.product-option__label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.product-option__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-option__item {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  border: 2px solid var(--color-gray-200);
  border-radius: 2px;
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-option__item:hover,
.product-option__item.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-secondary);
}

.product-option__color-thumb {
  width: 60px;
  height: 70px;
  /* border-radius: var(--radius-md); */
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  background: var(--color-bg-gray);
}

.product-option__color-thumb.active {
  border-color: var(--color-primary);
}

.product-option__color-thumb:hover {
  transform: translateY(-2px);
}

.product-option__color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-placeholder {
  width: 100%;
  height: 100%;
}

.product-option__item.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-bg-gray);
  color: var(--color-gray-400);
  position: relative;
  overflow: hidden;
}

.product-option__item.out-of-stock::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gray-400);
  transform: rotate(-15deg);
}

.product-option__items--colors {
  gap: var(--space-3);
}

#mainImage {
  transition: opacity 0.2s ease;
}

.product-qty {
  display: flex;
  align-items: center;
  background: var(--color-bg-gray);
  border-radius: 1px;
  padding: 5px;
  border: 1px solid var(--color-primary);
  width: fit-content;
  margin-bottom: var(--space-4);
}

.product-qty .qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: white;
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.product-qty .qty-btn:hover {
  background: var(--color-primary);
  color: white;
}

.product-qty input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: var(--font-primary);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-actions__btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-actions__group {
  display: flex;
  gap: var(--space-3);
}

.product-actions__group .btn {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
}

.btn-checkout {
  background: #2B2B2B !important;
  color: var(--color-secondary) !important;
  border: 1px solid #ffc4c4 !important;
}

.btn-checkout:hover {
  background: transparent !important;
  color: var(--color-secondary) !important;
  background: #F08080!important;
}

.btn-order-whatsapp-sm {
  width: 100%;
  padding: var(--space-2) var(--space-4) !important;
  font-size: var(--text-sm) !important;
  gap: var(--space-2);
  border-radius: 3px;
  opacity: 0.85;
  color: rgb(255, 255, 255);
  transition: opacity var(--transition-fast);
}

.btn-order-whatsapp-sm:hover {
  opacity: 1;
}

/* Trust Badges & Extras */
.product-extras-wrapper {
  display: flex;
  gap: 16px;
  margin-top: var(--space-6);
  align-items: stretch;
}

@media (max-width: 768px) {
  .product-extras-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch !important;
  }
}

.ctl-placeholder {
  width: 250px;
  flex-shrink: 0;
  min-height: 120px;
  display: flex;
}

@media (max-width: 768px) {
  .ctl-placeholder {
    width: 100% !important;
    margin: 0 !important;
    flex: none;
    min-height: 0 !important;
    align-self: stretch !important;
    height: 100% !important;
    display: flex !important;
  }
}

.trust-badges {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .trust-badges {
    width: 100% !important;
    margin: 0 !important;
    flex: none;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none;
    align-self: stretch !important;
    height: 100% !important;
  }
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-2);
  gap: var(--space-1);
}

.trust-badge:nth-child(1),
.trust-badge:nth-child(2) {
  border-bottom: 1px solid var(--color-gray-200);
}

@media (max-width: 768px) {

  .trust-badge:nth-child(1),
  .trust-badge:nth-child(3) {
    display: none;
  }

  .trust-badge:nth-child(2),
  .trust-badge:nth-child(4) {
    flex: 1;
    justify-content: center;
  }

  .trust-badge:nth-child(2) {
    border-bottom: 1px solid var(--color-gray-200) !important;
    border-right: none !important;
    border-left: none !important;
  }

  .trust-badge:nth-child(4) {
    border: none !important;
  }
}

html[dir="ltr"] .trust-badge:nth-child(1),
html[dir="ltr"] .trust-badge:nth-child(3) {
  border-right: 1px solid var(--color-gray-200);
}

html[dir="rtl"] .trust-badge:nth-child(1),
html[dir="rtl"] .trust-badge:nth-child(3) {
  border-left: 1px solid var(--color-gray-200);
}

.trust-badge__icon {
  color: var(--color-gray-600);
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
  font-size: var(--text-xs);
  line-height: 1.3;
}

.trust-badge__text strong {
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.trust-badge__text span {
  color: var(--color-accent);
  font-weight: var(--font-medium);
}

/* Product Accordions */
.product-accordions {
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-gray-200);
}

.accordion-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  text-align: start;
  font-family: inherit;
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding-bottom: 16px;
}

.accordion-body p {
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--color-gray-600);
  margin: 0;
}

/* Product Share */
.product-share {
  display: flex;
  align-items: center;
  gap: 16px;
  /* border-top: 1px solid var(--color-gray-200); */
}

.product-share__label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  white-space: nowrap;
}

.product-share__icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-share__link {
  color: var(--color-gray-700);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.product-share__link:hover {
  color: var(--color-primary);
  transform: scale(1.15);
}

/* ===========================
   Find Us Page
   =========================== */
.find-us-section {
  padding: 30px 0 var(--space-12);
  background-color: #e9e5df;
  min-height: calc(100vh - 80px);
}

.find-us-title {
  font-size: 2.5rem;
  font-weight: var(--font-normal);
  text-align: center;
  margin-bottom: var(--space-8);
  color: #000;
  line-height: 1.2;
}

.find-us-title span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3.5rem;
  display: block;
}

.find-us-map-full {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-10);
  border: 1px solid #fff;
}

.find-us-branches-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.city-section-full {
  width: 100%;
}

.city-title-full {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #000;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid #000;
  display: inline-block;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  padding: var(--space-2) 0;
}

.branch-card {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}

.branch-card:hover {
  transform: translateY(-5px);
  /* box-shadow: var(--shadow-md); */
}

.branch-card.active {
  border-color: #d13030;
  background: #fffafa;
}

.branch-name {
  color: #d13030;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.branch-address {
  font-size: var(--text-sm);
  color: #000;
  font-weight: 500;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.branch-phone {
  font-size: var(--text-sm);
  color: #000;
  font-weight: 500;
}

.branch-phone span {
  font-weight: var(--font-bold);
}

html[dir="rtl"] .branch-phone {
  direction: rtl;
}

@media (max-width: 767px) {
  .find-us-map-full {
    height: 300px;
  }

  .branches-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}


/* ===========================
   Contact Page
   =========================== */
.contact-section {
  padding: 160px 0 var(--space-20);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-weight: var(--font-semibold);
}

.contact-map {
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: var(--space-8);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile slider: hidden by default on desktop */
.product-gallery-mobile {
  display: none;
}

/* Responsive */
@media (max-width: 1023px) {
  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .product-gallery {
    position: static;
    width: auto;
    max-width: none;
  }

  .product-gallery--desktop {
    display: block;
    gap: 0;
  }

  .product-gallery__main {
    flex: none;
    min-width: auto;
    width: auto;
    order: 0;
    margin-bottom: var(--space-4);
  }

  .product-gallery__thumbs {
    flex-direction: row;
    flex-shrink: initial;
    flex-grow: initial;
    flex-basis: auto;
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .product-detail__grid {
    gap: var(--space-2) !important;
  }

  .product-info {
    padding-top: 0 !important;
  }

  .product-info__category {
    font-size: var(--text-xs);
    margin-bottom: var(--space-1);
  }

  .product-info__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
  }

  .product-info__price {
    margin-bottom: var(--space-4);
    gap: var(--space-3);
  }

  .product-info__price-current {
    font-size: var(--text-2xl);
  }

  .product-info__price-old {
    font-size: var(--text-lg);
  }

  .product-info__discount {
    font-size: var(--text-xs);
    padding: 1px 4px;
  }

  .product-info__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
  }

  .product-option {
    margin-bottom: var(--space-4);
  }

  .product-option__label {
    margin-bottom: var(--space-2);
  }

  .product-qty {
    margin-bottom: var(--space-3);
  }

  .product-qty .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .product-qty input {
    width: 40px;
    font-size: 1rem;
  }

  .product-actions__group .btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-2);
    margin-top: var(--space-4);
  }

  .trust-badge {
    padding: var(--space-2) var(--space-1);
  }

  .trust-badge__icon svg {
    width: 20px;
    height: 20px;
  }

  /* Hide desktop gallery, show mobile slider */
  .product-gallery--desktop {
    display: none !important;
  }

  .product-gallery-mobile {
    display: block;
  }

  /* ===== Mobile Slider Styles ===== */
  .mobile-slider {
    position: relative;
    width: 100%;
  }

  .mobile-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    border-radius: 15px;
    background: #f5f5f5;
  }

  .mobile-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
  }

  .mobile-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }

  .mobile-slider__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 0 4px;
    background: transparent;
  }

  .mobile-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
  }

  .mobile-slider__dot.active {
    background: #222;
    width: 9px;
    height: 9px;
  }

  .mobile-slider__zoom {
    position: absolute;
    bottom: 60px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: transform 0.2s ease;
  }

  .mobile-slider__zoom:active {
    transform: scale(0.92);
  }
}

/* Zoom Overlay (works on all breakpoints but triggered only on mobile) */
.mobile-slider-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-slider-zoom-overlay.active {
  opacity: 1;
}

.mobile-slider-zoom-overlay img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.mobile-slider-zoom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.mobile-slider-zoom-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero__content {
    bottom: 0;
    padding: 0 var(--space-4);
  }

  .hero__content-inner {
    width: 100%;
    padding: var(--space-6) var(--space-4);
  }

  .hero__subtitle {
    margin-bottom: var(--space-2);
  }

  .hero__title {
    font-size: var(--text-2xl);
    white-space: nowrap;
    margin-bottom: var(--space-3);
  }

  .hero__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
  }

  .timeline__item,
  .timeline__item:nth-child(even) {
    padding-left: var(--space-12);
    padding-right: 0;
    text-align: left;
  }

  .timeline::before {
    left: 0;
  }

  .timeline__dot {
    left: 0;
  }
}

/* ===========================
   TikTok Promo Section
   =========================== */
.tiktok-promo {
  padding: var(--space-20) 0;
  overflow: hidden;
}

.tiktok-promo__card {
  background: #f0ebea;
  /* Soft pink background */
  border-radius: 0%;
  padding: var(--space-8) var(--space-12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  width: 100%;
}

.tiktok-promo__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
  width: 100%;
}

.tiktok-promo__content {
  padding-left: var(--space-12);
}

.tiktok-promo__label {
  font-size: var(--text-xsm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
  align-items: center;
}

.tiktok-promo__title {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  color: var(--color-primary);
}

.tiktok-promo__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.tiktok-promo__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tiktok-promo__phone-wrapper {
  position: relative;
  width: 680px;
  /* Slightly larger to fill the 450px height nicely */
  /* z-index: 1; */
  display: flex;
  justify-content: flex-end;
  left: 60px;
}

.tiktok-promo__phone {
  width: 100%;
  height: 450px;
  object-fit: contain;
  display: block;
  /* filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); */
}

.tiktok-promo__hearts {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.tiktok-promo__heart {
  position: absolute;
  opacity: 0;
  animation: floatingHeart 4s infinite ease-in-out;
}

.tiktok-promo__heart--1 {
  top: 20%;
  right: 10%;
  width: 40px;
  animation-delay: 0s;
}

.tiktok-promo__heart--2 {
  top: 40%;
  right: 5%;
  width: 30px;
  animation-delay: 1.5s;
}

.tiktok-promo__heart--3 {
  top: 60%;
  right: 15%;
  width: 25px;
  animation-delay: 0.8s;
}

.tiktok-promo__heart--4 {
  top: 30%;
  right: 20%;
  width: 20px;
  animation-delay: 2.2s;
}

@keyframes floatingHeart {
  0% {
    transform: scale(0) translateY(0) rotate(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: scale(1.2) translateY(-100px) rotate(20deg);
    opacity: 0;
  }
}

@media (max-width: 1023px) {
  .tiktok-promo {
    padding: var(--space-1) 0;
  }

  .tiktok-promo__card {
    padding: var(--space-4) var(--space-6);
    min-height: 250px;
    /* Even more compact */
    border-radius: 0%;
    width: 100%;
  }

  .tiktok-promo__grid {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
  }

  .tiktok-promo__content {
    position: relative;
    z-index: 10;
    /* Ensure text is above image */
    padding-left: var(--space-4);
    padding-right: 0;
    margin-bottom: 0;
    flex: 1;
    max-width: 70%;
    /* Give more room for enlarged image */
  }

  .tiktok-promo__hearts {
    z-index: 20;
    /* Above everything */
  }

  .tiktok-promo__title {
    font-size: 1.15rem;
    margin-bottom: var(--space-2);
    line-height: 1.2;
  }

  .tiktok-promo__desc {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: var(--space-4);
    max-width: 100%;
    color: var(--color-gray-600);
  }

  .tiktok-promo__content .btn {
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
    min-height: auto;
  }

  .tiktok-promo__visual {
    position: static;
    /* Allow absolute positioning of child relative to grid */
  }

  .tiktok-promo__phone-wrapper {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    /* Significantly enlarged as requested */
    height: 380px;
    z-index: 1;
    /* Behind text */
    pointer-events: none;
  }

  .tiktok-promo__phone {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
}

/* Scrolling Ticker */
.ticker {
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  z-index: 10;
}

.ticker__container {
  display: flex;
  white-space: nowrap;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__set {
  display: flex;
}

.ticker__item {
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 20px;
}

.ticker__text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker__icon {
  color: #999;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

@keyframes ticker-scroll {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Adjust animation speed or details on mobile if needed */
@media (max-width: 768px) {
  .ticker__text {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }

  .ticker__item {
    padding: 0 25px;
    gap: 20px;
  }
}

/* Vertical Announcement Bar (Top) */
.announcement-bar.ticker--top {
  background: #000;
  border: none;
  padding: 0;
  z-index: 1001;
  height: 35px;
  /* Matches components.css */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  direction: ltr;
}

@media (max-width: 768px) {
  .announcement-bar.ticker--top {
    height: 31px;
  }
}

.announcement-bar__container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 10px;
  height: 100%;
  direction: ltr;
}

.announcement-bar__track-wrapper {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  direction: ltr;
}

.announcement-bar__item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(100%);
  /* Start below */
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  text-align: center;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  direction: ltr;
}

.announcement-bar__item.active {
  transform: translateY(-50%);
  /* Center */
  opacity: 1;
  pointer-events: auto;
}

.announcement-bar__item.prev-item {
  transform: translateY(-150%);
  /* Move above */
  opacity: 0;
}

.announcement-bar__text {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}

.announcement-bar__arrow {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.5;
  cursor: pointer;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.2s ease;
  height: 100%;
  flex-shrink: 0;
}

.announcement-bar__arrow:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .announcement-bar__text {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }

  .announcement-bar__arrow {
    padding: 0 5px;
  }
}


/* Collections Slider Section */
.collections-slider {
  background: #ffffff;
  padding: var(--space-20) 0;
}

.collections-slider__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.collections-slider__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b1c3f;
  /* Dark navy shade matching mockup */
  margin-bottom: var(--space-3);
  letter-spacing: -0.5px;
}

.collections-slider__subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: none;
  white-space: nowrap;
  margin: 0 auto;
  line-height: 1.6;
}

.collections-slider__container {
  padding-top: var(--space-4);
  position: relative;
}

.collection-card {
  display: block;
  text-decoration: none;
  background: #ebdcd0;
  /* Beautiful warm beige */
  border-radius: 10px;
  /* Portrait mockup styled rounded corners */
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.collection-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.collection-card__image-wrapper {
  aspect-ratio: 1/1.35;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .collection-card__image {
  transform: scale(1.08);
}

/* Redesigned Badge Wrapper matching mockup exactly */
.collection-card__badge-wrapper {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 55px;
  /* Match square width */
  pointer-events: none;
}

.collection-card__badge-wrapper .badge-square {
  background-color: #ff5e28;
  /* Perfect matches mockup solid orange square background */
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 55px;
  height: 45px;
  display: flex;
  align-items: flex-end;
  /* Aligns BEST to the bottom inside the square */
  justify-content: center;
  border-radius: 2px;
  /* Slightly rounded corners of the square */
  padding-bottom: 0px;
  /* Spacers text from the absolute bottom border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.collection-card__badge-wrapper .badge-text-sellers {
  color: #ff5e28;
  /* Same perfect matches mockup solid orange */
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 2px;
  /* Slight indent matching image alignment */
  margin-top: -5px;
  width: 100%;
  text-align: left;
  /* Explicitly left-aligned in LTR */
}

/* Bottom Centered White Pill Button */
.collection-card__pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #0b1c3f;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 50px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.collection-card:hover .collection-card__pill {
  background-color: #0b1c3f;
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 28, 63, 0.25);
}

/* Swiper Navigation Customization */
.collections-slider__nav {
  display: flex;
  gap: 10px;
  position: absolute;
  top: -85px;
  right: 0;
  z-index: 100;
}

.collections-slider__prev,
.collections-slider__next {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 50% !important;
  color: #000 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collections-slider__prev:after,
.collections-slider__next:after {
  display: none;
}

.collections-slider__prev:hover,
.collections-slider__next:hover {
  background: #0b1c3f !important;
  color: #fff !important;
  border-color: #0b1c3f !important;
}

/* Ensure arrows are clickable and not blocked */
.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* RTL Adjustment */
[dir="rtl"] .collections-slider__nav {
  right: auto;
  left: 0;
}

[dir="rtl"] .collection-card__badge-wrapper {
  left: auto;
  right: 5px;
  /* Matches the top: 5px and left: 5px in LTR perfectly */
  align-items: flex-end;
  /* Mirrored right-alignment for Arabic RTL */
}

[dir="rtl"] .collection-card__badge-wrapper .badge-text-sellers {
  padding-left: 0;
  padding-right: 2px;
  /* Mirrored padding */
  width: 100%;
  text-align: right;
  /* Explicitly right-aligned in RTL */
}

@media (max-width: 768px) {
  .collections-slider__title {
    font-size: 1.8rem;
  }

  .collections-slider__subtitle {
    font-size: 0.9rem;
    white-space: normal;
    max-width: 100%;
    padding: 0 15px;
  }

  .collections-slider__nav {
    display: none;
  }
}


/* ===========================
   Pagination Styles
   =========================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
  list-style: none;
  padding: 0;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--color-bg-gray);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pagination .active span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.pagination .disabled span {
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination .disabled span:hover {
  background: transparent;
  border-color: #e5e7eb;
}

/* ===========================
   404 Page Not Found
   =========================== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) 0;
  background: var(--color-gray-50);
}

.error-page__content {
  text-align: center;
  max-width: 600px;
  width: 90%;
}

.error-page__image {
  margin-bottom: var(--space-4);
  animation: floatAnim 4s ease-in-out infinite;
}

.error-page__image img {
  max-width: 450px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.error-page__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.error-page__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-2);
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .error-page {
    padding: var(--space-12) 0;
    min-height: 60vh;
  }

  .error-page__image img {
    max-width: 100%;
    width: 280px;
  }

  .error-page__title {
    font-size: var(--text-2xl);
  }

  .error-page__desc {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }

  .error-page__actions .btn {
    width: 100%;
  }
}

/* New Collections Slider Section */
.collections-slider-new {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 20px 0;
  direction: ltr !important;
}

.collections-slider-new__container {
  width: 100%;
  position: relative;
  padding: 0;
}

.collection-card-new {
  display: block;
  text-decoration: none;
  width: 100%;
  position: relative;
  height: 700px;
  overflow: hidden;
  border-radius: 0;
  direction: inherit;
}

.collection-card-new::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  z-index: 1;
  pointer-events: none;
}

.collection-card-new__image-wrapper {
  width: 100%;
  height: 100%;
}

.collection-card-new__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card-new:hover .collection-card-new__image {
  transform: scale(1.05);
}

.collection-card-new__title {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  z-index: 2;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.collections-slider-new__nav {
  position: relative;
  margin-top: 30px;
  display: flex;
  gap: 10px;
  z-index: 10;
  justify-content: center;
}

.collections-slider-new__prev,
.collections-slider-new__next {
  width: 50px !important;
  height: 50px !important;
  border-radius: 10% !important;
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  display: flex !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.collections-slider-new__prev svg,
.collections-slider-new__next svg {
  width: 24px;
  height: 24px;
}

.collections-slider-new__prev:after,
.collections-slider-new__next:after {
  display: none;
}

.collections-slider-new__prev:hover,
.collections-slider-new__next:hover {
  background-color: #333;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .collection-card-new {
    height: 700px;
  }
}

@media (max-width: 768px) {
  .collections-slider-new {
    padding: 20px 0 20px 0;
  }

  .collection-card-new {
    height: 530px;
    border-radius: 0;
  }

  .collection-card-new__title {
    font-size: 1.1rem;
    bottom: 25px;
    letter-spacing: 2px;
  }

  .collections-slider-new__nav {
    margin-top: 25px;
  }

  .collections-slider-new__prev,
  .collections-slider-new__next {
    width: 45px;
    height: 45px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   MAIN HERO SLIDER CUSTOM ANIMATIONS & EFFECTS
   ────────────────────────────────────────────────────────────────────────── */

/* Base transitions on content container children */
.hero__slider .hero__subtitle,
.hero__slider .hero__title,
.hero__slider .hero__actions {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Stagger transition delay for active slides */
.hero__slider.text-anim-stagger .hero__slide.swiper-slide-active .hero__subtitle {
  transition-delay: 0.15s !important;
}
.hero__slider.text-anim-stagger .hero__slide.swiper-slide-active .hero__title {
  transition-delay: 0.35s !important;
}
.hero__slider.text-anim-stagger .hero__slide.swiper-slide-active .hero__actions {
  transition-delay: 0.55s !important;
}

/* ─── 1. Fade Up Effect ─── */
.hero__slider.text-anim--fade-up .hero__subtitle,
.hero__slider.text-anim--fade-up .hero__title,
.hero__slider.text-anim--fade-up .hero__actions {
  opacity: 0;
  transform: translateY(40px) !important;
}
.hero__slider.text-anim--fade-up .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--fade-up .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--fade-up .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── 2. Fade Down Effect ─── */
.hero__slider.text-anim--fade-down .hero__subtitle,
.hero__slider.text-anim--fade-down .hero__title,
.hero__slider.text-anim--fade-down .hero__actions {
  opacity: 0;
  transform: translateY(-40px) !important;
}
.hero__slider.text-anim--fade-down .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--fade-down .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--fade-down .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── 3. Fade Left Effect ─── */
.hero__slider.text-anim--fade-left .hero__subtitle,
.hero__slider.text-anim--fade-left .hero__title,
.hero__slider.text-anim--fade-left .hero__actions {
  opacity: 0;
  transform: translateX(60px) !important;
}
.hero__slider.text-anim--fade-left .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--fade-left .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--fade-left .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* ─── 4. Fade Right Effect ─── */
.hero__slider.text-anim--fade-right .hero__subtitle,
.hero__slider.text-anim--fade-right .hero__title,
.hero__slider.text-anim--fade-right .hero__actions {
  opacity: 0;
  transform: translateX(-60px) !important;
}
.hero__slider.text-anim--fade-right .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--fade-right .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--fade-right .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* ─── 5. Zoom In Effect ─── */
.hero__slider.text-anim--zoom-in .hero__subtitle,
.hero__slider.text-anim--zoom-in .hero__title,
.hero__slider.text-anim--zoom-in .hero__actions {
  opacity: 0;
  transform: scale(0.8) !important;
}
.hero__slider.text-anim--zoom-in .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--zoom-in .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--zoom-in .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ─── 6. Zoom Out Effect ─── */
.hero__slider.text-anim--zoom-out .hero__subtitle,
.hero__slider.text-anim--zoom-out .hero__title,
.hero__slider.text-anim--zoom-out .hero__actions {
  opacity: 0;
  transform: scale(1.2) !important;
}
.hero__slider.text-anim--zoom-out .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--zoom-out .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--zoom-out .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ─── 7. Rotate In Effect ─── */
.hero__slider.text-anim--rotate-in .hero__subtitle,
.hero__slider.text-anim--rotate-in .hero__title,
.hero__slider.text-anim--rotate-in .hero__actions {
  opacity: 0;
  transform: rotate(-8deg) translateY(40px) !important;
}
.hero__slider.text-anim--rotate-in .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--rotate-in .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--rotate-in .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: rotate(0) translateY(0) !important;
}

/* ─── 8. Skew Left Effect ─── */
.hero__slider.text-anim--skew-left .hero__subtitle,
.hero__slider.text-anim--skew-left .hero__title,
.hero__slider.text-anim--skew-left .hero__actions {
  opacity: 0;
  transform: skewX(12deg) translateX(40px) !important;
}
.hero__slider.text-anim--skew-left .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--skew-left .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--skew-left .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: skewX(0) translateX(0) !important;
}

/* ─── 9. Flip X Effect ─── */
.hero__slider.text-anim--flip-x .hero__subtitle,
.hero__slider.text-anim--flip-x .hero__title,
.hero__slider.text-anim--flip-x .hero__actions {
  opacity: 0;
  transform: rotateX(-80deg) !important;
  transform-origin: top center;
}
.hero__slider.text-anim--flip-x .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--flip-x .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--flip-x .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  transform: rotateX(0) !important;
}

/* ─── 10. Clip Path Reveal Effect ─── */
.hero__slider.text-anim--clip-path .hero__subtitle,
.hero__slider.text-anim--clip-path .hero__title,
.hero__slider.text-anim--clip-path .hero__actions {
  opacity: 0;
  clip-path: inset(100% 0% 0% 0%) !important;
  transform: translateY(30px) !important;
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease !important;
}
.hero__slider.text-anim--clip-path .hero__slide.swiper-slide-active .hero__subtitle,
.hero__slider.text-anim--clip-path .hero__slide.swiper-slide-active .hero__title,
.hero__slider.text-anim--clip-path .hero__slide.swiper-slide-active .hero__actions {
  opacity: 1 !important;
  clip-path: inset(0% 0% 0% 0%) !important;
  transform: translateY(0) !important;
}

/* ─── Background Ken Burns Effects ─── */
.hero__slider .hero__slide-image {
  transform: scale(1.1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kb-zoom-in {
  0% { transform: scale(1); }
  100% { transform: scale(1.18); }
}
.hero__slider.bg-effect--kb-zoom-in .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-zoom-in 10s ease-out forwards !important;
}

@keyframes kb-zoom-out {
  0% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.hero__slider.bg-effect--kb-zoom-out .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-zoom-out 10s ease-out forwards !important;
}

@keyframes kb-pan-left {
  0% { transform: scale(1.12) translateX(3%); }
  100% { transform: scale(1.12) translateX(-3%); }
}
.hero__slider.bg-effect--kb-pan-left .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-pan-left 10s ease-out forwards !important;
}

@keyframes kb-pan-right {
  0% { transform: scale(1.12) translateX(-3%); }
  100% { transform: scale(1.12) translateX(3%); }
}
.hero__slider.bg-effect--kb-pan-right .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-pan-right 10s ease-out forwards !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   RTL OVERRIDES – Mirror directional animations for Arabic / RTL layouts
   ────────────────────────────────────────────────────────────────────────── */

/* Fade Left → RTL: come from left instead of right */
[dir="rtl"] .hero__slider.text-anim--fade-left .hero__subtitle,
[dir="rtl"] .hero__slider.text-anim--fade-left .hero__title,
[dir="rtl"] .hero__slider.text-anim--fade-left .hero__actions {
  transform: translateX(-60px) !important;
}

/* Fade Right → RTL: come from right instead of left */
[dir="rtl"] .hero__slider.text-anim--fade-right .hero__subtitle,
[dir="rtl"] .hero__slider.text-anim--fade-right .hero__title,
[dir="rtl"] .hero__slider.text-anim--fade-right .hero__actions {
  transform: translateX(60px) !important;
}

/* Skew Left → RTL: mirror skew direction */
[dir="rtl"] .hero__slider.text-anim--skew-left .hero__subtitle,
[dir="rtl"] .hero__slider.text-anim--skew-left .hero__title,
[dir="rtl"] .hero__slider.text-anim--skew-left .hero__actions {
  transform: skewX(-12deg) translateX(-40px) !important;
}

/* Ken Burns Pan – RTL: swap pan directions */
@keyframes kb-pan-left-rtl {
  0% { transform: scale(1.12) translateX(-3%); }
  100% { transform: scale(1.12) translateX(3%); }
}
@keyframes kb-pan-right-rtl {
  0% { transform: scale(1.12) translateX(3%); }
  100% { transform: scale(1.12) translateX(-3%); }
}
[dir="rtl"] .hero__slider.bg-effect--kb-pan-left .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-pan-left-rtl 10s ease-out forwards !important;
}
[dir="rtl"] .hero__slider.bg-effect--kb-pan-right .hero__slide.swiper-slide-active .hero__slide-image {
  animation: kb-pan-right-rtl 10s ease-out forwards !important;
}
