/* ==========================================================================
   Yoryet Closet — Brand CSS (capa visual determinista)
   Negro #111111 · Rosa corazon #F668A3 · Rosa 1 #F592A7 · Rosa 2 #F9C2C7
   Rosa 3 #FCCAD3 · Rosa 4 #F5D6DB · Rosa fondo #FCEDF0 · Blanco · WhatsApp #25D366
   Fuentes: Poppins (titulos) + Inter (texto), self-hosted.
   ========================================================================== */

:root{
  --yc-negro:#111111; --yc-texto:#2B2B2B; --yc-suave:#6B6B6B;
  --yc-corazon:#F668A3; --yc-rosa1:#F592A7; --yc-rosa2:#F9C2C7; --yc-rosa3:#FCCAD3;
  --yc-rosa4:#F5D6DB; --yc-fondo:#FCEDF0; --yc-blanco:#FFFFFF;
  --yc-radius:12px; --yc-container:1200px;
}
:root{
  --global-palette1:#111111 !important; --global-palette2:#2B2B2B !important;
  --global-palette3:#111111 !important; --global-palette4:#2B2B2B !important;
  --global-palette5:#6B6B6B !important; --global-palette6:#F668A3 !important;
  --global-palette7:#F5D6DB !important; --global-palette8:#FCEDF0 !important;
  --global-palette9:#FFFFFF !important;
  --global-palette-highlight:#111111 !important; --global-palette-btn-bg:#111111 !important; --global-palette-btn:#FFFFFF !important;
}

/* ---- Tipografia ---- */
body,.entry-content,.content-container{ font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--yc-texto); }
h1,h2,h3,h4,h5,h6,.entry-title,.page-title,.product_title{ font-family:Poppins,-apple-system,BlinkMacSystemFont,sans-serif; color:var(--yc-negro); letter-spacing:-.01em; }
a{ color:var(--yc-negro); }
a:hover,a:focus{ color:var(--yc-corazon); }

/* ---- Logo ---- */
.site-branding .custom-logo,.site-branding img{ max-width:170px !important; height:auto !important; }
@media(max-width:767px){ .site-branding .custom-logo,.site-branding img{ max-width:128px !important; } }

/* ---- Botones = negro ---- */
.wp-block-button__link,.wp-element-button,button.button,.button,input[type="submit"],
.woocommerce a.button,.woocommerce button.button,.woocommerce .button.alt{
  background-color:var(--yc-negro) !important; color:#fff !important; border-color:var(--yc-negro) !important;
  border-radius:10px !important; font-family:Poppins,sans-serif !important; font-weight:600 !important;
}
.wp-block-button__link:hover,.button:hover,button.button:hover,input[type="submit"]:hover,.woocommerce a.button:hover{
  background-color:var(--yc-texto) !important; border-color:var(--yc-texto) !important; color:#fff !important;
}

/* ---- Precio ---- */
.woocommerce-Price-amount,.price .amount{ color:var(--yc-negro); font-weight:700; }
.single-product .summary .price{ font-size:24px !important; }

/* ---- Ficha: ocultar breadcrumb de Kadence (respaldo) + stock ---- */
.single-product .kadence-breadcrumbs,.single-product .kadence-breadcrumb-container{ display:none !important; }
.single-product .stock{ display:none; }

/* ---- Breadcrumbs ---- */
.yc-breadcrumbs{ font:400 13px Inter,sans-serif; color:var(--yc-suave); padding:14px 0 4px; display:flex; flex-wrap:wrap; gap:6px; }
.yc-breadcrumbs a{ color:var(--yc-suave); text-decoration:none; }
.yc-breadcrumbs a:hover{ color:var(--yc-corazon); }
.yc-breadcrumbs .sep{ color:var(--yc-rosa2); }
.yc-breadcrumbs .current{ color:var(--yc-negro); font-weight:600; }

/* ---- Archivo de categoria ---- */
.woocommerce-products-header__title,.archive .page-title{ text-transform:none; }
.term-description{ font:400 15px/1.6 Inter,sans-serif; color:var(--yc-texto); max-width:720px; }
.yc-cat-seo{ max-width:var(--yc-container); margin:32px auto; padding:0 16px; line-height:1.7; }
.yc-cat-seo h2{ font-size:24px; margin:22px 0 10px; }
.yc-cat-seo h3{ font-size:18px; margin:16px 0 8px; }
.yc-cat-seo--third{ border-top:1px solid var(--yc-rosa4); padding-top:22px; }
.yc-cat-faq,.yc-faq-home{ max-width:820px; margin:40px auto; padding:0 16px; }
.yc-cat-faq h2,.yc-faq-home h2{ font:600 24px Poppins,sans-serif; text-align:center; margin:0 0 16px; }
.yc-faq-item{ border:1px solid var(--yc-rosa4); border-radius:var(--yc-radius); padding:15px 18px; margin-bottom:10px; background:#fff; }
.yc-faq-item h3{ font:600 15.5px Poppins,sans-serif; margin:0 0 6px; color:var(--yc-negro); }
.yc-faq-item p{ margin:0; color:var(--yc-texto); line-height:1.6; font-size:14.5px; }

/* ==========================================================================
   HOME
   ========================================================================== */
.home .entry-content > *{ max-width:none; }
.yc-section{ max-width:var(--yc-container); margin:0 auto; padding:44px 16px; }
.yc-section__head{ text-align:center; margin:0 0 22px; }
.yc-section__head h2{ font:700 26px/1.2 Poppins,sans-serif; margin:0 0 6px; text-transform:uppercase; letter-spacing:.03em; }
.yc-section__head p{ margin:0; color:var(--yc-suave); font-size:15px; }

/* Hero */
.yc-hero{ position:relative; overflow:hidden; background:linear-gradient(180deg,var(--yc-fondo) 0%,#fff 100%); padding:72px 16px 64px; text-align:center; }
.yc-hero__heart{ position:absolute; width:340px; height:340px; right:-60px; top:-40px; opacity:.35; pointer-events:none; }
.yc-hero__heart--b{ width:220px; height:220px; left:-50px; right:auto; top:auto; bottom:-40px; opacity:.25; transform:rotate(-14deg); }
.yc-hero__heart path{ fill:none; stroke:var(--yc-corazon); stroke-width:1.4; stroke-linecap:round; }
.yc-hero__inner{ position:relative; max-width:760px; margin:0 auto; }
.yc-hero__overline{ display:inline-block; font:600 12px Poppins,sans-serif; letter-spacing:.18em; text-transform:uppercase; color:var(--yc-negro); background:#fff; border:1px solid var(--yc-rosa4); padding:7px 14px; border-radius:999px; margin:0 0 18px; }
.yc-hero__title{ font:800 46px/1.08 Poppins,sans-serif; color:var(--yc-negro); margin:0 0 14px; text-transform:uppercase; letter-spacing:-.01em; }
.yc-hero__title em{ font-style:normal; color:var(--yc-corazon); }
.yc-hero__sub{ font:400 17px/1.6 Inter,sans-serif; color:var(--yc-texto); margin:0 auto 26px; max-width:560px; }
.yc-hero__ctas{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.yc-pill{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:14px 30px; border-radius:999px; background:var(--yc-rosa3); color:var(--yc-negro) !important; font:600 15px Poppins,sans-serif; text-decoration:none !important; letter-spacing:.02em; transition:background .2s,transform .15s; }
.yc-pill:hover{ background:var(--yc-rosa2); transform:translateY(-1px); }
.yc-pill--dark{ background:var(--yc-negro); color:#fff !important; }
.yc-pill--dark:hover{ background:var(--yc-texto); }
@media(max-width:767px){ .yc-hero{ padding:48px 16px 44px; } .yc-hero__title{ font-size:32px; } .yc-hero__sub{ font-size:15px; } .yc-hero__heart{ width:200px; height:200px; right:-70px; } }

/* Categorias */
.yc-cats{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media(min-width:900px){ .yc-cats{ grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; } }
.yc-cat{ position:relative; display:flex; flex-direction:column; justify-content:space-between; aspect-ratio:4/5; padding:18px; border-radius:14px; text-decoration:none !important; color:var(--yc-negro) !important; overflow:hidden; background:var(--yc-fondo); background-size:cover; background-position:center; transition:transform .2s,box-shadow .2s; }
.yc-cat:nth-child(1){ background-color:var(--yc-rosa3); } .yc-cat:nth-child(2){ background-color:var(--yc-rosa4); } .yc-cat:nth-child(3){ background-color:var(--yc-rosa2); } .yc-cat:nth-child(4){ background-color:var(--yc-fondo); } .yc-cat:nth-child(5){ background-color:var(--yc-rosa3); }
.yc-cat:last-child:nth-child(odd){ grid-column:1/-1; aspect-ratio:auto; min-height:120px; }
@media(min-width:900px){ .yc-cat:last-child:nth-child(odd){ grid-column:auto; aspect-ratio:4/5; } }
.yc-cat:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(17,17,17,.1); }
.yc-cat__icon{ width:30px; height:30px; }
.yc-cat__icon path{ fill:none; stroke:var(--yc-corazon); stroke-width:2; stroke-linecap:round; }
.yc-cat__name{ font:700 18px/1.1 Poppins,sans-serif; text-transform:uppercase; letter-spacing:.04em; }
.yc-cat__go{ display:flex; align-items:center; justify-content:space-between; font:500 13px Inter,sans-serif; }
.yc-cat__go span:last-child{ display:inline-flex; width:30px; height:30px; border-radius:50%; background:#fff; align-items:center; justify-content:center; font-size:15px; }

/* Como comprar */
.yc-steps{ display:grid; grid-template-columns:1fr; gap:14px; counter-reset:yc; }
@media(min-width:900px){ .yc-steps{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; } }
.yc-step{ background:#fff; border:1px solid var(--yc-rosa4); border-radius:14px; padding:22px 20px; }
.yc-step__n{ display:inline-flex; width:34px; height:34px; border-radius:50%; background:var(--yc-negro); color:#fff; align-items:center; justify-content:center; font:700 15px Poppins,sans-serif; margin-bottom:12px; }
.yc-step h3{ font:600 17px Poppins,sans-serif; margin:0 0 6px; }
.yc-step p{ margin:0; font-size:14.5px; line-height:1.6; color:var(--yc-texto); }

/* Banda de confianza (estilo KAOBA) */
.yc-trust{ background:var(--yc-fondo); padding:40px 16px; }
.yc-trust__grid{ max-width:var(--yc-container); margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px; text-align:center; }
@media(min-width:900px){ .yc-trust__grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.yc-trust__item svg{ width:30px; height:30px; margin:0 auto 10px; display:block; fill:none; stroke:var(--yc-negro); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.yc-trust__item strong{ display:block; font:700 13.5px Poppins,sans-serif; text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px; color:var(--yc-negro); }
.yc-trust__item span{ display:block; font:400 13.5px/1.5 Inter,sans-serif; color:var(--yc-texto); }

/* Cierre */
.yc-close{ max-width:var(--yc-container); margin:0 auto 20px; padding:44px 20px; text-align:center; background:var(--yc-negro); border-radius:18px; color:#fff; }
.yc-close h2{ font:700 26px/1.2 Poppins,sans-serif; color:#fff; margin:0 0 8px; text-transform:uppercase; }
.yc-close p{ color:rgba(255,255,255,.8); margin:0 0 20px; }
@media(max-width:767px){ .yc-close{ margin:0 14px 20px; } .yc-section{ padding:34px 14px; } .yc-section__head h2{ font-size:21px; } }

/* ---- Fixes v1.1 (verificacion visual 2026-09-15) ---- */
.site-branding .site-title-wrap,.site-branding .site-title{ display:none !important; }
body,#wrapper,#inner-wrap,.site{ background-color:#FFFFFF !important; }
.yc-breadcrumbs{ max-width:var(--yc-container); margin:0 auto; padding:14px 16px 4px; }

/* ---- Categorias con foto (v1.2) ---- */
.yc-cat--img{ color:#fff !important; background-size:cover; background-position:center top; }
.yc-cat--img::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(17,17,17,0) 45%,rgba(17,17,17,.62) 100%); z-index:0; }
.yc-cat--img > *{ position:relative; z-index:1; }
.yc-cat--img .yc-cat__icon path{ stroke:#fff; }
.yc-cat--img .yc-cat__name{ text-shadow:0 1px 3px rgba(0,0,0,.35); }
.yc-cat--img .yc-cat__go span:last-child{ color:#111; }
.yc-cat--img:last-child:nth-child(odd){ aspect-ratio:16/9; min-height:0; background-position:center; }
@media(min-width:900px){ .yc-cat--img:last-child:nth-child(odd){ aspect-ratio:4/5; } }

/* ==========================================================================
   v1.3 — Auditoria CRO 2026-09-16 (page-cro + onboarding-cro + frontend-design)
   ========================================================================== */
/* Hero con prendas reales (ONB-01): split en desktop, fila de fotos en movil */
.yc-hero__inner--split{ max-width:var(--yc-container); display:grid; grid-template-columns:1fr; gap:22px; align-items:center; }
.yc-hero__prendas{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.yc-hero__prenda{ display:block; aspect-ratio:4/5; border-radius:12px; overflow:hidden; background:var(--yc-rosa4); box-shadow:0 10px 24px rgba(17,17,17,.08); }
.yc-hero__img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.yc-hero__prenda:hover .yc-hero__img{ transform:scale(1.04); }
@media(min-width:900px){
  .yc-hero{ text-align:left; padding:56px 16px 60px; }
  .yc-hero__inner--split{ grid-template-columns:1.05fr .95fr; gap:48px; }
  .yc-hero__sub{ margin-left:0; }
  .yc-hero__ctas{ justify-content:flex-start; }
  .yc-hero__prenda:nth-child(2){ transform:translateY(-22px); }
}
@media(max-width:767px){
  .yc-hero{ padding:26px 16px 30px; }
  .yc-hero__overline{ margin-bottom:12px; }
  .yc-hero__title{ font-size:28px; margin-bottom:10px; }
  .yc-hero__sub{ margin-bottom:18px; }
  .yc-hero__ctas .yc-pill,.yc-hero__ctas .yc-wa-btn{ flex:1 1 100%; }
  .yc-hero__heart{ opacity:.2; }
}
/* "Ver toda la coleccion" */
.yc-see-all{ text-align:center; margin:-14px 0 8px; }
/* Titulos de grid de la home consistentes con las secciones */
.yc-home-grid-section__title{ text-transform:uppercase !important; text-align:center; letter-spacing:.03em; font-weight:700 !important; }

/* FAQ acordeon accesible (details/summary) */
details.yc-faq-item summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; font:600 15.5px/1.4 Poppins,sans-serif; color:var(--yc-negro); min-height:28px; }
details.yc-faq-item summary::-webkit-details-marker{ display:none; }
details.yc-faq-item summary::after{ content:'+'; font:400 22px/1 Inter,sans-serif; color:var(--yc-corazon); flex-shrink:0; }
details.yc-faq-item[open] summary::after{ content:'\2212'; }
details.yc-faq-item p{ margin:10px 0 0; }

/* Archivo de categoria compacto (grilla antes en movil) */
.product-archive-hero-section .entry-hero-container-inner{ min-height:0 !important; }
.product-archive-hero-section .hero-container{ padding-top:30px !important; padding-bottom:26px !important; }
@media(max-width:767px){
  .product-archive-hero-section .hero-container{ padding-top:16px !important; padding-bottom:14px !important; }
  .product-archive-title h1{ font-size:28px !important; margin-bottom:6px !important; }
  .product-archive-title .term-description,.product-archive-title .term-description p{ font-size:14px !important; line-height:1.5 !important; margin:0 !important; }
  .kadence-shop-top-row{ margin-bottom:6px !important; }
}
[class*="woo-toggle"],.kadence-product-toggle-container{ display:none !important; }

/* v1.3.1 — grid de la home dentro del contenedor (la regla .home .entry-content > * lo estiraba a 1920) */
.home .entry-content > .yc-home-grid-section{ max-width:var(--yc-container) !important; margin-left:auto !important; margin-right:auto !important; }
