﻿/* polish agent 8 - checkout */
.co-top{border-bottom-color:rgba(211,166,60,.3)}
.co-top .logo{display:inline-flex;align-items:center;gap:12px}
.co-top .logo em{font-style:normal;letter-spacing:.01em}
.co-secure{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;letter-spacing:.02em}
.co-secure::before{content:"";width:9px;height:11px;border:1.5px solid var(--gold);border-radius:2px;box-sizing:border-box;background:transparent;opacity:.9}
.co-back{padding:6px 0;margin-bottom:8px;transition:color .2s var(--ease)}
.co-wrap h1{margin-bottom:32px;line-height:1.1}

/* cards */
.co-card{border-color:rgba(211,166,60,.28);box-shadow:0 1px 2px rgba(11,9,9,.04),0 8px 24px -14px rgba(11,9,9,.14);animation:p8up .5s var(--ease) both}
.co-main .co-card:nth-child(2){animation-delay:.05s}
.co-main .co-card:nth-child(3){animation-delay:.1s}
.co-main .co-card:nth-child(4){animation-delay:.15s}
.co-main .co-card:nth-child(5){animation-delay:.2s}
@keyframes p8up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.co-card h2{padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid #efe7d4}
.co-card h2 i{width:28px;height:28px;font-size:.85rem;box-shadow:0 0 0 3px #f5efe3}

/* plan options */
.co-opt{min-height:64px;background:#fff;transition:border-color .2s var(--ease),background-color .2s var(--ease),box-shadow .2s var(--ease)}
.co-opt:hover{background:#fdfaf1}
.co-opt:has(input:checked){background:#fbf5e4;border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.co-opt:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}
.co-opt-p{white-space:nowrap;font-variant-numeric:tabular-nums}
.co-group legend{font-size:1.08rem}

/* inputs */
.co-f label{font-size:.88rem;letter-spacing:.01em}
.co-f input,.co-f select{font-size:1rem;border-color:#d9cfb8;transition:border-color .2s var(--ease),box-shadow .2s var(--ease),background-color .2s var(--ease)}
.co-f input:hover:not(:disabled),.co-f select:hover{border-color:#c9bb98}
.co-f input:focus,.co-f select:focus{background:#fff}
.co-f select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:linear-gradient(45deg,transparent 50%,#6a5f55 50%),linear-gradient(135deg,#6a5f55 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.co-chk input:focus-visible,.co-f input:focus-visible{outline:none}
.co-chk input:focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* disabled card placeholder: deliberate, calm */
.co-lock{flex-direction:column;border:1px solid #e6d9b3;border-left:3px solid var(--gold);border-radius:8px;background:#faf4e2;padding:16px 18px}
.co-lock b{font-size:1rem}
.co-lock span{color:#51463e}
.co-dis{opacity:.62}
.co-dis label{color:#5a4f46}
.co-dis input{background:#f3efe6;border-style:solid;border-color:#e3dccb;color:#8a7f70}
.co-dis input::placeholder{color:#968b7b;opacity:1}

/* agreements */
.co-chk{padding:2px 0}
.co-chk:last-child{margin-bottom:0}
.co-recur{border-radius:0 6px 6px 0}

/* summary */
.co-side{top:20px}
.co-sum{padding:30px 28px 26px;box-shadow:0 24px 50px -28px rgba(11,9,9,.5);border-color:rgba(211,166,60,.7)}
.co-sum h2{font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--gold-light);margin-bottom:18px}
.co-sum-tot dd{font-variant-numeric:tabular-nums}
.co-sum-tot .co-today dd{font-size:1.6rem}
.co-sum .btn{min-height:54px;transition:transform .2s var(--ease),filter .2s var(--ease)}
.co-sum .btn:hover{transform:translateY(-1px)}
.co-sum .btn:active{transform:none}
.co-after{color:#d3c6ad}
.co-help a{display:inline-block;padding:4px 0}
.co-foot{border-top:1px solid rgba(211,166,60,.25)}

@media(max-width:960px){
  .co-side{order:0;margin-top:4px}
}
@media(max-width:900px){
  .co-wrap{padding-top:22px;padding-bottom:60px}
  .co-wrap h1{margin-bottom:22px}
  .co-card{padding:24px 18px;margin-bottom:16px;border-radius:12px}
  .co-card h2{font-size:1.15rem;margin-bottom:20px;padding-bottom:14px}
  .co-f input,.co-f select{font-size:16px;height:54px}
  .co-opt{padding:14px 14px;gap:12px}
  .co-opt-t b{font-size:1rem}
  .co-opt-p{font-size:1rem}
  .co-chk{font-size:.95rem;padding:4px 0}
  .co-chk input{width:22px;height:22px}
  .co-recur{margin-left:34px}
  .co-sum{padding:26px 20px 22px;border-radius:12px}
  .co-top .logo img{width:38px;height:38px}
  .co-top .logo{font-size:.98rem}
  .co-secure{font-size:.82rem}
  .co-secure::before{display:none}
  .co-row3{grid-template-columns:1fr 1fr;column-gap:12px}
  .co-row3 .co-f:first-child{grid-column:1/-1}
  .co-row .co-f{margin-bottom:16px}
}
@media(max-width:380px){
  .co-secure{display:none}
}
@media(prefers-reduced-motion:reduce){
  .co-card{animation:none}
  .co-sum .btn,.co-opt,.co-f input,.co-f select{transition:none}
}
