/* Care Cute AI Widget */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --pink: #D4488F;
  --deep: #8E2C5E;
  --soft: #FCEEF5;
  --border: #F0D8EA;
  --text: #1A1208;
  --muted: #9A8A91;
  --green: #3FBF7F;
  --red: #FF4444;
}

/* ── Reset ── */
#cc-root, #cc-root * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
#cc-root button { font-family: 'Inter', sans-serif; border: none; outline: none; cursor: pointer; background: none; padding: 0; margin: 0; }
#cc-root input  { font-family: 'Inter', sans-serif; border: none; outline: none; }

/* ── Toast ── */
#cc-toast {
  position: fixed; top: -60px; left: 50%; transform: translateX(-50%);
  background: #1A1208; color: #fff;
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif;
  white-space: nowrap; z-index: 2147483647; pointer-events: none;
  transition: top .35s cubic-bezier(.34,1.56,.64,1);
}
#cc-toast.show { top: 70px; }

/* ── FAB launcher ── */
#cc-fab {
  position: fixed; bottom: 90px; left: 16px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(212,72,143,.5);
  z-index: 2147483640;
  touch-action: manipulation;
  transition: transform .2s;
}
#cc-fab:active { transform: scale(.92); }
#cc-fab-badge {
  position: absolute; top: -2px; right: -2px;
  background: #fff; color: var(--pink);
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
}

/* ── Backdrop ── */
#cc-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 2147483641;
}

/* ── Panel ── */
#cc-panel {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 88%; width: 100%;
  background: var(--soft);
  border-radius: 0;
  z-index: 2147483642;
  display: none; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -6px 30px rgba(142,44,94,.2);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
#cc-panel.open { display: flex; transform: translateY(0); }

/* Grabber — same color as header */
.cc-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.45);
  margin: 0 auto; flex-shrink: 0;
}

/* ── Header ── */
.cc-head {
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  padding: 10px 18px 14px; flex-shrink: 0;
}
.cc-head-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.cc-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-name-wrap { flex: 1; }
.cc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: #fff; line-height: 1;
}
.cc-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 3px;
}
.cc-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #5BE39A;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.cc-xbtn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.cc-xbtn:active { background: rgba(255,255,255,.3); }

/* Tabs */
.cc-tabs {
  display: flex; gap: 3px;
  background: rgba(0,0,0,.18); border-radius: 12px; padding: 3px;
}
.cc-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 4px; border-radius: 9px;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: rgba(255,255,255,.22);
  border: none !important;
  transition: all .18s; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.3) !important;
  letter-spacing: .01em;
  opacity: 1 !important;
  visibility: visible !important;
}
.cc-tab svg { width: 13px; height: 13px; stroke: #fff !important; fill: none; flex-shrink: 0; }
.cc-tab.active {
  background: #fff !important;
  color: #C0306E !important;
  text-shadow: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.cc-tab.active svg { stroke: #C0306E !important; }

/* ── Views ── */
.cc-view { display: none; flex: 1; flex-direction: column; overflow: hidden; min-height: 0; }
.cc-view.active { display: flex; }

/* ── Messages ── */
.cc-msgs {
  flex: 1; overflow-y: auto; padding: 14px 16px 8px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0; background: var(--soft);
  -webkit-overflow-scrolling: touch;
}
.cc-msgs::-webkit-scrollbar { display: none; }

.cc-mrow { display: flex; align-items: flex-end; gap: 8px; }
.cc-mrow.user { flex-direction: row-reverse; }

.cc-ava {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cc-bub {
  max-width: 78%; padding: 10px 13px;
  border-radius: 16px; border-bottom-left-radius: 4px;
  font-size: 13.5px; line-height: 1.55; color: var(--text);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  word-break: break-word;
}
.cc-bub.user {
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px;
}

/* Typing */
.cc-typing-bub {
  display: flex; gap: 4px; align-items: center;
  padding: 12px 14px; background: #fff; border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.cc-td { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: ccDot 1.2s ease infinite; }
.cc-td:nth-child(2) { animation-delay: .2s; }
.cc-td:nth-child(3) { animation-delay: .4s; }
@keyframes ccDot { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ── Product card ── */
.cc-pcard {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.cc-pcard-img {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--soft); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.cc-pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-pcard-info { flex: 1; min-width: 0; }
.cc-pcard-brand { font-size: 9px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cc-pcard-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0; }
.cc-pcard-price { font-size: 13px; font-weight: 800; color: var(--pink); }
.cc-pcard-stock { font-size: 10px; font-weight: 600; margin-top: 1px; }
.cc-pcard-add {
  width: 34px !important; height: 34px !important;
  min-width: 34px !important; min-height: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #D4488F, #8E2C5E) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 3px 8px rgba(212,72,143,.35) !important;
  transition: transform .15s;
  border: none !important; cursor: pointer !important;
  padding: 0 !important; margin: 0 !important;
  visibility: visible !important; opacity: 1 !important;
}
.cc-pcard-add:active { transform: scale(.88); }
.cc-pcard-add.added { background: linear-gradient(135deg, #3FBF7F, #2A8A60) !important; }
.cc-pcard-add:disabled { opacity: .4; pointer-events: none; }

/* Image preview */
.cc-img-prev {
  display: none; padding: 6px 14px;
  background: var(--soft); position: relative; flex-shrink: 0;
}
.cc-img-prev img { height: 50px; border-radius: 8px; object-fit: cover; }
.cc-img-prev button {
  position: absolute; top: 2px; right: 9px;
  background: rgba(0,0,0,.4); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: .65rem; display: flex; align-items: center; justify-content: center;
}

/* ── Composer ── */
.cc-composer {
  flex-shrink: 0; background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px 14px;
}
.cc-chips {
  display: flex; gap: 6px; margin-bottom: 9px;
  overflow-x: auto; scrollbar-width: none;
}
.cc-chips::-webkit-scrollbar { display: none; }
.cc-chip {
  flex-shrink: 0; display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--border);
  font-size: 11.5px; font-weight: 600; color: var(--pink);
  white-space: nowrap; touch-action: manipulation;
}
.cc-chip svg { width: 12px; height: 12px; stroke: var(--pink); fill: none; flex-shrink: 0; }
.cc-chip:active { background: var(--border); }

/* Input row */
.cc-input-row {
  display: flex !important; align-items: center !important; gap: 8px !important;
}
.cc-mic-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--soft); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
}
.cc-mic-btn svg { stroke: var(--pink); }
.cc-mic-btn:active {
  background: #e53935;
  border-color: transparent;
}
.cc-mic-btn.recording {
  background: #e53935 !important;
  border-color: transparent !important;
  position: relative;
  transform: scale(1.1);
}
.cc-mic-btn.recording svg { stroke: #fff !important; }
.cc-mic-btn.recording::before,
.cc-mic-btn.recording::after {
  content: '';
  position: absolute;
  inset: 0; border-radius: 50%;
  border: 2px solid rgba(229,57,53,.6);
  animation: micRipple 1.4s ease-out infinite;
}
.cc-mic-btn.recording::after {
  border-color: rgba(229,57,53,.3);
  animation-delay: .7s;
}
@keyframes micRipple {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* WhatsApp-style recording bar */
.cc-rec-bar {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 1;
  background: #fff;
  border: 1.5px solid #ffd0d0;
  border-radius: 999px;
  padding: 0 14px;
  height: 44px;
  animation: recBarIn .2s ease;
}
@keyframes recBarIn {
  from { opacity: 0; transform: scaleX(.95); }
  to   { opacity: 1; transform: scaleX(1); }
}
.cc-rec-bar.active { display: flex; }

/* Blinking red dot */
.cc-rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e53935; flex-shrink: 0;
  animation: recDotBlink 1s ease infinite;
}
@keyframes recDotBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: .2; }
}

/* Timer */
.cc-rec-timer {
  font-size: 14px; font-weight: 700;
  color: #e53935; font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: .04em; flex-shrink: 0;
}

/* Waveform bars */
.cc-rec-wave {
  display: flex; align-items: center; gap: 2px;
  flex: 1; height: 22px; overflow: hidden;
}
.cc-rec-wave span {
  display: block; width: 3px; border-radius: 3px;
  background: #e53935; opacity: .7;
  animation: waveBar .5s ease infinite alternate;
  flex-shrink: 0;
}
.cc-rec-wave span:nth-child(1)  { animation-delay: 0s;   height: 6px; }
.cc-rec-wave span:nth-child(2)  { animation-delay: .07s; height: 14px; }
.cc-rec-wave span:nth-child(3)  { animation-delay: .14s; height: 20px; }
.cc-rec-wave span:nth-child(4)  { animation-delay: .21s; height: 10px; }
.cc-rec-wave span:nth-child(5)  { animation-delay: .28s; height: 18px; }
.cc-rec-wave span:nth-child(6)  { animation-delay: .35s; height: 8px; }
.cc-rec-wave span:nth-child(7)  { animation-delay: .42s; height: 16px; }
.cc-rec-wave span:nth-child(8)  { animation-delay: .49s; height: 12px; }
.cc-rec-wave span:nth-child(9)  { animation-delay: .56s; height: 20px; }
.cc-rec-wave span:nth-child(10) { animation-delay: .63s; height: 7px; }
@keyframes waveBar {
  from { transform: scaleY(.4); }
  to   { transform: scaleY(1); }
}

/* Cancel hint */
.cc-rec-cancel {
  font-size: 11px; color: #aaa; flex-shrink: 0;
  white-space: nowrap;
}
.cc-inp {
  flex: 1; background: var(--soft); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 10px 16px;
  font-size: 13.5px; color: var(--text); min-width: 0;
}
.cc-inp::placeholder { color: var(--muted); }
.cc-inp:focus { border-color: var(--pink); background: #fff; }
.cc-send-btn {
  width: 42px !important; height: 42px !important;
  min-width: 42px !important; min-height: 42px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #D4488F, #8E2C5E) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(212,72,143,.4) !important;
  touch-action: manipulation;
  border: none !important; cursor: pointer !important;
  padding: 0 !important; margin: 0 !important;
  visibility: visible !important; opacity: 1 !important;
}
.cc-send-btn:active { transform: scale(.9); }
#cc-voice-status { display: none; }

/* ── Camera view ── */
.cc-cam-wrap {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: #0f0b0e;
}
.cc-cam-idle {
  flex: 1; display: flex; flex-direction: column;
}
.cc-cam-stage {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 20px;
  background: radial-gradient(ellipse at 50% 38%, #2e1a28, #0f0b0e);
}
.cc-oval-wrap {
  position: relative; width: 140px; height: 178px; flex-shrink: 0;
}
.cc-oval {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(212,72,143,.6);
  animation: ovalGlow 2.5s ease-in-out infinite;
}
@keyframes ovalGlow { 0%,100%{border-color:rgba(212,72,143,.4)} 50%{border-color:rgba(212,72,143,.9)} }
.cc-oval-corner {
  position: absolute; width: 24px; height: 24px; border: 2.5px solid var(--pink);
}
.cc-oval-corner.tl { top:-4px; left:4px; border-right:none; border-bottom:none; border-radius:6px 0 0 0; }
.cc-oval-corner.tr { top:-4px; right:4px; border-left:none; border-bottom:none; border-radius:0 6px 0 0; }
.cc-oval-corner.bl { bottom:-4px; left:4px; border-right:none; border-top:none; border-radius:0 0 0 6px; }
.cc-oval-corner.br { bottom:-4px; right:4px; border-left:none; border-top:none; border-radius:0 0 6px 0; }
.cc-scan-bar {
  position: absolute; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 10px rgba(212,72,143,.6);
  animation: scanMove 3s ease-in-out infinite;
}
@keyframes scanMove { 0%,100%{top:6%;opacity:.4} 50%{top:90%;opacity:1} }
.cc-cam-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: #fff; }
.cc-cam-sub { font-size: 12px; color: rgba(255,255,255,.55); text-align: center; max-width: 200px; line-height: 1.5; }
.cc-cam-controls {
  padding: 14px 20px 20px; background: #111;
  display: flex; align-items: center; justify-content: space-evenly; flex-shrink: 0;
}
.cc-cam-side-btn {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
}
.cc-cam-side-btn svg { stroke: rgba(255,255,255,.7); }
.cc-shutter {
  width: 66px; height: 66px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 5px;
  box-shadow: 0 0 0 3px rgba(212,72,143,.5), 0 6px 20px rgba(0,0,0,.4);
}
.cc-shutter:active { transform: scale(.92); }
.cc-shutter-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  display: flex; align-items: center; justify-content: center;
}
/* Loading */
.cc-cam-loading {
  flex: 1; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; background: #0f0b0e;
}
.cc-spin { width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(212,72,143,.2); border-top-color: var(--pink); animation: ccSpin 1s linear infinite; }
@keyframes ccSpin { to { transform: rotate(360deg); } }
.cc-cam-result {
  flex: 1; display: none; flex-direction: column; overflow-y: auto;
  padding: 14px; gap: 10px; background: var(--soft);
  -webkit-overflow-scrolling: touch;
}
.cc-result-box {
  background: #fff; border-radius: 14px; padding: 14px;
  font-size: 13.5px; line-height: 1.65; color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.cc-continue-btn {
  padding: 13px; border-radius: 14px;
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  color: #fff; font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-shrink: 0;
}
.cc-continue-btn:active { transform: scale(.98); }

/* ── Cart ── */
.cc-cart-body {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0; background: var(--soft);
}
.cc-cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--muted);
}
.cc-cart-item {
  background: #fff; border-radius: 14px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.cc-cart-img {
  width: 48px; height: 48px; border-radius: 10px; background: var(--soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.cc-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-cart-name { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-cart-price { font-size: 13px; font-weight: 800; color: var(--pink); margin-top: 3px; }
.cc-cart-foot {
  display: none; padding: 0 16px 16px; flex-shrink: 0;
}
.cc-cart-summary {
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.cc-sum-row {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 3px 0;
}
.cc-sum-total {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 800; color: var(--text);
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px;
}
.cc-checkout-btn {
  width: 100%; margin-top: 12px; padding: 14px;
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  color: #fff; border-radius: 14px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 18px rgba(212,72,143,.35);
}
.cc-checkout-btn:active { transform: scale(.98); }

/* ── Overlays ── */
.cc-ov {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 2147483645;
  align-items: center; justify-content: center; padding: 16px;
}
.cc-ov.open { display: flex; }
.cc-ov-card {
  background: #fff; border-radius: 20px; width: 100%; max-width: 420px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.cc-ov-head {
  background: linear-gradient(135deg, #D4488F, #8E2C5E);
  padding: 16px 20px; display: flex; gap: 10px; align-items: center;
}
.cc-ov-head h3 { color: #fff; font-size: .95rem; font-weight: 700; margin: 0; font-family: 'Inter', sans-serif; }
.cc-ov-head p  { color: rgba(255,255,255,.65); font-size: .7rem; margin: 3px 0 0; font-family: 'Inter', sans-serif; }
.cc-ov-body { padding: 18px 20px; }
.cc-dis { background: var(--soft); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 13px; display: flex; gap: 10px; }
.cc-dis b { display: block; font-size: .83rem; color: var(--deep); margin-bottom: 2px; }
.cc-dis p { font-size: .77rem; color: #555; line-height: 1.6; margin: 0; }
.cc-ck { display: flex; align-items: flex-start; gap: 8px; font-size: .79rem; color: var(--text); line-height: 1.5; margin-bottom: 8px; cursor: pointer; }
.cc-ck input { margin-top: 2px; accent-color: var(--pink); flex-shrink: 0; }
.cc-ov-foot { padding: 10px 20px 16px; display: flex; gap: 8px; border-top: 1px solid var(--border); }
.cc-ov-cancel { background: transparent; color: var(--muted); border: 1px solid #ddd; padding: 10px 14px; border-radius: 999px; font-size: .82rem; }
.cc-ov-ok { flex: 1; background: linear-gradient(135deg, #D4488F, #8E2C5E); color: #fff; border: none; padding: 11px; border-radius: 999px; font-size: .84rem; font-weight: 700; opacity: .4; transition: opacity .2s; }
.cc-ov-ok.on { opacity: 1; }

/* Safe area */
@supports (padding: max(0px)) {
  #cc-fab { bottom: max(90px, calc(env(safe-area-inset-bottom) + 80px)); }
  .cc-composer { padding-bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px)); }
}

/* Fix 1: Desktop sidebar */
@media(min-width:768px){
  #cc-panel{left:auto;right:0;top:0;bottom:0;width:390px;height:100vh;max-height:100vh;border-radius:20px 0 0 20px;transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);}
  #cc-panel.open{transform:translateX(0);}
  #cc-backdrop{display:none!important;}
}

/* Fix 6: Cart & product card design */
.cc-cart-body{padding:16px;display:flex;flex-direction:column;gap:12px;}
.cc-cart-item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:12px;box-shadow:0 2px 10px rgba(142,44,94,.06);}
.cc-cart-img{width:56px;height:56px;border-radius:12px;flex-shrink:0;background:#FCEEF5;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.cc-cart-img img{width:100%;height:100%;object-fit:cover;}
.cc-cart-name{font-size:13px;font-weight:600;color:#2A1F25;line-height:1.3;}
.cc-cart-price{font-size:14px;font-weight:700;color:#D4488F;margin-top:3px;}
.cc-sum-row{display:flex;justify-content:space-between;font-size:13px;color:#9A8A91;padding:4px 0;}
.cc-sum-total{font-size:15px;font-weight:700;color:#2A1F25;border-top:1px solid #FBE2EE;margin-top:8px;padding-top:10px;}
.cc-checkout-btn{width:100%;margin-top:12px;background:linear-gradient(135deg,#D4488F,#B83A7A);color:#fff;padding:14px;border-radius:14px;border:none;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 20px rgba(212,72,143,.35);transition:transform .15s;}
.cc-checkout-btn:hover{transform:translateY(-2px);}
.cc-pcard{background:#fff;border-radius:16px;padding:10px;box-shadow:0 2px 10px rgba(142,44,94,.06);margin-left:34px;}
.cc-pcard-img{width:54px;height:54px;border-radius:12px;background:#FCEEF5;}
.cc-pcard-name{font-size:13px;font-weight:600;color:#2A1F25;}
.cc-pcard-price{font-size:13px;font-weight:700;color:#D4488F;margin-top:2px;}
.cc-pcard-add{width:34px;height:34px;border-radius:10px;background:#D4488F;border:none;cursor:pointer;transition:transform .15s,background .2s;}
.cc-pcard-add:hover{background:#8E2C5E;transform:scale(1.06);}

/* Fix 3: Prevent scroll propagation */
#cc-panel { overscroll-behavior: contain; }
.cc-msgs, .cc-cart-body, .cc-view { overscroll-behavior: contain; }
