/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0
*/
/* === Trajes Caporales - Hero Slider === */
.tc-hero{
  position: relative;
  min-height: 110vh;
  overflow: hidden;
}

.tc-hero__viewport{
  position: relative;
  width: 100%;
  height: 110vh;
}

.tc-hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1200ms ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tc-hero__slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.tc-hero__media{
  position:absolute;
  inset:0;
  z-index:0;
}

.tc-hero__image{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center 40%;
}

.tc-hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}


.tc-hero__content{
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

.tc-hero__title{
  font-size: clamp(30px, 6vw, 65px);
  line-height: 1.03;
  color: #ffffffe5;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0 0 14px;
  letter-spacing: .01em;
}

.tc-hero__subtitle{
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 720px;
  margin: 0 auto 24px;
  opacity: .95;
}

.tc-hero__actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
}

.tc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
}

.tc-btn--whatsapp{
  background: rgba(255, 255, 255, 0.95);
  color: #0b1a10;
  border-color: transparent;
}

.tc-hero__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.tc-hero__nav--prev{ left: 14px; }
.tc-hero__nav--next{ right: 14px; }

.tc-hero__dots{
  position:absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display:flex;
  gap: 8px;
}

.tc-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.15);
  cursor:pointer;
}

.tc-hero__dot.is-active{
  background: rgba(255,255,255,.9);
}

@media (max-width: 480px){
  .tc-hero__nav{ display:none; }
  .tc-hero__viewport{ height: 88vh; }
}


.tc-categorias {
  padding: 100px 0;
  background-image: url("/wp-content/uploads/2024/04/fondodos.png");
   background-position: center;
   background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.tc-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.tc-card {
  text-align: center;
  text-decoration: none;
  color: #2c0d45;
  height: 460px;
  transition: all .35s ease;
}

.tc-img {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  transition: transform .4s ease;
}

.tc-card:hover .tc-img {
  transform: scale(1.05);
}

.tc-card h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
}

.tc-gallery{
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f3fb 0%, #ffffff 60%);
}

.tc-gallery__head{
  width: min(1200px, 92%);
  margin: 0 auto 28px;
  text-align: center;
}

.tc-gallery__head h2{
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  color: #2c0d45;
  letter-spacing: .5px;
}

.tc-gallery__head p{
  margin: 10px auto 0;
  max-width: 680px;
  color: #5a3b73;
  font-size: 16px;
}

.tc-swiper{
  width: min(1300px, 94%);
  margin: 0 auto;
  padding-bottom: 42px;
}

.tc-slide{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transform: translateZ(0);
  transition: transform .35s ease;
  background: #2c0d45;
}

.tc-slide:hover{
  transform: translateY(-6px);
}

.tc-slide img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 900px){
  .tc-slide img{ height: 320px; }
}
@media (max-width: 600px){
  .tc-slide img{ height: 280px; }
}

/* Flechas */
.tc-nav{
  position: absolute;
  inset: auto 0 10px 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 5;
}

.tc-prev, .tc-next{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(44, 13, 69, .92);
  box-shadow: 0 12px 25px rgba(0,0,0,.18);
  cursor: pointer;
  position: relative;
}

.tc-prev::before, .tc-next::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(225deg);
  top: 16px;
  left: 18px;
}

.tc-next::before{
  transform: rotate(45deg);
  left: 16px;
}

/* Puntos */
.tc-gallery .swiper-pagination-bullet{
  background: rgba(44,13,69,.35);
  opacity: 1;
}
.tc-gallery .swiper-pagination-bullet-active{
  background: rgba(44,13,69,.95);
}

.tc-como{
  padding: 100px 0;
  background: #dfcee0;
  text-align:center;
}

.tc-como__wrap{
  width: min(1100px, 92%);
  margin:auto;
}

.tc-como h2{
  font-size: 36px;
  margin-bottom: 60px;
  color:#000000;
}

.tc-steps{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:40px;
}

.tc-step{
  padding:30px;
  border-radius:20px;
  background:#2c0d45;
  box-shadow:0 15px 35px rgba(0,0,0,.08);
  transition:.3s;
}

.tc-step:hover{
  transform: translateY(-8px);
}

.tc-num{
  width:50px;
  height:50px;
  margin:auto;
  border-radius:50%;
  background:#ffffff;
  color:rgb(0, 0, 0);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  margin-bottom:20px;
}

.tc-step h3{
  margin-bottom:10px;
  color:#fdfbff;
}

.tc-step p{
  color:#ffffff;
  font-size:15px;
}

.tc-btn-main{
  display:inline-block;
  margin-top:50px;
  padding:14px 35px;
  background:#2c0d45;
  color:white;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.tc-btn-main:hover{
  background:#6b2aa8;
}

@media(max-width:900px){
  .tc-steps{
    grid-template-columns:1fr;
  }
}

.tc-contacto{
  padding:120px 0;
  background:url('/wp-content/uploads/2024/04/contacto.png');
  background-size:cover;
  background-position:center 60%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.tc-glass{
  width:min(700px,92%);
  margin:auto;
  padding:60px 40px;
  border-radius:25px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.2);
  text-align:center;
  color:white;
}

.tc-glass h2{
  margin-bottom:15px;
}

.tc-glass p{
  margin-bottom:35px;
  opacity:.9;
}

.tc-form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.tc-form input,
.tc-form textarea{
  padding:14px;
  border:none;
  border-radius:10px;
  background:rgba(255,255,255,.85);
  font-size:14px;
}

.tc-form textarea{
  min-height:120px;
}

.tc-form button{
  padding:14px;
  border:none;
  border-radius:50px;
  background:#6b2aa8;
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.tc-form button:hover{
  background:#9b4dff;
}

/* Quitar subrayado en secciones personalizadas */
.tc-hero a,
.tc-categorias a,
.tc-como a,
.tc-gallery a {
  text-decoration: none !important;
}

#tc-preloader{
  position:fixed; inset:0;
  background:#2a0140;
  display:flex; align-items:center; justify-content:center;
  z-index:99999;
  transition: opacity .45s ease;
}

/* PRELOADER */
#tc-preloader{
  position: fixed;
  inset: 0;
  background: #ffffff; /* puedes poner #5b0a6e si quieres morado */
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999999;
}

/* logo */
.tc-loader img{
  width: 220px;
  animation: tcLogoAnim 2s ease-in-out infinite;
}

/* animación */
@keyframes tcLogoAnim{

  0%{
    transform: scale(0.8);
    opacity:0;
  }

  50%{
    transform: scale(1);
    opacity:1;
  }

  100%{
    transform: scale(1.1);
    opacity:0.8;
  }

}

/* ocultar header mientras carga */
body.loading header{
  visibility:hidden;
}
/* ===== PRELOADER FULLSCREEN ===== */

/* ===== PRELOADER (LIMPIO) ===== */
#tc-preloader{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%,
              rgba(255,255,255,.08),
              rgba(0,0,0,0) 55%),
              #3a0a5a;
  transition: opacity .6s ease;
}

#tc-preloader.is-hidden{
  opacity: 0;
  pointer-events: none;
}

/* Contenedor */
#tc-preloader .tc-loader{
  display: grid;
  place-items: center;
  gap: 18px;
}

/* ⭐ LOGO ENORME */
.tc-loader-logo{
  width: 620px;     /* <--- aquí agrandas */
  height: 620px;
  display: grid;
  place-items: center;
  animation: tcPulse 2.6s ease-in-out infinite;
}

/* Imagen estrella */
.tc-loader-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,.65))
    drop-shadow(0 0 45px rgba(186,77,255,.75))
    drop-shadow(0 0 90px rgba(186,77,255,.55));
}

/* Texto */
.tc-loader__text{
  letter-spacing: 4px;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

/* Animación suave */
@keyframes tcPulse{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 600px){
  .tc-loader-logo{
    width: 320px;
    height: 320px;
  }
}

.oew-product-share {
    display: none !important;
}



html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.tc-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 12px;
}

.tc-form input,
.tc-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
}

.tc-form input::placeholder,
.tc-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.tc-form textarea {
  min-height: 100px;
  resize: none;
}

.tc-form button {
  background: #25D366; /* WhatsApp */
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.tc-form button:hover {
  background: #1ebe5d;
}

.fila-cantidades {
  display: flex;
  gap: 12px;
}

.campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.campo label {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-bottom: 4px;
}

.campo input {
  width: 100%;
}
