@import url('./motor-tienda.css?v=3');

[data-cuenta-carrito][hidden],.cc-carrito__badge[hidden],.cc-center[hidden]{display:none!important}
[data-cuenta-carrito]{display:inline-flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;flex:none}

/* Cabecera compartida de la tienda: marca, búsqueda y acciones. */
.cc-store-header{
  width:min(1200px,100%);margin:0 auto;padding:30px 24px 14px;
  display:grid;grid-template-columns:minmax(245px,auto) minmax(250px,1fr) auto;
  align-items:center;gap:28px;
}
.cc-store-brand{display:inline-flex;align-items:center;gap:14px;min-width:0;text-decoration:none;color:var(--tinta)}
.cc-store-brand img{display:block;width:50px;height:50px;flex:none}
.cc-store-brand__text{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.cc-store-brand__text strong{font-size:23px;font-weight:600;letter-spacing:.16em;line-height:1;color:var(--negro)}
.cc-store-brand__text small{font-size:9px;font-weight:500;letter-spacing:.25em;line-height:1;text-transform:uppercase;color:var(--gris-cl);white-space:nowrap}
.cc-store-actions{display:flex;align-items:center;justify-content:flex-end;min-width:190px}

.cc-search{position:relative;display:flex;width:100%;max-width:590px;justify-self:center}
.cc-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cc-search input{
  width:100%;min-width:0;height:46px;padding:10px 54px 10px 17px;border:1px solid rgba(17,17,17,.16);
  border-radius:12px;background:#fff;color:var(--tinta);font:inherit;font-size:13px;
  box-shadow:0 1px 3px rgba(17,17,17,.04);appearance:none;
  transition:border-color .15s,box-shadow .15s;
}
.cc-search input::placeholder{color:#918A83}
.cc-search input:focus{outline:none;border-color:var(--rojo);box-shadow:0 0 0 3px rgba(166,51,46,.11)}
.cc-search button{
  position:absolute;top:0;right:0;width:46px;height:46px;padding:0;border:1px solid var(--rojo);
  border-radius:0 12px 12px 0;background:var(--rojo);color:#fff;display:flex;align-items:center;
  justify-content:center;cursor:pointer;transition:background .15s,border-color .15s;
}
.cc-search button:hover{background:var(--rojo-osc);border-color:var(--rojo-osc)}
.cc-search button:focus-visible{outline:3px solid rgba(194,138,58,.48);outline-offset:3px}
.cc-search button svg{width:19px;height:19px}
.cc-search__status{position:absolute;top:calc(100% + 5px);left:8px;z-index:2;font-size:10.5px;color:var(--gris);white-space:nowrap}

.cc-auth-action,.cc-action{
  min-height:42px;border-radius:11px;font:inherit;font-size:12.5px;font-weight:600;line-height:1;
  text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;transition:border-color .15s,color .15s,background .15s,transform .08s;
}
.cc-auth-action{padding:10px 14px}
.cc-auth-action--secondary{border:1px solid var(--ml-borde);background:#fff;color:var(--tinta);box-shadow:var(--ml-sombra)}
.cc-auth-action--secondary:hover{border-color:var(--rojo);color:var(--rojo);transform:translateY(-1px)}
.cc-auth-action--primary{border:1px solid var(--rojo);background:var(--rojo);color:#fff}
.cc-auth-action--primary:hover{border-color:var(--rojo-osc);background:var(--rojo-osc);transform:translateY(-1px)}
.cc-action{position:relative;gap:7px;padding:9px 12px;border:1px solid var(--ml-borde);background:#fff;color:var(--tinta);box-shadow:var(--ml-sombra)}
.cc-action:hover{border-color:var(--rojo);color:var(--rojo);transform:translateY(-1px)}
.cc-action:focus-visible,.cc-auth-action:focus-visible{outline:3px solid rgba(194,138,58,.42);outline-offset:3px}
.cc-action svg{width:18px;height:18px;flex:none}
.cc-action--account{padding-inline:11px 12px}
.cc-action--cart{margin-right:4px}
.cc-action--account .cc-menu-icon{width:42px;height:22px}
.cc-action__label--account{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cc-carrito__badge{
  position:absolute;top:-8px;right:-8px;display:flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;border:2px solid var(--fondo-pagina);
  border-radius:999px;background:var(--rojo);color:#fff;font-size:10.5px;font-weight:700;line-height:1;
}

/* Centro de cuenta de escritorio. */
.cc-center{position:fixed;inset:0;z-index:90;padding:30px;display:flex;align-items:center;justify-content:center;background:rgba(17,17,17,.48);backdrop-filter:blur(5px)}
.cc-center__dialog{
  width:min(1160px,100%);height:min(760px,calc(100dvh - 60px));overflow:hidden;
  background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:24px;
  box-shadow:0 28px 80px rgba(17,17,17,.28);display:flex;flex-direction:column;
  animation:cc-center-in .2s ease-out;
}
@keyframes cc-center-in{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
.cc-center__top{min-height:86px;padding:20px 25px 18px 30px;border-bottom:1px solid var(--linea);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}
.cc-center__top span{display:block;margin-bottom:3px;color:var(--acento);font-size:9.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.cc-center__top h1{margin:0;color:var(--negro);font-size:22px;line-height:1.2;letter-spacing:-.25px}
.cc-center__top h1:focus{outline:none}
.cc-center__identity{min-width:0}
.cc-center__back{display:none}
.cc-center__close{width:40px;height:40px;padding:0;border:1px solid var(--linea);border-radius:11px;background:#fff;color:var(--gris);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.cc-center__close:hover{border-color:var(--rojo);background:var(--red-50);color:var(--rojo)}
.cc-center__close:focus-visible{outline:3px solid rgba(194,138,58,.42);outline-offset:3px}
.cc-center__close svg{width:18px;height:18px}
.cc-center__layout{min-height:0;flex:1;display:grid;grid-template-columns:minmax(245px,28%) 1fr}
.cc-center__nav{min-height:0;padding:22px 18px;overflow-y:auto;background:#FAF7F3;border-right:1px solid var(--linea);display:flex;flex-direction:column;gap:4px}
.cc-nav-group{display:none}
.cc-nav-item{
  width:100%;min-height:45px;padding:10px 12px;border:0;border-radius:11px;background:transparent;
  color:var(--tinta);font:inherit;font-size:13px;font-weight:500;text-align:left;text-decoration:none;
  display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:11px;cursor:pointer;
  transition:background .15s,color .15s,transform .08s;
}
.cc-nav-item:hover{background:#fff;color:var(--rojo);transform:translateX(2px)}
.cc-nav-item:focus-visible{outline:3px solid rgba(194,138,58,.34);outline-offset:1px}
.cc-nav-item.is-active{background:#fff;color:var(--rojo);font-weight:600;box-shadow:0 1px 5px rgba(17,17,17,.07)}
.cc-nav-item>svg,.cc-nav-item__icon svg{width:19px;height:19px;display:block}
.cc-nav-arrow{opacity:.48;font-size:20px;font-weight:400;line-height:1}
.cc-nav-item.is-active .cc-nav-arrow{opacity:1}
.cc-nav-separator{display:block;height:1px;margin:10px 8px;background:var(--linea)}
.cc-session-alert{margin:2px 8px 6px;padding:8px 10px;border-radius:8px;background:var(--red-50);color:var(--red-700);font-size:10.5px;line-height:1.45}
.cc-session-alert[hidden]{display:none!important}
.cc-nav-item--danger{margin-top:0;color:var(--red-700)}
.cc-nav-item--danger:hover,.cc-nav-item--danger.is-active{color:var(--red-700);background:var(--red-50)}
.cc-center__content{min-width:0;overflow-y:auto;padding:46px clamp(34px,5vw,72px);background:#fff}
.cc-view-head{max-width:690px}
.cc-view-kicker{display:block;margin-bottom:8px;color:var(--acento);font-size:10px;font-weight:700;letter-spacing:.19em;text-transform:uppercase}
.cc-view-kicker--danger{color:var(--red-600)}
.cc-view-head h2{margin:0 0 10px;color:var(--negro);font-size:clamp(28px,3.4vw,40px);line-height:1.15;letter-spacing:-.8px}
.cc-view-head p{max-width:64ch;margin:0;color:var(--gris);font-size:14px;line-height:1.7}
.cc-empty-state{min-height:310px;margin-top:32px;padding:42px 28px;border:1px dashed rgba(17,17,17,.16);border-radius:20px;background:#FCFAF7;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cc-empty-state__icon{width:58px;height:58px;margin-bottom:17px;border-radius:16px;background:var(--red-50);color:var(--rojo);display:flex;align-items:center;justify-content:center}
.cc-empty-state__icon svg{width:28px;height:28px}
.cc-empty-state h3{margin:0 0 7px;color:var(--negro);font-size:18px}
.cc-empty-state p{max-width:49ch;margin:0;color:var(--gris);font-size:13px;line-height:1.65}
.cc-view-cta{display:inline-flex;min-height:42px;margin-top:20px;padding:10px 17px;border:1px solid var(--rojo);border-radius:11px;background:var(--rojo);color:#fff;font-size:12.5px;font-weight:600;text-decoration:none}
.cc-view-cta:hover{background:var(--rojo-osc);border-color:var(--rojo-osc)}
.cc-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:34px}
.cc-contact-card{min-height:118px;padding:20px;border:1px solid var(--linea);border-radius:17px;background:#fff;color:var(--tinta);text-decoration:none;box-shadow:var(--ml-sombra);display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;transition:border-color .15s,transform .12s,box-shadow .15s}
.cc-contact-card:hover{border-color:rgba(166,51,46,.35);transform:translateY(-2px);box-shadow:var(--ml-sombra-hover)}
.cc-contact-card__icon{width:42px;height:42px;border-radius:12px;background:var(--red-50);color:var(--rojo);display:flex;align-items:center;justify-content:center}
.cc-contact-card__icon svg{width:21px;height:21px}
.cc-contact-card strong,.cc-contact-card small{display:block}.cc-contact-card strong{font-size:13.5px}.cc-contact-card small{margin-top:4px;color:var(--gris);font-size:11.5px;line-height:1.45}
.cc-danger-card{margin-top:34px;padding:25px;border:1px solid rgba(166,51,46,.2);border-radius:18px;background:var(--red-50);display:grid;grid-template-columns:48px 1fr;gap:16px 18px}
.cc-danger-card__icon{width:48px;height:48px;border-radius:13px;background:#fff;color:var(--rojo);display:flex;align-items:center;justify-content:center}
.cc-danger-card__icon svg{width:23px;height:23px}.cc-danger-card h3{margin:2px 0 6px;color:var(--negro);font-size:16px}.cc-danger-card p{margin:0;color:var(--gris);font-size:12.5px;line-height:1.65}
.cc-danger-card button{grid-column:2;justify-self:start;min-height:40px;padding:9px 15px;border:1px solid rgba(166,51,46,.25);border-radius:10px;background:#fff;color:var(--red-700);font:inherit;font-size:12px;font-weight:600;opacity:.58;cursor:not-allowed}
.cc-center-open{overflow:hidden}

@media(max-width:900px){
  .cc-store-header{grid-template-columns:auto minmax(210px,1fr) auto;gap:18px}
  .cc-store-brand__text small{display:none}
  .cc-store-brand__text strong{font-size:20px}
  .cc-store-brand img{width:44px;height:44px}
  .cc-auth-action{padding-inline:11px}
}
@media(max-width:720px){
  .cc-store-header{padding:18px 14px 8px;grid-template-columns:auto minmax(92px,1fr) auto;gap:9px}
  .cc-store-actions{min-width:0}
  .cc-store-brand{gap:9px}.cc-store-brand img{width:39px;height:39px}.cc-store-brand__text strong{font-size:17px}
  .cc-search{display:flex;min-width:0}
  .cc-search input{height:42px;padding:9px 43px 9px 12px;font-size:12px}
  .cc-search button{width:42px;height:42px}
  [data-cuenta-carrito]{gap:7px}
  .cc-auth-action,.cc-action{min-height:38px;padding:8px 9px;font-size:11px}
  .cc-action--account .cc-menu-icon{width:37px;height:20px}
  .cc-center{padding:12px}
  .cc-center__dialog{height:calc(100dvh - 24px);border-radius:18px}
  .cc-center__layout{grid-template-columns:minmax(210px,38%) 1fr}
  .cc-center__content{padding:34px 25px}
  .cc-contact-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .cc-store-brand__text{display:none}
  .cc-store-brand img{width:42px;height:42px}
  .cc-action__label{display:none}
  .cc-action{width:40px;padding:8px;justify-content:center}
  .cc-action--account{width:54px}
  .cc-center{padding:0;background:#fff;backdrop-filter:none;align-items:stretch;justify-content:stretch}
  .cc-center__dialog{
    width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;
    border:0;border-radius:0;box-shadow:none;animation:cc-mobile-app-in .24s cubic-bezier(.22,.8,.3,1)
  }
  .cc-center__top{
    position:relative;z-index:2;min-height:78px;padding:calc(14px + env(safe-area-inset-top)) calc(15px + env(safe-area-inset-right)) 14px calc(15px + env(safe-area-inset-left));
    flex:none;justify-content:flex-start;gap:10px;border-bottom:1px solid rgba(17,17,17,.08);box-shadow:0 4px 18px rgba(17,17,17,.045)
  }
  .cc-center__identity{min-width:0;flex:1}
  .cc-center__top span{margin-bottom:2px;font-size:8.5px;letter-spacing:.22em}
  .cc-center__top h1{overflow:hidden;font-size:19px;letter-spacing:-.35px;text-overflow:ellipsis;white-space:nowrap}
  .cc-center__back,.cc-center__close{
    width:40px;height:40px;flex:0 0 40px;border-color:rgba(17,17,17,.1);border-radius:13px;
    background:rgba(255,255,255,.92);color:var(--tinta);box-shadow:0 2px 10px rgba(17,17,17,.05)
  }
  .cc-center__back{display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
  .cc-center__back[hidden]{display:none}
  .cc-center__back:hover,.cc-center__back:active{border-color:rgba(166,51,46,.25);background:var(--red-50);color:var(--rojo)}
  .cc-center__back:focus-visible{outline:3px solid rgba(194,138,58,.42);outline-offset:2px}
  .cc-center__back svg{width:21px;height:21px}
  .cc-center__layout{position:relative;min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);overflow:hidden;background:#fff}
  .cc-center[data-cc-screen="hub"] .cc-center__content{display:none}
  .cc-center[data-cc-screen="vista"] .cc-center__nav{display:none}
  .cc-center__nav{
    max-height:none;padding:26px calc(17px + env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) calc(17px + env(safe-area-inset-left));
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:0;
    background:linear-gradient(180deg,#fbf7f2 0%,#f5ece3 100%);gap:8px
  }
  .cc-nav-group{display:block;margin:0 8px 2px;color:var(--acento);font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
  .cc-nav-group--secondary{margin-top:18px}
  .cc-nav-item{
    min-height:58px;padding:11px 14px;border:1px solid rgba(17,17,17,.075);border-radius:16px;background:rgba(255,255,255,.86);
    grid-template-columns:42px minmax(0,1fr) auto;gap:12px;font-size:13.5px;font-weight:500;
    box-shadow:0 5px 18px rgba(72,45,32,.045);transition:background .16s,border-color .16s,transform .12s,box-shadow .16s
  }
  .cc-nav-item:hover,.cc-nav-item:active{border-color:rgba(166,51,46,.17);background:#fff;color:var(--rojo);transform:translateY(-1px);box-shadow:0 8px 22px rgba(72,45,32,.08)}
  .cc-nav-item.is-active{border-color:rgba(166,51,46,.18);box-shadow:0 7px 22px rgba(72,45,32,.07)}
  .cc-nav-item>svg,.cc-nav-item__icon{
    width:42px;height:42px;border-radius:13px;background:var(--red-50);color:var(--rojo);display:flex;align-items:center;justify-content:center
  }
  .cc-nav-item>svg{padding:10px}
  .cc-nav-item__icon svg{width:21px;height:21px}
  .cc-nav-arrow{padding-left:4px;color:var(--rojo);opacity:.55;font-size:23px}
  .cc-nav-separator{margin:16px 7px 8px;background:rgba(17,17,17,.1)}
  .cc-nav-item--danger{color:var(--red-700)}
  .cc-nav-item--danger>svg{background:rgba(166,51,46,.09)}
  .cc-session-alert{margin:0 4px 4px;padding:11px 13px;border-radius:12px;font-size:11px}
  .cc-center__content{
    min-height:0;height:100%;padding:28px calc(19px + env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) calc(19px + env(safe-area-inset-left));
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch
  }
  .cc-center[data-cc-screen="hub"] .cc-center__nav{animation:cc-mobile-hub-in .22s ease-out}
  .cc-center[data-cc-screen="vista"] .cc-center__content{animation:cc-mobile-page-in .24s cubic-bezier(.22,.8,.3,1)}
  .cc-view-head h2{font-size:30px;line-height:1.12;letter-spacing:-.75px}
  .cc-view-head p{font-size:13px;line-height:1.68}
  .cc-empty-state{min-height:290px;margin-top:25px;padding:34px 20px;border-radius:19px}
  .cc-contact-grid{grid-template-columns:1fr;margin-top:26px}
  .cc-contact-card{min-height:106px;padding:17px;border-radius:17px}
  .cc-danger-card{margin-top:26px;padding:20px 17px;grid-template-columns:44px 1fr;border-radius:18px}
  .cc-danger-card__icon{width:44px;height:44px}
  .cc-danger-card button{grid-column:1/-1;width:100%;justify-self:stretch}
}
@keyframes cc-mobile-app-in{from{opacity:.7;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes cc-mobile-hub-in{from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cc-mobile-page-in{from{opacity:.55;transform:translateX(18px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .cc-center__dialog,.cc-center[data-cc-screen="hub"] .cc-center__nav,.cc-center[data-cc-screen="vista"] .cc-center__content{animation:none}
  .cc-auth-action,.cc-action,.cc-nav-item,.cc-contact-card{transition:none}
}

/* Comercial C5 · historial real de compras. */
.cc-purchases-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--acento)}
.cc-nav-item[data-cc-view="compras"]{grid-template-columns:20px 1fr auto auto}
.cc-nav-purchase-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--acento-sombra);color:#7b561b;font-size:10px;font-weight:700;line-height:20px;text-align:center}
.cc-nav-purchase-badge[hidden]{display:none!important}
.cc-purchase-updates{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cc-purchase-filters{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 22px}
.cc-purchase-filter{min-height:36px;padding:7px 13px;border:1px solid var(--linea);border-radius:999px;background:#fff;color:var(--gris);font:inherit;font-size:11.5px;font-weight:600;cursor:pointer}
.cc-purchase-filter:hover{border-color:var(--rojo);color:var(--rojo)}
.cc-purchase-filter.is-active{border-color:var(--rojo);background:var(--red-50);color:var(--rojo)}
.cc-purchase-filter:focus-visible,.cc-purchase-action:focus-visible,.cc-purchase-link:focus-visible{outline:3px solid rgba(194,138,58,.4);outline-offset:2px}
.cc-purchase-loading{min-height:260px;border:1px solid var(--linea);border-radius:18px;background:#fcfaf7;color:var(--gris);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.cc-purchase-loading p{margin:0;font-size:13px}.cc-purchase-spinner{width:25px;height:25px;border:2px solid var(--red-100);border-top-color:var(--rojo);border-radius:50%;animation:cc-purchase-spin .75s linear infinite}
@keyframes cc-purchase-spin{to{transform:rotate(360deg)}}
.cc-empty-state--error{min-height:245px;border-style:solid}.cc-empty-state--error .cc-view-cta{font:inherit;cursor:pointer}
.cc-purchase-list{display:flex;flex-direction:column;gap:16px}
.cc-purchase-card{overflow:hidden;border:1px solid var(--linea);border-radius:18px;background:#fff;box-shadow:var(--ml-sombra)}
.cc-purchase-card[aria-busy="true"]{opacity:.72}
.cc-purchase-card__head{padding:17px 19px;border-bottom:1px solid var(--linea);display:flex;align-items:flex-start;justify-content:space-between;gap:18px;background:#fdfbf8}
.cc-purchase-card__meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.cc-purchase-card__meta time{color:var(--gris);font-size:11.5px}
.cc-purchase-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:10.5px;font-weight:700}
.cc-purchase-status--proceso{background:var(--acento-sombra);color:#7b561b}.cc-purchase-status--realizada{background:var(--verde-sombra);color:var(--verde)}.cc-purchase-status--no_completada{background:var(--red-50);color:var(--red-700)}
.cc-purchase-card__total{text-align:right;white-space:nowrap}.cc-purchase-card__total span,.cc-purchase-card__total strong{display:block}.cc-purchase-card__total span{margin-bottom:2px;color:var(--gris-cl);font-size:9.5px;text-transform:uppercase;letter-spacing:.1em}.cc-purchase-card__total strong{color:var(--negro);font-size:15px}
.cc-purchase-card__body{padding:18px 19px}.cc-purchase-process{margin-bottom:15px;padding:12px 14px;border-left:3px solid var(--acento);border-radius:0 10px 10px 0;background:var(--acento-sombra)}.cc-purchase-process p{margin:0;color:var(--gris);font-size:11.5px;line-height:1.55}.cc-purchase-process p+p{margin-top:3px}.cc-purchase-process__bank{color:var(--tinta)!important;font-weight:600}
.cc-purchase-lines{display:flex;flex-direction:column}.cc-purchase-line{min-width:0;padding:12px 0;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center}.cc-purchase-line+.cc-purchase-line{border-top:1px solid var(--linea)}
.cc-purchase-line__image{width:54px;height:54px;overflow:hidden;border:1px solid var(--linea);border-radius:11px;background:#f6f1eb;display:flex;align-items:center;justify-content:center}.cc-purchase-line__image img{width:100%;height:100%;object-fit:cover}.cc-purchase-line__image--empty{color:var(--rojo);font-size:17px;font-weight:700}
.cc-purchase-line__data{min-width:0}.cc-purchase-line h4{margin:0 0 4px;color:var(--negro);font-size:13px;line-height:1.4}.cc-purchase-line__data p{margin:0;color:var(--gris);font-size:11px}.cc-purchase-line__actions{display:flex;align-items:flex-end;flex-direction:column;gap:5px}
.cc-purchase-link{border:0;background:none;color:var(--rojo);font:inherit;font-size:10.5px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}.cc-purchase-link--muted{color:var(--gris-cl)}.cc-purchase-link:disabled{opacity:.72;cursor:not-allowed}
.cc-purchase-logistics{margin-bottom:15px;padding:13px 14px;border:1px solid var(--linea);border-radius:12px;background:#fcfaf7}.cc-purchase-logistics__label{display:block;color:var(--gris-cl);font-size:9.5px;text-transform:uppercase;letter-spacing:.1em}.cc-purchase-logistics>strong{display:block;margin-top:3px;color:var(--negro);font-size:13px}
.cc-purchase-timeline{display:flex;gap:0;margin:15px 0 0;padding:0;list-style:none}.cc-purchase-timeline__item{position:relative;min-width:0;flex:1;padding:14px 7px 0;border-top:2px solid var(--verde-sombra)}.cc-purchase-timeline__dot{position:absolute;top:-6px;left:7px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--verde)}.cc-purchase-timeline__item strong,.cc-purchase-timeline__item time{display:block}.cc-purchase-timeline__item strong{font-size:9.5px}.cc-purchase-timeline__item time{margin-top:3px;color:var(--gris-cl);font-size:8.5px}
.cc-purchase-card__footer{min-height:58px;padding:12px 19px;border-top:1px solid var(--linea);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cc-purchase-reference{color:var(--gris-cl);font-size:9.5px;overflow-wrap:anywhere}.cc-purchase-card__actions{display:flex;gap:8px;flex-wrap:wrap}.cc-purchase-action{min-height:36px;padding:8px 12px;border:1px solid var(--linea);border-radius:9px;background:#fff;color:var(--tinta);font:inherit;font-size:11px;font-weight:600;cursor:pointer}.cc-purchase-action:hover{border-color:var(--rojo);color:var(--rojo)}.cc-purchase-action--primary{border-color:var(--rojo);background:var(--rojo);color:#fff}.cc-purchase-action--primary:hover{border-color:var(--rojo-osc);background:var(--rojo-osc);color:#fff}.cc-purchase-action:disabled,.cc-purchase-action[aria-disabled="true"]{opacity:.55;cursor:wait}.cc-purchase-alert{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:var(--red-50);color:var(--red-700);font-size:11.5px}.cc-purchase-alert--general{margin:18px 0 0}
@media(max-width:720px){.cc-purchase-card__head{padding:15px}.cc-purchase-card__body{padding:14px 15px}.cc-purchase-card__footer{padding:12px 15px;align-items:flex-start}.cc-purchase-timeline{flex-direction:column;margin-left:5px}.cc-purchase-timeline__item{padding:2px 0 13px 18px;border-top:0;border-left:2px solid var(--verde-sombra)}.cc-purchase-timeline__dot{top:2px;left:-6px}.cc-purchase-line{grid-template-columns:48px minmax(0,1fr)}.cc-purchase-line__image{width:48px;height:48px}.cc-purchase-line__actions{grid-column:2;align-items:flex-start}.cc-purchase-card__actions{width:100%;flex-direction:column;align-items:stretch}.cc-purchase-action{width:100%}}
@media(max-width:520px){.cc-nav-item[data-cc-view="compras"]{grid-template-columns:42px minmax(0,1fr) auto auto}.cc-purchase-filters{display:grid;grid-template-columns:1fr 1fr;margin-top:22px}.cc-purchase-filter{width:100%;padding-inline:8px}.cc-purchase-card{border-radius:20px}.cc-purchase-card__head{display:grid;grid-template-columns:1fr}.cc-purchase-card__total{text-align:left}}
@media(prefers-reduced-motion:reduce){.cc-purchase-spinner{animation:none}.cc-purchase-filter,.cc-purchase-action{transition:none}}

/* Mi cuenta · dashboard de pantalla completa para tablet y escritorio. */
@media(min-width:521px){
  .cc-center{
    padding:0;align-items:stretch;justify-content:stretch;
    background:#f6f1eb;backdrop-filter:none
  }
  .cc-center__dialog{
    width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;
    border:0;border-radius:0;box-shadow:none
  }
  .cc-center__top{
    min-height:94px;padding:19px clamp(26px,4vw,64px) 18px;
    border-top:5px solid var(--rojo);border-bottom:1px solid rgba(17,17,17,.09);
    background:linear-gradient(105deg,#fff 0%,#fff 72%,#fcf7f3 100%);
    box-shadow:0 4px 18px rgba(17,17,17,.035)
  }
  .cc-center__top span{font-size:10px;letter-spacing:.22em}
  .cc-center__top h1{font-size:24px;letter-spacing:-.45px}
  .cc-center__close{
    width:44px;height:44px;border-radius:13px;
    box-shadow:0 3px 13px rgba(17,17,17,.055)
  }
  .cc-center__layout{grid-template-columns:clamp(250px,22vw,320px) minmax(0,1fr)}
  .cc-center__nav{
    padding:31px clamp(19px,2vw,28px) 36px;
    border-right:1px solid rgba(17,17,17,.09);
    background:linear-gradient(180deg,#fbf8f4 0%,#f6efe8 100%);gap:6px
  }
  .cc-nav-item{min-height:49px;padding:11px 13px;border-radius:12px;font-size:13.5px}
  .cc-nav-item.is-active{box-shadow:0 4px 16px rgba(74,45,31,.07)}
  .cc-nav-separator{margin-block:14px}
  .cc-center__content{
    display:grid;grid-template-columns:minmax(0,1100px);align-content:start;justify-content:start;
    padding:clamp(42px,5vw,76px) clamp(38px,6vw,108px) 84px;
    background:linear-gradient(180deg,#fff 0%,#fff 76%,#fdfaf7 100%)
  }
  .cc-view-head h2{font-size:clamp(36px,3.2vw,48px)}
  .cc-view-head p{font-size:14.5px}
  .cc-purchase-list{gap:20px}
  .cc-purchase-card{border-radius:20px;box-shadow:0 5px 20px rgba(37,27,21,.055)}
}
@media(min-width:521px) and (max-width:760px){
  .cc-center__top{min-height:84px;padding:15px 22px 14px}
  .cc-center__top h1{font-size:21px}
  .cc-center__layout{grid-template-columns:220px minmax(0,1fr)}
  .cc-center__nav{padding:24px 14px 30px}
  .cc-nav-item{padding-inline:10px;font-size:12.5px}
  .cc-center__content{padding:34px 25px 60px}
  .cc-view-head h2{font-size:32px}
}

/* Mis compras · resumen desplegable y escala de lectura. */
.cc-purchase-list{gap:24px}
.cc-purchase-card{transition:border-color .16s,box-shadow .16s}
.cc-purchase-card.is-expanded{border-color:rgba(166,51,46,.16);box-shadow:0 9px 28px rgba(37,27,21,.075)}
.cc-purchase-card__summary{
  width:100%;min-height:86px;padding:18px 19px;border:0;background:#fdfbf8;color:var(--tinta);font:inherit;text-align:left;
  display:grid;grid-template-columns:minmax(0,1fr) auto 42px;align-items:center;gap:16px;cursor:pointer
}
.cc-purchase-card__summary:hover{background:#fbf6f1}
.cc-purchase-card__summary:focus-visible{position:relative;z-index:1;outline:3px solid rgba(194,138,58,.42);outline-offset:-3px}
.cc-purchase-card__summary-main{min-width:0;display:flex;flex-direction:column;gap:8px}
.cc-purchase-card__brief{overflow:hidden;color:var(--gris);font-size:11.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.cc-purchase-card__toggle{width:40px;height:40px;border:1px solid rgba(17,17,17,.09);border-radius:12px;background:#fff;color:var(--rojo);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 9px rgba(17,17,17,.045);transition:background .15s,border-color .15s,transform .18s}
.cc-purchase-card__toggle svg{width:18px;height:18px;transition:transform .18s}
.cc-purchase-card.is-expanded .cc-purchase-card__toggle{border-color:rgba(166,51,46,.2);background:var(--red-50)}
.cc-purchase-card.is-expanded .cc-purchase-card__toggle svg{transform:rotate(180deg)}
.cc-purchase-card__toggle-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cc-purchase-card__details{border-top:1px solid var(--linea);animation:cc-purchase-details-in .2s ease-out}
.cc-purchase-card__details[hidden]{display:none!important}
@keyframes cc-purchase-details-in{from{opacity:.5;transform:translateY(-5px)}to{opacity:1;transform:none}}

@media(min-width:761px){
  .cc-purchase-filters{gap:10px;margin:30px 0 31px}
  .cc-purchase-filter{min-height:42px;padding:9px 17px;font-size:12.5px}
  .cc-purchase-list{gap:32px}
  .cc-purchase-card__summary{min-height:108px;padding:22px 25px;grid-template-columns:minmax(0,1fr) auto 48px;gap:22px}
  .cc-purchase-card__summary-main{gap:10px}
  .cc-purchase-card__meta{gap:12px}
  .cc-purchase-card__meta time{font-size:13.5px}
  .cc-purchase-status{min-height:30px;padding:5px 11px;font-size:11.5px}
  .cc-purchase-card__brief{font-size:13px}
  .cc-purchase-card__total span{font-size:10.5px}
  .cc-purchase-card__total strong{font-size:19px}
  .cc-purchase-card__toggle{width:46px;height:46px;border-radius:13px}
  .cc-purchase-card__toggle svg{width:20px;height:20px}
  .cc-purchase-card__body{padding:25px}
  .cc-purchase-process{margin-bottom:20px;padding:15px 17px}
  .cc-purchase-process p{font-size:13px}
  .cc-purchase-line{padding:16px 0;grid-template-columns:66px minmax(0,1fr) auto;gap:16px}
  .cc-purchase-line__image{width:66px;height:66px;border-radius:13px}
  .cc-purchase-line h4{margin-bottom:5px;font-size:15px}
  .cc-purchase-line__data p{font-size:12.5px}
  .cc-purchase-link{font-size:12px}
  .cc-purchase-logistics{margin-bottom:20px;padding:16px 17px}
  .cc-purchase-logistics__label{font-size:10.5px}
  .cc-purchase-logistics>strong{font-size:14.5px}
  .cc-purchase-timeline__item strong{font-size:11px}
  .cc-purchase-timeline__item time{font-size:10px}
  .cc-purchase-card__footer{min-height:70px;padding:15px 25px}
  .cc-purchase-reference{font-size:11px}
  .cc-purchase-action{min-height:42px;padding:10px 16px;font-size:12.5px}
}
@media(max-width:760px){
  .cc-purchase-list{gap:24px}
  .cc-purchase-card__summary{min-height:92px;padding:17px 15px}
}
@media(max-width:520px){
  .cc-purchase-list{gap:22px}
  .cc-purchase-card__summary{grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:auto auto;gap:9px 12px}
  .cc-purchase-card__summary-main{grid-column:1;grid-row:1;gap:7px}
  .cc-purchase-card__summary .cc-purchase-card__total{grid-column:1;grid-row:2;text-align:left}
  .cc-purchase-card__summary .cc-purchase-card__toggle{grid-column:2;grid-row:1/3}
  .cc-purchase-card__brief{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .cc-purchase-card,.cc-purchase-card__toggle,.cc-purchase-card__toggle svg{transition:none}
  .cc-purchase-card__details{animation:none}
}

/* Mi cuenta · favoritos persistentes. */
.cc-favorites-updates{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cc-favorites-alert{margin:20px 0 0;padding:11px 13px;border-radius:10px;background:var(--red-50);color:var(--red-700);font-size:12px;line-height:1.5}
.cc-favorite-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:16px;margin-top:30px}
.cc-favorite-card{min-width:0;padding:14px;border:1px solid var(--linea);border-radius:18px;background:#fff;box-shadow:var(--ml-sombra);display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:11px 15px;transition:border-color .15s,box-shadow .15s,transform .12s}
.cc-favorite-card:hover{border-color:rgba(166,51,46,.2);box-shadow:var(--ml-sombra-hover);transform:translateY(-1px)}
.cc-favorite-card[aria-busy="true"]{opacity:.7}
.cc-favorite-card__media{grid-row:1/3;width:104px;height:118px;overflow:hidden;border:1px solid var(--linea);border-radius:13px;background:#f8f3ed;color:var(--rojo);text-decoration:none;display:flex;align-items:center;justify-content:center}
.cc-favorite-card__media img{width:100%;height:100%;padding:6px;object-fit:contain;background:#fff}
.cc-favorite-card__placeholder{font-size:25px;font-weight:700}
.cc-favorite-card__body{min-width:0;align-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.cc-favorite-card__title{margin:0;color:var(--negro);font-size:13.5px;font-weight:600;line-height:1.4;text-decoration:none}
a.cc-favorite-card__title:hover{color:var(--rojo);text-decoration:underline;text-underline-offset:3px}
.cc-favorite-card__availability{color:var(--verde);font-size:10.5px;font-weight:600}
.cc-favorite-card__availability.is-unavailable{color:var(--gris-cl)}
.cc-favorite-card__price{margin-top:2px;color:var(--tinta);font-size:12.5px}
.cc-favorite-card__remove{min-height:40px;justify-self:start;padding:8px 12px;border:1px solid rgba(166,51,46,.2);border-radius:10px;background:var(--red-50);color:var(--rojo);font:inherit;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.cc-favorite-card__remove:hover{border-color:var(--rojo);background:#fff}
.cc-favorite-card__remove:focus-visible,.cc-favorite-card__media:focus-visible,.cc-favorite-card__title:focus-visible{outline:3px solid rgba(194,138,58,.4);outline-offset:2px}
.cc-favorite-card__remove:disabled{opacity:.6;cursor:wait}
.cc-favorite-card__remove svg{width:16px;height:16px}
@media(max-width:720px){.cc-favorite-list{grid-template-columns:1fr}.cc-favorite-card{grid-template-columns:96px minmax(0,1fr)}.cc-favorite-card__media{width:96px;height:110px}}
@media(max-width:520px){.cc-favorite-list{gap:13px;margin-top:24px}.cc-favorite-card{padding:12px;grid-template-columns:86px minmax(0,1fr);gap:9px 12px;border-radius:16px}.cc-favorite-card__media{width:86px;height:102px;border-radius:12px}.cc-favorite-card__title{font-size:13px}.cc-favorite-card__remove{min-height:40px}}
@media(prefers-reduced-motion:reduce){.cc-favorite-card{transition:none}}
