* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  background-color: #EFDFCF;
  color: #161615;
  animation: fadeIn 1.2s ease-out;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: 200px 0;
  }
}

/* ======= HEADER NAVBAR STYLE ======= */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #F5E6D3 0%, #F2E1C2 100%);
  padding: 18px 60px;
  border-top: 4px solid #8C926C;
  border-bottom: 1px solid rgba(140, 146, 108, 0.2);
  font-family: 'Roboto', sans-serif;
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 30px;
  align-items: center;
}


/* Add spacing between the two sides and the logo */
.logo {
  margin: 0 40px;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  color: #4A3B30;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideUpFade 0.8s ease-out 0.4s forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: default;
  white-space: nowrap;
}

.logo:hover {
  transform: scale(1.05) translateY(-2px);
  color: #8C926C;
  text-shadow: 0 2px 8px rgba(140, 146, 108, 0.2);
}

/* Navbar links */
.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #2E2E2E;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideUpFade 0.8s ease-out forwards;
}

.nav-left a:nth-child(1) {
  animation-delay: 0.5s;
}

.nav-left a:nth-child(2) {
  animation-delay: 0.6s;
}

.nav-right a:nth-child(1) {
  animation-delay: 0.7s;
}

.nav-right a:nth-child(2) {
  animation-delay: 0.8s;
}

.nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #4E3B3B;
  transition: width 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #4E3B3B;
  transform: translateY(-2px);
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  header {
    padding: 10px 10px !important;
    gap: 5px !important;
  }

  .nav-left,
  .nav-right {
    gap: 10px !important;
  }

  .logo {
    margin: 0 10px !important;
    font-size: 1.2rem !important;
  }

  .nav-left a,
  .nav-right a {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 5px !important;
  }

  .nav-left,
  .nav-right {
    gap: 6px !important;
  }

  .nav-left a,
  .nav-right a {
    font-size: 10px !important;
  }

  .logo {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 10px 15px !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .nav-left,
  .nav-right {
    gap: 10px !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  .logo {
    margin: 0 !important;
    font-size: 20px !important;
    flex-shrink: 0;
  }

  .nav-left a,
  .nav-right a {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 8px !important;
  }

  .nav-left a,
  .nav-right a {
    font-size: 11px !important;
  }

  .logo {
    font-size: 16px !important;
  }
}





/* Welcome bar */
.welcome-bar {
  background: linear-gradient(135deg, #8C926C 0%, #947153 100%);
  text-align: center;
  padding: 8px;
  color: #FAFBF3;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideUpFade 0.8s ease-out 0.3s forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .welcome-bar {
    font-size: 13px !important;
    padding: 6px !important;
  }
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  background-image: url("../images/portrait.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.4s forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-text {
  flex: 1;
  margin-right: 40px;
  color: #FAFBF3;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s ease-out 0.6s forwards;
}

@media (max-width: 768px) {
  .hero-text {
    margin-right: 0 !important;
    text-align: center;
  }
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 5%;
    min-height: 400px;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #EFC69D 0%, #DDB285 100%);
  border: none;
  border-radius: 50px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #2C2C2C;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.8s ease-out 0.8s forwards;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #DDB285 0%, #C6A074 100%);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
  color: #1A1A1A;
}

.btn:hover::before {
  left: 100%;
}

/* Section Two (Image + Text) */
.sectionTwo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0px;
  margin-left: 0px;
  gap: 50px;
  background-color: #FAFBF3;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.sectionImage {
  width: 50%;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s ease-out 1.2s forwards;
}

.sectionImage img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sectionImage:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sectionTwo {
    flex-direction: column;
    gap: 20px;
  }

  .sectionImage {
    width: 100%;
  }

  .sectionImage img {
    height: 300px;
  }

  .sectionText {
    margin-right: 0;
    padding: 0 20px 40px;
    width: 100%;
  }

  .sectionText h2 {
    font-size: 22px;
  }
}


@media (max-width: 768px) {
  .sectionText {
    margin-right: 0 !important;
    text-align: center;
    padding: 20px !important;
    width: 100% !important;
  }

  .sectionText h2 {
    white-space: normal !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
  }
}

.sectionText h2 {
  font-size: 30px;
  margin: 0 0 5px 0;
  font-weight: normal;
}

/* Stagger the first word of each line */
.sectionText h2 {
  display: inline-block;
  white-space: nowrap;
}

.sectionText p {
  font-size: 1rem;
  line-height: 1.6;
  color: #947153;
  margin-top: 1rem;
  text-align: center;
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80%) translateY(30px) scale(0.9);
  }

  100% {
    opacity: 0.7;
    transform: translateX(60%) translateY(0) scale(1);
  }
}

/* Shop By Category Section */
.shop-category {
  padding: 5px 0;
  background: linear-gradient(135deg, #EFDFCF 0%, #EFDFCF 50%, #EFDFCF 100%);
  position: relative;
  overflow: hidden;
}

.shop-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8C926C, transparent);
}

.category-header {
  text-align: center;
  position: relative;
  margin: 10px auto 5px auto;
  max-width: 1200px;
  padding: 0 20px;
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 1.4s forwards;
}

.category-header h2 {
  font-size: 26px;
  color: #2C2C2C;
  margin: 0 0 5px 0;
  font-weight: normal;
  position: relative;
}

.category-header p {
  font-size: 18px;
  color: #666;
  margin: 0;
  font-weight: normal;
}

.category-cards-wrapper {
  background: linear-gradient(to bottom, #EFDFCF 0%, #EFDFCF 50%, #FAFBF3 50%, #FAFBF3 100%);
  padding: 5px 0;
  border-radius: 0px;
}

.category-cards-container {
  background: #FFF2E6;
  padding: 5px;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 0px;
  border-radius: 0px;
}

@media (max-width: 768px) {
  .category-cards-container {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

.category-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  margin: 0 20px;
  scrollbar-width: thin;
  scrollbar-color: #8C926C #F5F3F0;
}

.category-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.category-scroll-container::-webkit-scrollbar-track {
  background: #F5F3F0;
  border-radius: 4px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #8C926C, #D6CEC6);
  border-radius: 4px;
}

.category-scroll-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #7A8259, #C4B8A8);
}

.category-cards {
  display: flex;
  gap: 20px;
  padding: 5px 0;
  min-width: max-content;
}

.category-card {
  min-width: 200px;
  height: 300px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease-out forwards;
}

.category-card:nth-child(1) {
  animation-delay: 1.6s;
}

.category-card:nth-child(2) {
  animation-delay: 1.7s;
}

.category-card:nth-child(3) {
  animation-delay: 1.8s;
}

.category-card:nth-child(4) {
  animation-delay: 1.9s;
}

.category-card:nth-child(5) {
  animation-delay: 2.0s;
}

.category-card:nth-child(6) {
  animation-delay: 2.1s;
}

.category-card:nth-child(7) {
  animation-delay: 2.2s;
}

.category-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.card-bag {
  background: #EFC69D;
}

.card-accessories {
  background: #C6AE94;
}

.card-home {
  background: #AC794D;
}

.card-furniture {
  background: #947153;
}

.card-souvenir {
  background: #EFC69D;
}

.card-wearables {
  background: #C6AE94;
  ;
}

.card-eco {
  background: #AC794D;
}

.card-decor {
  background: #947153;
}

.card-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: transparent;
}

.category-card:hover .card-illustration {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.card-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FAFBF3, #F5F3F0);
  padding: 8px 50px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #2C2C2C;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(140, 146, 108, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.3px;
}

.category-card:hover .card-label {
  background: linear-gradient(135deg, #8C926C, #7A8259);
  color: #FAFBF3;
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Suggested products */
.suggested-products {
  background: #EFDFCF;
  padding: 20px 0 30px;
}

.suggested-products .sp-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suggested-products .sp-header h2 {
  font-size: 34px;
  color: #0F5754;
  font-weight: 800;
}

.suggested-products .sp-header .sp-more {
  color: #AC794D;
  text-decoration: none;
  font-weight: 600;
}

.sp-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 10px;
}

.sp-row {
  display: inline-flex;
  gap: 24px;
  padding: 6px 10px 12px;
  min-width: max-content;
}

.sp-card {
  width: 230px;
  flex: 0 0 230px;
  background: #FAFBF3;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-media img {
  max-width: 160px;
  max-height: 140px;
  object-fit: contain;
  display: block;
}

.sp-title {
  text-align: center;
  font-size: 18px;
  color: #0F5754;
  margin-top: 8px;
  line-height: 1.25;
  font-weight: 700;
}

.sp-meta {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 6px 0 12px;
}

.sp-price {
  text-align: center;
  color: #0F5754;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.5px;
}

.sp-price .sp-price-cents {
  font-size: 18px;
  position: relative;
  top: -4px;
}

.sp-price .sp-price-currency {
  font-size: 18px;
  margin-left: 2px;
}

.sp-add {
  margin-top: 14px;
  width: 80%;
  height: 48px;
  border-radius: 20px 20px 50% 50% / 20%;
  border: 0;
  background: #EAE7E3;
  color: #0F5754;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
}

/* Most Popular Section (now part of combined) */
/* Right side: Most Popular */
.popular-cards-wrapper {
  width: 56.2%;
  height: 490px;
  background: linear-gradient(to bottom, #D4C4A8 50%, #D4C4A8 50%, #C4B08A 25%, #C4B08A 25%);
  display: flex;
  padding: 10px;
  flex-direction: column;
  opacity: 0;
  animation: slideInRight 1s ease-out 2.4s forwards;
}

.popular-header {
  text-align: center;
  position: relative;
  margin: 10px 0 5px 0;
}

.popular-header h2 {
  font-size: 26px;
  color: #2C2C2C;
  margin: 0 0 5px 0;
  font-weight: normal;
  position: relative;
}

.popular-header p {
  font-size: 18px;
  color: #666;
  margin: 0;
  font-weight: normal;
}

.popular-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 0;
  margin: 0 20px;
  scrollbar-width: thin;
  scrollbar-color: #8C926C #F5F3F0;
}

.popular-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.popular-scroll-container::-webkit-scrollbar-track {
  background: #F5F3F0;
  border-radius: 4px;
}

.popular-scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #8C926C, #D6CEC6);
  border-radius: 4px;
}

.popular-scroll-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #7A8259, #C4B8A8);
}

.popular-cards {
  display: flex;
  gap: 20px;
  padding: 5px 0;
  min-width: max-content;
}

.popular-card {
  min-width: 200px;
  height: 300px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, rgba(234, 204, 175, 0.85), rgba(234, 204, 175, 0.7));
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease-out forwards;
}

.popular-card:nth-child(1) {
  animation-delay: 2.5s;
}

.popular-card:nth-child(2) {
  animation-delay: 2.6s;
}

.popular-card:nth-child(3) {
  animation-delay: 2.7s;
}

.popular-card:nth-child(4) {
  animation-delay: 2.8s;
}

.popular-card:nth-child(5) {
  animation-delay: 2.9s;
}


.popular-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.popular-image {
  position: absolute;
  margin-top: 10px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 190px;
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
}

/* Ensure popular product images keep aspect ratio without stretching */
.popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-card:hover .popular-image {
  transform: translateX(-50%) scale(1.1);
  opacity: 1;
}

.popular-card:hover .popular-image img {
  transform: scale(1.1);
}

.popular-label {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0px 50px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: normal;
  color: #535242;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.popular-price {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: bold;
  color: #535242;
  text-align: center;
}

/* Container Two */
.container-two {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: stretch;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0px;
}

/* Combined Gallery and Popular Section */
.combined-section {
  padding: 10px 0;
  background: #ADAE84;
  width: 50%;
  opacity: 0;
  animation: slideInLeft 1s ease-out 2.4s forwards;
  overflow: hidden;
}

@media (max-width: 991px) {
  .container-two {
    flex-direction: column;
  }

  .combined-section,
  .popular-cards-wrapper {
    width: 100% !important;
    height: auto !important;
  }
}

.combined-container {
  padding: 20px;
}


/* Left side: Gallery */
.gallery-container {
  display: flex;
  width: 100%;
  height: auto;
  gap: 10px;
  padding: 5px;
}

.gallery-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.gallery-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.main-image {
  width: 280px;
  height: 420px;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.small-image {
  width: 250px;
  height: 205px;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.main-image:hover {
  transform: scale(1.05);
}

.small-image:hover {
  transform: scale(1.05);
}

/* =====================
   Popular Cards Section
   ===================== */
.popular-cards-wrapper {
  width: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  opacity: 0;
  animation: slideInRight 1s ease-out 2.4s forwards;
  min-height: 460px;
}

.popular-header {
  margin-bottom: 16px;
}

.popular-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2C2C2C;
  margin: 0 0 4px 0;
  font-family: 'Roboto', sans-serif;
}

.popular-header p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.popular-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  padding-bottom: 8px;
}

.popular-scroll-container::-webkit-scrollbar {
  height: 5px;
}

.popular-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 100px;
}

.popular-scroll-container::-webkit-scrollbar-thumb {
  background: #8C926C;
  border-radius: 100px;
}

.popular-cards {
  display: flex;
  flex-direction: row;
  gap: 14px;
  min-width: max-content;
  padding: 4px 2px 8px;
  align-items: flex-start;
}

.popular-loading {
  color: #888;
  font-size: 14px;
  padding: 40px 0;
  text-align: center;
  width: 100%;
}

/* Product Cards */
.product-card {
  width: 190px;
  min-width: 190px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card:hover .hover-zoom {
  transform: scale(1.08) !important;
}

.product-card .p-3 {
  padding: 12px;
}

@media (max-width: 991px) {
  .popular-cards-wrapper {
    width: 100% !important;
    min-height: unset;
  }
}

/* Footer Section */
.footer {
  background-color: #EFDFCF;
  padding: 30px 60px 10px;
  margin: 0;
  width: 100%;
  border-top: 2px solid #8C926C;
  opacity: 0;
  animation: fadeIn 1s ease-out 3s forwards;
}

footer p,
footer small {
  margin-bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-column {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease-out forwards;
}

.footer-column:nth-child(1) {
  animation-delay: 3.2s;
}

.footer-column:nth-child(2) {
  animation-delay: 3.4s;
}

.footer-column:nth-child(3) {
  animation-delay: 3.6s;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: normal;
  color: #2C2C2C;
  margin-bottom: 0px;
  font-family: 'Roboto', sans-serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
}

.footer-column li:hover {
  color: #8C926C;
  cursor: pointer;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
  animation-delay: 0s;
}

.social-icon:nth-child(2) {
  animation-delay: 1.5s;
}

.social-icon:hover {
  transform: scale(1.2);
  animation: none;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Normalize Instagram PNG visual size to match Facebook */
.social-icon.instagram img {
  transform: scale(1.35);
  transform-origin: center;
}


/* Responsive adjustments */
@media (max-width: 991px) {
  .container-two {
    flex-direction: column;
    padding: 10px;
    width: 100% !important;
  }

  .combined-section,
  .popular-cards-wrapper {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .combined-container {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .gallery-container {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column;
    gap: 15px;
    height: auto !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .gallery-left,
  .gallery-right {
    width: 100% !important;
  }

  .main-image,
  .small-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px;
    display: block;
    margin: 0 auto;
  }

  .gallery-right {
    flex-direction: row;
    gap: 10px;
  }

  .gallery-right .small-image {
    flex: 1;
    height: 150px !important;
  }

  .popular-cards-wrapper {
    flex: 1;
    padding: 20px 0;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 15px;
  }
}

/* Auth Modal */
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-modal.is-open {
  display: flex;
  animation: scaleIn 0.3s ease-out;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease-out;
}

.auth-modal__dialog {
  position: relative;
  background: #FAFBF3;
  color: #2C2C2C;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 22px 22px 18px;
  border: 1px solid rgba(140, 146, 108, 0.25);
  outline: none;
  transform: scale(0.9);
  animation: scaleIn 0.3s ease-out forwards;
}

.auth-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-modal__close:hover {
  transform: scale(1.1);
  color: #000;
}

.auth-modal h2 {
  margin: 6px 0 8px 0;
  font-weight: normal;
  font-size: 22px;
  color: #0F5754;
}

.auth-modal p {
  margin: 0 0 16px 0;
  color: #6b6b6b;
  font-size: 14px;
}

.auth-modal__actions {
  display: flex;
  gap: 10px;
}

.auth-modal__btn {
  flex: 1;
  display: inline-block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-modal__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.auth-modal__btn:hover::before {
  left: 100%;
}

.auth-modal__btn--primary {
  background: #EFC69D;
  color: #0F5754;
}

.auth-modal__btn--primary:hover {
  background: #DDB285;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: #0F5754;
}

.auth-modal__btn--secondary {
  background: #EAE7E3;
  color: #535242;
}

.auth-modal__btn--secondary:hover {
  background: #DDD8D1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}


/* ===== PRODUCT CARD STYLING (PURE CSS) ===== */
.product-card {
  background: linear-gradient(135deg, #F5E6D3 0%, #EFDFCF 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 220px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease-out forwards;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* ===== PRODUCT IMAGE FIX ===== */
.product-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-img:hover img {
  transform: scale(1.08);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* ===== PRODUCT DETAILS ===== */
.product-card .p-3 {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4A3F35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-desc {
  font-size: 0.8rem;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== TAG STYLING ===== */
.tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag.suit-deal {
  background: #fff3cd;
  color: #947153;
}

.tag.fast-shipping {
  background: #d1e7dd;
  color: #0a6c4e;
}

.product-card:hover .tag {
  transform: translateY(-2px);
}

/* ===== PRICE & SOLD COUNT ===== */
.price-sold {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 700;
  font-size: 1rem;
  color: #2C2C2C;
  transition: color 0.3s ease;
}

.sold {
  font-size: 0.8rem;
  color: #6c757d;
}

.product-card:hover .price {
  color: #8C926C;
}

/* Horizontal scroll for "#popularCards" */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: #CDA282;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #B38A6B;
}

/* Remove spinner arrows from number input */
#pm-qty::-webkit-outer-spin-button,
#pm-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#pm-qty {
  appearance: textfield;
  -moz-appearance: textfield;
  /* Firefox */
}

/* PRODUCT MODAL FONT STYLING */
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 1300;
  font-family: 'Roboto', sans-serif;
  animation: fadeIn 0.3s ease-out;
}

.product-modal-content {
  background: #FFF6ED;
  border-radius: 14px;
  max-width: 1100px;
  width: 95%;
  padding: 30px;
  display: flex;
  gap: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  color: #4A3B30;
  transform: scale(0.9);
  animation: scaleIn 0.3s ease-out forwards;
}

/* ✖ Close Button */
.pm-close {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #4A3B30;
  transition: all 0.3s ease;
}

.pm-close:hover {
  transform: scale(1.1);
  color: #000;
}

/* 🧺 Left Section */
.pm-left {
  flex: 1;
  min-width: 380px;
}

.pm-image-box {
  border: 1px solid #E0D6CF;
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3E9E0;
  transition: transform 0.3s ease;
}

.pm-image-box:hover {
  transform: scale(1.02);
}

.pm-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pm-image-box:hover img {
  transform: scale(1.05);
}

/* 🖋️ Thumbnails */
.pm-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pm-thumbs img {
  transition: all 0.3s ease;
}

.pm-thumbs img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 📄 Right Section */
.pm-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-right h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: #2C2C2C;
}

#pm-rating {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #7A6F68;
}

#pm-price {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #2C2C2C;
  transition: color 0.3s ease;
}

#pm-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #2C2C2C;
  line-height: 1.5;
  margin: 0;
}

/* 🔢 Quantity */
.pm-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
}

.pm-quantity span {
  font-weight: 600;
}

.qty-box {
  display: flex;
  align-items: center;
  border: 1px solid #CDB8A9;
  border-radius: 6px;
  overflow: hidden;
}

.qty-box button {
  padding: 6px 12px;
  border: none;
  background: #E8DCCA;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qty-box button:hover {
  background: #D8CCB8;
}

.qty-box input {
  width: 60px;
  text-align: center;
  border: none;
  background: #FFF6ED;
  outline: none;
}

/* 🛒 Buttons */
.pm-buttons {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.pm-buttons button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  background: #8C926C;
  color: #2C2C2C;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pm-buttons button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.pm-buttons button:hover::before {
  left: 100%;
}

.pm-buttons button:hover {
  background: #7A8259;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 👩‍ Seller Info */
.pm-seller {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.pm-seller:hover {
  transform: translateY(-3px);
}

.pm-seller img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #ccc;
  transition: all 0.3s ease;
}

.pm-seller:hover img {
  border-color: #8C926C;
}

.pm-seller h3 {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2C2C2C;
}

.pm-seller p {
  font-family: 'Roboto', sans-serif;
  margin: 4px 0;
  color: #7A6F68;
  font-size: 14px;
}

.pm-seller button {
  padding: 6px 14px;
  background: #947153;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pm-seller button:hover {
  background: #836045;
  transform: translateY(-2px);
}

/* Loading animation for product cards */
@keyframes loadingPulse {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

.popular-loading {
  animation: loadingPulse 1.5s ease-in-out infinite;
}

/* Scroll animations for elements when they come into view */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}