/* CozyPaws store: bundles, selectores y drawer del carrito */
:root { --cp-pink: #8b5a2b; --cp-ink: #2b1810; --cp-line: #e4d6c6; --cp-bg: #fff; }
html.cp-lock { overflow: hidden; }

/* Insignia del carrito */
#cart-icon-bubble { position: relative; }
.cp-badge { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--cp-pink); color: #fff; font: 600 11px/18px Poppins, sans-serif; text-align: center; }
.cp-badge[hidden] { display: none; }

/* Bundles */
.cp-bn { margin: 1.6rem 0; font-family: inherit; }
.cp-bn__h { margin: 0 0 1rem; font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.cp-bars { display: grid; gap: .8rem; margin-bottom: 1.4rem; }
.cp-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.4rem; border: 2px solid var(--cp-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cp-bar input { position: absolute; opacity: 0; pointer-events: none; }
.cp-bar.is-on { border-color: var(--cp-pink); box-shadow: 0 0 0 3px rgba(139, 90, 43, .18); }
.cp-bar:focus-within { outline: 2px solid var(--cp-ink); outline-offset: 2px; }
.cp-bar__t { display: flex; flex-direction: column; gap: .2rem; font-size: 1.5rem; }
.cp-bar__t em { font-style: normal; font-size: 1.2rem; color: #7a4a24; }
.cp-bar__p { display: flex; flex-direction: column; align-items: flex-end; font-size: 1.6rem; }
.cp-bar__p s { font-size: 1.2rem; color: #777; }
.cp-bar__badge { position: absolute; top: -10px; right: 14px; background: var(--cp-pink); color: #fff; font-size: 1.05rem; font-weight: 600; padding: .15rem .8rem; border-radius: 999px; }

/* Color y talla */
.cp-pick { border: 0; padding: 0; margin: 0 0 1.4rem; }
.cp-pick legend { padding: 0; margin-bottom: .6rem; font-size: 1.4rem; font-weight: 600; }
.cp-pick__sel { font-weight: 400; color: #555; margin-left: .4rem; }
.cp-sws, .cp-szs { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .8rem; }
.cp-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px #bbb; cursor: pointer; padding: 0; }
.cp-sw.is-on { box-shadow: 0 0 0 2px var(--cp-ink); }
.cp-sw:focus-visible, .cp-sz:focus-visible { outline: 2px solid var(--cp-ink); outline-offset: 3px; }
.cp-sz { min-width: 52px; padding: .8rem 1.2rem; border: 1.5px solid #bbb; border-radius: 8px; background: #fff; font: 500 1.4rem Poppins, sans-serif; cursor: pointer; }
.cp-sz.is-on { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }
.cp-sz:disabled { color: #aaa; text-decoration: line-through; cursor: not-allowed; }

.cp-addons { display: grid; gap: .6rem; margin: 1rem 0; }
.cp-addon { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border: 1px dashed #bbb; border-radius: 8px; font-size: 1.35rem; cursor: pointer; }
.cp-addon span { flex: 1; }
.cp-err { margin: .6rem 0; color: #b00020; font-size: 1.3rem; }
.cp-err[hidden] { display: none; }

/* Drawer */
.cp-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.cp-drawer.is-open { visibility: visible; }
.cp-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.cp-drawer.is-open .cp-drawer__overlay { opacity: 1; }
.cp-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cp-bg); color: var(--cp-ink); transform: translateX(100%); transition: transform .25s ease; outline: none; font-family: Poppins, sans-serif; }
.cp-drawer.is-open .cp-drawer__panel { transform: none; }
.cp-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--cp-line); }
.cp-drawer__head h2 { margin: 0; font-size: 1.8rem; }
.cp-x { border: 0; background: none; font-size: 3rem; line-height: 1; cursor: pointer; padding: 0 .4rem; }
.cp-drawer__body { flex: 1; overflow: auto; padding: 1rem 1.6rem; }
.cp-drawer__foot { padding: 1.2rem 1.6rem 1.6rem; border-top: 1px solid var(--cp-line); }
.cp-empty { text-align: center; padding: 4rem 0; font-size: 1.6rem; }
.cp-line { display: flex; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--cp-line); font-size: 1.35rem; }
.cp-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cp-line__info { flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.cp-line__price { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; font-weight: 600; }
.cp-qty { display: inline-flex; align-items: center; gap: .8rem; border: 1px solid #ccc; border-radius: 6px; width: max-content; }
.cp-qty button { border: 0; background: none; width: 32px; height: 32px; font-size: 1.8rem; cursor: pointer; }
.cp-link { border: 0; background: none; padding: 0; font-size: 1.2rem; color: #666; text-decoration: underline; cursor: pointer; }
.cp-total { display: flex; justify-content: space-between; font-size: 1.8rem; }
.cp-save { margin: .4rem 0 0; color: #0a7a3d; font-size: 1.3rem; }
.cp-note { margin: .4rem 0 1rem; color: #666; font-size: 1.2rem; }
.cp-email { display: block; font-size: 1.2rem; margin-bottom: 1rem; }
.cp-email input { display: block; width: 100%; margin-top: .3rem; padding: .9rem 1rem; border: 1px solid #bbb; border-radius: 6px; font-size: 1.4rem; }
.cp-drawer .button { background: var(--cp-pink); color: #fff; border: 0; border-radius: 8px; padding: 1.3rem 2rem; font: 600 1.5rem Poppins, sans-serif; cursor: pointer; }
.cp-drawer .button:disabled { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .cp-drawer__panel, .cp-drawer__overlay { transition: none; } }

/* Pie de pagina propio */
.cp-footer { background: #3b2314; color: #fff; margin-top: 4rem; padding: 4rem 0 2rem; font-family: Poppins, sans-serif; font-size: 1.4rem; }
.cp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2.5rem; }
.cp-footer h2 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1rem; }
.cp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cp-footer a { color: #fff; text-decoration: none; opacity: .85; }
.cp-footer a:hover, .cp-footer a:focus-visible { opacity: 1; text-decoration: underline; }
.cp-footer__name { font-size: 2rem; font-weight: 700; margin: 0 0 .6rem; }
.cp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 1.2rem; opacity: .75; }
.cp-footer__bottom p { margin: 0; }
.cp-news__row { display: flex; gap: .6rem; }
.cp-news input[type=email] { flex: 1; min-width: 0; padding: 1rem; border: 0; border-radius: 6px; font-size: 1.4rem; }
.cp-news .button, .cp-form .button, .cp-card .button { background: #8b5a2b; color: #fff; border: 0; border-radius: 6px; padding: 1rem 1.6rem; font: 600 1.4rem Poppins, sans-serif; cursor: pointer; text-decoration: none; display: inline-block; }
.cp-news__ok { display: flex; gap: .6rem; margin-top: .8rem; font-size: 1.2rem; opacity: .85; }
.cp-news__msg, .cp-form__msg { min-height: 1.6em; margin: .6rem 0 0; font-size: 1.3rem; }
.cp-news__msg.is-ok, .cp-form__msg.is-ok { color: #7be3a5; }
.cp-form__msg { color: #b00020; } .cp-form__msg.is-ok { color: #0a7a3d; }

/* Paginas secundarias */
.cp-page { max-width: 780px; padding-top: 3rem; padding-bottom: 2rem; font-size: 1.6rem; line-height: 1.65; }
.cp-page h1 { font-size: 3.2rem; margin-bottom: 1.6rem; }
.cp-page h2 { font-size: 2rem; margin: 2.4rem 0 .8rem; }
.cp-page ul, .cp-page ol { padding-left: 2.2rem; }
.todo { background: #f3dfb8; padding: 0 .3em; border-radius: 3px; }
.cp-form { display: grid; gap: 1.2rem; max-width: 560px; }
.cp-form label { display: grid; gap: .4rem; font-weight: 500; }
.cp-form input, .cp-form textarea { padding: 1rem; border: 1px solid #bbb; border-radius: 6px; font: inherit; }
.cp-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.cp-card { border: 1px solid var(--cp-line); border-radius: 12px; padding: 1.2rem; display: grid; gap: .8rem; }
.cp-card img { width: 100%; height: auto; border-radius: 8px; }
.cp-card h2 { font-size: 1.7rem; margin: 0; } .cp-card a { color: inherit; text-decoration: none; }
.cp-card .cp-sws { gap: .4rem; } .cp-card .cp-sw { width: 20px; height: 20px; cursor: default; }
.cp-card__price { margin: 0; font-weight: 600; }

/* Iconos de acordeon sin fuente externa */
.material-symbols-outlined { display: none !important; }
.accordion__summary .summary__title::after, .accordion__details summary::after { content: none; }
:focus-visible { outline: 2px solid #2b1810; outline-offset: 2px; }
.cp-news__ok { align-items: flex-start; line-height: 1.4; }
.cp-news__ok input[type=checkbox] { flex: none; width: 1.6rem; height: 1.6rem; margin: .2rem 0 0; }
.cp-news__ok a { display: inline; }
.cp-news input[type=email] { width: auto; flex: 1 1 140px; }
.cp-news .button { flex: none; white-space: nowrap; }
.cp-footer__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cp-news { grid-column: span 2; }
@media (max-width: 749px) { .cp-news { grid-column: auto; } }

/* Selector de diseños y tallas (mono de bebé) */
.cp-designs { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .9rem; }
.cp-design { padding: 0; width: 52px; height: 52px; border: 2px solid #ddd; border-radius: 50%; overflow: hidden; background: #fff; cursor: pointer; }
.cp-design img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-design.is-on { border-color: var(--cp-ink); box-shadow: 0 0 0 2px #fff inset; }
.cp-design:focus-visible { outline: 2px solid var(--cp-ink); outline-offset: 3px; }
.cp-sz { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; padding: .6rem 1rem; }
.cp-sz b { font-weight: 600; } .cp-sz small { font-size: 1rem; opacity: .75; }
.cp-guide { font-size: 1.2rem; color: #555; text-decoration: underline; }
.cp-table-wrap { overflow-x: auto; margin: 1.6rem 0 1rem; }
.cp-table { border-collapse: collapse; width: 100%; font-size: 1.4rem; text-align: center; }
.cp-table th, .cp-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--cp-line); }
.cp-table thead th, .cp-table tr:first-child th { background: #f3e3d1; }
.cp-note { color: #666; font-size: 1.3rem; }
.cp-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-thumb { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid #ddd; }

/* Botones del carrito en marrón (el tema los pinta con un pseudo-elemento según el esquema de color) */
.cp-drawer .button { background: #8b5a2b; color: #fff; border: 0; }
.cp-drawer .button:hover { background: #6f4426; }
.cp-drawer .button::before, .cp-drawer .button::after { display: none; }
.cp-lang-head { font: 600 1.2rem Poppins, sans-serif; letter-spacing: .08em; color: inherit; text-decoration: none; padding: .4rem .8rem; margin-right: .4rem; border: 1px solid currentColor; border-radius: 4px; }
.cp-lang-head:hover, .cp-lang a:hover { text-decoration: underline; }
.cp-lang { text-align: right; }
.cp-lang a { color: #fff; }

/* Página de seguimiento: vacía, con el formulario centrado */
.cp-page--bare { min-height: 52vh; display: flex; align-items: center; justify-content: center; }
.cp-track { flex: 0 1 520px; width: 100%; max-width: 520px; text-align: center; font-family: Poppins, sans-serif; }
.cp-track label { display: block; margin-bottom: 1rem; font-size: 1.6rem; font-weight: 600; }
.cp-track__row { display: flex; gap: .8rem; }
.cp-track input { flex: 1; min-width: 0; padding: 1.2rem 1.4rem; font: inherit; font-size: 1.5rem; border: 1px solid #c9b8a6; border-radius: 6px; background: #fff; color: #2b1810; }
.cp-track input:focus { outline: 2px solid #8b5a2b; outline-offset: 1px; }
.cp-track .button { background: #8b5a2b !important; color: #fff; border: 0; border-radius: 6px; padding: 1.2rem 2rem; font: 600 1.4rem Poppins, sans-serif; cursor: pointer; }
.cp-track .button::before, .cp-track .button::after { display: none; }
.cp-track__out { margin-top: 1.6rem; font-size: 1.5rem; min-height: 2rem; }
.cp-track__out.is-err { color: #b00020; }
.cp-track__out.is-ok { background: #f3e3d1; border-radius: 8px; padding: 1rem 1.4rem; }
.cp-track__out a { color: #6f4426; font-weight: 600; }
.cp-track__st { font-size: 1.8rem; font-weight: 600; color: #5c3a21; }
@media (max-width: 480px) { .cp-track__row { flex-direction: column; } }

/* Logos de marca */
.cp-footer__logo { display: block; width: 150px; height: auto; margin: 0 0 1.2rem; padding: 1rem 1.2rem; box-sizing: border-box; background: #f7f0e6; border-radius: 14px; } /* fondo crema: el texto del logo es marrón oscuro */
.header__heading-logo { width: 170px; height: auto; }

/* Vídeos de la portada */
.cp-videos { list-style: none; margin: 0 0 4rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cp-video { text-align: center; }
.cp-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; background: #3b2314; object-fit: cover; box-shadow: 0 4px 18px rgba(59, 35, 20, .18); }
.cp-video p { margin: 1rem 0 0; font: 600 1.6rem Poppins, sans-serif; color: #3b2314; }
@media (max-width: 749px) { .cp-videos { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }
.cp-vsec { padding: 4rem 0 2rem; }
.cp-videos--auto { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* Separador de secciones: cintas onduladas en capas */
.cp-wave { display: block; height: 7rem; overflow: hidden; line-height: 0; }
.cp-wave svg { display: block; width: 104%; height: 100%; margin-left: -2%; }
@media (prefers-reduced-motion: no-preference) {
  .cp-wave__a { animation: cp-drift 16s ease-in-out infinite alternate; }
  .cp-wave__b { animation: cp-drift 12s ease-in-out infinite alternate-reverse; }
  .cp-wave__c { animation: cp-drift 9s ease-in-out infinite alternate; }
}
@keyframes cp-drift { from { transform: translateX(-24px); } to { transform: translateX(24px); } }
@media (max-width: 749px) { .cp-wave { height: 4.5rem; } }

/* Fondo fijo de toda la web: foto de marca detrás; las secciones no llevan fondo propio (cabecera y pie sí, por legibilidad) */
html { background: #f1e8dc; }
body { background: transparent !important; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: #ecdfd0;
  background: #ecdfd0 url(/assets/img/hero-2000.webp) center center / cover no-repeat; } /* cover: la foto cubre todo el ancho (y el alto) de la ventana, sin velo blanco */
@media (max-width: 749px) { body::before { background-image: url(/assets/img/hero-1000.webp); background-position: 24% center; } }
#MainContent .page-section, #MainContent .page-section > .gradient, #MainContent section, #MainContent .section-divider,
#MainContent [class*="color-background-"]:not(.button):not(.cp-bar):not(.image-with-text__content) { background: transparent !important; }

/* Cinta infinita de animalitos */
.cp-ribbon { padding: 3rem 0 2rem; overflow: hidden; }
.cp-ribbon__head { max-width: 760px; margin: 0 auto 2.6rem; padding: 2rem 2.4rem; text-align: center; background: rgba(247, 240, 230, .86); border-radius: 18px; }
.cp-ribbon__head h2 { margin: 0 0 1.2rem; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.2; }
.cp-ribbon__head p { margin: 0; font-size: 1.6rem; line-height: 1.6; }
.cp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cp-marquee__track { display: flex; gap: 2rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: cp-marquee 48s linear infinite; }
.cp-marquee:hover .cp-marquee__track, .cp-marquee:focus-within .cp-marquee__track { animation-play-state: paused; }
.cp-card2 { flex: none; width: 30rem; margin: 0; }
.cp-card2 img { display: block; width: 30rem; height: 30rem; object-fit: cover; border-radius: 18px; box-shadow: 0 6px 20px rgba(59, 35, 20, .25); background: #f1e8dc; }
.cp-card2 p { margin: 1rem 0 0; padding: 1rem 1.4rem; min-height: 6.6rem; border-radius: 12px; background: rgba(59, 35, 20, .85); color: #fff; font: 500 1.4rem/1.45 Poppins, sans-serif; text-align: center; }
@keyframes cp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 1rem)); } }
@media (prefers-reduced-motion: reduce) { .cp-marquee { overflow-x: auto; } .cp-marquee__track { animation: none; } .cp-card2[aria-hidden="true"] { display: none; } }
@media (max-width: 749px) { .cp-card2, .cp-card2 img { width: 24rem; } .cp-card2 img { height: 24rem; } .cp-marquee__track { animation-duration: 40s; } }
#MainContent .image-with-text .image-with-text__content { background: rgba(247, 240, 230, .82) !important; border-radius: 18px; } /* panel suave: el texto se lee sobre la foto de fondo */

/* Preguntas frecuentes: tarjeta a 2 columnas */
#MainContent .collapsible-content-wrapper-narrow { max-width: 1120px; margin: 0 auto; padding: 3.4rem 3.4rem 2.6rem; background: rgba(247, 240, 230, .9); border-radius: 22px; box-shadow: 0 8px 28px rgba(59, 35, 20, .18); }
.collapsible-content__heading { color: #3b2314 !important; }
.collapsible-content__grid .grid__item { width: 100%; max-width: 100%; }
.collapsible-content__grid .grid__item > .accordion { break-inside: avoid; }
@media (min-width: 750px) {
  .collapsible-content__grid .grid__item { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4.4rem; align-items: start; }
}
.collapsible-content__grid .accordion__title, .collapsible-content__grid .accordion__summary, .collapsible-content__grid .accordion__content,
.collapsible-content__grid .accordion__content a, .collapsible-content__grid .icon-caret { color: #2b1810 !important; }
.collapsible-content__grid .accordion { border-color: rgba(92, 58, 33, .28) !important; }
@media (max-width: 749px) { #MainContent .collapsible-content-wrapper-narrow { padding: 2.2rem 1.6rem 1.4rem; } }
