/*
Theme Name: Camiseta Total
Theme URI: https://camisetatotal.com
Description: Tema de Camiseta Total (hijo de Twenty Twenty-Five) con vista previa en vivo de camisetas.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: camisetatotal
*/

:root {
	--ct-radius: 14px;
	--ct-radius-lg: 24px;
	--ct-ink: var(--wp--preset--color--contrast);
	--ct-brand: var(--wp--preset--color--brand);
	--ct-brand-dark: var(--wp--preset--color--brand-dark);
	--ct-soft: var(--wp--preset--color--soft);
	--ct-line: var(--wp--preset--color--line);
	--ct-muted: var(--wp--preset--color--muted);
	--ct-border: #c9cdc2;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ---------- Cabecera ---------- */
/* Lo que va justo después de la cabecera empieza pegado a ella (la ficha de WooCommerce añade un contenedor extra). */
.wp-site-blocks > main, .wp-site-blocks > .ct-home, .wp-site-blocks > header + * { margin-block-start: 0; }
.ct-topbar p { margin: 0; }
.ct-topbar .ct-sep { opacity: .45; margin: 0 .5em; }

.ct-site-logo { margin: 0; }
.ct-site-logo img { display: block; height: auto; }
.ct-topbar strong { font-weight: 700; }

.ct-header__row { align-items: center; }
.ct-search { flex: 1 1 320px; min-width: 0; max-width: 640px; }
.ct-search .wp-block-search__inside-wrapper { border: 0; border-radius: 999px; padding: 0; overflow: hidden; background: #fff; }
.ct-search .wp-block-search__input { border: 0; padding: 0 20px; height: 46px; font-size: 15px; background: transparent; color: var(--ct-ink); }
.ct-search .wp-block-search__button { margin: 0; border-radius: 0; background: var(--ct-brand); color: var(--ct-ink); width: 56px; height: 46px; padding: 0; display: flex; align-items: center; justify-content: center; }
.ct-search .wp-block-search__button svg { fill: currentColor; min-width: 24px; min-height: 24px; }

.ct-header__actions .wc-block-customer-account__link { color: #fff; font-weight: 500; font-size: 14px; padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; }
.ct-header__actions .wc-block-customer-account__link:hover { background: var(--wp--preset--color--ink-2); text-decoration: none; }
.ct-header__actions .wc-block-customer-account__account-icon { color: #fff; }
.ct-minicart .wc-block-mini-cart__button { background: var(--ct-brand); color: var(--ct-ink); border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.ct-minicart .wc-block-mini-cart__badge { background: var(--ct-ink); color: #fff; }

.ct-header { position: relative; z-index: 40; }
.ct-header__brand { align-items: center; }

/* ---------- Buscador con vista previa ---------- */
form.ct-search { position: relative; }
.ct-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border-radius: 18px; background: #fff; color: var(--ct-ink); box-shadow: 0 24px 48px rgba(0, 0, 0, .28); text-align: left; animation: ct-fade .16s ease; }
.ct-suggest[hidden] { display: none; }
.ct-suggest--inline { position: static; max-height: none; margin-bottom: 8px; padding: 4px 0; box-shadow: none; border-radius: 0; }
.ct-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ct-ink); }
.ct-suggest__item:hover, .ct-suggest__item.is-active, .ct-suggest__term:hover, .ct-suggest__term.is-active, .ct-suggest__all:hover, .ct-suggest__all.is-active { background: var(--ct-soft); color: var(--ct-ink); }
.ct-suggest__img { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: 10px; background: var(--ct-soft); }
.ct-suggest__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-suggest__name { font-weight: 700; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-suggest__name mark { background: var(--wp--preset--color--brand-soft); color: inherit; border-radius: 3px; }
.ct-suggest__artist { font-size: 13px; color: var(--ct-muted); }
.ct-suggest__price { flex: none; font-weight: 700; font-size: 15px; }
.ct-suggest__terms { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 8px; margin-top: 4px; border-top: 1px solid var(--ct-line); }
.ct-suggest__term { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ct-border); color: var(--ct-ink); font-size: 13px; font-weight: 600; }
.ct-suggest__term-label { color: var(--ct-muted); font-weight: 500; }
.ct-suggest__all { display: block; padding: 12px; margin-top: 4px; border-radius: 12px; text-align: center; font-weight: 700; color: var(--ct-brand-dark); }
.ct-suggest__empty { margin: 0; padding: 14px 10px; font-size: 15px; }

/* ---------- Megamenú (escritorio) ---------- */
.ct-mega { padding-bottom: 0; }
.ct-mega__bar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.ct-mega__item { position: static; }
.ct-mega__trigger, .ct-mega__link { font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: none; border: 0; padding: 12px 14px 14px; border-radius: 10px 10px 0 0; display: flex; gap: 6px; align-items: center; cursor: pointer; line-height: 1.2; }
.ct-mega__trigger:hover, .ct-mega__link:hover { color: var(--ct-brand); }
.ct-mega__trigger:focus-visible, .ct-mega__link:focus-visible { outline: 2px solid var(--ct-brand); outline-offset: -2px; }
.ct-chevron { transition: transform .2s ease; }
.ct-mega__item.is-open .ct-mega__trigger { background: #fff; color: var(--ct-ink); }
.ct-mega__item.is-open .ct-chevron { transform: rotate(180deg); }
.ct-mega__item.ct-menu-highlight > a, .ct-mega__item.ct-menu-highlight > button { color: var(--ct-brand); }
.ct-mega__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ct-ink); box-shadow: 0 28px 48px rgba(0, 0, 0, .22); border-bottom: 4px solid var(--ct-brand); animation: ct-fade .18s ease; }
.ct-mega__panel[hidden] { display: none; }
.ct-mega__inner { max-width: 1280px; margin: 0 auto; padding: 28px 24px 36px; box-sizing: border-box; display: flex; gap: 48px; align-items: flex-start; }
.ct-mega__main { flex: 0 1 auto; min-width: 0; }
.ct-mega__features { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-mega__features-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ct-muted); padding-top: 12px; }
.ct-mega__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.ct-mega__card { display: flex; flex-direction: column; gap: 8px; color: var(--ct-ink); font-weight: 700; font-size: 14px; line-height: 1.3; }
.ct-mega__card:hover { color: var(--ct-brand-dark); }
.ct-mega__card-img { display: block; overflow: hidden; border-radius: 14px; background: var(--ct-soft); }
.ct-mega__card-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.ct-mega__card:hover .ct-mega__card-img img { transform: scale(1.05); }
.ct-mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--ct-line); padding-bottom: 14px; margin-bottom: 20px; }
.ct-mega__title { font-family: var(--wp--preset--font-family--play); font-size: 28px; font-weight: 700; }
.ct-mega__all { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; color: var(--ct-brand-dark); }
.ct-mega__cols { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 20px 36px; }
.ct-mega__col-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ct-muted); margin-bottom: 8px; }
a.ct-mega__col-title { color: var(--ct-ink); }
a.ct-mega__col-title:hover { color: var(--ct-brand-dark); }
.ct-mega__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-mega__col li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ct-ink); font-weight: 500; }
.ct-mega__col li a:hover { background: var(--ct-soft); color: var(--ct-brand-dark); }
.ct-count { font-size: 12px; font-weight: 500; color: var(--ct-muted); }
.ct-mega__cta { align-self: stretch; justify-content: center; align-items: flex-start; padding: 28px 32px; border-radius: 18px; background: var(--ct-brand); color: var(--ct-ink); }
.ct-mega__cta-title { font-family: var(--wp--preset--font-family--play); font-size: 28px; font-weight: 700; line-height: 1.1; }
.ct-mega__cta p { margin: 0; max-width: 340px; }
@keyframes ct-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Menú emergente (móvil) ---------- */
.ct-burger-wrap { display: none; }
.ct-burger { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--wp--preset--color--ink-2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ct-drawer { padding: 0; margin: 0; border: 0; width: min(420px, 92vw); max-width: none; height: 100dvh; max-height: none; background: transparent; color: var(--ct-ink); }
.ct-drawer::backdrop { background: rgba(10, 11, 12, .6); backdrop-filter: blur(3px); }
.ct-drawer[open] .ct-drawer__panel { animation: ct-slide-in .3s cubic-bezier(.2, .8, .2, 1); }
.ct-drawer__panel { height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: 12px 0 40px rgba(0, 0, 0, .3); }
.ct-drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ct-ink); }
.ct-drawer__head img { display: block; width: 170px; height: auto; }
.ct-drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wp--preset--color--ink-2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ct-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 24px; }
.ct-drawer__view[hidden] { display: none; }
.ct-drawer__view.is-entering { animation: ct-view-in .24s ease; }
.ct-drawer__view.is-entering-back { animation: ct-view-back .24s ease; }
.ct-drawer__search { display: flex; border: 2px solid var(--ct-ink); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.ct-drawer__search input[type="search"] { flex: 1; min-width: 0; border: 0; height: 46px; padding: 0 16px; font: inherit; font-size: 16px; background: transparent; }
.ct-drawer__search button { width: 52px; border: 0; background: var(--ct-brand); color: var(--ct-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ct-drawer__list { list-style: none; margin: 0; padding: 0; }
.ct-drawer__row { width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 2px; border: 0; border-bottom: 1px solid var(--ct-line); background: none; font-family: var(--wp--preset--font-family--play); font-size: 22px; font-weight: 700; color: var(--ct-ink); text-align: left; cursor: pointer; }
.ct-drawer__row:hover { color: var(--ct-brand-dark); }
.ct-drawer__row svg { color: var(--ct-brand-dark); flex: none; }
.ct-drawer__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ct-drawer__quick a { padding: 14px; border-radius: 14px; background: var(--ct-soft); text-align: center; font-weight: 700; color: var(--ct-ink); }
.ct-drawer__back:focus-visible, .ct-drawer__row:focus-visible, .ct-drawer__close:focus-visible { outline: 2px solid var(--ct-brand-dark); outline-offset: 2px; border-radius: 8px; }
.ct-drawer__back { display: inline-flex; gap: 4px; align-items: center; border: 0; background: none; padding: 8px 0; font: inherit; font-weight: 700; color: var(--ct-brand-dark); cursor: pointer; }
.ct-drawer__title { margin: 4px 0 6px; font-size: 32px; }
.ct-drawer__all { display: inline-flex; gap: 2px; align-items: center; font-weight: 700; }
.ct-drawer__section { margin-top: 22px; }
.ct-drawer__section-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ct-muted); margin-bottom: 10px; }
a.ct-drawer__section-title { color: var(--ct-ink); }
.ct-drawer__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-drawer__chip { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ct-border); color: var(--ct-ink); font-weight: 600; font-size: 14px; background: #fff; }
.ct-drawer__chip:hover { border-color: var(--ct-ink); color: var(--ct-ink); }
.ct-drawer__feature { display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; background: var(--ct-soft); border-radius: 16px; padding: 12px; margin-top: 26px; color: var(--ct-ink); }
.ct-drawer__feature-img { grid-row: span 2; }
.ct-drawer__feature-img img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.ct-drawer__feature-kicker { align-self: end; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ct-muted); }
.ct-drawer__feature-name { align-self: start; font-weight: 700; }
.ct-drawer__foot { padding: 14px 20px; border-top: 1px solid var(--ct-line); font-size: 14px; color: var(--ct-muted); }
.ct-drawer__foot a { color: var(--ct-ink); font-weight: 700; }
html.ct-drawer-open { overflow: hidden; }
@keyframes ct-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes ct-view-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes ct-view-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.ct-drawer[open] .ct-drawer__panel, .ct-drawer__view, .ct-mega__panel { animation: none !important; }
}
@media (max-width: 1023px) {
	.ct-mega { display: none; }
	.ct-burger-wrap { display: block; }
	.ct-header__row { padding-bottom: 16px !important; }
}

/* ---------- Página de artistas ---------- */
.ct-artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ct-artist-card { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--ct-soft); color: var(--ct-ink); }
.ct-artist-card:hover { background: var(--wp--preset--color--brand-soft); color: var(--ct-ink); }
.ct-artist-card__avatar { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--ct-ink); color: var(--ct-brand); font-family: var(--wp--preset--font-family--play); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.ct-artist-card__name { font-weight: 700; align-self: end; line-height: 1.25; overflow-wrap: anywhere; }
.ct-artist-card__count { font-size: 13px; color: var(--ct-muted); align-self: start; }

/* ---------- Botones ---------- */
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--ct-ink); color: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: #000; color: var(--ct-brand); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; padding: 14px 24px; }
.ct-btn--dark { background: var(--ct-ink); color: #fff; }
.ct-btn--dark:hover { background: #000; color: var(--ct-brand); }

/* ---------- Portada ---------- */
.ct-kicker { align-self: flex-start; display: inline-block; background: var(--ct-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin: 0; }
.ct-hero h1 { margin-top: 16px; letter-spacing: -.5px; }
.ct-hero-grid .wc-block-product-template { gap: 14px; }
.ct-hero-grid .wc-block-product { margin: 0; }

.ct-perk { display: flex; gap: 14px; align-items: center; }
.ct-perk p { margin: 0; font-size: 15px; line-height: 1.4; }
.ct-perk__text { font-size: 13px; color: var(--ct-muted); }
.ct-perk__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--wp--preset--color--brand-soft); color: var(--ct-brand-dark); display: flex; align-items: center; justify-content: center; flex: none; }

.ct-section__head { margin-bottom: 24px; }
.ct-section__head h2, .ct-section__head p { margin: 0; }

.ct-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.ct-tile { display: flex; flex-direction: column; gap: 6px; color: var(--ct-ink); }
.ct-tile:hover { color: var(--ct-ink); }
.ct-tile__img { display: block; aspect-ratio: 1; border-radius: var(--ct-radius); overflow: hidden; background: var(--ct-soft); margin-bottom: 4px; }
.ct-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.ct-tile:hover .ct-tile__img img { transform: scale(1.04); }
.ct-tile__name { font-weight: 700; }
.ct-tile__count { font-size: 13px; color: var(--ct-muted); }

.ct-steps h2 { margin-top: 0; margin-bottom: 32px; }
.ct-step { background: var(--wp--preset--color--ink-2); border-radius: 16px; padding: 28px; }
.ct-step h3 { margin: 12px 0 8px; font-family: var(--wp--preset--font-family--inter); font-size: 20px; }
.ct-step p { margin: 0; color: #c4c8cc; font-size: 15px; }
.ct-step .ct-step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--ct-brand); color: var(--ct-ink); font-family: var(--wp--preset--font-family--play); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }

.ct-artists-cta { align-items: center; gap: 24px 32px; }
.ct-artists-cta__text { flex: 1 1 420px; }
.ct-artists-cta h2 { margin: 0 0 8px; }
.ct-artists-cta p { margin: 0; max-width: 560px; font-size: 17px; }

/* ---------- Tarjetas de producto ---------- */
.ct-collection .wc-block-product-template { row-gap: 32px; column-gap: 20px; }
.ct-collection .wc-block-product { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.ct-card__img { margin-bottom: 8px !important; }
.ct-card__img img, .ct-hero-grid img { border-radius: var(--ct-radius); aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.ct-card__img a, .ct-hero-grid .wc-block-components-product-image a { display: block; overflow: hidden; border-radius: var(--ct-radius); background: var(--ct-soft); }
.wc-block-product:hover .ct-card__img img, .ct-hero-grid .wc-block-product:hover img { transform: scale(1.04); }
.ct-card__title { margin: 0 !important; font-family: var(--wp--preset--font-family--inter) !important; font-size: 16px !important; font-weight: 700; line-height: 1.3; }
.ct-card__title a { color: var(--ct-ink); }
.ct-artist { margin: 0; font-size: 13px; color: var(--ct-muted); }
.ct-artist a { font-weight: 600; }
.ct-card__price { font-weight: 700; font-size: 17px; margin-top: 2px; }

/* ---------- Listados ---------- */
.ct-archive__head { margin-top: 12px; }
.ct-archive__head h1 { margin: 0; }
.ct-archive__count { color: var(--ct-muted); }
.ct-archive__count p { margin: 0; }
/* Texto SEO de la categoría: debajo de los productos, en un recuadro suave. */
.ct-archive__desc { color: #4b5157; margin-top: 56px; padding: 28px 32px; border-radius: 18px; background: var(--ct-soft); font-size: 15px; }
.ct-archive__desc p { margin: 0 0 .7em; max-width: 860px; }
.ct-archive__desc p:last-child { margin-bottom: 0; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.ct-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ct-border); color: var(--ct-ink); font-weight: 600; font-size: 14px; background: #fff; }
.ct-chip:hover { border-color: var(--ct-ink); color: var(--ct-ink); }
.ct-chip.is-active { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.ct-chip--soft { min-height: 32px; padding: 0 12px; font-size: 13px; background: var(--ct-soft); border-color: transparent; }

.ct-archive__filters h3 { font-family: var(--wp--preset--font-family--inter); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.ct-archive__filters .wp-block-woocommerce-product-filter-attribute,
.ct-archive__filters .wp-block-woocommerce-product-filter-active { margin-bottom: 28px; }
.ct-archive__filters input[type="checkbox"] { accent-color: var(--ct-brand-dark); }
.ct-archive__toolbar { margin-bottom: 20px; }
.ct-archive__toolbar select { height: 40px; border: 1px solid var(--ct-border); border-radius: 10px; padding: 0 12px; background: #fff; font: inherit; }

.ct-pagination { margin-top: 48px; gap: 8px; }
.ct-pagination .page-numbers, .ct-pagination a { min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ct-border); color: var(--ct-ink); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; }
.ct-pagination .page-numbers.current { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.ct-pagination .page-numbers.dots { border: 0; }

/* ---------- Ficha de producto ---------- */
.ct-product__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 16px; }
.ct-media { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.ct-stage { position: relative; background: var(--ct-soft); border-radius: var(--ct-radius-lg); padding: 32px; display: flex; justify-content: center; }
.ct-stage--gallery { padding: 0; overflow: hidden; }
.ct-stage--gallery img { width: 100%; height: auto; display: block; }
.ct-preview { position: relative; width: 100%; max-width: 540px; aspect-ratio: 500 / 540; }
.ct-preview svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-preview svg path { transition: fill .25s ease; }
.ct-preview__design { position: absolute; left: 31%; top: 19%; width: 38%; height: auto; pointer-events: none; }
.ct-view { width: 100%; max-width: 540px; }
.ct-view img { width: 100%; height: auto; display: block; border-radius: 16px; }
.ct-view--design { aspect-ratio: 500 / 540; display: flex; align-items: center; justify-content: center; border-radius: 16px; background-color: #fff; background-image: linear-gradient(45deg, #e8eae3 25%, transparent 25%), linear-gradient(-45deg, #e8eae3 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8eae3 75%), linear-gradient(-45deg, transparent 75%, #e8eae3 75%); background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0; }
.ct-view--design img { width: 80%; filter: drop-shadow(0 0 1px rgba(0,0,0,.5)); border-radius: 0; }
.ct-view[hidden], .ct-preview[hidden] { display: none; }
.ct-stage__badge { position: absolute; top: 20px; left: 20px; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ct-stage__badge:empty { display: none; }
.ct-tabs { display: flex; gap: 10px; }
.ct-tab { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--ct-border); background: #fff; color: var(--ct-ink); font: inherit; font-weight: 600; cursor: pointer; }
.ct-tab.is-active { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.ct-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-thumb { width: 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--ct-soft); cursor: pointer; }
.ct-thumb.is-active { border-color: var(--ct-ink); }
.ct-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ct-summary { display: flex; flex-direction: column; gap: 22px; }
.ct-summary__title { margin: 0; font-size: var(--wp--preset--font-size--xx-large); }
.ct-summary__artist { margin: 6px 0 0; color: var(--ct-muted); }
.ct-summary__artist a { font-weight: 700; }
.ct-summary__price { margin: 0; font-size: 34px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ct-summary__price > span:last-child { font-size: 14px; font-weight: 400; color: var(--ct-muted); }
.ct-summary__desc p { margin: 0 0 .5em; color: #4b5157; }

.ct-form { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.ct-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-field legend, .ct-field--input label { padding: 0; margin: 0 0 10px; font-weight: 700; font-size: 15px; display: block; }
.ct-field legend span { font-weight: 500; }
.ct-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-pill { position: relative; }
.ct-pill input, .ct-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ct-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ct-border); background: #fff; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.ct-pill:hover span { border-color: var(--ct-ink); }
.ct-pill input:checked + span { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.ct-pill input:focus-visible + span, .ct-swatch input:focus-visible + .ct-swatch__dot { outline: 3px solid var(--ct-brand-dark); outline-offset: 3px; }
.ct-swatch { position: relative; display: inline-flex; cursor: pointer; }
.ct-swatch__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--ct-c); border: 1px solid var(--ct-border); transition: box-shadow .15s; }
.ct-swatch input:checked + .ct-swatch__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ct-ink); }
.ct-note { margin: 8px 0 0; font-size: 13px; color: var(--ct-muted); }
.ct-field--input input[type="text"], .ct-field--input input[type="file"] { width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid var(--ct-border); border-radius: 12px; padding: 10px 14px; font: inherit; background: #fff; }
.ct-field--input abbr { text-decoration: none; color: #8a1c12; }

.ct-buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.ct-buy .quantity input.qty { width: 84px; height: 56px; border: 1px solid var(--ct-border); border-radius: 999px; text-align: center; font: inherit; font-weight: 700; font-size: 17px; }
.ct-add { flex: 1 1 220px; min-height: 56px; border: 0; border-radius: 999px; background: var(--ct-brand); color: var(--ct-ink); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.ct-add:hover { background: var(--ct-ink); color: #fff; }
.ct-form--native form.cart { display: flex; flex-direction: column; gap: 20px; }
.ct-form--native table.variations { border: 0; margin: 0; }
.ct-form--native table.variations th, .ct-form--native table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.ct-form--native table.variations th label { font-weight: 700; font-size: 15px; margin-bottom: 10px; display: block; }
.ct-form--native table.variations select { width: 100%; height: auto !important; min-height: 48px; line-height: 1.3 !important; border: 1px solid var(--ct-border); border-radius: 12px; padding: 12px 40px 12px 14px !important; font: inherit; font-size: 16px; background-color: #fff; }
.ct-form--native .ct-field--input { margin-bottom: 4px; }
.ct-form--native .reset_variations { font-size: 13px; }
.ct-form--native .woocommerce-variation-price .price { font-size: 22px; font-weight: 700; }
.ct-form--native .woocommerce-variation-add-to-cart, .ct-form--native form.cart:not(.variations_form) { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.ct-form--native .quantity input.qty { width: 84px; height: 56px; border: 1px solid var(--ct-border); border-radius: 999px; text-align: center; font: inherit; font-weight: 700; font-size: 17px; }
.ct-form--native .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; border: 0; background: var(--ct-brand); color: var(--ct-ink); border-radius: 999px; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.ct-form--native .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }

.ct-specs { border-top: 1px solid var(--ct-line); padding-top: 20px; }
.ct-specs h2 { margin: 0 0 14px; font-family: var(--wp--preset--font-family--inter); font-size: 17px; }
.ct-specs dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 15px; }
.ct-specs dt { color: var(--ct-muted); }
.ct-specs dd { margin: 0; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.ct-tags > span { font-size: 14px; color: var(--ct-muted); }

.ct-artist-band { margin-top: 56px; background: var(--ct-soft); border-radius: var(--ct-radius-lg); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.ct-artist-band__who { display: flex; gap: 16px; align-items: center; }
.ct-artist-band__who > div { display: flex; flex-direction: column; }
.ct-artist-band__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--ct-ink); color: var(--ct-brand); font-family: var(--wp--preset--font-family--play); font-weight: 700; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.ct-artist-band__label, .ct-artist-band__count { font-size: 13px; color: var(--ct-muted); }
.ct-artist-band__name { font-weight: 700; font-size: 20px; }

/* ---------- Carrito y pago ---------- */
.ct-checkout-header__secure { margin: 0; color: #d6d9dd; }
.ct-checkout-header__secure a { color: var(--ct-brand); font-weight: 600; }
.ct-checkout-header__secure .ct-sep { opacity: .45; margin: 0 .5em; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 10px; }
.wc-block-components-product-name { color: var(--ct-ink); font-weight: 700; }
.wc-block-components-totals-coupon__button, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { border-radius: 999px !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select__select { border-radius: 12px !important; }

/* ---------- WhatsApp ---------- */
.ct-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #0b3d1f; font-size: 15px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s ease, box-shadow .2s ease; }
.ct-wa-float:hover, .ct-wa-float:focus-visible { color: #0b3d1f; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .3); }
.ct-wa-float svg { color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
.ct-wa-float__text strong { font-weight: 800; }
html.ct-drawer-open .ct-wa-float { display: none; }
.ct-topbar__wa { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ct-topbar__wa:hover { color: inherit; }
.ct-trust { list-style: none; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--ct-soft); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ct-trust a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #0a6b2e; }
.ct-trust a svg { color: #25d366; }
.ct-drawer__foot { display: flex; flex-direction: column; gap: 6px; }
.ct-drawer__wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; background: #25d366; color: #0b3d1f !important; font-weight: 800; }
.ct-drawer__wa svg { color: #fff; }
.ct-footer__wa { margin: 4px 0; }
.ct-footer__wa a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #25d366; color: #0b3d1f !important; font-weight: 800; }

/* ---------- Mi cuenta ---------- */
/* WooCommerce limita esta página a 1000px: se iguala al ancho de la web. */
.woocommerce-account main.ct-page > *, .woocommerce-account main.ct-page .wp-block-post-content > * { max-width: 1280px !important; margin-left: auto !important; margin-right: auto !important; }
.woocommerce-account .wp-block-post-content > .woocommerce { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-account .wp-block-post-content > .woocommerce::before, .woocommerce-account .wp-block-post-content > .woocommerce::after { display: none; }
.woocommerce-MyAccount-navigation { flex: 0 0 220px; float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; background: var(--ct-soft); border-radius: 16px; }
.woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ct-ink); font-weight: 600; text-decoration: none !important; }
.woocommerce-MyAccount-navigation li a:hover { background: #fff; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ct-ink); color: #fff; }
.woocommerce-MyAccount-content { flex: 1 1 420px; min-width: 0; float: none !important; width: auto !important; }
@media (max-width: 782px) {
	.woocommerce-MyAccount-navigation { flex-basis: 100%; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; }
}

/* ---------- Vende tus diseños ---------- */
.ct-sell__hero h1 { margin: 16px 0; }
/* Encabezados: mismo borde izquierdo que el resto de la web (1280px centrados). */
.ct-sell__hero .ct-kicker { display: block; width: fit-content; margin-left: max(0px, calc((100% - 1280px) / 2)) !important; margin-right: auto !important; }
.ct-sell__hero > p:not(.ct-kicker), .ct-quote__hero > p { max-width: 760px; margin-left: max(0px, calc((100% - 1280px) / 2)) !important; margin-right: auto !important; }
.ct-form-side h2 { margin: 0 0 16px; }
.ct-form-side ul { padding-left: 1.2em; }
.ct-form-side li { margin-bottom: 6px; }
.ct-sell .ct-section h2 { margin: 0 0 24px; }
.ct-step--light { background: var(--ct-soft); }
.ct-step--light h3 { color: var(--ct-ink); }
.ct-step--light p:not(.ct-step__n) { color: #4b5157; }
.ct-apply { scroll-margin-top: 24px; }
.ct-apply__notice { padding: 16px 20px; border-radius: 14px; font-weight: 600; }
.ct-apply__notice.is-ok { background: var(--wp--preset--color--brand-soft); color: #1f4a1f; }
.ct-apply__notice.is-error { background: #fdecea; color: #8a1c12; }
.ct-apply__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ct-apply__form p { margin: 0; }
.ct-apply__wide { grid-column: 1 / -1; }
.ct-apply__form > p > label:not(:has(input[type="checkbox"])) { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.ct-apply__form input[type="text"], .ct-apply__form input[type="tel"], .ct-apply__form input[type="email"], .ct-apply__form input[type="url"], .ct-apply__form textarea { width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid var(--ct-border); border-radius: 12px; padding: 10px 14px; font: inherit; background: #fff; }
.ct-apply__trap { position: absolute !important; left: -9999px; }
.ct-apply__check label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ct-apply__check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ct-brand-dark); }
.ct-drop { position: relative; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; padding: 36px 20px; border: 2px dashed var(--ct-border); border-radius: 18px; background: var(--ct-soft); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.ct-drop:hover, .ct-drop.is-over, .ct-drop:focus-within { border-color: var(--ct-brand-dark); background: var(--wp--preset--color--brand-soft); }
.ct-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ct-drop__title { font-weight: 700; }
.ct-drop__hint { font-size: 13px; color: var(--ct-muted); }
.ct-drop__list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.ct-drop__list li { padding: 4px 0; }
.ct-drop__error { margin: 8px 0 0; color: #8a1c12; font-weight: 600; }
.ct-apply__submit { width: 100%; }
.ct-apply__submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) { .ct-apply__form { grid-template-columns: 1fr; } }

/* ---------- Presupuestos ---------- */
.ct-quote__hero h1 { margin: 16px 0; }
.ct-perk--link a { color: var(--ct-brand-dark); }
.ct-mega__item.ct-menu-cta { margin-left: auto; align-self: center; }
.ct-mega__item.ct-menu-cta .ct-mega__link { background: var(--ct-brand); color: var(--ct-ink); border-radius: 999px; padding: 9px 18px; font-weight: 700; margin-bottom: 6px; }
.ct-mega__item.ct-menu-cta .ct-mega__link:hover { background: #fff; color: var(--ct-ink); }
.ct-drawer__list li.ct-menu-cta .ct-drawer__row { color: var(--ct-brand-dark); }

/* ---------- 404 ---------- */
.ct-404__hero { text-align: center; }
.ct-404__code { margin: 0 0 8px; font-family: var(--wp--preset--font-family--play); font-weight: 700; font-size: clamp(96px, 18vw, 180px); line-height: 1; display: flex; justify-content: center; align-items: center; gap: .08em; color: var(--ct-ink); }
/* El «0» es el símbolo de la marca: cuadrado verde con la camiseta. */
.ct-404__code span { display: inline-block; width: .82em; height: .82em; border-radius: 22%; background: var(--ct-brand) url("assets/icons/favicon.svg") center / cover no-repeat; animation: ct-404-wobble 3.2s ease-in-out infinite; }
@keyframes ct-404-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-6px); } }
.ct-404__search { max-width: 560px; margin: 28px auto 20px !important; }
@media (prefers-reduced-motion: reduce) { .ct-404__code span { animation: none; } }

/* ---------- Páginas de contenido ---------- */
.ct-page .wp-block-post-content > :not(.alignwide):not(.woocommerce) { max-width: 860px; margin-left: 0 !important; }
.ct-page .wp-block-post-content h2 { font-size: 1.5rem; margin-top: 2em; margin-bottom: .5em; }
.ct-page .wp-block-post-content > :first-child { margin-top: 0; }
.ct-page .wp-block-post-content p, .ct-page .wp-block-post-content li { line-height: 1.65; }

/* ---------- Pie ---------- */
.ct-footer h3 { margin: 0 0 12px; }
.ct-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-footer__links a { color: #d6d9dd; }
.ct-footer__links a:hover { color: var(--ct-brand); }
.ct-footer__muted { color: #b8bcc2; }

/* ---------- Efectos ---------- */
/* Transición suave entre páginas (navegadores compatibles; el resto navega como siempre). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* Aparición al hacer scroll (la clase la pone effects.js solo a lo que está por debajo del pliegue). */
.ct-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--ct-delay, 0ms), transform .65s cubic-bezier(.2, .7, .2, 1) var(--ct-delay, 0ms); }
.ct-reveal.is-visible { opacity: 1; transform: none; }

/* Cabecera fija que se oculta al bajar y vuelve al subir. */
header.ct-sticky { position: relative; z-index: 60; }
header.ct-sticky.is-compact { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .3s ease; }
header.ct-sticky.is-compact.is-hidden { transform: translateY(calc(-100% - 30px)); }
.ct-header-spacer { height: 0; }
/* Versión compacta: sin franja superior y con menos aire. */
header.is-compact .ct-topbar { display: none; }
header.is-compact .ct-header__row { padding-top: 10px !important; padding-bottom: 6px !important; }
header.is-compact .ct-site-logo img { width: 150px !important; }
header.is-compact .ct-search .wp-block-search__input, header.is-compact .ct-search .wp-block-search__button { height: 40px; }
header.is-compact .ct-mega__trigger, header.is-compact .ct-mega__link { padding-top: 9px; padding-bottom: 11px; }
header.is-compact .ct-mega__item.ct-menu-cta .ct-mega__link { padding-top: 7px; padding-bottom: 7px; }
@media (max-width: 782px) {
	header.is-compact .ct-header__row { gap: 8px !important; padding-bottom: 10px !important; }
	header.is-compact .ct-site-logo img { width: 120px !important; }
	header.is-compact .ct-burger, header.is-compact .ct-minicart .wc-block-mini-cart__button { transform: scale(.9); }
}

/* Subrayado verde que se dibuja en el titular de la portada. */
.ct-marker { color: inherit; background: linear-gradient(transparent 64%, var(--ct-brand) 64%, var(--ct-brand) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; animation: ct-marker .9s cubic-bezier(.6, .1, .2, 1) .35s forwards; padding: 0 .04em; }
@keyframes ct-marker { to { background-size: 100% 100%; } }

/* Mosaico de la portada flotando levemente. */
.ct-hero-grid .wc-block-product { animation: ct-float 7s ease-in-out infinite; }
.ct-hero-grid .wc-block-product:nth-child(2n) { animation-delay: -2.3s; animation-duration: 8s; }
.ct-hero-grid .wc-block-product:nth-child(3n) { animation-delay: -4.6s; animation-duration: 9s; }
@keyframes ct-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(.6deg); } }

/* Tarjetas de producto: se elevan y asoma «Ver diseño». */
.ct-collection .wc-block-product { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.ct-collection .wc-block-product:hover { transform: translateY(-5px); }
.ct-card__img a { position: relative; transition: box-shadow .28s ease; }
.ct-collection .wc-block-product:hover .ct-card__img a { box-shadow: 0 16px 32px rgba(21, 23, 26, .18); }
.ct-collection .ct-card__img a::after { content: "Ver diseño"; position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); opacity: 0; padding: 8px 16px; border-radius: 999px; background: var(--ct-ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.ct-collection .wc-block-product:hover .ct-card__img a::after { opacity: 1; transform: translate(-50%, 0); }

/* Categorías y artistas. */
.ct-tile { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.ct-tile:hover { transform: translateY(-4px) rotate(-1deg); }
.ct-artist-card { transition: transform .25s ease, background .25s ease; }
.ct-artist-card:hover { transform: translateY(-3px); }
.ct-perk__icon { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.ct-perk:hover .ct-perk__icon { transform: rotate(-8deg) scale(1.1); }
.ct-step.is-visible .ct-step__n { animation: ct-pop .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--ct-delay, 0ms) + .2s) both; }
@keyframes ct-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Botones: brillo al pasar el ratón y pulsación al hacer clic. */
.wp-element-button, .ct-add, .ct-btn { position: relative; overflow: hidden; }
.wp-element-button::after, .ct-add::after, .ct-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.wp-element-button:hover::after, .ct-add:hover::after, .ct-btn:hover::after { transform: translateX(120%); }
.wp-element-button:active, .ct-add:active, .ct-btn:active, .ct-pill span:active, .ct-tab:active { transform: scale(.97); }
.ct-wa-float { animation: ct-wa-in .5s cubic-bezier(.3, 1.4, .5, 1) 1s both; }
@keyframes ct-wa-in { from { transform: translateY(24px) scale(.8); opacity: 0; } }

/* Ficha: giro de la camiseta al pasar de pecho a espalda. */
.ct-preview.is-flipping { animation: ct-flip .4s ease-in-out; }
@keyframes ct-flip { 0%, 100% { transform: perspective(900px) rotateY(0); } 50% { transform: perspective(900px) rotateY(90deg); } }

/* Ficha: rebote de la camiseta y muestras de color vivas. */
.ct-preview.is-bumping { animation: ct-bump .45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes ct-bump { 0% { transform: scale(.97); } 60% { transform: scale(1.015); } 100% { transform: none; } }
.ct-swatch__dot { transition: box-shadow .15s, transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.ct-swatch:hover .ct-swatch__dot { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
	.ct-reveal { opacity: 1; transform: none; transition: none; }
	.ct-marker { animation: none; background-size: 100% 100%; }
	.ct-hero-grid .wc-block-product, .ct-wa-float, .ct-preview.is-bumping, .ct-preview.is-flipping, .ct-step.is-visible .ct-step__n { animation: none; }
	header.ct-sticky, .ct-collection .wc-block-product, .ct-tile, .ct-artist-card { transition: none; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
	.ct-product__grid { grid-template-columns: 1fr; gap: 28px; }
	.ct-media { position: static; }
	.ct-stage { padding: 16px; }
	.ct-archive__filters { flex-basis: auto !important; }
}
@media (max-width: 782px) {
	.ct-topbar p { font-size: 12px; }
	.ct-topbar .ct-topbar__extra { display: none; }
	.ct-header__row { gap: 12px !important; }
	.ct-search { order: 3; flex-basis: 100%; max-width: none; }
	.ct-header__actions { order: 2; margin-left: auto; }
	.ct-header__actions .wc-block-customer-account__link .label { display: none; }
	.ct-hero-grid .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; display: grid !important; gap: 8px !important; }
	.ct-hero-grid .wc-block-product:nth-child(n+4) { display: none; }
	.ct-collection .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; display: grid !important; column-gap: 12px !important; }
	.ct-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.ct-tile__name { font-size: 14px; }
}
@media (max-width: 782px) {
	/* Subcategorías: una sola fila deslizable con un degradado que indica que hay más. */
	.ct-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 4px -24px 16px; padding: 2px 24px; mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.ct-chips::-webkit-scrollbar { display: none; }
	.ct-chip { flex: none; scroll-snap-align: start; }
	.ct-archive__cols { gap: 8px !important; }
	.ct-archive__toolbar { margin-bottom: 12px; }
	.ct-archive__desc { margin-top: 40px; padding: 20px; }
}
@media (max-width: 600px) {
	.ct-wa-float { right: 14px; bottom: 14px; padding: 14px; }
	.ct-wa-float__text { display: none; }
	.ct-site-logo img { width: 150px !important; }
	.ct-header__row { flex-wrap: wrap; }
	.ct-header__brand { flex: 1 1 auto; min-width: 0; }
	.ct-header__actions { gap: 4px !important; }
	.ct-specs dl { grid-template-columns: 1fr; gap: 2px; }
	.ct-specs dd { margin-bottom: 10px; }
	.ct-artists-cta { padding: 32px 24px !important; }
}
