/* Custom cases (Accessories page) */
.cc-sec { background: linear-gradient(180deg, #f4f6fb, #fff); }
.cc-head { max-width: 760px; margin-bottom: 22px; }
.cc-head h2 { margin: 6px 0 8px; }
.cc-steps { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-steps li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.cc-steps b { width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.cc-grid { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: start; }
.cc-up { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cc-drop { display: block; cursor: pointer; width: 100%; }
.cc-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cc-drop input:focus-visible + .cc-phone { outline: 3px solid var(--blue); outline-offset: 3px; }
.cc-phone { position: relative; display: block; width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 38px; border: 2px dashed #b9c2d3; background: #f6f8fc; overflow: hidden; transition: border-color .15s, background .15s; }
.cc-drop:hover .cc-phone, .cc-drop.is-over .cc-phone { border-color: var(--red); background: #fff; }
.cc-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-phone:has(img:not([hidden])) { border: 3px solid #15171c; }
.cc-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; font-weight: 700; color: var(--navy); }
.cc-ph svg { width: 42px; height: 42px; color: var(--red); }
.cc-ph small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.cc-cam { position: absolute; top: 14px; left: 14px; width: 30%; aspect-ratio: 1; border-radius: 22px; background: rgba(21,23,28,.82); box-shadow: inset 0 0 0 3px rgba(255,255,255,.08); pointer-events: none; }
.cc-imginfo { margin: 0; font-size: .85rem; color: #0c7a3c; text-align: center; }
.cc-imginfo.warn { color: #a35a00; }
.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cc-form .opt { font-weight: 500; color: var(--muted); }
.cc-opts { border: 0; padding: 0; margin: 4px 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.cc-opts legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.cc-opts label { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #cfd6e2; border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; }
.cc-opts label:has(input:checked) { border-color: var(--red); background: #fff7f4; }
.cc-opts input { margin-top: 3px; accent-color: var(--red); }
.cc-opts span { display: flex; flex-direction: column; line-height: 1.25; }
.cc-opts small { color: var(--muted); font-size: .8rem; }
.cc-agree { align-items: flex-start; font-weight: 500; }
.cc-agree input { margin-top: 2px; flex: none; }
.cc-sum { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin: 6px 0 12px; font-size: 1.05rem; }
.cc-sum b { font-size: 1.2rem; color: var(--navy); }
.cc-err { background: #fdecee; color: #a3121f; border-radius: 10px; padding: 10px 12px; font-weight: 600; margin: 0 0 12px; }
.cc-submit { width: 100%; }
.cc-small { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.cc-done { text-align: center; max-width: 560px; margin: 0 auto; }
.cc-done .hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.cc-check { width: 60px; height: 60px; border-radius: 50%; background: #e3f6eb; color: #0c7a3c; font-size: 30px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 8px; }
@media (max-width: 760px) {
  .cc-grid { grid-template-columns: 1fr; }
  .cc-up { position: static; }
  .cc-phone { max-width: 200px; }
  .cc-row { grid-template-columns: 1fr; }
}
.cc-form [hidden], .cc-sec [hidden] { display: none !important; }
