/* PickAPart-style template — clean, realistic storefront layout */
:root{
  --bg: #ffffff;
  --page: #f6f7f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(2,6,23,.06), 0 2px 8px rgba(2,6,23,.04);
  --brand: #1f4aa8;
  --brand2:#ff8a00;
  --danger:#e11d48;
  --success:#16a34a;
  --warn:#f59e0b;
  --radius: 14px;
  --radius2: 18px;
  --max: 1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--page);
}

a{color:inherit; text-decoration:none}
button,input{font:inherit}

.page{min-height:100%; display:flex; flex-direction:column}
.header{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.9); backdrop-filter:saturate(1.2) blur(10px)}
.header__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  gap:14px;
  align-items:center;
}
.header__divider{height:1px; background:var(--line)}

.brand{
  display:flex; align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-.02em;
  user-select:none;
}
.brand__mark{
  font-size:28px;
  line-height:1;
  color:var(--brand);
  position:relative;
  padding:4px 0;
}
.brand__mark span{color:var(--brand2)}
.brand__mark::after{
  content:"";
  position:absolute; left:0; bottom:-6px;
  width:42px; height:3px; border-radius:99px;
  background:linear-gradient(90deg, var(--brand), var(--brand2));
  opacity:.9;
}

.search{
  flex:1;
  display:flex; align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
}
.search__icon{width:18px; height:18px; fill:#94a3b8}
.search__input{
  width:100%;
  margin-left:10px;
  border:none;
  outline:none;
  background:transparent;
  color:var(--text);
}
.search__input::placeholder{color:#94a3b8}

.actions{display:flex; align-items:center; gap:8px}
.action{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  transition:.18s ease;
  position:relative;
}
.action:hover{background:#f8fafc; border-color:#e2e8f0; color:var(--text)}
.action__icon{width:18px; height:18px; fill:currentColor}
.action__text{font-weight:600; font-size:13px}
.action__badge{
  position:absolute; left:10px; top:10px;
  width:8px; height:8px; border-radius:50%;
  background:linear-gradient(180deg, var(--brand2), #ffb55a);
  display:none;
}
.action--cart .action__badge{display:block}

.burger{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
  align-items:center;
  justify-content:center;
  gap:4px;
}
.burger span{
  width:18px; height:2px; background:#334155; border-radius:99px;
  display:block;
}

.main{
  flex:1;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:18px 18px 80px;
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:18px;
}

.sidebar{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
  height: fit-content;
}
.sidebar__head{
  padding:14px 16px;
  background: #0b1220;
  color:#fff;
}
.sidebar__title{font-weight:800; letter-spacing:.06em; font-size:12px}
.cat{list-style:none; padding:8px; margin:0}
.cat__item{
  display:flex; align-items:center;
  padding:10px 12px;
  border-radius:12px;
  color:#111827;
  gap:10px;
  transition:.14s ease;
}
.cat__item:hover{background:#f8fafc}
.cat__icon{width:24px; display:inline-flex; justify-content:center}
.cat__chev{margin-left:auto; color:#94a3b8}

.content{min-width:0}
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
  margin-bottom: 30px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 320px;
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.card__media{
  padding:14px 14px 0;
}
.thumb{
  width:100%;
  height:150px;
  border-radius:14px;
  border:1px solid #edf2f7;
  background: radial-gradient(120px 80px at 20% 20%, rgba(255,138,0,.25), transparent 60%),
              radial-gradient(160px 100px at 80% 30%, rgba(31,74,168,.20), transparent 60%),
              linear-gradient(180deg, #fff, #f3f4f6);
  position:relative;
  overflow:hidden;
}
.thumb::after{
  content:"";
  position:absolute; inset:-40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(10deg);
  animation: shimmer 3.2s linear infinite;
  opacity:.65;
}
@keyframes shimmer{
  0%{transform:translateX(-30%) rotate(10deg)}
  100%{transform:translateX(30%) rotate(10deg)}
}
.badge{
  position:absolute;
  left:10px; top:10px;
  padding:6px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:rgba(2,6,23,.72);
  backdrop-filter: blur(6px);
}
.badge--out{background: rgba(225,29,72,.9)}
.badge--instock{background: rgba(22,163,74,.9)}
.badge--soon{background: rgba(245,158,11,.92); color:#111827}
.card__body{padding:12px 14px 14px; display:flex; flex-direction:column; gap:10px; flex:1}
.card__title{
  font-size:12px;
  color:#334155;
  line-height:1.25;
  min-height: 34px;
}
.card__meta{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  margin-top:auto;
}
.price{
  font-weight:800;
  color: var(--danger);
}
.small{
  display:flex; align-items:center; gap:6px;
  font-size:11px;
  color:#64748b;
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background:#94a3b8;
}
.dot--g{background:var(--success)}
.dot--r{background:var(--danger)}
.dot--y{background:var(--warn)}
.card__btns{display:flex; gap:10px}
.iconbtn{
  width:36px; height:36px; border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  transition:.14s ease;
}
.iconbtn:hover{background:#f8fafc}
.iconbtn svg{width:16px; height:16px; fill:#475569}

.loadmore{display:flex; justify-content:center; padding:20px 0 8px}
.btn{
  border:none;
  border-radius: 14px;
  padding:12px 22px;
  font-weight:900;
  letter-spacing:.04em;
  cursor:pointer;
}
.btn--primary{
  background: linear-gradient(180deg, #ff3b2f, #ff1f1f);
  color:#fff;
  box-shadow: 0 12px 22px rgba(255,31,31,.18), 0 2px 0 rgba(0,0,0,.08);
}
.btn--primary:hover{filter:brightness(1.02)}
.btn--primary:active{transform: translateY(1px)}

.footer{
  margin-top:20px;
  background:#fff;
  border-top:1px solid var(--line);
  position: relative;
  z-index: 2;
}
.footer__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:26px 18px 18px;
}
.footer__cols{
  display:grid;
  grid-template-columns: 220px 220px 1fr;
  gap:24px;
  align-items:start;
}
.brand--footer .brand__mark{font-size:26px}
.fcol__title{font-weight:800; margin-bottom:10px}
.fcol__link{
  display:block;
  color:#64748b;
  font-size:13px;
  padding:6px 0;
}
.fcol__link:hover{color:#111827}
.fcol--meta{
  border-left:1px solid var(--line);
  padding-left:24px;
}
.meta{display:flex; flex-direction:column; gap:10px}
.meta__row{display:flex; justify-content:space-between; gap:16px; font-size:13px}
.meta__label{color:#64748b}
.meta__val{color:#111827}

.footer__bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:#64748b;
  font-size:12px;
}
.footer__tiny:hover{color:#111827}
.footer__dot{opacity:.5}

/* Responsive */
@media (max-width: 1100px){
  .grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 900px){
  .main{grid-template-columns: 1fr;}
  .burger{display:flex}
  .sidebar{
    position:fixed;
    left:14px;
    right:14px;
    top:72px;
    max-width: 520px;
    margin:0 auto;
    transform: translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition:.18s ease;
  }
  .sidebar.is-open{
    transform: translateY(0);
    opacity:1;
    pointer-events:auto;
  }
}
@media (max-width: 720px){
  .actions{display:none}
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 430px){
  .grid{grid-template-columns: 1fr;}
  .header__inner{gap:10px}
  .brand__mark{font-size:24px}
}

.thumb__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;   /* <- em vez de cover */
  background:#fff;      /* opcional */
  display:block;
}

.thumb--hasimg::after{
  display:none;
}

.brand{
  height: 50px;
}

.brand__logo{
  max-height: 100%;
  width: auto;
}

/* Dropdown conta */
.account-wrapper{ position: relative; }

.account-toggle{
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* =========================
   CARRINHO
========================= */

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 28px;
}

.cart-grid{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items:start;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.panel__head{
  padding: 14px 16px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.panel__body{
  padding: 14px 16px;
}

.cart-item{
  display:grid;
  grid-template-columns: 86px 1fr 220px;
  gap: 18px;
  padding: 14px 0;
  border-bottom:1px solid var(--line);
  align-items:center;
}

.cart-item:last-child{border-bottom:none;}

.ci-img{
  width:86px;
  height:72px;
  border-radius:14px;
  border:1px solid #edf2f7;
  background:#fff;
  object-fit:contain;
}

.ci-title{
  font-weight:800;
  font-size:13px;
}

.ci-meta{
  color:var(--muted);
  font-size:12px;
  margin-top:6px;
}

.qty{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
}

.product__body .qty{
  width:110px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
}

.qtybox{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  min-width: 100px; 
}

.qbtn{
  width: 38px;
  height: 38px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;      /* <- força tamanho visível */
  color: var(--text);   /* <- força cor visível */
  display: flex;
  align-items: center;
  justify-content: center;
}

.qbtn:hover{background:#f8fafc;}

.qval{
  min-width:40px;
  text-align:center;
  font-weight:800;
}

.remove{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:800;
  font-size:12px;
  color: var(--danger);
}

.remove:hover{
  background:#fff5f5;
  border-color:#fecdd3;
}

.sumrow{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  padding:10px 0;
}

.checkout{
  width:100%;
  border:none;
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
  background: linear-gradient(180deg, #ff3b2f, #ff1f1f);
  color:#fff;
  margin-top: 8px;
}

.checkout:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.smallnote{
  color:var(--muted);
  font-size:12px;
  margin-top:10px;
}

@media (max-width: 980px){
  .cart-grid{grid-template-columns:1fr;}
}

.action--fav{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.action--fav .fav-heart-svg{
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}


/* =========================
   CONTA
========================= */

.account-field{
  margin-bottom:18px;
}

.account-field label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.account-value{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  font-weight:700;
}

/* =========================
   CONTA - INFO ROW
========================= */

.account-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.account-row span{
  color:var(--muted);
  font-weight:600;
}

.account-row strong{
  font-weight:700;
  margin-left: 14px;     /* cria espaço extra */
  word-break: break-word; /* evita rebentar layout */
  text-align: right;
}

/* Filtros na sidebar (baixo das categorias) */
.filters{
  margin: 10px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background:#fff;
}

.filters__head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background:#f8fafc;
}

.filters__title{
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 12px;
}

.filters__body{
  padding: 12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.filters__label{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.filters__input{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  background:#fff;
}

.filters__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.account-page{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 20px 70px;
  background:
    radial-gradient(circle at top left, rgba(31,74,168,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(255,138,0,.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.account-shell{
  width:100%;
  max-width:920px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.account-hero{
  display:flex;
  align-items:center;
  gap:18px;
  padding:28px 30px;
  border-radius:24px;
  background:linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color:#fff;
  box-shadow:0 20px 50px rgba(15,23,42,.20);
}

.account-hero__avatar{
  width:74px;
  height:74px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg, #1f4aa8, #ff8a00);
  box-shadow:0 12px 24px rgba(0,0,0,.18);
  flex-shrink:0;
}

.account-hero__eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.75;
  margin-bottom:6px;
}

.account-hero__info h1{
  margin:0;
  font-size:30px;
  line-height:1.1;
}

.account-hero__info p{
  margin:8px 0 0;
  color:rgba(255,255,255,.78);
  font-size:15px;
}

.account-card{
  background:#fff;
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  box-shadow:0 20px 45px rgba(2,6,23,.08);
  overflow:hidden;
}

.account-card__head{
  padding:26px 30px 20px;
  border-bottom:1px solid #e2e8f0;
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.account-card__head h2{
  margin:0;
  font-size:24px;
  color:#0f172a;
}

.account-card__head p{
  margin:8px 0 0;
  color:#64748b;
  font-size:14px;
}

.account-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
  padding:28px 30px;
}

.account-item{
  padding:18px 18px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#f8fafc;
  transition:.18s ease;
}

.account-item:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  background:#fff;
}

.account-item__label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:#64748b;
  margin-bottom:8px;
}

.account-item__value{
  display:block;
  font-size:17px;
  color:#0f172a;
  line-height:1.35;
  word-break:break-word;
}

.account-actions{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  padding:0 30px 30px;
}

.btn-account{
  min-width:170px;
  padding:14px 20px;
  border-radius:14px;
  text-align:center;
  font-weight:800;
  text-decoration:none;
  transition:.18s ease;
}

.btn-account--ghost{
  background:#fff;
  color:#0f172a;
  border:1px solid #dbe2ea;
}

.btn-account--ghost:hover{
  background:#f8fafc;
  transform:translateY(-1px);
}

.btn-account--primary{
  color:#fff;
  border:none;
  background:linear-gradient(135deg, #ff3b2f 0%, #ff0066 100%);
  box-shadow:0 12px 24px rgba(255,0,102,.22);
}

.btn-account--primary:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

@media (max-width: 760px){
  .account-page{
    padding:28px 14px 40px;
  }

  .account-hero{
    padding:22px 18px;
    align-items:flex-start;
  }

  .account-hero__info h1{
    font-size:24px;
  }

  .account-grid{
    grid-template-columns:1fr;
    padding:20px 18px;
  }

  .account-card__head{
    padding:22px 18px 16px;
  }

  .account-actions{
    flex-direction:column;
    padding:0 18px 20px;
  }

  .btn-account{
    width:100%;
  }
}

.edit-account-page{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 20px 70px;
  background:
    radial-gradient(circle at top left, rgba(31,74,168,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(255,138,0,.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.edit-account-shell{
  width:100%;
  max-width:980px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.edit-account-hero{
  display:flex;
  align-items:center;
  gap:18px;
  padding:28px 30px;
  border-radius:24px;
  background:linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color:#fff;
  box-shadow:0 20px 50px rgba(15,23,42,.20);
}

.edit-account-hero__avatar{
  width:74px;
  height:74px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg, #1f4aa8, #ff8a00);
  box-shadow:0 12px 24px rgba(0,0,0,.18);
  flex-shrink:0;
}

.edit-account-hero__eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.75;
  margin-bottom:6px;
}

.edit-account-hero__info h1{
  margin:0;
  font-size:30px;
  line-height:1.1;
}

.edit-account-hero__info p{
  margin:8px 0 0;
  color:rgba(255,255,255,.78);
  font-size:15px;
}

.edit-account-card{
  background:#fff;
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  box-shadow:0 20px 45px rgba(2,6,23,.08);
  overflow:hidden;
}

.edit-account-card__head{
  padding:26px 30px 20px;
  border-bottom:1px solid #e2e8f0;
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.edit-account-card__head h2{
  margin:0;
  font-size:24px;
  color:#0f172a;
}

.edit-account-card__head p{
  margin:8px 0 0;
  color:#64748b;
  font-size:14px;
}

.edit-account-card__body{
  padding:28px 30px 30px;
}

.edit-form__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.form-field{
  display:flex;
  flex-direction:column;
}

.form-field--full{
  grid-column:1 / -1;
}

.form-field label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
  color:#475569;
}

.form-field input{
  width:100%;
  height:52px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid #dbe2ea;
  background:#f8fafc;
  color:#0f172a;
  font-size:15px;
  outline:none;
  transition:.18s ease;
}

.form-field input:focus{
  border-color:#93c5fd;
  background:#fff;
  box-shadow:0 0 0 4px rgba(31,74,168,.08);
}

.form-field input:disabled{
  background:#eef2f7;
  color:#64748b;
  cursor:not-allowed;
}

.form-alert{
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:18px;
  border:1px solid;
  font-size:14px;
}

.form-alert--ok{
  background:rgba(34,197,94,.08);
  border-color:rgba(34,197,94,.22);
  color:#166534;
}

.form-alert--error{
  background:rgba(225,29,72,.07);
  border-color:rgba(225,29,72,.18);
  color:#9f1239;
}

.form-alert__list{
  margin:10px 0 0;
  padding-left:18px;
}

.edit-account-actions{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  padding-top:24px;
}

@media (max-width: 760px){
  .edit-account-page{
    padding:28px 14px 40px;
  }

  .edit-account-hero{
    padding:22px 18px;
    align-items:flex-start;
  }

  .edit-account-hero__info h1{
    font-size:24px;
  }

  .edit-account-card__head{
    padding:22px 18px 16px;
  }

  .edit-account-card__body{
    padding:20px 18px;
  }

  .edit-form__grid{
    grid-template-columns:1fr;
  }

  .form-field--full{
    grid-column:auto;
  }

  .edit-account-actions{
    flex-direction:column;
  }

  .edit-account-actions .btn-account{
    width:100%;
  }

}

.btn--ghost{
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--line, #e5e7eb);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: .04em;
}

.price-range{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-values{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.price-field{
  position: relative;
  min-width: 0;
}

.price-field span{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  pointer-events: none;
}

.price-field input{
  width: 100%;
  min-width: 0;
  height: 42px;
  box-sizing: border-box;
  padding: 0 38px 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  background: #f7f7f7;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  outline: none;
}

.price-field input:focus{
  border-color: #111827;
  background: #fff;
}

/* tirar setinhas do input number */
.price-field input[type="number"]{
  appearance: textfield;
  -moz-appearance: textfield;
}

.price-field input[type="number"]::-webkit-outer-spin-button,
.price-field input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.price-sliders{
  position: relative;
  height: 26px;
  margin-top: 2px;
}

.price-sliders::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background: #d1d5db;
  z-index: 1;
}

.price-sliders input[type="range"]{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

.price-sliders input[type="range"]::-webkit-slider-runnable-track{
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

.price-sliders input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111827;
  cursor: pointer;
  margin-top: -6px;
  border: 0;
  position: relative;
  z-index: 3;
}

.price-sliders input[type="range"]::-moz-range-track{
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

.price-sliders input[type="range"]::-moz-range-thumb{
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111827;
  cursor: pointer;
  border: 0;
  position: relative;
  z-index: 3;
}

.price-limits{
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
  margin-top: 2px;
}


.empty{
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
}

/* FAVORITOS */
.addToFav{
  position: relative;
  font-size: 18px;
  line-height: 1;
  color: #94a3b8;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.addToFav:hover{
  transform: translateY(-1px) scale(1.04);
}

.addToFav.is-fav{
  color: #ff2d55;
  background: #fff1f4;
  border-color: #ffc7d4;
  box-shadow: 0 8px 18px rgba(255,45,85,.18);
}

.addToFav.animate-fav{
  animation: favPop .45s ease;
}

.addToFav.animate-unfav{
  animation: favShrink .28s ease;
}

.addToFav::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
}

.addToFav.burst::after{
  animation: favBurst .45s ease-out;
}

@keyframes favPop{
  0%   { transform: scale(1); }
  35%  { transform: scale(1.28); }
  60%  { transform: scale(.92); }
  100% { transform: scale(1); }
}

@keyframes favShrink{
  0%   { transform: scale(1); }
  50%  { transform: scale(.86); }
  100% { transform: scale(1); }
}

@keyframes favBurst{
  0%{
    opacity: .45;
    transform: scale(.6);
    box-shadow: 0 0 0 0 rgba(255,45,85,.35);
  }
  100%{
    opacity: 0;
    transform: scale(1.6);
    box-shadow: 0 0 0 14px rgba(255,45,85,0);
  }
}

.addToCart{
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.addToCart:hover:not(:disabled){
  transform: translateY(-1px) scale(1.04);
}

.addToCart.cart-added{
  animation: cartPop .42s ease;
  box-shadow: 0 10px 20px rgba(31,74,168,.20);
}

.addToCart.cart-burst::after{
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 16px;
  pointer-events: none;
  animation: cartBurst .45s ease-out;
}

.addToCart.cart-shake{
  animation: cartShake .34s ease;
}

.action--cart.bump .action__icon{
  animation: headerCartJump .45s ease;
}

.action--cart.bump .action__text{
  animation: headerCartPulse .45s ease;
}

@keyframes cartPop{
  0%   { transform: scale(1); }
  35%  { transform: scale(1.18); }
  60%  { transform: scale(.93); }
  100% { transform: scale(1); }
}

@keyframes cartShake{
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-2px); }
  50%  { transform: translateX(2px); }
  75%  { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

@keyframes cartBurst{
  0%{
    opacity: .45;
    transform: scale(.6);
    box-shadow: 0 0 0 0 rgba(31,74,168,.25);
  }
  100%{
    opacity: 0;
    transform: scale(1.6);
    box-shadow: 0 0 0 14px rgba(31,74,168,0);
  }
}

@keyframes headerCartJump{
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-4px) scale(1.12); }
  60%  { transform: translateY(0) scale(.96); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes headerCartPulse{
  0%   { transform: scale(1); }
  30%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.btn--fav{
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn--fav.animate-fav{
  animation: favPop .45s ease;
}

.btn--fav.animate-unfav{
  animation: favShrink .28s ease;
}

.btn--fav.burst::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
  animation: favBurst .45s ease-out;
}

/* =========================
   LOGIN / REGISTAR
========================= */

.auth-shell{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:50px 18px;
}

.auth-wrap{
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.7);
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(15,23,42,.12);
  backdrop-filter:blur(14px);
}

.auth-side{
  position:relative;
  padding:56px 46px;
  background:
    linear-gradient(145deg, rgba(15,23,42,.94), rgba(30,41,59,.92)),
    linear-gradient(180deg, #111827, #1e293b);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}

.auth-side::before{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(239,68,68,.18);
  top:-90px;
  right:-70px;
  filter:blur(8px);
}

.auth-side::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  bottom:-70px;
  left:-60px;
}

.auth-side > *{
  position:relative;
  z-index:1;
}

.auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.auth-side h1{
  margin:0 0 16px;
  font-size:40px;
  line-height:1.05;
  letter-spacing:-.04em;
  max-width:420px;
}

.auth-side p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.75;
  max-width:460px;
}

.auth-points{
  margin-top:28px;
  display:grid;
  gap:12px;
}

.auth-point{
  display:flex;
  align-items:center;
  gap:12px;
  color:rgba(255,255,255,.88);
  font-size:14px;
}

.auth-point i{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(239,68,68,.18);
  color:#fff;
  font-style:normal;
  font-size:14px;
  font-weight:800;
}

.auth-card{
  background:rgba(255,255,255,.96);
  padding:56px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.auth-head{
  margin-bottom:30px;
}

.auth-head h2{
  margin:0 0 10px;
  font-size:30px;
  letter-spacing:-.03em;
  color:#0f172a;
}

.auth-head p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

.auth-body{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.auth-body form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.field label{
  display:block;
  margin-bottom:10px;
  font-size:13px;
  font-weight:800;
  color:#334155;
  letter-spacing:.01em;
}

.input-wrap{
  position:relative;
}

.input-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  opacity:.55;
  fill:#475569;
  pointer-events:none;
}

.field input{
  width:100%;
  height:54px;
  padding:0 16px 0 44px;
  border-radius:16px;
  border:1px solid var(--line);
  outline:none;
  background:#fff;
  font-size:14px;
  color:var(--text);
  transition:.2s ease;
}

.field input::placeholder{
  color:#94a3b8;
}

.field input:focus{
  border-color:rgba(239,68,68,.45);
  box-shadow:0 0 0 4px rgba(239,68,68,.10);
}

.btn-auth{
  border:none;
  border-radius:18px;
  height:56px;
  padding:0 20px;
  font-weight:900;
  letter-spacing:.08em;
  cursor:pointer;
  width:100%;
  color:#fff;
  font-size:14px;
  background:linear-gradient(180deg, #ff5a4e 0%, #ef4444 48%, #dc2626 100%);
  box-shadow:0 18px 30px rgba(239,68,68,.22);
  transition:.2s ease;
}

.btn-auth:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 34px rgba(239,68,68,.28);
}

.btn-google{
  width:100%;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-decoration:none;
  background:#fff;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
  border:1px solid #e2e8f0;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  transition:.2s ease;
}

.btn-google:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,23,42,.12);
  border-color:#cbd5e1;
}

.btn-google svg{
  flex:0 0 auto;
}

.auth-note{
  text-align:center;
  font-size:15px;
  color:var(--muted);
  margin-top:4px;
}

.auth-note a{
  color:#dc2626;
  text-decoration:none;
  font-weight:800;
}

.auth-note a:hover{
  text-decoration:underline;
}

.alert{
  border-radius:18px;
  padding:14px 14px;
  font-size:13px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.alert strong{
  display:block;
  margin-bottom:6px;
  font-size:13px;
}

.alert ul{
  margin:8px 0 0;
  padding-left:18px;
}

.alert-error{
  border:1px solid rgba(225,29,72,.20);
  background:linear-gradient(180deg, rgba(225,29,72,.08), rgba(225,29,72,.05));
  color:#9f1239;
}

.alert-success{
  border:1px solid rgba(34,197,94,.18);
  background:linear-gradient(180deg, rgba(34,197,94,.12), rgba(34,197,94,.07));
  color:#166534;
}

.alert-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}

@media (max-width: 960px){
  .auth-wrap{
    grid-template-columns:1fr;
  }

  .auth-side{
    padding:38px 26px;
  }

  .auth-side h1{
    font-size:30px;
  }

  .auth-card{
    padding:38px 28px;
  }
}

@media (max-width: 640px){
  .auth-shell{
    padding:24px 12px;
  }

  .auth-wrap{
    border-radius:24px;
  }

  .auth-side{
    padding:28px 20px;
  }

  .auth-card{
    padding:30px 20px;
  }

  .auth-head h2{
    font-size:24px;
  }
}

.account-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:-55px;
  min-width:180px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px 0;
  display:none;
  z-index:60;
}

.account-menu.is-open{
  display:block;
}

.account-menu a{
  display:block;
  width:100%;
  padding:10px 14px;
  color:var(--text);
  text-decoration:none;
  font-weight:600;
}

.account-menu a:hover{
  background:#f8fafc;
}

.history-wrap{
  padding:20px 24px 24px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.history-empty{
  padding:20px 24px 24px;
  color:var(--muted);
  font-size:15px;
}

.history-order{
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8fafc;
  overflow:hidden;
}

.history-order__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid #e2e8f0;
  background:#fff;
}

.history-order__title{
  font-size:20px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:6px;
}

.history-order__date{
  font-size:14px;
  color:var(--muted);
}

.history-order__total{
  font-size:24px;
  font-weight:900;
  color:var(--danger);
  white-space:nowrap;
}

.history-order__extra{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  padding:18px 20px 0;
}

.history-order__box{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:14px 16px;
}

.history-order__label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:8px;
}

.history-order__value{
  font-size:15px;
  font-weight:600;
  color:#0f172a;
  line-height:1.5;
}

.history-items{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px 20px 20px;
}

.history-item{
  display:grid;
  grid-template-columns:90px 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
}

.history-item__img{
  width:90px;
  height:90px;
  object-fit:contain;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:8px;
}

.history-item__name{
  font-size:16px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:6px;
}

.history-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:14px;
  color:var(--muted);
}

.history-item__price{
  font-size:18px;
  font-weight:900;
  color:var(--danger);
  white-space:nowrap;
}

@media (max-width: 760px){
  .history-wrap{
    padding:18px;
  }

  .history-order__head{
    flex-direction:column;
  }

  .history-order__extra{
    grid-template-columns:1fr;
    padding:18px 18px 0;
  }

  .history-items{
    padding:18px;
  }

  .history-item{
    grid-template-columns:1fr;
  }

  .history-item__img{
    width:100%;
    height:220px;
  }

  .history-item__price{
    text-align:left;
  }
}

.attr-box{
  margin-top:18px;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}

.attr-title{
  margin:0 0 12px 0;
  font-size:16px;
  font-weight:700;
}

.attr-list{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap:10px 14px;
}

.attr-name{
  color:var(--muted);
  font-weight:600;
}

.attr-value{
  color:var(--text);
}

@media (max-width: 700px){
  .attr-list{
    grid-template-columns: 1fr;
  }
}

/* =========================
   PÁGINA DO PRODUTO
========================= */

.main--product{
  display:block;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:18px 18px 28px;
}

.crumbs{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px;
}

.product{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:24px;
  align-items:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  padding:20px;
}

.product__media{
  min-width:0;
}

.product__img{
  width:100%;
  height:420px;
  object-fit:contain;
  display:block;
  background:#fff;
  border:1px solid #edf2f7;
  border-radius:18px;
  padding:20px;
}

.product__body{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}

.h1{
  margin:0;
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:var(--text);
}

.kv{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:10px 14px;
  padding:16px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:14px;
}

.kv__k{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.kv__v{
  color:var(--text);
  font-weight:600;
  font-size:14px;
}

.buyrow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:4px;
}

.product__body .qty{
  width:110px;
  height:46px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 12px;
  outline:none;
  background:#fff;
  display:block;
}

.btn--fav{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:14px;
  padding:12px 18px;
  font-weight:900;
  letter-spacing:.04em;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.btn--fav svg{
  width:18px;
  height:18px;
  fill:#94a3b8;
}

.btn--fav.is-active{
  background:#fff1f4;
  border-color:#ffc7d4;
  color:#ff2d55;
}

.btn--fav.is-active svg{
  fill:#ff2d55;
}

@media (max-width: 900px){
  .product{
    grid-template-columns:1fr;
  }

  .product__img{
    height:320px;
  }
}

@media (max-width: 640px){
  .h1{
    font-size:24px;
  }

  .kv{
    grid-template-columns:1fr;
  }

  .buyrow{
    flex-direction:column;
    align-items:stretch;
  }

  .product__body .qty,
  .buyrow .btn,
  .buyrow .btn--fav{
    width:100%;
  }
}

.header__hello{
  margin-left: auto;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.header__hello strong{
  font-weight: 700;
}
/* =========================
   FAVORITOS
========================= */

.main--favorites{
  display:block;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:18px 18px 80px;
}

.card-link{
  display:block;
  width:100%;
  min-width:0;
}

.main--favorites .grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}

.main--favorites .card{
  width:100%;
}

.favorites-empty{
  padding:18px;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  background:#f8fafc;
  color:#475569;
}

@media (max-width: 1100px){
  .main--favorites .grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .main--favorites .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px){
  .main--favorites .grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   FINALIZAR COMPRA
========================= */

.checkout-wrap{
  flex:1;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:28px 18px 40px;
}

.checkout-top{
  margin-bottom:22px;
}

.checkout-title{
  margin:14px 0 8px;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.03em;
  color:var(--text);
}

.checkout-subtitle{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  max-width:760px;
}

.checkout-alert{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid;
  font-size:14px;
  font-weight:600;
}

.checkout-alert--error{
  background:rgba(225,29,72,.07);
  border-color:rgba(225,29,72,.18);
  color:#9f1239;
}

.checkout-alert--success{
  background:rgba(34,197,94,.08);
  border-color:rgba(34,197,94,.22);
  color:#166534;
}

.checkout-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:18px;
  align-items:start;
}

.checkout-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.checkout-card__head{
  padding:18px 20px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.checkout-card__title{
  font-size:20px;
  font-weight:800;
  color:#0f172a;
}

.checkout-card__body{
  padding:20px;
}

.checkout-info-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.checkout-field{
  display:flex;
  flex-direction:column;
}

.checkout-field--full{
  grid-column:1 / -1;
}

.checkout-label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
  color:#475569;
}

.checkout-input,
.checkout-select{
  width:100%;
  height:52px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid #dbe2ea;
  background:#f8fafc;
  color:#0f172a;
  font-size:15px;
  outline:none;
  transition:.18s ease;
}

.checkout-input:focus,
.checkout-select:focus{
  border-color:#93c5fd;
  background:#fff;
  box-shadow:0 0 0 4px rgba(31,74,168,.08);
}

.checkout-items{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.checkout-item{
  display:grid;
  grid-template-columns:96px 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#f8fafc;
}

.checkout-item__img{
  width:96px;
  height:96px;
  object-fit:contain;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:8px;
}

.checkout-item__name{
  font-size:16px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:8px;
}

.checkout-item__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  font-size:13px;
  color:var(--muted);
}

.checkout-item__price{
  text-align:right;
  white-space:nowrap;
}

.checkout-item__unit{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:6px;
}

.checkout-item__total{
  font-size:20px;
  font-weight:900;
  color:var(--danger);
}

.summary-box{
  position:sticky;
  top:96px;
}

.summary-lines{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.summary-line{
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-size:14px;
  color:#334155;
}

.summary-line strong{
  color:#0f172a;
}

.summary-line--delivery{
  padding-top:10px;
  border-top:1px solid var(--line);
}

.summary-total{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
}

.summary-total span{
  font-size:15px;
  font-weight:700;
  color:#0f172a;
}

.summary-total__value{
  font-size:30px;
  font-weight:900;
  color:var(--danger);
  line-height:1;
}

.summary-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:20px;
}

.checkout-submit{
  width:100%;
  border:none;
  border-radius:16px;
  padding:14px 18px;
  font-weight:900;
  letter-spacing:.04em;
  cursor:pointer;
  background:linear-gradient(180deg, #ff3b2f, #ff1f1f);
  color:#fff;
  box-shadow:0 12px 22px rgba(255,31,31,.18), 0 2px 0 rgba(0,0,0,.08);
}

.checkout-submit:hover{
  filter:brightness(1.02);
}

.empty-cart{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:34px 24px;
  text-align:center;
}

.empty-cart h3{
  margin:0 0 10px;
  font-size:24px;
  color:#0f172a;
}

.empty-cart p{
  margin:0 0 18px;
  color:var(--muted);
}

.btn-ghost{
  background:#fff;
  color:#0f172a;
  border:1px solid var(--line);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
}

.btn-ghost:hover{
  background:#f8fafc;
}

@media (max-width: 980px){
  .checkout-grid{
    grid-template-columns:1fr;
  }

  .summary-box{
    position:static;
  }
}

@media (max-width: 760px){
  .checkout-title{
    font-size:28px;
  }

  .checkout-info-grid{
    grid-template-columns:1fr;
  }

  .checkout-field--full{
    grid-column:auto;
  }

  .checkout-item{
    grid-template-columns:1fr;
  }

  .checkout-item__img{
    width:100%;
    height:220px;
  }

  .checkout-item__price{
    text-align:left;
  }
}