/* Be You Pink Chile - Estilos Oficiales */
:root {
  --byp-black: #000000;
  --byp-dark: #121212;
  --byp-white: #ffffff;
  --byp-nude: #f7efe9;
  --byp-nude-deep: #ebe4de;
  --byp-taupe: #ab8f80;
  --byp-taupe-dark: #8e7365;
  --byp-pink: #e91e63;
  --byp-text: #121212;
  --byp-muted: #5c5754;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--byp-text);
  background-color: var(--byp-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Announcement ticker */
@keyframes bypMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.byp-ticker-track {
  display: flex;
  width: max-content;
  animation: bypMarquee 26s linear infinite;
}

.byp-ticker-track:hover {
  animation-play-state: paused;
}

/* Editorial curved divider */
.byp-curve-bottom {
  border-radius: 0 0 50% 50% / 22px;
}

@media (min-width: 768px) {
  .byp-curve-bottom {
    border-radius: 0 0 50% 50% / 36px;
  }
}

/* Product card secondary image hover */
.byp-card-img-wrap {
  position: relative;
  overflow: hidden;
  background-color: #f6f3f0;
}

.byp-card-img-wrap img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.byp-card-img-wrap .img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.byp-product-card:hover .byp-card-img-wrap .img-primary {
  transform: scale(1.04);
}

.byp-product-card:hover .byp-card-img-wrap .img-secondary {
  opacity: 1;
  transform: scale(1.04);
}

/* Tab pill active */
.byp-tab-btn.active {
  background-color: var(--byp-taupe);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(171, 143, 128, 0.35);
}

/* Circular progress rings */
.byp-ring-circle {
  transition: stroke-dashoffset 1s ease-out;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #f5f1ee;
}

::-webkit-scrollbar-thumb {
  background: #c7bbb4;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9e8579;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Rich HTML description inside product modal */
.byp-rich-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px auto;
  display: block;
}

.byp-rich-desc h1,
.byp-rich-desc h2,
.byp-rich-desc h3,
.byp-rich-desc h4 {
  font-weight: 700;
  color: #121212;
  margin-top: 14px;
  margin-bottom: 6px;
}

.byp-rich-desc p {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #3f3b39;
  font-size: 0.9rem;
}

.byp-rich-desc ul,
.byp-rich-desc ol {
  padding-left: 20px;
  margin-bottom: 12px;
  list-style: disc;
  color: #3f3b39;
  font-size: 0.9rem;
}

.byp-rich-desc li {
  margin-bottom: 4px;
}

.byp-rich-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.82rem;
}

.byp-rich-desc th,
.byp-rich-desc td {
  border: 1px solid #e5ddd8;
  padding: 6px 8px;
  text-align: center;
}

.byp-rich-desc th {
  background: #f7efe9;
  font-weight: 700;
}

/* Slide-over & modal transitions */
.byp-drawer-backdrop {
  transition: opacity 0.25s ease;
}

.byp-drawer-panel {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Toast notification */
@keyframes bypToastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.byp-toast {
  animation: bypToastIn 0.25s ease-out forwards;
}

/* Variant pill */
.byp-variant-btn.selected {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Policy content */
.byp-policy-content h1,
.byp-policy-content h2,
.byp-policy-content h3 {
  font-weight: 700;
  margin: 16px 0 8px;
  color: #121212;
}

.byp-policy-content p {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #44403c;
  font-size: 0.9rem;
}

.byp-policy-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}
