/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    background: none;
    -webkit-font-smoothing: antialiased;
}
body {
  font-family: "Montserrat", sans-serif;
}

ul, ol, menu {
    list-style-type: none;
}

.main-container {
  background: #ffffff;
  height: auto;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-section {
  width: 100%;
  max-width: 1200px;
  margin: 120px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.breadcrumbs {
  color: #000000;
  text-align: center;
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 16px;
  line-height: 100%;
  font-weight: 500;
  width: 100%;
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: #000000; /* Or a darker grey, depending on desired aesthetic */
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color); /* Assuming you have a primary color variable defined */
}

.product-title {
  color: #000000;
  text-align: center;
  font-family: "Montserrat-ExtraBold", sans-serif;
  font-size: 40px;
  font-weight: 800;
  width: 100%;
  margin-bottom: 30px;
}

.product-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 488px;
}

.product-gallery__image {
  border-radius: 10px;
  width: 488px;
  height: 488px;
  object-fit: cover;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.product-gallery__info-card {
  background: var(--backgrounds-primary, #ffffff);
  border: 1px solid #000000;
  border-radius: 15px;
  width: 100%;
  max-width: 488px;
  height: auto;
  min-height: 220px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.info-card__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card__group--brand {
  align-items: flex-end;
}

.info-card__label {
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.info-card__value {
  font-family: "Montserrat-MediumItalic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
}

.info-card__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.syuga-logo__image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.syuga-logo__tagline {
  color: #657e37;
  text-align: right;
  font-family: "FontspringDemoTheSeasons-Regular", sans-serif;
  font-size: 14px;
  font-weight: 400;
  width: 130px;
  -webkit-text-stroke: 1px #626e39;
  margin-top: -15px;
}

.product-details {
  background: var(--backgrounds-secondary, #f2f2f7);
  border-radius: 15px;
  width: 580px;
  height: auto;
  min-height: 720px;
  overflow: hidden;
  padding: 30px;
  flex-shrink: 0;
}

.product-details__title {
  color: #000000;
  text-align: left;
  font-family: "Montserrat-SemiBold", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-details__text {
  color: #000000;
  text-align: left;
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-details__benefits {
  color: #000000;
  text-align: left;
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.product-details__benefits-title {
  display: block;
  margin-bottom: 10px;
}

.product-details__benefits-list {
  list-style-type: disc;
  padding-left: 1em;
}

.marketplace-section {
  background: #ffffff;
  padding: 0;
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 50px;
  margin-bottom: 80px; /* Added margin-bottom for more space before the footer */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  color: #000000;
  text-align: center;
  font-family: "NotoSans-SemiBold", sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-top: 50px;
}

.marketplace-section__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.marketplace-section__logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px; /* Increased spacing for desktop */
  width: 100%;
}

.marketplace-section__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.5s ease-in-out; /* Increased transition duration for smoother hover */
}

.marketplace-section__logo:hover {
  transform: scale(1.1); /* Scale up on hover */
}

/* Syuga Logo Vectors */
.vector {
  width: 26.31%;
  height: 54.9%;
  position: absolute;
  right: 51.44%;
  left: 22.25%;
  bottom: 45.1%;
  top: 0%;
  overflow: visible;
}
.vector2 {
  width: 26.3%;
  height: 54.91%;
  position: absolute;
  right: 19.41%;
  left: 54.28%;
  bottom: 45.09%;
  top: 0%;
  overflow: visible;
}
.vector3 {
  width: 26.06%;
  height: 26.91%;
  position: absolute;
  right: 48.58%;
  left: 25.36%;
  bottom: 45.1%;
  top: 27.99%;
  overflow: visible;
}
.vector4 {
  width: 26.29%;
  height: 26.92%;
  position: absolute;
  right: 22.53%;
  left: 51.18%;
  bottom: 45.09%;
  top: 27.99%;
  overflow: visible;
}
.group {
  width: 100.01%;
  height: 32.91%;
  position: absolute;
  right: -0.01%;
  left: 0%;
  bottom: 0%;
  top: 67.08%;
  overflow: visible;
}

/* Scroll Animations */
.product-section, .marketplace-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.product-section.visible, .marketplace-section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive Styles for Product Details Page (from responsive.css) */
/* Large screens (992px - 1200px) */
@media (max-width: 1200px) {
  .product-title {
    font-size: 36px;
  }
  
  .product-grid {
    gap: 30px;
  }
  
  .product-gallery {
    width: 450px;
  }
  
  .product-gallery__image {
    width: 450px;
    height: 450px;
  }
  
  .product-details {
    width: 500px;
  }
}

/* Medium screens (768px - 992px) */
@media (max-width: 992px) {
  .product-section {
    margin-top: 100px;
  }
  
  .product-title {
    font-size: 32px;
  }
  
  .product-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .product-gallery {
    width: 100%;
    max-width: 500px;
  }
  
  .product-gallery__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  
  .product-details {
    width: 100%;
    max-width: 500px;
  }
  
  .marketplace-section__logo-row {
    gap: 60px; /* Increased spacing for medium screens */
  }
  
  .marketplace-section__logo {
    width: 100px;
    height: 100px;
    transition: transform 0.5s ease-in-out;
  }

  .marketplace-section__logo:hover {
    transform: scale(1.1);
  }
  
  /* Mobile menu touch improvements (redundant with global.js) */
  /*
  .mobile-nav ul li a {
    padding: 10px 0;
    display: block;
    width: 100%;
  }
  
  .mobile-lang-item {
    padding: 10px 0;
  }
  */
}

/* Small screens (480px - 768px) */
@media (max-width: 768px) {
  .product-section {
    margin-top: 90px;
    padding: 0 15px;
  }
  
  .breadcrumbs {
    font-size: 14px;
    text-align: left;
  }
  
  .product-title {
    font-size: 28px;
    text-align: left;
  }
  
  .product-gallery__info-card {
    min-height: auto;
    padding: 15px;
  }
  
  .info-card__label,
  .info-card__value {
    font-size: 16px;
  }
  
  .syuga-logo__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    height: 100px;
  }
  
  .product-details__title {
    font-size: 22px;
  }
  
  .product-details__text {
    font-size: 15px;
  }
  
  .product-details__benefits-list li {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .marketplace-section__logos {
    width: 100%;
  }
  
  .marketplace-section__logo-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px; /* Increased spacing for small screens */
  }
  
  .marketplace-section__logo {
    width: 90px;
    height: 90px;
    transition: transform 0.5s ease-in-out;
  }

  .marketplace-section__logo:hover {
    transform: scale(1.1);
  }
  
  /* Touch improvements */
  .marketplace-section__logo {
    transition: transform 0.2s ease;
  }
  
  .marketplace-section__logo:active {
    transform: scale(0.95);
  }
}

/* Extra small screens (< 480px) */
@media (max-width: 480px) {
  .product-section {
    margin-top: 80px;
  }
  
  .breadcrumbs {
    font-size: 12px;
  }
  
  .product-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .product-gallery__info-card {
    padding: 12px;
  }
  
  .info-card__label,
  .info-card__value {
    font-size: 14px;
  }
  
  .syuga-logo__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    height: 80px;
  }
  
  .syuga-logo__tagline {
    font-size: 12px;
  }
  
  .product-details {
    padding: 20px;
  }
  
  .product-details__title {
    font-size: 20px;
  }
  
  .product-details__text,
  .product-details__benefits-list li {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .marketplace-section__logo {
    width: 80px;
    height: 80px;
    transition: transform 0.5s ease-in-out;
  }

  .marketplace-section__logo:hover {
    transform: scale(1.1);
  }
}