/* CSS for Ourea Product Slider */

:root {
  --ops-color-primary: #1E2A1E;      /* Dark Forest Green for titles */
  --ops-color-secondary: #8C9985;    /* Soft Sage Green for labels/icons */
  --ops-color-text-dark: #1E2A1E;    /* Dark Charcoal for text */
  --ops-color-text-muted: #5A625A;   /* Muted Green-Gray for description */
  --ops-color-bg-light: #F7F7F5;     /* Warm off-white */
  --ops-color-btn-bg: #E2E3D8;       /* Light Sage/Beige button background */
  --ops-color-btn-text: #1E2A1E;     /* Dark text for the button */
  --ops-color-dot-inactive: #D0D2C8; /* Soft dot color */
  --ops-color-dot-active: #1E2A1E;   /* Dark dot color */
  --ops-font-family: 'Epilogue', sans-serif;
  --ops-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ops-section,
.ops-section * {
  box-sizing: border-box;
}

.ops-section {
  width: 100%;
  padding: 40px 0 60px;
  overflow: hidden;
  background-color: transparent;
}



/* =========================================
   CAROUSEL/SLIDER TRACK
========================================= */

.ops-track-viewport {
  overflow: visible; /* Allows shadows/edges to display beautifully */
  width: 100%;
}

.ops-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ops-card {
  flex: 0 0 412px;
  width: 412px;
  min-width: 412px;
  background: transparent;
  overflow: hidden;
  transition: var(--ops-transition);
}

.ops-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--ops-color-bg-light);
  transform: translateZ(0); /* Fixes Safari overflow rounded corner bug */
}

.ops-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ops-card:hover .ops-card-img-wrap img {
  transform: scale(1.05);
}

.ops-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ops-color-secondary);
  background: var(--ops-color-bg-light);
  font-family: var(--ops-font-family);
  font-size: 16px;
  font-weight: 400;
}

.ops-card-body {
  padding: 20px 10px 10px;
  text-align: center;
}

.ops-card-title {
  font-family: var(--ops-font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ops-color-text-dark);
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.ops-card:hover .ops-card-title {
  color: var(--ops-color-secondary);
}

.ops-card-desc {
  font-family: var(--ops-font-family);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ops-color-text-muted);
  margin: 0;
}

/* =========================================
   BOTTOM CONTROLS (FOOTER)
========================================= */

.ops-dots {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.ops-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ops-color-dot-inactive);
  cursor: pointer;
  transition: var(--ops-transition);
}

.ops-dot:hover {
  background: var(--ops-color-secondary);
}

.ops-dot.active {
  background: var(--ops-color-dot-active);
  transform: scale(1.25);
}



/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */

@media (max-width: 992px) {
  .ops-card {
    flex: 0 0 calc((100% - 28px) / 2);
    width: auto;
    min-width: auto;
  }
}

@media (max-width: 600px) {
  .ops-card {
    flex: 0 0 100%;
  }
  
  .ops-dots {
    justify-content: center;
  }
}
