/* Poppins Font Family */
html, body {
  font-family: 'Poppins', sans-serif;
  /* overflow-x: hidden;
  width: 100%;
  max-width: 100%; */
}

* {
  font-family: 'Poppins', sans-serif;
}
.text-grey{
  color: #6A6A6A!important;
}
.bg-page{
  background-color: #CCC2A7!important;
}
ul.list-disc > li + li { margin-top: 12px; }
.bg-gray{
  background-color: #F1F0EE;
}
.border-page{
  border-color: #CCC2A7!important;
}
.text-page{
  color: #CCC2A7!important;
}
/* Prevent horizontal scroll */
html {

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  height: 100%;
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

body {
  position: relative;
  overflow-x: clip; /* Use clip instead of hidden for better sticky support */
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  min-height: 100%;
  height: auto;
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

/* Ensure all sections don't cause horizontal scroll */
section {
  overflow-x: hidden;
  max-width: 100%;
}

/* Products section - allow arrows to be visible */
#productsSection {
  overflow-x: visible !important;
  position: relative;
}

#productsSection > div {
  overflow-x: hidden !important;
}

#productsSection .relative {
  overflow-x: visible !important;
  overflow-y: visible;
}

/* Ensure containers don't overflow */
.max-w-7xl,
.max-w-5xl,
.max-w-3xl,
.max-w-md,
.max-w-2xl {
  max-width: 100%;
}

/* Hide scrollbar in navigation container when dropdown is open */
nav .max-w-7xl {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
}

nav .max-w-7xl::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Hide scrollbar from all elements inside nav */
nav * {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

nav *::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

/* Products section - allow swiper to work properly */
/*#productsSection {
  overflow: hidden !important;
}

#productsSection .max-w-7xl {
  overflow-x: hidden !important;
}

#productsSection .max-w-7xl > .relative {
  overflow-x: visible !important;
  overflow-y: visible !important;
}*/
:is(.swiper-button-prev, .swiper-button-next) svg{
  display: none !important;
}
/* Ensure swiper container inside products section allows proper scrolling */
/*#productsSection .swiper {
  overflow: visible !important;
}

#productsSection .swiper-wrapper {
  overflow: visible;
}*/

/* Force all slides to be visible */
#productsSection .swiper-slide {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* World of Romano section - allow arrows to be visible */
section:has(.world-swiper) {
  overflow-x: visible !important;
}

section:has(.world-swiper) > div {
  overflow-x: visible !important;
}

section:has(.world-swiper) .relative {
  overflow-x: visible !important;
  overflow-y: visible;
}

/* Custom Swiper Navigation Styles */
.products-prev-fall-winter,
.products-next-fall-winter,
.products-prev-spring-summer,
.products-next-spring-summer {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #9CA3AF;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.products-prev-fall-winter,
.products-prev-spring-summer {
  left: 3px;
}

.products-next-fall-winter,
.products-next-spring-summer {
  right: 3px;
}

.products-prev-fall-winter:after,
.products-next-fall-winter:after,
.products-prev-spring-summer:after,
.products-next-spring-summer:after {
  content: '';
  display: block;
  width: 21px;
  height: 12px;
  background-image: url('./icons/Vector.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
}

.products-prev-fall-winter:after,
.products-prev-spring-summer:after {
  transform: rotate(90deg);
}

.products-next-fall-winter:after,
.products-next-spring-summer:after {
  transform: rotate(-90deg);
}

.products-prev-fall-winter:hover,
.products-next-fall-winter:hover,
.products-prev-spring-summer:hover,
.products-next-spring-summer:hover {
  background: #f9fafb;
  color: #6B7280;
}

/* Swiper wrapper adjustments */
.products-swiper-fall-winter,
.products-swiper-spring-summer {
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.products-swiper-fall-winter .swiper-wrapper,
.products-swiper-spring-summer .swiper-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.products-swiper-fall-winter .swiper-slide,
.products-swiper-spring-summer .swiper-slide {
  flex-shrink: 0;
  height: auto;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1000px) {
  .overflow-w-visible{
    overflow-x: visible !important;
  }
}
@media (max-width: 639px) {
  .products-swiper-fall-winter .swiper-slide,
  .products-swiper-spring-summer .swiper-slide {
    width: 100% !important;
    min-width: 100%;
  }
}

@media (max-width: 1024px) {
  .products-prev-fall-winter,
  .products-prev-spring-summer {
    left: 10px;
  }
  .products-next-fall-winter,
  .products-next-spring-summer {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .products-prev-fall-winter,
  .products-next-fall-winter,
  .products-prev-spring-summer,
  .products-next-spring-summer {
    width: 36px;
    height: 36px;
  }
  .products-prev-fall-winter,
  .products-prev-spring-summer {
    left: 5px;
  }
  .products-next-fall-winter,
  .products-next-spring-summer {
    right: 5px;
  }
}

/* World of Romano Swiper Styles */
.world-prev,
.world-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #9CA3AF;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.world-prev {
  left: -2.6rem;
  position: absolute;
}

.world-next {
  right: -2.6rem;
  position: absolute;
}

.world-prev:after,
.world-next:after {
  content: '';
  display: block;
  width: 21px;
  height: 12px;
  background-image: url('./icons/Vector.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
}

.world-prev:after {
  transform: rotate(90deg);
}

.world-next:after {
  transform: rotate(-90deg);
}

.world-prev:hover,
.world-next:hover {
  background: white;
  color: #6B7280;
}

.world-prev:hover:after,
.world-next:hover:after {
  color: #6B7280;
}

/* Pagination Styles */
.world-pagination,
.products-pagination-fall-winter {
  position: relative;
  margin-top: 24px;
  text-align: center;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

.world-pagination .swiper-pagination-bullet,
.products-pagination-fall-winter .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #9CA3AF;
  opacity: 1;
  margin: 0 4px;
  border-radius: 50%;
}

.world-pagination .swiper-pagination-bullet-active,
.products-pagination-fall-winter .swiper-pagination-bullet-active {
  background: #9CA3AF;
  border-color: #9CA3AF;
}

@media (max-width: 1024px) {
  .world-prev {
    left: 0;
  }
  .world-next {
    right: 0;
  }
}

@media (max-width: 640px) {
  .world-prev,
  .world-next {
    width: 36px;
    height: 36px;
  }
  .world-prev {
    left: -1rem;
  }
  .world-next {
    right: -1rem;
  }
}

/* Cart Sidebar Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
    max-height: 200px;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

/* Scroll Button Animation */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-btn-animate {
  animation: slideUpFadeIn 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes enterLeft {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes exitRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.box-animate {
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: #fff;
  position: absolute;
  transform: translateX(100%); 
  animation: exitRight 0.4s ease forwards;
}
.viewAllButton-box-animate {
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: #fff;
  position: absolute;
  transform: translateX(100%); 
  animation: exitRight 0.4s ease forwards;
}

.shopNowButton-box-animate {
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: #CCC2A7;
  position: absolute;
  transform: translateX(100%); 
  animation: exitRight 0.4s ease forwards;
}
  #heroShopNow:hover, #heroShopNow:focus{
    color: #000 !important;
  }
  #heroShopNow:hover .box-animate, #heroShopNow:focus .box-animate{
    animation: enterLeft 0.4s ease forwards;
  }
  #viewAllButton:hover, #viewAllButton:focus{
    color: #CCC2A7 !important;
  }
  #viewAllButton:hover .viewAllButton-box-animate, #viewAllButton:focus .viewAllButton-box-animate{
    animation: enterLeft 0.4s ease forwards;
  }
  .shopNowButton:hover, .shopNowButton:focus{
    color: #fff !important;
  }
  .shopNowButton:hover .shopNowButton-box-animate, .shopNowButton:focus .shopNowButton-box-animate{
    animation: enterLeft 0.4s ease forwards;
  }


.hero-animate-1 {
  animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-animate-2 {
  animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-animate-3 {
  animation: heroFadeInScale 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-animate-4 {
  animation: heroFadeInUp 0.8s ease-out 0.8s forwards;
  opacity: 0;
}

/* Smooth scrollbar for cart */
#cartItems::-webkit-scrollbar {
  width: 6px;
}

#cartItems::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#cartItems::-webkit-scrollbar-thumb {
  background: #D4C4B0;
  border-radius: 3px;
}

#cartItems::-webkit-scrollbar-thumb:hover {
  background: #C4B4A0;
}

/* Cart item hover effects */
.cart-item {
  transition: all 0.3s ease;
}

.cart-item:hover {
  transform: translateX(-4px);
}

/* Cart badge pulse animation */
@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

#cartBadge {
  animation: pulse-badge 0.3s ease;
}

/* Hide scrollbar in dropdowns */
#currencyDropdown,
#languageDropdown {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#currencyDropdown::-webkit-scrollbar,
#languageDropdown::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

/* Ensure dropdown content doesn't overflow */
#currencyDropdown > div,
#languageDropdown > div {
  overflow: hidden;
}

/* Hide scrollbar in navigation bar container */
nav {
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

/* Ensure header and nav have proper z-index and sticky positioning */
header {
  z-index: 50 !important;
  position: -webkit-sticky !important; /* Safari */
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  will-change: scroll-position;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

nav {
  z-index: 50 !important;
  position: relative !important;
}

/* Ensure top bar doesn't interfere with sticky header */
body > div:first-of-type {
  position: relative;
  width: 100% !important;
}

/* Ensure parent containers of dropdowns have z-index */
nav .relative {
  z-index: 9999 !important;
  position: relative !important;
}

/* Ensure dropdowns appear above video and all other elements */
#currencyDropdown,
#languageDropdown {
  z-index: 10000 !important;
  position: fixed !important;
}

/* Ensure hero section doesn't overlap dropdowns */
section:has(#heroVideo) {
  z-index: 1 !important;
  position: relative;
}

/* Ensure video doesn't overlap */
#heroVideo {
  z-index: 1 !important;
  position: relative;
}

/* Product Image Hover Animation - Awesome Height Increase Effect */
.product-image-hover {
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  will-change: transform;
  overflow: visible !important;
}

.product-image-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 1;
  border-radius: 0.125rem;
}

.product-image-hover:hover {
  z-index: 10;
  aspect-ratio: 3/4.5 !important;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-image-hover:hover::after {
  opacity: 1;
}

.product-image-hover img {
  transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: height;
  object-fit: cover;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  object-position: top center;
}

.product-image-hover:hover img {
  height: 110%;
  bottom: 0;
  object-position: top center;
}

/* Smooth interaction with grid - subtle effect on other items */
@media (hover: hover) {
  .grid:has(.product-image-hover:hover) .product-image-hover:not(:hover) {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.88;
  }
}

/* WhatsApp Chat Button Styles */
.whatsapp-chat-button {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  color: white !important;
}

.whatsapp-chat-button * {
  color: white !important;
}

.whatsapp-chat-button svg {
  fill: white !important;
  color: white !important;
}

.whatsapp-chat-button span {
  color: white !important;
}

.whatsapp-chat-button:hover {
  transform: scale(1.05) translateZ(0);
  -webkit-transform: scale(1.05) translateZ(0);
  color: white !important;
}

.whatsapp-chat-button:hover * {
  color: white !important;
}

.whatsapp-chat-button:hover svg {
  fill: white !important;
  color: white !important;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(204, 194, 167, 0.7);
 
  }
  50% {
    box-shadow: 0 0 0 10px rgba(204, 194, 167, 0);
  }
}
.zoom-container {
  width: 100%;
  height: 400px; /* Set a fixed height or aspect ratio */
  overflow: hidden; /* Hide the part of the image that zooms out */
  position: relative;
  border-radius: 8px;
  cursor: crosshair; /* Visual cue for the user */
}

/* 2. The Image */
.zoom-container img {
  width: 100%;
  object-fit: cover; /* Ensures image fills container nicely */
  transition: transform 0.2s ease-out; /* Smooths the zoom in/out */
  /* We do NOT add transition to transform-origin, otherwise dragging feels laggy */
}

/* 3. The Hover State */
.zoom-container:hover img {
  transform: scale(2.5); /* Adjust this number to zoom more/less */
}
/* Responsive adjustments for WhatsApp button */
@media (max-width: 640px) {
  .whatsapp-chat-button {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem;
  }
  
  .whatsapp-chat-button svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Product sizes overlay on hover */
.product-sizes-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.product-card:hover .product-sizes-overlay {
  transform: translateY(0);
}
.product-card:hover .mainImage{
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.product-card .secondaryImage{
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.product-card:hover .secondaryImage{
  opacity: 1;
}

.product-size-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  color: #111827;
  transition: all 0.2s ease;
}

.product-size-box.out-of-stock {
  position: relative;
  color: #9ca3af;
  border-color: #d1d5db;
  background: #f9fafb;
}

.product-size-box.out-of-stock::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #9ca3af;
  transform: translateY(-50%) rotate(335deg);
  transform-origin: center;
  width: 60px;
}

/* ==================== Multi Tabs Styles ==================== */
.multi-tabs-container {
  width: 100%;
}

/* Primary Tab Buttons */
.tab-btn {
  background-color: #e8e6e1;
  color: #6A6A6A;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.3s ease;
  width: 200px;
  flex-shrink: 0;
}

.tab-btn:hover {
  background-color: #d9d7d2;
  transform: translateY(-1px);
}

.tab-btn.active {
  background-color: #CCC2A7;
  color: #ffffff;
  box-shadow: none;
}

/* Secondary Tab Buttons */
.tab-btn-secondary {
  background-color: #e8e6e1;
  color: #6A6A6A;
  border: none;
  cursor: pointer;
  font-weight: 400;
  border-radius: 0;
  transition: all 0.3s ease;
  width: 200px;
  flex-shrink: 0;
}

.tab-btn-secondary:hover {
  background-color: #d9d7d2;
  transform: translateY(-1px);
}

.tab-btn-secondary.active {
  background-color: #CCC2A7;
  color: #ffffff;
  box-shadow: none;
}

/* Tab Content Animation */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content-animate {
  animation: tabFadeIn 0.4s ease-in-out;
}

/* Accordion Styles */
.accordion-item {
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: white;
}

.accordion-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.accordion-header.active {
  background-color: #f9f9f9;
}

.accordion-header.active svg {
  transform: rotate(45deg);
  color: #CCC2A7;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

/* Responsive Adjustments for Tabs */
@media (max-width: 640px) {
  .tab-btn,
  .tab-btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    width: 150px;
  }
}

@media (min-width: 768px) {
  .tab-btn,
  .tab-btn-secondary {
    width: 250px;
  }
}

@media (min-width: 1024px) {
  .tab-btn,
  .tab-btn-secondary {
    width: 280px;
  }

  .tab-btn:active,
  .tab-btn-secondary:active {
    transform: scale(0.98);
  }
}

@media (min-width: 1024px) {
    #images-scroll-container {
    height: 150vh !important;
    }
}