/**
 * Cobalto skin — contemporary CDMX design-studio direction.
 * Loaded after cobalto.css: cobalt / chile / lime palette, Unbounded display,
 * split editorial hero, azulejo bands, rounded frames. No arches, no papel
 * picado, no serif italics.
 */

body {
	background: var(--cb-bg);
	color: var(--cb-text);
	font-family: var(--cb-font);
	letter-spacing: -.005em;
}
::selection { background: var(--cb-accent); color: var(--cb-accent-ink); }
.cb-container { max-width: var(--cb-width); padding: 0 28px; }

/* ---- Announcement + tile band */
.cb-announce { background: var(--cb-accent); color: var(--cb-accent-ink); padding: 11px 18px; }
.cb-announce-track { font-family: var(--cb-display); font-size: .95rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cb-announce-msg { margin: 0; }
.cb-papel {
	height: 14px;
	background:
		repeating-linear-gradient(135deg, var(--cb-accent) 0 7px, transparent 7px 14px),
		repeating-linear-gradient(45deg, var(--cb-chili) 0 7px, transparent 7px 14px),
		var(--cb-bg);
	background-size: 14px 14px;
	border-bottom: 1px solid var(--cb-line);
}

/* ---- Header */
.cb-header { background: rgba(246,241,231,.96); border-bottom: 1px solid var(--cb-line); }
.cb-header-row { height: var(--cb-header-h); }
.cb-logo-text {
	font-family: var(--cb-display); font-size: 2.4rem; font-weight: 800;
	letter-spacing: -.02em; text-transform: uppercase; color: var(--cb-text);
}
.cb-logo-text:hover { color: var(--cb-accent); }
.cb-nav-list > li > a {
	font-family: var(--cb-font); font-size: 1.05rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--cb-text-soft);
	padding: 10px 14px; border-radius: 999px;
}
.cb-nav-list > li > a:hover, .cb-nav-list > .current-menu-item > a { color: var(--cb-accent-ink); background: var(--cb-accent); }
.cb-nav-list > li > a::after { display: none; }
.cb-iconbtn { color: var(--cb-text); }
.cb-iconbtn:hover { color: var(--cb-accent); }
.cb-search-panel { background: var(--cb-bg); border-bottom: 1px solid var(--cb-line); }

/* ---- Hero: split editorial poster */
.cb-hero { height: 650px; background: var(--cb-surface); border-bottom: 0; }
.cb-hero--small { height: 540px; }
.cb-hero--medium { height: 650px; }
.cb-hero--large { height: 740px; }
.cb-hero-slide { background-position: right center; background-size: cover; }
.cb-hero-slide::before {
	content: ''; position: absolute; inset: 0 50% 0 0; background: var(--cb-bg);
	border-right: 10px solid var(--cb-accent); z-index: 1;
}
.cb-hero-slide.is-active::before { animation: cb-panel-in .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cb-panel-in { from { transform: translateX(-24px); opacity: .2; } to { transform: none; opacity: 1; } }
.cb-hero-shade { display: none; }
.cb-hero-content {
	z-index: 2; width: 50%; height: 100%; justify-content: center;
	padding: 0 4.5vw 0 0; color: var(--cb-text); max-width: none;
}
.cb-hero-eyebrow {
	display: inline-flex; width: fit-content; margin: 0 0 22px; padding: 7px 14px;
	background: var(--cb-lime); color: var(--cb-text); border-radius: 999px;
	font-family: var(--cb-font); font-size: 1rem; font-weight: 800;
	letter-spacing: .16em; text-transform: uppercase;
}
.cb-hero-eyebrow::before { display: none; }
.cb-hero-title {
	font-family: var(--cb-display); font-style: normal; font-weight: 800;
	font-size: clamp(4.2rem, 5.6vw, 7.4rem); line-height: 1.01; letter-spacing: -.035em;
	color: var(--cb-text); text-shadow: none; margin: 0 0 22px; max-width: 640px;
	text-transform: uppercase;
}
.cb-hero-sub { color: var(--cb-text-soft); font-size: 1.55rem; line-height: 1.6; max-width: 440px; text-shadow: none; }
.cb-hero-btn { background: var(--cb-accent); border-color: var(--cb-accent); color: var(--cb-accent-ink); border-radius: 999px; }
.cb-hero-btn:hover { background: var(--cb-text); border-color: var(--cb-text); }
.cb-hero-trust { margin-top: 30px; }
.cb-hero-avatars img { border: 2px solid var(--cb-bg); box-shadow: 0 0 0 1px var(--cb-accent); }
.cb-hero-trust-text { color: var(--cb-text-soft); font-family: var(--cb-font); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.cb-hero-stars { color: var(--cb-accent); }
.cb-hero-nav { z-index: 3; left: auto; right: 28px; bottom: 26px; width: 46%; justify-content: flex-end; gap: 8px; }
.cb-hero-bar { background: rgba(246,241,231,.5); height: 6px; border-radius: 999px; }
.cb-hero-bar.is-active { background: var(--cb-lime); }
.cb-hero-bar .cb-hero-bar-fill { background: var(--cb-lime); }
.cb-hero-arrow { border: 1px solid rgba(246,241,231,.7); color: var(--cb-accent-ink); background: rgba(13,26,92,.35); border-radius: 999px; }
.cb-hero-arrow:hover { background: var(--cb-lime); color: var(--cb-text); border-color: var(--cb-lime); }

/* ---- Service bar */
.cb-usp-list { background: var(--cb-accent); color: var(--cb-accent-ink); border: 0; }
.cb-usp { border-right: 1px solid rgba(248,244,234,.22); }
.cb-usp:last-child { border-right: 0; }
.cb-usp .cb-icon { color: var(--cb-lime); }
.cb-usp-text strong, .cb-usp-text { color: var(--cb-accent-ink); font-family: var(--cb-font); font-weight: 700; letter-spacing: .02em; }
.cb-usp-sub { color: rgba(248,244,234,.7); }

/* ---- Section rhythm */
.cb-section { padding: 92px 0; }
.cb-section--surface { background: var(--cb-surface-2); }
.cb-sect-head { margin-bottom: 34px; }
.cb-sect-title {
	font-family: var(--cb-display); font-size: clamp(2.6rem, 3.4vw, 4.1rem); font-weight: 700;
	letter-spacing: -.03em; text-transform: uppercase; line-height: 1.06; color: var(--cb-text);
}
.cb-sect-title::before {
	content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 12px;
	background: var(--cb-accent); border-radius: 3px; vertical-align: .12em;
}
.cb-sect-sub { font-size: 1.45rem; color: var(--cb-text-soft); max-width: 620px; }
.cb-sect-link { font-family: var(--cb-font); font-weight: 800; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cb-accent); border-bottom: 2px solid var(--cb-lime); padding-bottom: 3px; }

/* ---- Product cards */
.cb-card-media { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--cb-surface); overflow: hidden; }
.cb-card:hover .cb-card-media { box-shadow: var(--cb-shadow-sm); border-color: transparent; }
.cb-card-img { object-fit: cover; }
.cb-card:hover .cb-card-img { transform: scale(1.04); }
.cb-card-badges { top: 10px; left: 10px; gap: 5px; }
.cb-badge { font-family: var(--cb-font); font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.cb-badge--nuevo { background: var(--cb-accent); color: var(--cb-accent-ink); }
.cb-badge--mas-vendido { background: var(--cb-lime); color: var(--cb-text); }
.cb-badge--oferta { background: var(--cb-chili); color: #fff; }
.cb-badge--edicion-limitada { background: var(--cb-pink); color: var(--cb-text); }
.cb-card-addbtn { background: var(--cb-accent); color: var(--cb-accent-ink); border-radius: 999px; font-family: var(--cb-font); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cb-card-add--link { background: var(--cb-accent); color: var(--cb-accent-ink); border-radius: 999px; font-family: var(--cb-font); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cb-card-cat { color: var(--cb-accent); font-family: var(--cb-font); font-size: .95rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 12px 0 4px; }
.cb-card-name { font-family: var(--cb-font); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.cb-card-name a:hover { color: var(--cb-accent); }
.cb-card-price { font-family: var(--cb-font); font-size: 1.4rem; font-weight: 700; }
.cb-card-price del { color: var(--cb-muted); font-weight: 500; }
.cb-card-price ins { color: var(--cb-chili); text-decoration: none; }
.cb-card-stars { color: var(--cb-accent); }

/* ---- Banner: cobalt block */
.cb-banner { background: var(--cb-accent); border-radius: 16px; min-height: 320px; overflow: hidden; background-position: right center; background-size: 55% auto; background-repeat: no-repeat; }
.cb-banner::before { background: linear-gradient(90deg, var(--cb-accent) 38%, rgba(27,63,216,.85) 55%, rgba(27,63,216,.05) 100%); }
.cb-banner-inner { padding: 58px 6%; max-width: 58%; }
.cb-banner-title { font-family: var(--cb-display); font-size: clamp(2.8rem, 4vw, 4.8rem); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; color: var(--cb-accent-ink); }
.cb-banner-text { color: rgba(248,244,234,.82); font-size: 1.5rem; }
.cb-banner .cb-btn, .cb-banner .cb-btn--light { background: var(--cb-lime); border-color: var(--cb-lime); color: var(--cb-text); border-radius: 999px; }

/* ---- Category tiles: rounded frames (no arches) */
.cb-cat-tiles { gap: 18px; }
.cb-cat-tile { border-radius: 14px; overflow: hidden; }
.cb-cat-media, .cb-cat-img { border-radius: 14px; aspect-ratio: 3 / 4; }
.cb-cat-tile::after { background: linear-gradient(180deg, rgba(13,26,92,0) 35%, rgba(13,26,92,.78) 100%); border-radius: 14px; }
.cb-cat-name { color: var(--cb-accent-ink); font-family: var(--cb-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; }
.cb-catstrip-tile { border-radius: 12px; }

/* ---- Promo cards */
.cb-promo-card { border-radius: 14px; padding: 26px; min-height: 260px; }
.cb-promo-card:nth-child(1) { background: var(--cb-accent); color: var(--cb-accent-ink); }
.cb-promo-card:nth-child(2) { background: var(--cb-lime); color: var(--cb-text); }
.cb-promo-card:nth-child(3) { background: var(--cb-pink); color: var(--cb-text); }
.cb-promo-num { font-family: var(--cb-display); font-weight: 800; font-size: 3rem; letter-spacing: -.04em; opacity: .9; }
.cb-promo-title { font-family: var(--cb-display); font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.cb-promo-plate, .cb-promo-plate img { border-radius: 10px; }

/* ---- Blog cards */
.cb-post-media { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.cb-post-img { border-radius: 12px; }
.cb-post-cat { background: var(--cb-accent); color: var(--cb-accent-ink); font-family: var(--cb-font); font-weight: 800; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.cb-post-title { font-family: var(--cb-display); font-size: 2rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; text-transform: none; }
.cb-post-excerpt { color: var(--cb-text-soft); }

/* ---- Newsletter: cobalt slab with azulejo texture */
.cb-newsbox { background: var(--cb-accent); border-radius: 18px; padding: 54px 6%; overflow: hidden; }
.cb-newsbox::before {
	background:
		repeating-linear-gradient(45deg, rgba(248,244,234,.10) 0 2px, transparent 2px 18px),
		repeating-linear-gradient(-45deg, rgba(248,244,234,.08) 0 2px, transparent 2px 18px);
	opacity: 1;
}
.cb-newsbox-title { font-family: var(--cb-display); font-size: clamp(2.6rem, 3.4vw, 3.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; color: var(--cb-accent-ink); }
.cb-newsbox-sub { color: rgba(248,244,234,.78); }
.cb-newsbox-field input { background: var(--cb-bg); border-radius: 999px; border: 0; color: var(--cb-text); }
.cb-newsbox-btn { background: var(--cb-lime); color: var(--cb-text); border-radius: 999px; font-weight: 800; }
.cb-newsbox-check span { color: rgba(248,244,234,.8); }
.cb-newsbox--ivory { background: var(--cb-surface); }
.cb-newsbox--ivory .cb-newsbox-title { color: var(--cb-text); }
.cb-newsbox--ivory .cb-newsbox-sub, .cb-newsbox--ivory .cb-newsbox-check span { color: var(--cb-text-soft); }

/* ---- Footer */
.cb-footer { background: #0c0c0c; color: var(--cb-accent-ink); border-top: 10px solid var(--cb-accent); }
.cb-footer::before { background: var(--cb-azulejo); opacity: 1; height: 8px; }
.cb-footer-logo { font-family: var(--cb-display); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; font-size: 2.5rem; color: var(--cb-accent-ink); }
.cb-footer-about, .cb-footer-contact, .cb-footer-contact a { color: rgba(248,244,234,.72); }
.cb-footer-title { color: var(--cb-lime); font-family: var(--cb-font); font-size: 1rem; font-weight: 800; letter-spacing: .16em; }
.cb-foot-menu a { color: rgba(248,244,234,.72); font-family: var(--cb-font); }
.cb-foot-menu a:hover { color: var(--cb-lime); }
.cb-footer-contact .cb-icon { color: var(--cb-lime); }
.cb-social a { border-color: rgba(248,244,234,.25); color: var(--cb-accent-ink); border-radius: 999px; }
.cb-footer-mark { font-family: var(--cb-display); font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; -webkit-text-stroke: 1px rgba(248,244,234,.16); color: transparent; opacity: 1; }
.cb-copyright { color: rgba(248,244,234,.5); }
.cb-payments .cb-pay { border-radius: 6px; }

/* ---- Page head / breadcrumbs */
.cb-pagehead { padding: 64px 0 34px; background: var(--cb-bg); }
.cb-pagehead-title { font-family: var(--cb-display); font-size: clamp(4rem, 6vw, 7rem); font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; line-height: 1; }
.cb-pagehead-sub { font-size: 1.5rem; color: var(--cb-text-soft); }
.cb-pagehead::after { content: ''; display: block; width: 64px; height: 6px; margin: 22px 28px 0; background: var(--cb-lime); border-radius: 999px; }
.cb-breadcrumb { color: var(--cb-muted); font-family: var(--cb-font); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Buttons */
.cb-btn { border-radius: 999px; font-family: var(--cb-font); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 1.05rem; padding: 15px 30px; }
.cb-btn--dark, .cb-btn--accent { background: var(--cb-accent); border-color: var(--cb-accent); color: var(--cb-accent-ink); }
.cb-btn--dark:hover, .cb-btn--accent:hover { background: var(--cb-text); border-color: var(--cb-text); color: var(--cb-bg); }
.cb-btn--light { background: var(--cb-lime); border-color: var(--cb-lime); color: var(--cb-text); }
.cb-btn--light:hover { background: var(--cb-bg); border-color: var(--cb-bg); color: var(--cb-text); }

/* ---- Forms / commerce */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], textarea, select {
	border: 1px solid var(--cb-line-strong); border-radius: 9px; background: #fffdf8; color: var(--cb-text);
	padding: 13px 15px; font-family: var(--cb-font);
}
input:focus, textarea:focus, select:focus { border-color: var(--cb-accent); outline: 2px solid rgba(27,63,216,.16); }
.cb-form-ok { color: var(--cb-accent); }
.cb-form-err { color: var(--cb-chili); }
.woocommerce-message, .woocommerce-info { border-radius: 10px; border-top-color: var(--cb-accent); background: var(--cb-surface-2); color: var(--cb-text); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cb-accent); }
.cb-pdp-title, .product_title { font-family: var(--cb-display); font-weight: 700; letter-spacing: -.03em; text-transform: none; }
.cb-pdp .cb-btn, .single_add_to_cart_button, .cb-buy-btn { border-radius: 999px; font-family: var(--cb-font); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.single_add_to_cart_button { background: var(--cb-accent); color: var(--cb-accent-ink); }
.cb-buy-btn { border: 2px solid var(--cb-text); color: var(--cb-text); background: transparent; }
.cb-buy-btn:hover { background: var(--cb-text); color: var(--cb-bg); }
.cb-pdp-gallery, .cb-pdp-main, .woocommerce-product-gallery__image img { border-radius: 14px; overflow: hidden; }
.cb-tabs a, .woocommerce-tabs ul.tabs li a { font-family: var(--cb-font); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---- 404 / search */
.cb-404-code { font-family: var(--cb-display); font-weight: 900; color: var(--cb-accent); letter-spacing: -.06em; }
.cb-searchpage .cb-pagehead-title { text-transform: uppercase; }
.cb-empty { border-radius: 14px; background: var(--cb-surface-2); }

/* ---- Responsive art direction */
@media (max-width: 989px) {
	.cb-hero, .cb-hero--small, .cb-hero--medium, .cb-hero--large { height: 700px; }
	.cb-hero-slide::before { inset: 54% 0 0 0; border-right: 0; border-top: 8px solid var(--cb-accent); }
	.cb-hero-content { width: 100%; justify-content: flex-end; padding: 26px 24px 84px; }
	.cb-hero-title { font-size: clamp(3.4rem, 10vw, 5.2rem); }
	.cb-hero-nav { width: auto; left: 24px; right: 24px; bottom: 20px; justify-content: space-between; }
	.cb-usp-list { grid-template-columns: repeat(2, 1fr); }
	.cb-banner-inner { max-width: 100%; padding: 42px 7%; }
	.cb-banner { background-size: cover; background-position: center; }
	.cb-pagehead::after { margin-left: 24px; }
}
@media (max-width: 640px) {
	.cb-container { padding: 0 18px; }
	.cb-logo-text { font-size: 2rem; }
	.cb-hero, .cb-hero--small, .cb-hero--medium, .cb-hero--large { height: 660px; }
	.cb-section { padding: 64px 0; }
	.cb-sect-title { font-size: 2.6rem; }
	.cb-banner-title { font-size: 3rem; }
	.cb-newsbox { padding: 38px 24px; border-radius: 14px; }
	.cb-pagehead { padding: 44px 0 26px; }
	.cb-pagehead-title { font-size: 4.2rem; }
}

/* ---- Polish */
.cb-cat-fallback {
	font-family: var(--cb-display);
	font-weight: 800;
	font-size: 6rem;
	line-height: 1;
	color: var(--cb-accent);
	text-transform: uppercase;
}
.cb-catstrip-label {
	font-family: var(--cb-display);
	font-weight: 600;
	letter-spacing: -.02em;
	text-transform: uppercase;
}
.cb-hero-title br { display: block; }
.cb-footer-mark { font-size: clamp(8rem, 18vw, 22rem); line-height: .8; }
.cb-post-media { background: var(--cb-surface); }
.cb-post-img { object-fit: cover; }
.cb-banner { background-color: var(--cb-accent); }

/* ---- Split hero media (right half on desktop, top half on mobile) */
.cb-hero-media {
	position: absolute; top: 0; right: 0; width: 50%; height: 100%;
	z-index: 0; overflow: hidden;
}
.cb-hero-media img {
	width: 100%; height: 100%; object-fit: cover; object-position: center;
	display: block;
}
@media (max-width: 989px) {
	.cb-hero-media { width: 100%; height: 54%; }
}

/* ---- Service bar: readable cobalt band */
.cb-usp-list { padding: 0; }
.cb-usp { padding: 16px 14px; min-height: 58px; }
.cb-usp-label strong { color: var(--cb-accent-ink); font-family: var(--cb-font); font-weight: 800; font-size: 1.1rem; letter-spacing: .14em; }
.cb-usp-label small { color: rgba(248,244,234,.68); font-size: 1.15rem; }
.cb-usp + .cb-usp { border-left: 1px solid rgba(248,244,234,.22); }
@media (max-width: 989px) {
	.cb-usp { justify-content: flex-start; padding: 14px 18px; min-height: 54px; }
	.cb-usp-list { row-gap: 0; }
}

/* ---- Hero controls over a light studio image */
.cb-hero-bar { background: rgba(17,17,17,.22); }
.cb-hero-bar.is-active { background: var(--cb-accent); }
.cb-hero-bar .cb-hero-bar-fill { background: var(--cb-accent); }
.cb-hero-arrow { background: var(--cb-accent); color: var(--cb-accent-ink); border-color: var(--cb-accent); }
.cb-hero-arrow:hover { background: var(--cb-lime); color: var(--cb-text); border-color: var(--cb-lime); }

/* ---- Hero copy anchored to the page gutter, not the panel centre */
.cb-hero-content { margin-left: 0; margin-right: auto; padding-left: 4.5vw; padding-right: 2vw; }
@media (max-width: 989px) {
	.cb-hero-content { padding-left: 24px; padding-right: 24px; }
}

/* Mobile hero: give the copy panel more room for the eyebrow + CTA */
@media (max-width: 989px) {
	.cb-hero-media { width: 100%; height: 46%; }
	.cb-hero-slide::before { inset: 46% 0 0 0; }
	.cb-hero-content { padding-top: 18px; padding-bottom: 76px; }
}

@media (max-width: 989px) {
	.cb-hero, .cb-hero--small, .cb-hero--medium, .cb-hero--large { height: 720px; }
	.cb-hero-media { height: 42%; }
	.cb-hero-slide::before { inset: 42% 0 0 0; }
}

/* Category names sit under the image, so they need ink, not cream */
.cb-cat-name { color: var(--cb-text); font-size: 1.9rem; }
.cb-cat-tile:hover .cb-cat-name { color: var(--cb-accent); }

@media (max-width: 989px) {
	.cb-hero-media img { object-position: center 26%; }
}
