/* CCA Product Compare — matches site ink/red/gold (wishlist/catalog). */
.cca-pc-btn,
.cca-pc-dock,
.cca-pc-page,
.cca-pc-toast{
  --pc-ink:#17191c;
  --pc-red:#c71618;
  --pc-red-d:#a30f14;
  --pc-gold:#c8a15a;
  --pc-line:#dfe1e4;
  --pc-mute:#5d636b;
  --pc-bg:#f7f7f6;
  box-sizing:border-box;
  font-family:inherit;
}

.cca-pc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #d7d9dd;
  border-radius:4px;
  background:#fff;
  color:var(--pc-ink);
  font:inherit;
  font-size:12px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.01em;
  text-decoration:none!important;
  cursor:pointer;
  white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s;
}
.cca-pc-btn:hover{border-color:var(--pc-ink);background:#f2f2f0;color:var(--pc-ink)}
.cca-pc-btn.is-active{
  background:var(--pc-ink);
  border-color:var(--pc-ink);
  color:#fff;
}
.cca-pc-btn.is-active .cca-pc-btn__ico{color:var(--pc-gold)}
.cca-pc-btn:disabled{opacity:.55;cursor:not-allowed}
.cca-pc-btn__ico{display:inline-flex;color:var(--pc-mute)}
.cca-pc-btn.is-active .cca-pc-btn__ico{color:var(--pc-gold)}
.cca-pc-btn--red{background:var(--pc-red);border-color:var(--pc-red);color:#fff!important}
.cca-pc-btn--red:hover{background:var(--pc-red-d);border-color:var(--pc-red-d);color:#fff!important}
.cca-pc-btn--ghost{background:#fff;color:var(--pc-ink)!important}
.cca-pc-btn--sm{min-height:36px;padding:7px 12px;font-size:12px}

/* Catalog cards: compact full-width under price, above Add to Cart. */
.cca-cd-card .cca-pc-btn--card{
  width:100%;
  margin:0;
  min-height:36px;
  border-radius:4px;
  font-size:11.5px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.cca-cd-card .cca-pc-btn--card .cca-pc-btn__label{font-size:11.5px}

/* Single product: sits beside wishlist. */
.cca-pc-btn--single{
  min-width:160px;
  min-height:42px;
  border-radius:999px;
  box-shadow:0 3px 10px rgba(0,0,0,.06);
}
.cca-pc-single-wrap{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.brxe-frqens + .cca-pc-btn--single,
.cca-pc-single-wrap .cca-pc-btn--single{margin:0}

/* Floating dock */
.cca-pc-dock{
  position:fixed;
  z-index:99990;
  left:0;right:0;bottom:0;
  padding:0 12px calc(12px + env(safe-area-inset-bottom,0px));
  pointer-events:none;
}
.cca-pc-dock[hidden]{display:none!important}
.cca-pc-dock__inner{
  pointer-events:auto;
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px 18px;
  align-items:center;
  padding:12px 16px;
  background:#111315;
  color:#fff;
  border-radius:10px 10px 0 0;
  box-shadow:0 -8px 28px rgba(0,0,0,.28);
  border:1px solid #2a2e33;
  border-bottom:0;
}
.cca-pc-dock__title{
  display:block;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--pc-gold);
}
.cca-pc-dock__count{display:block;font-size:12px;color:#c3c7cc;margin-top:2px}
.cca-pc-dock__items{display:flex;gap:8px;min-width:0;overflow-x:auto;padding:2px 0}
.cca-pc-dock__chip{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  max-width:220px;
  padding:6px 8px 6px 6px;
  background:#1c1f23;
  border:1px solid #30353b;
  border-radius:6px;
}
.cca-pc-dock__chip img{
  width:36px;height:36px;object-fit:contain;background:#fff;border-radius:3px;flex:none;
}
.cca-pc-dock__chip-name{
  font-size:12px;font-weight:650;line-height:1.25;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  color:#f2f2f0;
}
.cca-pc-dock__chip-x{
  appearance:none;border:0;background:transparent;color:#9aa0a6;
  font-size:18px;line-height:1;cursor:pointer;padding:0 2px;margin-left:2px;
}
.cca-pc-dock__chip-x:hover{color:#fff}
.cca-pc-dock__actions{display:flex;gap:8px;align-items:center}
.cca-pc-dock .cca-pc-btn--ghost{
  background:transparent;border-color:#4a5058;color:#fff!important;
}
.cca-pc-dock .cca-pc-btn--ghost:hover{border-color:#fff;background:#1c1f23}

/* Toast */
.cca-pc-toast{
  position:fixed;z-index:99991;left:50%;bottom:110px;transform:translateX(-50%);
  max-width:min(420px,92vw);padding:12px 16px;border-radius:6px;
  background:#111315;color:#fff;font-size:13.5px;font-weight:650;line-height:1.35;
  box-shadow:0 10px 30px rgba(0,0,0,.25);border-left:4px solid var(--pc-gold);
}
.cca-pc-toast[hidden]{display:none!important}

/* Compare page */
.cca-pc-page{width:100%;max-width:1200px;margin:0 auto;padding:8px 0 48px;color:var(--pc-ink)}
.cca-pc-page__head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:16px;
  margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid var(--pc-line);
}
.cca-pc-page__eyebrow{
  margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:var(--pc-gold);
}
.cca-pc-page__title{margin:0 0 6px;font-size:32px;font-weight:800;line-height:1.15}
.cca-pc-page__sub{margin:0;max-width:560px;color:var(--pc-mute);font-size:14px;line-height:1.45}
.cca-pc-empty{
  margin:0;padding:28px 20px;background:#fff;border:1px solid var(--pc-line);
  border-left:4px solid var(--pc-gold);border-radius:6px;font-size:15px;color:var(--pc-mute);
}

.cca-pc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--pc-line);border-radius:8px;background:#fff}
.cca-pc-table{width:100%;border-collapse:collapse;min-width:640px}
.cca-pc-table th,.cca-pc-table td{
  padding:12px 14px;border-bottom:1px solid var(--pc-line);border-right:1px solid #eceef0;
  vertical-align:top;text-align:left;font-size:13.5px;line-height:1.4;
}
.cca-pc-table th:last-child,.cca-pc-table td:last-child{border-right:0}
.cca-pc-table tr:last-child th,.cca-pc-table tr:last-child td{border-bottom:0}
.cca-pc-table__sticky{
  position:sticky;left:0;z-index:2;background:#fafafa;font-weight:800;width:148px;min-width:148px;
  color:var(--pc-mute);font-size:12px;letter-spacing:.03em;text-transform:uppercase;
}
.cca-pc-table thead th{background:#fff;vertical-align:bottom}
.cca-pc-prod{
  display:flex;flex-direction:column;gap:10px;min-width:160px;max-width:240px;
}
.cca-pc-prod__img{
  display:flex;align-items:center;justify-content:center;height:140px;padding:8px;
  background:#fff;border:1px solid #eceef0;border-radius:6px;
}
.cca-pc-prod__img img{max-width:100%;max-height:124px;object-fit:contain}
.cca-pc-prod__name{
  font-size:14px;font-weight:800;line-height:1.3;color:var(--pc-ink);text-decoration:none;
}
.cca-pc-prod__name:hover{color:var(--pc-red)}
.cca-pc-prod__price{font-size:18px;font-weight:800}
.cca-pc-prod__stock{font-size:12px;font-weight:700}
.cca-pc-prod__stock.is-in{color:#1f6b3a}
.cca-pc-prod__stock.is-out{color:var(--pc-red)}
.cca-pc-prod__remove{
  align-self:flex-start;background:none;border:0;padding:0;font:inherit;
  font-size:12px;font-weight:700;color:var(--pc-red);text-decoration:underline;cursor:pointer;
}
.cca-pc-val--empty{color:#9aa0a6}
.cca-pc-table tbody tr:nth-child(even) td:not(.cca-pc-table__sticky){background:#fcfcfb}
.cca-pc-table tbody tr.is-diff td:not(.cca-pc-table__sticky){background:#faf6ee}
.cca-pc-table tbody tr.is-diff .cca-pc-table__sticky{background:#f3ead7;color:#5a4a26}

@media (max-width:767px){
  .cca-pc-dock__inner{
    grid-template-columns:1fr;
    gap:10px;
    border-radius:10px;
    padding:12px;
  }
  .cca-pc-dock__meta{display:flex;justify-content:space-between;align-items:baseline}
  .cca-pc-dock__actions{width:100%}
  .cca-pc-dock__actions .cca-pc-btn{flex:1}
  .cca-pc-page__head{flex-direction:column;align-items:flex-start}
  .cca-pc-page__title{font-size:26px}
  .cca-pc-btn--single{min-width:145px;width:100%}
  .cca-pc-single-wrap{width:100%;justify-content:stretch}
  .cca-pc-toast{bottom:160px}
  .cca-pc-table__sticky{width:112px;min-width:112px;font-size:11px;padding:10px}
  .cca-pc-prod__img{height:110px}
}
