/* Neutral surfaces, champagne accents and a quieter product-first layout. */
:root {
 color-scheme:light;
 --ip-bg:#faf9f6; --ip-surface:#f0eee9; --ip-surface-2:#e7e3db;
 --ip-text:#242321; --ip-text-muted:#69655e; --ip-border:#ddd9d0;
 --ip-accent:#796039; --ip-accent-hover:#634b27; --ip-focus:#93723f;
 --ip-wa:#796039; --ip-wa-hover:#634b27; --ip-ok:#3f624c; --ip-warn:#805b29;
 --header-bg:rgba(250,249,246,.92); --card-bg:#fff; --device-screen:#eae5da;
 --action-bg:#8a6d40; --action-text:#fff; --gold:#967644; --photo-bg:#f5f5f7;
 --ok-bg:#e8eee8; --warn-bg:#f0e8d9; --error-bg:#f8e9e5; --ip-danger:#9d3026;
 --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
 --header-h:64px;
}
:root[data-theme="dark"] {
 color-scheme:dark;
 --ip-bg:#111110; --ip-surface:#1c1b19; --ip-surface-2:#302d27;
 --ip-text:#f5f3ee; --ip-text-muted:#b1aaa0; --ip-border:#3a362f;
 --ip-accent:#d2b882; --ip-accent-hover:#e4cfa7; --ip-focus:#d2b882;
 --ip-wa:#d2b882; --ip-wa-hover:#e4cfa7; --ip-ok:#b3cfb6; --ip-warn:#d7bb89;
 --header-bg:rgba(17,17,16,.92); --card-bg:#1c1b19; --device-screen:#3b362d;
 --action-bg:#d2b882; --action-text:#191611; --gold:#d2b882;
 --ok-bg:#27352b; --warn-bg:#3c3223; --error-bg:#3c2420; --ip-danger:#f1b2a6;
}
body { padding-bottom:0; background:var(--ip-bg); color:var(--ip-text); }
.container { max-width:1200px; }
button,input,select { font-family:var(--font); }
section { padding:96px 0; }
h1,h2,h3 { letter-spacing:-.03em; }
h2 { font-size:clamp(30px,3.3vw,44px); line-height:1.1; font-weight:600; }
.site-header { background:var(--header-bg); border-bottom:1px solid var(--ip-border); }
.site-header__inner { gap:24px; }
.logo { font-size:22px; font-weight:600; letter-spacing:-.055em; white-space:nowrap; }
.nav { gap:30px; }
.nav a { padding:14px 0; font-size:13px; color:var(--ip-text-muted); border:0; }
.nav a:hover,.nav a[aria-current="page"] { color:var(--ip-text); border:0; }
.header-actions { gap:12px; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 10px; border:0; background:none; color:var(--ip-text-muted); font-size:12px; cursor:pointer; border-radius:8px; }
.theme-toggle svg { width:17px; height:17px; }
.theme-toggle:hover { background:var(--ip-surface); color:var(--ip-text); }
.menu-toggle { border:0; border-radius:8px; }
.mobile-menu { background:var(--ip-bg); border-color:var(--ip-border); box-shadow:0 12px 24px #0000000c; }
.mobile-menu a:not(.btn) { border-color:var(--ip-border); font-size:20px; font-weight:500; padding:16px 8px; }
.tabbar { display:none; }
.btn { min-height:44px; border-radius:980px; padding:12px 24px; font-size:15px; font-weight:500; line-height:20px; }
.btn--lg { font-size:17px; min-height:48px; padding:14px 24px; }
.btn--primary,.btn--wa { background:var(--action-bg); color:var(--action-text); }
.btn--primary:hover,.btn--wa:hover { background:var(--ip-accent-hover); }
.btn--secondary { background:transparent; border-color:var(--ip-border); color:var(--ip-text); }
.btn--secondary:hover { background:var(--ip-surface-2); }
.btn--ghost { background:transparent; color:var(--ip-accent); }
.btn .icon { display:none; }
.text-link { display:inline-flex; align-items:center; min-height:44px; font-size:16px; color:var(--ip-accent); text-decoration:none; }
.text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.showcase { text-align:center; padding:64px 0 48px; overflow:hidden; }
.showcase__eyebrow { font-size:13px; color:var(--ip-text-muted); margin:0 0 12px; letter-spacing:0; }
.showcase h1 { font-size:clamp(72px,8vw,108px); line-height:1; font-weight:600; margin:0 0 12px; letter-spacing:-.055em; }
.showcase__headline { font-size:clamp(26px,3vw,38px); line-height:1.2; font-weight:500; color:var(--gold); letter-spacing:-.035em; margin:0 0 16px; }
.showcase__intro { color:var(--ip-text-muted); font-size:17px; margin:0 0 24px; }
.showcase__image { position:relative; width:min(660px,100%); height:410px; overflow:hidden; margin:24px auto 0; border-radius:24px; background:var(--photo-bg); }
.showcase__caption { font-size:11px; color:var(--ip-text-muted); margin:14px 0 0; }
.collection { background:var(--ip-surface); padding:96px 0; }
.section-head { align-items:center; margin-bottom:48px; }
.product-card { border:0; border-radius:18px; background:var(--card-bg); box-shadow:none; }
.product-card:hover { box-shadow:none; }
.product-card__media { position:relative; background:var(--card-bg); aspect-ratio:1; }
.product-photo-caption { position:absolute; bottom:12px; left:0; width:100%; text-align:center; font-size:10px; color:var(--ip-text-muted); background:var(--card-bg); padding:3px; }
.product-illustration { color:var(--gold); padding:22px 10px 10px; }
.product-illustration span { font-size:10px; max-width:170px; line-height:1.4; }
.product-card__body { padding:16px 24px 24px; gap:8px; align-items:center; text-align:center; }
.product-card__badges { min-height:20px; justify-content:center; }
.badge { border-radius:0; background:none; padding:0; font-size:12px; line-height:1.5; }
.badge--ok { color:var(--ip-ok); }
.badge--warn { color:var(--ip-warn); }
.badge--muted { color:var(--ip-text-muted); }
.product-card__badges .badge + .badge { margin-left:8px; }
.product-card__name { font-size:24px; line-height:1.2; letter-spacing:-.035em; }
.product-card__meta { font-size:14px; line-height:1.5; min-height:44px; }
.product-card__price { font-size:24px; line-height:1.3; padding:8px 0; margin-top:auto; }
.product-card__price small { font-size:12px; margin-top:4px; }
.product-card__contact { width:auto; min-width:112px; font-size:14px; padding:12px 24px; }
.product-card__details { font-size:14px; min-height:44px; padding:8px 4px; color:var(--ip-accent); }
.categories-section { padding-bottom:96px; }
.grid-cats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 32px; }
.cat-tile { border:0; border-bottom:1px solid var(--ip-border); background:none; border-radius:0; padding:24px 0; min-height:96px; gap:8px; justify-content:center; }
.cat-tile:after { content:none; }
.cat-tile:hover { background:none; border-color:var(--ip-accent); }
.cat-tile strong { font-size:19px; font-weight:500; letter-spacing:-.025em; }
.cat-tile span { font-size:14px; line-height:1.5; }
.services-section { padding-top:0; }
.services-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.service-panel { background:var(--ip-surface); padding:48px; border-radius:20px; }
.service-panel__label { color:var(--ip-text-muted); font-size:14px; margin-bottom:24px; }
.service-panel h2 { font-size:clamp(28px,3vw,38px); line-height:1.1; margin-bottom:24px; }
.service-panel .muted { font-size:15px; max-width:330px; }
.contact-section { text-align:center; padding:24px 0 96px; }
.contact-section h2 { font-size:clamp(32px,4vw,48px); margin-bottom:24px; }
.site-footer { background:var(--ip-surface); border-top:1px solid var(--ip-border); padding:48px 0 24px; }
.footer-grid { grid-template-columns:1.2fr 1fr 1.2fr; }
.footer-grid .logo { display:inline-block; margin-bottom:12px; }
.footer-grid .muted { font-size:13px; line-height:1.5; }
.footer-grid ul { gap:0; }
.footer-grid li a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; }
.footer-contact > a { display:inline-flex; align-items:center; min-height:44px; color:var(--ip-accent); }
.footer-contact .small { font-size:12px; margin:10px 0; }
.legal { font-size:12px; line-height:1.5; }
.hero { background:var(--ip-surface); }
.hero h1 { max-width:850px; font-size:clamp(36px,5vw,56px); color:var(--ip-text); }
.hero .lead { color:var(--ip-text-muted); }
.catalog__top { margin-top:48px; }
.catalog-tools input,.catalog-tools select,.filters input[type="search"],.filters select,.field select { background:var(--card-bg); border-color:var(--ip-border); color:var(--ip-text); }
.catalog-tools { gap:24px; }
.filters { background:var(--ip-surface); }
.filters__count,.steps li::before { background:var(--action-bg); color:var(--action-text); }
.filters label { font-size:13px; }
.product-detail__media { position:relative; overflow:hidden; background:var(--card-bg); }
.product-detail__media .product-illustration svg { max-height:330px; }
.notice { background:var(--warn-bg); color:var(--ip-warn); }
.canje-error { background:var(--error-bg); color:var(--ip-danger); }
.info-block,.facts,.facts li { border-color:var(--ip-border); }
@media(max-width:899px) {
 .header-actions { margin-left:auto; }
 .grid-products--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .showcase { padding-top:40px; }
 .footer-grid { grid-template-columns:1fr 1fr; }
 .footer-contact { grid-column:1/-1; }
}
@media(max-width:639px) {
 section { padding:64px 0; }
 .site-header__inner { gap:8px; }
 .logo { font-size:21px; }
 .header-actions { gap:4px; }
 .theme-toggle { padding:0 8px; }
 .showcase { padding:48px 0 32px; }
 .showcase h1 { font-size:76px; }
 .showcase__headline { font-size:28px; }
 .showcase__intro { max-width:288px; margin:0 auto 24px; font-size:17px; line-height:1.5; }
 .showcase__image { height:312px; margin-top:32px; border-radius:16px; }
 .collection { padding:48px 0; }
 .section-head { gap:12px; margin-bottom:24px; }
 .section-head h2 { max-width:none; }
 .section-head .text-link { font-size:15px; }
 .grid-products,.grid-products--catalog { grid-template-columns:1fr; gap:16px; }
 .product-card { display:flex; flex-direction:column; align-items:stretch; border-radius:18px; }
 .product-card__media { aspect-ratio:1; min-height:0; height:auto; }
 .product-card__body { padding:16px 24px 24px; gap:8px; }
 .product-card__meta { min-height:44px; font-size:14px; }
 .product-card__name { font-size:24px; }
 .product-card__price { font-size:24px; padding:8px 0; }
 .product-card__contact { font-size:14px; }
 .product-illustration { padding:12px 8px; }
 .product-illustration svg { width:95%; }
 .product-illustration span { font-size:12px; }
 .product-photo-caption { font-size:12px; }
 .grid-cats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; }
 .categories-section { padding-bottom:64px; }
 .services-grid { grid-template-columns:1fr; gap:16px; }
 .service-panel { padding:32px 24px; }
 .service-panel__label { margin-bottom:24px; }
 .services-section { padding-bottom:64px; }
 .contact-section { padding:0 0 64px; }
 .footer-grid { gap:24px; }
 .catalog__top { margin-top:32px; }
 .catalog-tools { margin-top:24px; gap:16px; }
 .product-detail h1 { font-size:34px; }
 .product-detail .product-illustration span { font-size:11px; }
}
@media(prefers-reduced-motion:no-preference) {
 .theme-toggle,.cat-tile,.text-link { transition:color .2s ease,background-color .2s ease; }
}
/* Keep the product silhouette against either theme, without a light image panel. */
.showcase__image { background:transparent; border-radius:0; }
.cat-tile { color:var(--ip-text); }

/* Three photographed models, each with its own reference image. */
.collection .grid-products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
@media(max-width:639px) { .collection .grid-products { grid-template-columns:1fr; gap:16px; } }
.product-card__media { flex:none; }

/* Shared action hierarchy and spacing from apple-ui-design. */
:root { --ease-ui:cubic-bezier(.25,.1,.25,1); }
h1,h2,h3 { text-wrap:balance; }
.showcase__eyebrow,.showcase__intro { max-width:680px; margin-left:auto; margin-right:auto; }
.showcase__caption,.product-photo-caption,.product-illustration span { font-size:12px; line-height:1.5; }
.product-card__actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 16px; width:100%; margin-top:8px; }
.product-card__actions .btn { flex:none; }
.product-card__details:hover { text-decoration:underline; text-underline-offset:4px; }
.btn-row { gap:16px; }
.nav a { display:inline-flex; align-items:center; min-height:44px; }
.theme-toggle { min-width:44px; font-size:13px; padding:0 12px; }
.canje-form,.canje-resultado,.canje-error,.canje-legal { max-width:680px; }
.field { margin-bottom:24px; }
.field select,.filters select,.catalog-tools select,.catalog-tools input { min-height:48px; border-radius:12px; }
.service-panel { display:flex; flex-direction:column; align-items:flex-start; }
.service-panel .text-link { margin-top:auto; }
.hero .lead { max-width:680px; font-size:19px; line-height:1.5; }
.hero .btn-row { margin-top:24px; }
.hero .btn-row .btn { width:auto; }
@media(min-width:640px) and (max-width:899px) {
 .collection .grid-products { gap:16px; }
 .product-card__body { padding:16px 16px 24px; }
}
@media(max-width:639px) {
 .section-head { align-items:flex-start; gap:8px; }
 .section-head h2 { flex:1 1 220px; font-size:32px; line-height:1.125; }
 .collection .grid-products { gap:24px; }
 .product-card__media { max-height:320px; }
 .product-card__actions { gap:8px 24px; }
 .hero .lead { font-size:17px; }
 .service-panel h2 { font-size:32px; }
}
@media(prefers-reduced-motion:no-preference) {
 .btn { transition:background-color .2s var(--ease-ui),color .2s var(--ease-ui),transform .2s var(--ease-ui); }
 .btn:hover { transform:scale(1.02); }
 .btn:active { transform:scale(.98); }
}

@media(max-width:639px) {
 .grid-products--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .grid-products--catalog .product-card__body { padding:16px 12px; }
 .grid-products--catalog .product-card__name { font-size:20px; }
 .grid-products--catalog .product-card__price { font-size:21px; }
 .grid-products--catalog .product-card__actions { flex-direction:column; gap:8px; }
 .grid-products--catalog .product-card__contact { min-width:0; padding:12px 20px; }
}

/* WhatsApp retains its own brand color in both themes. */
.btn.btn--wa { background:#25d366; color:#073b1c; border-color:transparent; gap:8px; }
.btn.btn--wa:hover { background:#20c45d; color:#073b1c; }
.btn.btn--wa .icon { display:block; width:20px; height:20px; flex:none; }
@media(max-width:639px) {
 .grid-products--catalog .product-card__contact { padding:12px 16px; }
}

/* A shared image frame keeps product proportions intact at every breakpoint. */
.product-card__media,.product-detail__media {
 position:relative; aspect-ratio:1; min-height:0; max-height:none; overflow:hidden;
 display:block;
}
.product-image-frame {
 position:absolute; inset:24px 24px 48px;
 display:flex; align-items:center; justify-content:center;
}
.product-image-frame > img,.product-image-frame > .product-reference-photo {
 display:block; position:static; width:100%; height:100%; max-width:100%;
 object-fit:contain; object-position:center; transform:none; clip-path:none;
}
.product-reference-photo { overflow:hidden; border-radius:9%; }
.product-photo-caption {
 position:absolute; bottom:16px; left:16px; right:16px; width:auto;
 min-height:18px; padding:0; text-align:center; background:transparent;
}
.product-detail__media .product-image-frame { inset:48px 48px 56px; }
.product-illustration { position:absolute; inset:0; padding:24px 24px 48px; }
.product-illustration > svg { width:100%; height:100%; max-width:76%; max-height:100%; }
.product-illustration > span { position:absolute; bottom:12px; left:12px; right:12px; max-width:none; text-align:center; }
.showcase__image { height:424px; padding:8px 0; }
.showcase__product { display:block; height:100%; width:100%; overflow:hidden; border-radius:9%; }
@media(max-width:639px) {
 .showcase__image { height:328px; }
 .product-image-frame { inset:24px 24px 48px; }
 .grid-products--catalog .product-image-frame { inset:16px 16px 36px; }
 .grid-products--catalog .product-photo-caption { font-size:10px; bottom:8px; left:8px; right:8px; line-height:1.4; }
 .grid-products--catalog .product-illustration { padding:16px 16px 36px; }
 .grid-products--catalog .product-illustration > span { font-size:10px; line-height:1.4; bottom:4px; left:4px; right:4px; }
 .product-detail__media .product-image-frame { inset:32px 32px 48px; }
}

/* Product-led home: one featured iPhone, a clear price and a direct conversation. */
.featured-home { padding:64px 0; background:var(--ip-bg); border-bottom:1px solid var(--ip-border); }
.featured-home__layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; min-height:488px; }
.featured-home__copy { max-width:520px; min-width:0; }
.featured-home__eyebrow { display:inline-flex; align-items:center; margin:0 0 24px; font-size:12px; line-height:1.5; font-weight:500; color:var(--ip-accent); letter-spacing:.06em; }
.featured-home h1 { font-size:clamp(40px,4.5vw,60px); line-height:1.06; letter-spacing:-.045em; margin:0 0 16px; font-weight:600; }
.featured-home h1 span { display:block; color:var(--gold); font-size:.76em; margin-top:8px; }
.featured-home__condition { color:var(--ip-text-muted); margin-bottom:16px; font-size:16px; }
.featured-home__intro { max-width:440px; color:var(--ip-text-muted); font-size:17px; line-height:1.55; margin-bottom:24px; }
.featured-home__price { display:flex; flex-direction:column; align-items:flex-start; gap:8px; max-width:440px; background:var(--card-bg); border:1px solid var(--ip-border); border-radius:18px; padding:24px; margin-bottom:24px; }
.featured-home__price > span { font-size:13px; line-height:1.5; color:var(--ip-text-muted); }
.featured-home__price strong { font-size:40px; line-height:1; font-weight:600; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.featured-home__price small { font-size:12px; color:var(--ip-text-muted); }
.featured-home__actions { display:flex; flex-wrap:wrap; gap:8px 24px; align-items:center; }
.featured-home__actions .text-link { font-size:15px; }
.featured-home__local { color:var(--ip-text-muted); font-size:13px; line-height:1.5; margin:24px 0 0; }
.featured-home__visual { position:relative; min-width:0; width:100%; height:488px; }
.featured-home__visual .product-image-frame { inset:16px 24px 48px; }
.featured-home__visual .product-photo-caption { bottom:8px; }
.featured-home__loading { min-height:488px; display:flex; flex-direction:column; justify-content:center; }
.featured-home__fallback { min-height:400px; max-width:680px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:16px; }
@media(min-width:640px) and (max-width:899px) {
 .featured-home__layout { gap:24px; }
 .featured-home__visual { height:400px; }
 .featured-home__visual .product-image-frame { inset:16px 0 48px; }
 .featured-home__price strong { font-size:36px; }
}
@media(max-width:639px) {
 .featured-home { padding:24px 0 48px; }
 .featured-home__layout { grid-template-columns:1fr; gap:24px; min-height:0; }
 .featured-home__visual { order:-1; height:240px; }
 .featured-home__visual .product-image-frame { inset:8px 24px 32px; }
 .featured-home__visual .product-photo-caption { bottom:0; font-size:11px; }
 .featured-home__eyebrow { margin-bottom:16px; }
 .featured-home h1 { font-size:40px; }
 .featured-home__condition { font-size:15px; }
 .featured-home__intro { font-size:16px; }
 .featured-home__price { padding:24px; max-width:none; }
 .featured-home__price strong { font-size:36px; }
 .featured-home__actions { gap:8px 16px; }
 .featured-home__actions .btn { padding:14px 20px; font-size:15px; }
 .featured-home__local { margin-top:16px; }
 .featured-home__loading { min-height:600px; }
}

/* Featured carousel: stable layout, quiet controls and optional rotation. */
.featured-carousel__slide[hidden] { display:none; }
.featured-carousel__controls { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:24px; }
.featured-carousel__dot,.featured-carousel__rotation { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; padding:0; border:0; border-radius:50%; background:transparent; color:var(--ip-text-muted); cursor:pointer; }
.featured-carousel__dot span { width:8px; height:8px; border-radius:99px; background:var(--ip-border); }
.featured-carousel__dot[aria-current="true"] span { width:24px; background:var(--gold); }
.featured-carousel__dot:hover,.featured-carousel__rotation:hover { background:var(--ip-surface); color:var(--ip-text); }
.featured-carousel__rotation { margin-left:8px; background:var(--ip-surface); }
.featured-carousel__rotation svg { width:16px; height:16px; }
.featured-carousel__rotation .carousel-play,.featured-carousel__rotation.is-paused .carousel-pause { display:none; }
.featured-carousel__rotation.is-paused .carousel-play { display:block; }
.featured-home__visual { touch-action:pan-y; }
@media(prefers-reduced-motion:no-preference) {
 .featured-carousel__slide:not([hidden]) .featured-home__visual { animation:featured-photo-in .3s ease both; }
 .featured-carousel__dot span { transition:width .2s ease,background-color .2s ease; }
 @keyframes featured-photo-in { from { opacity:.3; transform:translateX(8px); } to { opacity:1; transform:translateX(0); } }
}
@media(max-width:639px) { .featured-carousel__controls { margin-top:16px; } }

.featured-carousel__controls { flex-wrap:wrap; max-width:100%; }

/* Precios de equipos en ambas monedas. */
.product-card__price .price-usd,.product-detail__price .price-usd{display:block;margin-top:8px;color:var(--text-secondary,var(--muted));font-size:16px;font-weight:500;line-height:1.4}
.product-detail__price .price-usd{font-size:22px}

.site-rate { display:flex; align-items:center; justify-content:center; min-height:32px; padding:4px 12px; background:#111110; color:#f5f3ee; border-bottom:1px solid #302d27; text-align:center; font-size:13px; line-height:1.35; font-variant-numeric:tabular-nums; }
.site-rate a { color:inherit; text-decoration:none; }
.site-rate a:hover,.site-rate a:focus-visible { text-decoration:underline; }
