/* ==========================================================================
   COCOTOWN · Sistema visual del front
   Identidad base: degradado taupe → lila (#645a51 → #dac0ff), fucsia #ae1c9a,
   rubor y durazno (#fbd7e9, #ffd7ab, #f9d4bd). Mobile-first.
   ========================================================================== */

:root {
    --taupe: #645a51;
    --taupe-2: #5f554c;
    --taupe-3: #4a413a;
    --lilac: #dac0ff;
    --lilac-soft: #f4ecff;
    --fuchsia: #ae1c9a;
    --fuchsia-2: #8f1580;
    --fuchsia-soft: #fbeaf7;
    --blush: #fbd7e9;
    --peach: #ffd7ab;
    --sand: #f9d4bd;

    --bg: #fdf8f6;
    --surface: #ffffff;
    --ink: #33292d;
    --ink-2: #5b4f55;
    --muted: #8a7e84;
    --line: #efe4e8;
    --ok: #3e7c5d;
    --ok-soft: #eaf5ef;

    --brand-grad: linear-gradient(90deg, #645a51 0%, #dac0ff 100%);
    --promo-grad: linear-gradient(90deg, #fbd7e9 0%, #ffd7ab 100%);

    --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 12px;
    --r: 18px;
    --r-lg: 28px;
    --shadow-sm: 0 2px 10px -4px rgba(100, 90, 81, .18);
    --shadow: 0 14px 34px -16px rgba(100, 90, 81, .35);
    --shadow-lg: 0 30px 70px -24px rgba(74, 65, 58, .45);

    --bar-h: 60px;
    --tab-h: 62px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.32, 1.28, .56, 1);
}

@media (min-width: 992px) {
    :root { --bar-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

img { max-width: 100%; height: auto; display: block; }
.cc-pic { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--fuchsia); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--blush); color: var(--ink); }

.cc-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .cc-wrap { padding: 0 28px; } }

.cc-only-desktop { display: none !important; }
@media (min-width: 992px) {
    .cc-only-desktop { display: inline-flex !important; }
    .cc-only-mobile { display: none !important; }
}
@media (max-width: 575px) { .cc-hide-sm { display: none; } }

.cc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cc-skip {
    position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; border-radius: 999px;
    background: var(--ink); color: #fff; transform: translateY(-150%); transition: transform .2s;
}
.cc-skip:focus { transform: none; }

.cc-ico { flex-shrink: 0; }
.cc-flag { flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 1px 4px rgba(0, 0, 0, .15); }

.cc-main { min-height: 50vh; }

/* ---------- Tipografía ---------- */
.cc-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    color: var(--taupe);
}
.cc-eyebrow--light { color: #fff; }

.cc-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--ink);
    margin-top: 4px;
}
.cc-title em, .cc-hero__title em, .cc-modal__title em { font-style: italic; color: var(--fuchsia); }
.cc-title--xl { font-size: 38px; }
@media (min-width: 768px) {
    .cc-title { font-size: 42px; }
    .cc-title--xl { font-size: 54px; }
}

.cc-lead { font-size: 17px; color: var(--ink-2); margin-top: 12px; max-width: 46ch; }
.cc-muted { color: var(--muted); }
.cc-small { font-size: 13px; }
.cc-center { text-align: center; }

.cc-link {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    font-size: 14px; font-weight: 500; color: var(--fuchsia);
    padding: 8px 0; transition: gap .25s var(--ease);
}
.cc-link:hover { gap: 10px; }

/* ---------- Botones ---------- */
.cc-btn {
    --btn-bg: var(--taupe);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
    box-shadow: 0 10px 24px -12px rgba(74, 65, 58, .6);
    transition: transform .18s var(--ease), background-color .25s, box-shadow .25s, opacity .2s;
    user-select: none;
}
.cc-btn:hover { --btn-bg: var(--fuchsia); box-shadow: 0 12px 28px -12px rgba(174, 28, 154, .6); }
.cc-btn:active { transform: scale(.97); }
.cc-btn:disabled, .cc-btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.cc-btn--block { width: 100%; }
.cc-btn--accent { --btn-bg: var(--fuchsia); }
.cc-btn--accent:hover { --btn-bg: var(--fuchsia-2); }
.cc-btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.cc-btn--ghost:hover { --btn-bg: var(--fuchsia-soft); --btn-fg: var(--fuchsia); box-shadow: inset 0 0 0 1.5px var(--blush); }
.cc-btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.cc-btn--light:hover { --btn-bg: var(--fuchsia); --btn-fg: #fff; }
.cc-btn.is-loading { opacity: .7; pointer-events: none; }

.cc-textbtn { display: block; margin: 14px auto 0; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cc-textbtn:hover { color: var(--fuchsia); }

.cc-iconbtn {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    transition: background-color .2s, transform .15s var(--ease);
}
.cc-iconbtn:hover { background: rgba(255, 255, 255, .22); }
.cc-iconbtn:active { transform: scale(.9); }

.cc-pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px 0 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .6); color: var(--ink);
    font-size: 13px; font-weight: 500;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: background-color .2s, transform .15s;
}
.cc-pill:hover { background: #fff; }
.cc-pill:active { transform: scale(.96); }
.cc-pill--light { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cc-pill--light:hover { background: rgba(255, 255, 255, .2); }

.cc-count {
    position: absolute; top: 4px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--fuchsia); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 1;
    box-shadow: 0 0 0 2px #fff;
    transform: scale(0); transition: transform .3s var(--spring);
}
.cc-count.has-items { transform: scale(1); }
.cc-count.is-bump { animation: cc-bump .45s var(--spring); }

/* ---------- Barra de anuncio ---------- */
.cc-announce {
    background: var(--taupe-3);
    color: rgba(255, 255, 255, .92);
    font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
}
.cc-announce__track { display: flex; justify-content: center; gap: 32px; padding: 7px 16px; white-space: nowrap; overflow: hidden; }
@media (max-width: 575px) { .cc-announce { font-size: 10px; letter-spacing: .08em; } .cc-announce__track .cc-hide-sm { display: none; } }
.cc-announce__track span { display: inline-flex; align-items: center; gap: 8px; }
.cc-announce .cc-ico { color: var(--lilac); }

/* ---------- Barra superior (header) ---------- */
.cc-bar {
    position: sticky; top: 0; z-index: 60;
    background: var(--brand-grad);
    view-transition-name: cc-bar;
    transition: box-shadow .3s;
}
.cc-bar.is-scrolled { box-shadow: 0 8px 24px -14px rgba(74, 65, 58, .7); }
.cc-bar__inner {
    height: var(--bar-h);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
}
.cc-bar__left { color: #fff; justify-self: start; margin-left: -8px; }
.cc-bar__right { display: flex; align-items: center; gap: 2px; justify-self: end; margin-right: -8px; color: var(--ink); }
.cc-bar__right .cc-iconbtn:hover { background: rgba(255, 255, 255, .45); }

.cc-logo { display: block; justify-self: center; }
.cc-logo img { height: 38px; width: auto; }

@media (min-width: 992px) {
    .cc-bar__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
    .cc-logo { justify-self: start; }
    .cc-logo img { height: 50px; }
    .cc-bar__right { gap: 6px; }
}

.cc-nav { justify-self: center; align-items: center; gap: 4px; }
.cc-nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    height: 40px; padding: 0 16px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500; letter-spacing: .03em; color: #fff;
    text-shadow: 0 1px 8px rgba(74, 65, 58, .35);
    transition: background-color .2s;
}
.cc-nav__link:hover, .cc-nav__link.is-active { background: rgba(255, 255, 255, .2); }
.cc-nav__drop { position: relative; }
.cc-nav__menu {
    position: absolute; top: calc(100% + 10px); left: 50%;
    min-width: 260px; padding: 10px; border-radius: var(--r);
    background: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.cc-nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.cc-nav__drop:hover .cc-nav__menu, .cc-nav__drop:focus-within .cc-nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cc-nav__item {
    display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm);
    font-size: 14.5px; color: var(--ink); transition: background-color .15s;
}
.cc-nav__item:hover { background: var(--fuchsia-soft); color: var(--fuchsia); }
.cc-nav__thumb { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--blush); flex-shrink: 0; }
.cc-nav__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tab bar (móvil) ---------- */
.cc-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid var(--line);
    view-transition-name: cc-tabbar;
}
.cc-tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 10.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted);
    transition: color .2s, transform .15s;
}
.cc-tab:active { transform: scale(.9); }
.cc-tab.is-active { color: var(--fuchsia); }
.cc-tab.is-active::before {
    content: ''; position: absolute; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--fuchsia);
    transform: translateY(-4px);
}
.cc-tab__ico { position: relative; display: grid; }
.cc-tab__ico .cc-count { top: -6px; right: -10px; }
body:has(.cc-tabbar) { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
@media (min-width: 992px) {
    .cc-tabbar { display: none; }
    body:has(.cc-tabbar) { padding-bottom: 0; }
}

/* ---------- Hojas (buscador, mini bolsa) ---------- */
.cc-sheet, .cc-modal { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.cc-sheet.is-open, .cc-modal.is-open { visibility: visible; pointer-events: auto; }
.cc-sheet__backdrop, .cc-modal__backdrop {
    position: absolute; inset: 0; background: rgba(51, 41, 45, .38);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .3s;
}
.is-open > .cc-sheet__backdrop, .is-open > .cc-modal__backdrop { opacity: 1; }
.cc-sheet__panel {
    position: absolute; background: var(--surface);
    transition: transform .42s var(--ease);
    display: flex; flex-direction: column;
}

.cc-sheet--top .cc-sheet__panel {
    top: 0; left: 0; right: 0; padding: 14px 16px 22px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transform: translateY(-105%);
    box-shadow: var(--shadow-lg);
}
.cc-sheet--top.is-open .cc-sheet__panel { transform: none; }
@media (min-width: 768px) {
    .cc-sheet--top .cc-sheet__panel { left: 50%; right: auto; width: min(720px, 94vw); top: 16px; border-radius: var(--r-lg); transform: translate(-50%, -120%); padding: 18px 22px 24px; }
    .cc-sheet--top.is-open .cc-sheet__panel { transform: translate(-50%, 0); }
}

.cc-search {
    display: flex; align-items: center; gap: 10px;
    height: 54px; padding: 0 6px 0 16px; margin-bottom: 18px;
    border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
    color: var(--muted);
}
.cc-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--fuchsia); color: var(--fuchsia); }
.cc-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); }
.cc-search input::-webkit-search-cancel-button { display: none; }
.cc-search .cc-iconbtn { color: var(--ink); }
.cc-search .cc-iconbtn:hover { background: var(--line); }
.cc-sheet--top .cc-eyebrow { margin-bottom: 10px; }

/* Mini bolsa: bottom sheet en móvil, drawer lateral en escritorio */
.cc-sheet--side .cc-sheet__panel {
    left: 0; right: 0; bottom: 0; max-height: 86dvh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(105%);
    padding-bottom: var(--safe-b);
    box-shadow: var(--shadow-lg);
}
.cc-sheet--side.is-open .cc-sheet__panel { transform: translateY(var(--drag, 0px)); }
.cc-sheet--side.is-dragging .cc-sheet__panel { transition: none; }
@media (min-width: 768px) {
    .cc-sheet--side .cc-sheet__panel { left: auto; top: 0; width: 420px; max-height: none; border-radius: var(--r-lg) 0 0 var(--r-lg); transform: translateX(105%); }
    .cc-sheet--side.is-open .cc-sheet__panel { transform: none; }
    .cc-sheet__grab { display: none; }
}
.cc-sheet__grab { width: 42px; height: 5px; border-radius: 999px; background: var(--line); margin: 10px auto 0; flex-shrink: 0; }
.cc-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 22px; flex-shrink: 0; }
.cc-sheet__title { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.cc-sheet__head .cc-iconbtn:hover { background: var(--bg); }
.cc-sheet__foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex-shrink: 0; }

.cc-mini { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 12px; }
.cc-mini__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cc-mini__item:last-child { border-bottom: 0; }
.cc-mini__img { width: 64px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--blush); }
.cc-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.cc-mini__name { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-mini__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cc-mini__price { font-weight: 600; font-size: 15px; color: var(--taupe); }
.cc-mini__empty { text-align: center; padding: 36px 0 28px; color: var(--muted); }
.cc-mini__empty .cc-ico { color: var(--lilac); margin: 0 auto 10px; }

.cc-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.cc-row-between strong { font-size: 17px; font-weight: 600; }

.cc-skel { height: 76px; border-radius: 14px; margin: 12px 0; background: linear-gradient(90deg, var(--bg) 0%, #f6edf0 50%, var(--bg) 100%); background-size: 200% 100%; animation: cc-shimmer 1.2s infinite; }

/* ---------- Modal de país ---------- */
.cc-modal { display: flex; align-items: flex-end; justify-content: center; z-index: 100; }
.cc-modal__panel {
    position: relative; width: 100%; max-width: 460px;
    background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 0 20px calc(22px + var(--safe-b));
    text-align: center; overflow: hidden;
    transform: translateY(105%); transition: transform .5s var(--ease);
    box-shadow: var(--shadow-lg);
}
.cc-modal.is-open .cc-modal__panel { transform: none; }
@media (min-width: 576px) {
    .cc-modal { align-items: center; padding: 20px; }
    .cc-modal__panel { border-radius: var(--r-lg); padding-bottom: 26px; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
    .cc-modal.is-open .cc-modal__panel { transform: none; opacity: 1; }
}
.cc-modal__brand { margin: 0 -20px 22px; padding: 26px 20px; background: var(--brand-grad); position: relative; }
.cc-modal__brand::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
    background: var(--surface); border-radius: 22px 22px 0 0;
}
.cc-modal__logo img { height: 52px; width: auto; margin: 0 auto 8px; }
.cc-modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; color: #fff; }
.cc-modal__title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; margin: 6px 0 8px; }
.cc-modal__text { color: var(--ink-2); font-size: 15px; max-width: 32ch; margin: 0 auto 20px; }
.cc-modal__hint { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

.cc-countries { display: grid; gap: 10px; text-align: left; }
.cc-country {
    display: flex; align-items: center; gap: 14px;
    min-height: 68px; padding: 12px 16px; border-radius: var(--r);
    background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
    transition: box-shadow .2s, background-color .2s, transform .15s var(--ease);
}
.cc-country:hover { box-shadow: inset 0 0 0 1.5px var(--lilac); background: var(--lilac-soft); }
.cc-country:active { transform: scale(.98); }
.cc-country.is-selected { box-shadow: inset 0 0 0 2px var(--fuchsia); background: var(--fuchsia-soft); }
.cc-country__name { flex: 1; font-size: 17px; font-weight: 500; text-align: left; }
.cc-country__check {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    box-shadow: inset 0 0 0 1.5px var(--line); color: transparent; background: #fff;
    transition: all .25s var(--spring);
}
.cc-country.is-selected .cc-country__check { background: var(--fuchsia); color: #fff; box-shadow: none; transform: scale(1.08); }

/* ---------- Toasts y confirmación ---------- */
.cc-toasts {
    position: fixed; left: 50%; top: calc(var(--bar-h) + 12px); z-index: 120;
    transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 24px));
    pointer-events: none;
}
.cc-toast {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
    background: rgba(51, 41, 45, .94); color: #fff; font-size: 14.5px;
    box-shadow: var(--shadow-lg); pointer-events: auto;
    animation: cc-toast-in .45s var(--spring) both;
}
.cc-toast.is-out { animation: cc-toast-out .3s ease forwards; }
.cc-toast__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fuchsia); flex-shrink: 0; }
.cc-toast--error .cc-toast__ico { background: #c2415b; }
.cc-toast__img { width: 38px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cc-toast a { margin-left: auto; font-weight: 600; color: var(--blush); white-space: nowrap; font-size: 13.5px; }

.cc-confirm .cc-modal__panel { padding: 28px 22px calc(22px + var(--safe-b)); }
.cc-confirm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }

/* ---------- Hero ---------- */
.cc-hero { position: relative; padding: 12px 12px 0; }
.cc-hero__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    border-radius: var(--r-lg);
}
.cc-hero__track::-webkit-scrollbar { display: none; }
.cc-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; max-height: 78svh; overflow: hidden; background: var(--sand); }
.cc-hero__slide picture, .cc-hero__slide > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-hero__slide picture img { object-fit: cover; object-position: center top; animation: cc-kenburns 14s ease-out both; }
.cc-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51, 41, 45, 0) 38%, rgba(51, 41, 45, .72) 100%); }
.cc-hero__content { position: absolute; inset: auto 0 0; padding-bottom: 26px; }
.cc-hero__copy { max-width: 560px; animation: cc-rise .8s .15s var(--ease) both; }
.cc-hero__title { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.015em; color: #fff; margin: 10px 0 10px; }
.cc-hero__title em { color: var(--blush); }
.cc-hero__text { color: rgba(255, 255, 255, .9); font-size: 16px; margin-bottom: 20px; max-width: 34ch; }
.cc-hero__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.cc-hero__dots button { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background-color .3s; }
.cc-hero__dots button.is-active { width: 22px; background: #fff; }

@media (min-width: 768px) {
    .cc-hero { padding: 16px 16px 0; }
    .cc-hero__slide { aspect-ratio: 1920 / 733; max-height: 640px; min-height: 380px; }
    .cc-hero__slide picture img { object-position: center; }
    .cc-hero__veil { background: linear-gradient(90deg, rgba(253, 248, 246, .35) 0%, rgba(253, 248, 246, 0) 45%); }
    .cc-hero__content { inset: 0; display: flex; align-items: center; padding: 0 5%; max-width: none; }
    .cc-hero__copy { max-width: 40%; }
    .cc-hero .cc-eyebrow--light { color: var(--taupe); }
    .cc-hero__title { color: var(--ink); font-size: clamp(44px, 5.2vw, 76px); }
    .cc-hero__title em { color: var(--fuchsia); }
    .cc-hero__text { color: var(--ink-2); font-size: 18px; }
    .cc-hero .cc-btn--light { --btn-bg: var(--taupe); --btn-fg: #fff; }
    .cc-hero .cc-btn--light:hover { --btn-bg: var(--fuchsia); }
}

/* ---------- Secciones ---------- */
.cc-section { padding: 40px 0; }
.cc-section--tight { padding: 32px 0 8px; }
@media (min-width: 768px) { .cc-section { padding: 72px 0; } .cc-section--tight { padding: 56px 0 16px; } }

.cc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
@media (min-width: 768px) { .cc-head { margin-bottom: 32px; } }

/* Categorías tipo "stories" */
.cc-stories {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin: 0 -16px; padding: 4px 16px 10px;
}
.cc-stories::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cc-stories { justify-content: center; gap: 40px; margin: 0; padding: 4px 0 10px; overflow: visible; flex-wrap: wrap; } }
.cc-story { display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-snap-align: start; flex-shrink: 0; }
.cc-story__ring {
    padding: 3px; border-radius: 50%;
    background: conic-gradient(from 210deg, var(--lilac), var(--fuchsia), var(--peach), var(--blush), var(--lilac));
    transition: transform .3s var(--spring);
}
.cc-story__img { display: block; width: 78px; height: 78px; border-radius: 50%; overflow: hidden; background: var(--blush); box-shadow: 0 0 0 3px var(--bg); }
.cc-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cc-story__name { font-size: 13.5px; font-weight: 500; max-width: 92px; text-align: center; line-height: 1.25; }
.cc-story:hover .cc-story__ring { transform: translateY(-3px); }
.cc-story:hover .cc-story__img img { transform: scale(1.08); }
.cc-story:active .cc-story__ring { transform: scale(.94); }
@media (min-width: 768px) { .cc-story__img { width: 116px; height: 116px; } .cc-story__name { font-size: 15px; max-width: 130px; } }

/* ---------- Tarjeta de producto ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .cc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; } }

.cc-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.cc-card:active { transform: scale(.98); }
@media (hover: hover) {
    .cc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
    .cc-card:hover .cc-card__media img { transform: scale(1.06); }
    .cc-card:hover .cc-card__go { background: var(--fuchsia); color: #fff; }
}
.cc-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--blush), var(--sand)); }
.cc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 14px; flex: 1; }
.cc-card__title {
    font-size: 14px; line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.cc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cc-card__price { font-weight: 600; font-size: 15.5px; color: var(--taupe); letter-spacing: .01em; }
.cc-card__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--fuchsia-soft); color: var(--fuchsia); transition: background-color .25s, color .25s; }
@media (min-width: 768px) { .cc-card__body { padding: 16px 16px 18px; } .cc-card__title { font-size: 15.5px; } .cc-card__price { font-size: 17px; } }

.cc-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 5px 10px; border-radius: 999px;
    font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cc-badge--hot { color: var(--fuchsia); }

/* Carrusel horizontal */
.cc-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 4px 16px 16px; scroll-padding: 0 16px;
}
.cc-rail::-webkit-scrollbar { display: none; }
.cc-rail > * { scroll-snap-align: start; }
@media (min-width: 768px) {
    .cc-rail { grid-auto-columns: 28%; gap: 22px; padding: 4px max(28px, calc((100vw - 1240px) / 2 + 28px)) 20px; scroll-padding: 0 max(28px, calc((100vw - 1240px) / 2 + 28px)); }
}
@media (min-width: 1100px) {
    .cc-rail { grid-auto-columns: calc((min(100vw, 1240px) - 56px - 4 * 26px) / 5); gap: 26px; }
    .cc-rail--grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; margin: 0 auto; padding: 4px 28px 20px; overflow: visible; }
}

.cc-promo { background: var(--promo-grad); }

.cc-promise { padding-top: 8px; }
.cc-promise__grid { display: grid; gap: 12px; }
.cc-promise__item {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm);
}
.cc-promise__item .cc-ico { color: var(--fuchsia); }
.cc-promise__item strong { display: block; font-weight: 500; font-size: 15.5px; }
.cc-promise__item span { color: var(--muted); font-size: 14px; }
@media (min-width: 768px) { .cc-promise { padding-top: 0; } .cc-promise__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Estados vacíos ---------- */
.cc-empty { text-align: center; padding: 48px 16px 56px; max-width: 460px; margin: 0 auto; }
.cc-empty__icon {
    width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
    display: grid; place-items: center; font-size: 30px;
    background: linear-gradient(135deg, var(--blush), var(--lilac-soft)); color: var(--fuchsia);
}
.cc-empty__title { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.cc-empty__text { color: var(--ink-2); margin-top: 8px; }
.cc-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- Tienda ---------- */
.cc-shop, .cc-cartpage, .cc-checkout, .cc-contact { padding-bottom: 48px; }
.cc-shop__head { padding: 26px 0 16px; }
@media (min-width: 768px) { .cc-shop__head { padding: 48px 0 24px; } }
.cc-shop__count { color: var(--muted); font-size: 14px; margin-top: 6px; }

.cc-filters {
    position: sticky; top: var(--bar-h); z-index: 40;
    background: rgba(253, 248, 246, .88);
    backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
    margin-bottom: 18px;
}
.cc-filters.is-stuck { border-color: var(--line); }
.cc-filters__inner { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }

.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; margin-left: -16px; padding-left: 16px; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
.cc-chips--scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cc-chips--scroll { margin-left: 0; padding-left: 0; } }
.cc-chip {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
    font-size: 14px; font-weight: 500; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
    transition: background-color .2s, color .2s, box-shadow .2s, transform .15s;
}
.cc-chip:hover { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.cc-chip:active { transform: scale(.95); }
.cc-chip.is-active { background: var(--taupe); color: #fff; box-shadow: none; }

.cc-sort { position: relative; flex-shrink: 0; }
.cc-sort select, .cc-select select {
    appearance: none; -webkit-appearance: none;
    height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 0;
    background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
    font-size: 14px; font-weight: 500; cursor: pointer; outline: none;
}
.cc-sort .cc-ico, .cc-select .cc-ico { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
@media (max-width: 420px) { .cc-sort select { width: 44px; padding: 0; color: transparent; } .cc-sort .cc-ico { right: 15px; } .cc-sort select option { color: var(--ink); } }

.cc-clear { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; color: var(--fuchsia); }

/* ---------- Detalle de producto ---------- */
.cc-pdp { padding-bottom: 12px; }
.cc-pdp__grid { display: grid; gap: 22px; }
@media (min-width: 992px) {
    .cc-pdp { padding-top: 40px; }
    .cc-pdp__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .cc-pdp__media { position: sticky; top: calc(var(--bar-h) + 24px); }
}
.cc-pdp__media { margin: 0 -16px; }
@media (min-width: 768px) { .cc-pdp__media { margin: 20px 0 0; } }
@media (min-width: 992px) { .cc-pdp__media { margin: 0; } }
.cc-pdp__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--blush), var(--sand)); border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (min-width: 768px) { .cc-pdp__img { border-radius: var(--r-lg); } }
.cc-pdp__img img { width: 100%; height: 100%; object-fit: cover; } /* sin animación: es la imagen LCP */
.cc-pdp__share { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.cc-pdp__share:hover { background: #fff; }
.cc-pdp__chip {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm);
    animation: cc-rise .6s .2s var(--ease) both;
}
.cc-pdp__chip--ok { color: var(--ok); }
.cc-pdp__chip--low { color: var(--fuchsia); }
.cc-pdp__chip--out { color: var(--muted); }

.cc-pdp__info { display: flex; flex-direction: column; }
.cc-pdp__cat { margin-top: 22px; }
.cc-pdp__title { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.05; letter-spacing: -.01em; margin: 6px 0 10px; }
@media (min-width: 768px) { .cc-pdp__title { font-size: 48px; } }
.cc-pdp__price { font-size: 24px; font-weight: 500; color: var(--taupe); letter-spacing: .01em; }

.cc-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--lilac-soft); color: var(--ink-2); font-size: 14.5px; }

/* Panel de stock por país */
.cc-stock {
    position: relative; padding: 18px; border-radius: var(--r);
    background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
    animation: cc-rise .55s var(--ease) both;
}
.cc-stock::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lilac); }
.cc-stock--ok::before { background: var(--ok); }
.cc-stock--low::before { background: var(--fuchsia); }
.cc-stock--out { background: #faf5f7; }
.cc-stock--out::before { background: var(--muted); }
.cc-stock__main { display: flex; align-items: center; gap: 14px; }
.cc-stock__txt { flex: 1; min-width: 0; }
.cc-stock__label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc-stock__value { display: block; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; margin-top: 2px; }
.cc-stock--ok .cc-stock__value { color: var(--ok); }
.cc-stock--low .cc-stock__value { color: var(--fuchsia); }
.cc-stock--out .cc-stock__value { color: var(--ink-2); }
.cc-stock__change { font-size: 13px; font-weight: 500; color: var(--fuchsia); padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0; }
.cc-stock__meter { height: 6px; border-radius: 999px; background: var(--line); margin: 14px 0 2px; overflow: hidden; }
.cc-stock__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lilac), var(--fuchsia)); transform-origin: left; animation: cc-grow .9s .25s var(--ease) both; }
.cc-stock--ok .cc-stock__meter span { background: linear-gradient(90deg, #a6d4bb, var(--ok)); }
.cc-stock__list { display: grid; gap: 2px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.cc-stock__list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.cc-stock__list li span { flex: 1; }
.cc-stock__list em { font-style: normal; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.cc-stock__list li.is-on em { background: var(--ok-soft); color: var(--ok); }
.cc-stock__list li.is-off { color: var(--muted); }
.cc-stock__list li.is-off em { background: var(--bg); }
.cc-stock__list--all { margin-top: 8px; padding-top: 0; border-top: 0; margin-bottom: 6px; }
.cc-stock .cc-link { padding-bottom: 0; }

/* Compra */
.cc-buy { display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; }
.cc-buy__btn { flex: 1; --btn-bg: var(--fuchsia); }
.cc-buy__btn:hover { --btn-bg: var(--fuchsia-2); }
.cc-buy__btn.is-added { --btn-bg: var(--ok); }
.cc-buy__price { display: flex; flex-direction: column; line-height: 1.1; min-width: 64px; }
.cc-buy__price span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.cc-buy__price strong { font-size: 18px; font-weight: 600; color: var(--taupe); }
@media (max-width: 991px) {
    .cc-page-detail .cc-buy {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; margin: 0;
        padding: 10px 16px calc(10px + var(--safe-b));
        background: rgba(255, 255, 255, .94);
        backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -12px 30px -20px rgba(74, 65, 58, .5);
        animation: cc-slide-up .5s .1s var(--ease) both;
        view-transition-name: cc-buy;
    }
    .cc-page-detail { padding-bottom: calc(80px + var(--safe-b)); }
    .cc-page-detail .cc-buy .cc-stepper { height: 46px; }
    .cc-page-detail .cc-buy .cc-stepper button { width: 38px; }
    .cc-page-detail .cc-buy__btn { min-height: 48px; padding: 0 16px; }
}
@media (max-width: 380px) { .cc-buy__price { display: none !important; } .cc-buy__btn span { font-size: 14px; } }

.cc-stepper {
    display: inline-flex; align-items: center; height: 52px; border-radius: 999px;
    background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
    flex-shrink: 0;
}
.cc-stepper button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: 999px; color: var(--ink); transition: color .15s, transform .15s; }
.cc-stepper button:hover { color: var(--fuchsia); }
.cc-stepper button:active { transform: scale(.85); }
.cc-stepper button:disabled { color: var(--line); pointer-events: none; }
.cc-stepper span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-stepper--sm { height: 38px; }
.cc-stepper--sm button { width: 36px; }

/* Acordeones */
.cc-acc { border-top: 1px solid var(--line); }
.cc-acc:first-of-type { margin-top: 18px; }
.cc-acc:last-of-type { border-bottom: 1px solid var(--line); }
.cc-acc summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; font-size: 16px; font-weight: 500; cursor: pointer;
}
.cc-acc summary::-webkit-details-marker { display: none; }
.cc-acc summary .cc-ico { transition: transform .3s var(--ease); color: var(--muted); }
.cc-acc[open] summary .cc-ico { transform: rotate(180deg); }
.cc-acc__body { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; animation: cc-fade .35s ease; }
.cc-rich p { margin-bottom: 8px; }
.cc-rich ul, .cc-rich ol { padding-left: 20px; list-style: disc; }

/* ---------- Bolsa ---------- */
.cc-cart-layout { display: grid; gap: 20px; }
@media (min-width: 992px) { .cc-cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; } .cc-cart-layout .cc-summary { position: sticky; top: calc(var(--bar-h) + 24px); } }
.cc-cart-list { display: grid; gap: 12px; }
.cc-line {
    display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: start;
    padding: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm);
    transition: opacity .3s, transform .35s var(--ease);
}
.cc-line.is-removing { opacity: 0; transform: translateX(40px); }
.cc-line__img { width: 92px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--blush); }
.cc-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cc-line__info { display: flex; flex-direction: column; gap: 2px; min-height: 100%; }
.cc-line__name { font-size: 15.5px; line-height: 1.3; font-weight: 500; }
.cc-line__unit { font-size: 13px; color: var(--muted); }
.cc-line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.cc-line__total { font-size: 16px; font-weight: 600; color: var(--taupe); }
.cc-line__rm { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .2s, color .2s; }
.cc-line__rm:hover { background: var(--fuchsia-soft); color: var(--fuchsia); }

.cc-summary { padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.cc-summary__title { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 4px; }
.cc-summary .cc-btn { margin-top: 4px; }
.cc-hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.cc-total { font-size: 17px; }
.cc-total strong { font-size: 22px; color: var(--ink); }

/* ---------- Checkout ---------- */
.cc-checkout__grid { display: grid; gap: 18px; }
@media (min-width: 992px) { .cc-checkout__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; } .cc-checkout__side { position: sticky; top: calc(var(--bar-h) + 24px); } }
.cc-checkout__main { display: grid; gap: 16px; }

.cc-card-box { border: 0; margin: 0; padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); min-width: 0; }
@media (min-width: 768px) { .cc-card-box { padding: 26px; } }
.cc-step { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 18px; padding: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.cc-step + * { clear: both; }
.cc-step span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fuchsia-soft); color: var(--fuchsia); font-family: var(--sans); font-size: 14px; font-weight: 600; }

.cc-fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .cc-fields { grid-template-columns: 1fr 1fr; } .cc-field--full { grid-column: 1 / -1; } }
.cc-field { display: grid; gap: 6px; }
.cc-field > span:first-child { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; }
.cc-field input, .cc-field textarea, .cc-select select {
    width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px;
    background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
    font-size: 16px; outline: none; transition: box-shadow .2s, background-color .2s;
}
.cc-field textarea { resize: vertical; min-height: 120px; }
.cc-field input:focus, .cc-field textarea:focus, .cc-select select:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--fuchsia), 0 0 0 4px var(--fuchsia-soft); }
.cc-field input::placeholder, .cc-field textarea::placeholder { color: #bdb2b7; }
.cc-select { position: relative; display: block; }
.cc-select select { height: 50px; padding-right: 40px; }

.cc-pay { display: grid; gap: 10px; }
.cc-pay__opt {
    display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; cursor: pointer;
    background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
    transition: box-shadow .2s, background-color .2s;
}
.cc-pay__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cc-pay__dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; box-shadow: inset 0 0 0 1.5px #d7c9cf; background: #fff; transition: box-shadow .2s var(--spring); }
.cc-pay__txt { display: grid; gap: 4px; min-width: 0; }
.cc-pay__txt strong { font-weight: 500; font-size: 15.5px; }
.cc-pay__txt small { font-size: 13.5px; color: var(--muted); line-height: 1.5; word-break: break-word; display: none; }
.cc-pay__opt:has(input:checked) { background: var(--fuchsia-soft); box-shadow: inset 0 0 0 2px var(--fuchsia); }
.cc-pay__opt:has(input:checked) .cc-pay__dot { box-shadow: inset 0 0 0 7px var(--fuchsia); }
.cc-pay__opt:has(input:checked) small { display: block; animation: cc-fade .3s ease; }
.cc-pay__opt:has(input:focus-visible) { outline: 2px solid var(--fuchsia); outline-offset: 2px; }

.cc-drop {
    position: relative; display: grid; justify-items: center; gap: 4px; margin-top: 16px; padding: 22px 16px; text-align: center;
    border-radius: 16px; border: 1.5px dashed #dccbd3; background: var(--bg); color: var(--muted); cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.cc-drop:hover, .cc-drop.is-filled { border-color: var(--fuchsia); background: var(--fuchsia-soft); }
.cc-drop .cc-ico { color: var(--fuchsia); margin-bottom: 4px; }
.cc-drop strong { color: var(--ink); font-weight: 500; font-size: 15px; word-break: break-all; }
.cc-drop small { font-size: 12.5px; }
.cc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.cc-olist { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.cc-olist li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.cc-olist__img { position: relative; width: 52px; height: 62px; border-radius: 10px; background: var(--blush); }
.cc-olist__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cc-olist__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--taupe); color: #fff; font-size: 11px; box-shadow: 0 0 0 2px #fff; }
.cc-olist__name { font-size: 14px; line-height: 1.3; }
.cc-olist__price { font-weight: 600; font-size: 14.5px; }

/* ---------- Contacto ---------- */
.cc-contact__grid { display: grid; gap: 28px; padding-top: 26px; }
@media (min-width: 992px) { .cc-contact__grid { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 56px; align-items: start; } }
.cc-channels { display: grid; gap: 10px; margin-top: 26px; }
.cc-channel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
a.cc-channel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cc-channel__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fuchsia-soft); color: var(--fuchsia); flex-shrink: 0; }
.cc-channel strong { display: block; font-weight: 500; }
.cc-channel small { color: var(--muted); font-size: 14px; }
.cc-contact__form { display: grid; gap: 18px; }

/* ---------- Footer ---------- */
.cc-footer {
    margin-top: 24px; padding: 48px 0 24px; color: rgba(255, 255, 255, .82);
    background: linear-gradient(160deg, var(--taupe-2) 0%, var(--taupe) 60%, #7d6f86 100%);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.cc-footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.cc-footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; max-width: 340px; }
.cc-footer__logo { height: 54px; width: auto; }
.cc-footer__brand p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.cc-footer__h { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac); margin-bottom: 12px; }
.cc-footer__grid a { display: block; padding: 5px 0; font-size: 15px; transition: color .2s, transform .2s; }
.cc-footer__grid a:hover { color: #fff; transform: translateX(3px); }
.cc-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) {
    .cc-footer { padding-top: 64px; }
    .cc-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .cc-footer__brand { grid-column: auto; }
}

/* ---------- Animaciones ---------- */
/* Solo se ocultan (is-pending) las piezas que estaban fuera de pantalla al cargar: lo visible se pinta de inmediato (mejor LCP) */
.cc-js [data-reveal].is-pending { opacity: 0; transform: translateY(18px); }
.cc-js [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.cc-js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes cc-fade { from { opacity: 0; } }
@keyframes cc-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes cc-slide-up { from { transform: translateY(100%); } }
@keyframes cc-grow { from { transform: scaleX(0); } }
@keyframes cc-kenburns { from { transform: scale(1.08); } }
@keyframes cc-shimmer { to { background-position: -200% 0; } }
@keyframes cc-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes cc-toast-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes cc-toast-out { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes cc-page-in { from { opacity: 0; transform: translateY(8px); } }

/* Transiciones entre páginas (estilo app nativa) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both cc-vt-out; }
::view-transition-new(root) { animation: .32s var(--ease) both cc-vt-in; }
@keyframes cc-vt-out { to { opacity: 0; } }
@keyframes cc-vt-in { from { opacity: 0; transform: translateY(10px); } }
@supports not (view-transition-name: none) {
    .cc-main { animation: cc-page-in .4s var(--ease) both; }
}

html.is-leaving .cc-main { opacity: .4; transition: opacity .2s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .cc-js [data-reveal].is-pending { opacity: 1; transform: none; }
}

/* ---------- Ajustes finos ---------- */
@media (max-width: 767px) { .cc-pdp__img { aspect-ratio: 1 / 1; } }
@media (max-width: 991px) {
    .cc-page-detail .cc-buy__more { display: none; }
    .cc-page-detail .cc-buy__btn { min-width: 0; }
}
@media (min-width: 768px) { .cc-promise { padding-top: 48px; } }
