
/* ============================================================
   RESTELLE — CUSTOM CSS
   Pegar al final de critical-css.tpl, ANTES de {% endraw %}
   ============================================================ */
 
/* --- BRAND --- */
.brand-highlight {
  font-weight: 700;
  color: #8BC6EA;
}
 
/* --- PRODUCT TITLE WRAPPER --- */
.product-title-wrapper {
  display: flex;
  flex-direction: column;
}
.product-title-wrapper .product-short-desc {
  order: 2;
}
.product-title-wrapper .product-short-desc ~ * {
  order: 3;
}
 
/* --- STOCK ALERT --- */
.stock-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  gap: 6px;
}
.stock-dot {
  width: 8px;
  height: 8px;
  background-color: #e53935;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.stock-headline { color: #ff0000; font-weight: 700; }
.stock-text strong { font-weight: 700; }
 
/* --- TRUST BLOCK --- */
.product-trust-block {
  display: flex !important;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e6e6e6;
  background: none !important;
}
.trust-item {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #333;
}
.trust-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  color: #4da3ff;
}
.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.trust-text strong { font-weight: 600; }
@media (max-width: 768px) {
  .product-trust-block { gap: 10px; }
  .trust-text { font-size: 12px; }
}
 
/* --- BUNDLES --- */
.tn-bundles { margin: 14px 0 16px; }
.tn-bundles__title {
  text-align: center;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 10px 0 12px;
  color: #0f172a;
  opacity: .85;
}
.tn-pack { display: block; margin-bottom: 12px; cursor: pointer; }
.tn-pack__radio { position: absolute; opacity: 0; pointer-events: none; }
.tn-pack__card {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.tn-pack__top {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}
.tn-pack__name { font-weight: 900; font-size: 14px; color: #0f172a; }
.tn-pack__sub { margin-top: 4px; font-size: 12px; color: rgba(15,23,42,.75); font-weight: 700; }
.tn-pack__right { text-align: right; }
.tn-pack__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #1d4ed8;
  margin-bottom: 6px;
}
.tn-pack__compare {
  font-size: 12px;
  color: rgba(15,23,42,.45);
  text-decoration: line-through;
  font-weight: 800;
}
.tn-pack__price { font-size: 18px; font-weight: 900; color: #0f172a; }
.tn-pack__radio:checked + .tn-pack__card {
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 14px 26px rgba(37,99,235,.12);
  transform: translateY(-1px);
}
.tn-pack__radio:checked + .tn-pack__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(37,99,235,.18);
  pointer-events: none;
}
.tn-pack--featured .tn-pack__card { background: #f8fbff; }
.tn-pack__badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #8bc6ea;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}
 
/* --- GIFTS --- */
.tn-gifts {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: #eaf5fb;
}
.tn-gift-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f3f9fd;
  border-top: 1px solid rgba(15,23,42,.06);
}
.tn-gift-row:first-child { border-top: 0; }
.tn-gift-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
}
.tn-gift-text {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}
.tn-gift-plus { color: #3b82f6; font-weight: 900; }
.tn-gift-free { color: #2563eb; font-weight: 900; }
 
/* --- FAQ --- */
.restelle-faq {
  max-width: 980px;
  margin: 60px auto 40px;
}
.restelle-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.restelle-faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(139,198,234,.20);
  border: 1px solid rgba(139,198,234,.5);
  overflow: hidden;
}
.restelle-faq-header {
  width: 100%;
  padding: 14px 18px;
  background: #F9FCFF;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.restelle-faq-number {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: #8BC6EA;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.restelle-faq-question {
  flex: 1;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #0B3A5E;
}
.restelle-faq-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid #9CA3AF;
  border-bottom: 2px solid #9CA3AF;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 12px;
}
.restelle-faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #fff;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
}
.restelle-faq-body p {
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
  margin-bottom: 10px;
}
.restelle-faq-subtitle { font-weight: 700; margin-top: 10px; }
.restelle-faq-item.is-open .restelle-faq-body {
  max-height: 400px;
  padding-top: 10px;
  padding-bottom: 16px;
}
.restelle-faq-item.is-open .restelle-faq-arrow {
  transform: rotate(-135deg);
}
@media (max-width: 768px) {
  .restelle-faq { margin: 40px auto 30px; padding: 0 10px; }
  .restelle-faq-header { padding: 12px 14px; }
  .restelle-faq-question { font-size: 14px; }
  .restelle-faq-body p { font-size: 13px; }
}
 
/* --- HEADLINES Y BODY --- */
.imagenes-headline {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}
.imagenes-body {
  text-align: center;
  margin-bottom: 25px;
}
.review-headline {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}
.doctor-headline {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}
 
/* --- BODY ZONES --- */
.bodyzones-section {
  max-width: 980px;
  margin: 50px auto 40px;
}
.bodyzone-card {
  background: #8BC6EA;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.bodyzone-image-wrapper { background: #fff; }
.bodyzone-image { width: 100%; display: block; }
.bodyzone-content { padding: 18px 18px 20px; color: #04111E; }
.bodyzone-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.bodyzone-list { margin: 0; padding-left: 18px; list-style-type: disc; }
.bodyzone-list li { font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.bodyzones-section .swiper-pagination-progressbar {
  position: static;
  width: 100%;
  max-width: 220px;
  height: 4px;
  margin: 18px auto 0;
  background: #E5F2FB;
  border-radius: 999px;
}
.bodyzones-section .swiper-pagination-progressbar-fill {
  background: #1D64E0;
  border-radius: 999px;
}
@media (max-width: 768px) {
  .bodyzones-section { margin: 40px auto 30px; padding: 0 10px; }
  .bodyzone-content { padding: 14px 14px 18px; }
  .bodyzone-title { font-size: 16px; }
  .bodyzone-list li { font-size: 13px; }
}
 
/* --- REVIEW SLIDER --- */
.review-slider-container { margin: 40px 0; }
.review-slide {
  background: #8BC6EA;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.review-img { width: 100%; display: block; border-bottom: 1px solid #eee; }
.review-content { padding: 20px; text-align: center; color: white; }
.review-stars { color: #f5a623; font-size: 20px; margin-bottom: 10px; }
.review-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.review-text { font-size: 14px; line-height: 1.45; margin-bottom: 12px; color: white; }
.review-author { font-size: 12px; font-weight: 600; opacity: 0.7; }
.review-slider-container .swiper-pagination-progressbar {
  position: static;
  width: 100%;
  max-width: 220px;
  height: 4px;
  margin: 20px auto 0;
  background: #e3e6ee;
  border-radius: 999px;
  overflow: hidden;
}
.review-slider-container .swiper-pagination-progressbar-fill {
  background: #007bff;
  border-radius: 999px;
}
@media (max-width: 768px) {
  .review-content { padding: 16px; }
  .review-title { font-size: 16px; }
  .review-text { font-size: 13px; }
}
 
/* --- IGPROOF / MARQUEE --- */
.igproof-marquee .swiper-wrapper { transition-timing-function: linear !important; }
.igproof-section {
  background: #8BC6EA;
  border-radius: 16px;
  padding: 24px 0 32px;
  overflow: hidden;
}
.igproof-header { text-align: center; color: #fff; margin-bottom: 20px; }
.igproof-title { font-size: 34px; font-weight: 800; margin: 0; }
.igproof-subtitle { font-size: 14px; opacity: .9; }
.igproof-slide { width: auto; padding: 0 10px; }
.igproof-slide img {
  height: 520px;
  width: auto;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  display: block;
}
@media (max-width: 768px) {
  .igproof-slide img { height: 420px; }
}
 
/* --- SOCIAL PROOF --- */
.social-proof-split { background: #f7fafc; padding: 80px 20px; }
.social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.social-proof-text { flex: 1; }
.social-proof-text h2 { font-size: 42px; line-height: 1.1; font-weight: 800; margin-bottom: 16px; }
.social-proof-rating { font-size: 16px; font-weight: 600; color: #8BC6EA; margin-bottom: 18px; }
.social-proof-rating span { color: #555; font-weight: 500; }
.social-proof-desc { font-size: 18px; line-height: 1.55; color: #333; max-width: 480px; }
.social-proof-image { flex: 1; display: flex; justify-content: center; }
.social-proof-image img { max-width: 100%; height: auto; display: block; }
@media (max-width: 768px) {
  .social-proof-inner { flex-direction: column; text-align: center; gap: 32px; }
  .social-proof-text h2 { font-size: 32px; }
  .social-proof-desc { max-width: 100%; font-size: 16px; }
}
 
/* --- CTA BUTTON --- */
input.js-prod-submit-form.js-addtocart.btn.btn-primary.btn-block {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  height: 60px;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1 !important;
  border-radius: 999px;
  border: none !important;
  background: linear-gradient(145deg, #4da3ff 0%, #2f7be8 30%, #1f5fd1 50%, #2f7be8 70%, #5bb0ff 100%) !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.45),
    inset 0 -4px 6px rgba(0,0,0,.25),
    0 10px 26px rgba(0,70,160,.45);
  color: #fff !important;
  animation: ctaFloat 1.2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
input.js-prod-submit-form.js-addtocart.btn.btn-primary.btn-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.65) 35%, rgba(255,255,255,0) 70%);
  opacity: .6;
  mix-blend-mode: overlay;
}
input.js-prod-submit-form.js-addtocart.btn.btn-primary.btn-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 20%, rgba(255,255,255,0) 40%);
  transform: translateX(-130%);
  animation: ctaMetalShine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaMetalShine {
  0%   { transform: translateX(-130%); opacity: 0; }
  15%  { opacity: 1; }
  45%  { transform: translateX(130%); opacity: 0; }
  100% { transform: translateX(130%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  input.js-prod-submit-form.js-addtocart.btn.btn-primary.btn-block,
  input.js-prod-submit-form.js-addtocart.btn.btn-primary.btn-block::after {
    animation: none !important;
  }
}
 
/* --- STICKY CTA --- */
.sticky-cta {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  z-index: 9999;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex !important;
  justify-content: center !important;
  transform: translate(-50%, 110%) !important;
  transition: transform .25s ease;
  float: none !important;
}
.sticky-cta.is-visible { transform: translate(-50%, 0) !important; }
.sticky-cta__inner {
  width: 100% !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  float: none !important;
}
.sticky-cta__price {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  color: #0f172a;
  opacity: .9;
}
.sticky-cta__btn {
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  min-width: 180px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #4da3ff 0%, #2f7be8 30%, #1f5fd1 50%, #2f7be8 70%, #5bb0ff 100%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.45),
    inset 0 -4px 6px rgba(0,0,0,.25),
    0 10px 26px rgba(0,70,160,.35);
}
@media (min-width: 992px) { .sticky-cta { display: none !important; } }
body.has-sticky-cta { padding-bottom: 90px; }
 
/* --- CROSS SELLING --- */
#js-cross-selling-modal .crosssell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#js-cross-selling-modal .crosssell-close-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.06) !important;
  transition: background .2s ease, transform .15s ease;
}
#js-cross-selling-modal .crosssell-close-btn:hover {
  background: rgba(0,0,0,.12) !important;
  transform: scale(1.05);
}
#js-cross-selling-modal .crosssell-close-btn svg {
  width: 22px !important;
  height: 22px !important;
}
 
/* ============================================================
   FIN CUSTOM RESTELLE
   ============================================================ */