/* FrozenGlow checkout, thank-you and track-order pages. Builds on store.css tokens (--ink, --ivory, --frost, --glacier …). */
.page-width.co-page{padding-top:20px;padding-bottom:56px;max-width:1180px}
.co-title{font-size:var(--h2);margin:4px 0 18px}
.co-lead{margin:-6px 0 18px}
.co-crumbs{display:flex;align-items:center;gap:6px;font-size:13px;color:rgba(23,35,58,.65)}
.co-crumbs a{color:var(--glacier)}
.co-testbar{background:#FDECEA;color:#8C1D18;border:1px solid #F3C2BD;border-radius:10px;padding:10px 14px;font-size:14px;line-height:1.5;margin:0 0 18px}
.co-empty{text-align:center;padding:64px var(--gutter)}
.co-empty h1{margin-bottom:10px}
.co-empty .button{margin-top:24px}

/* layout: one column on phones (contact, delivery, shipping, summary, payment); two columns from 990px */
.co{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:990px){
  .co{grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:auto auto auto auto 1fr;column-gap:40px;align-items:start}
  .co-contact{grid-row:1;grid-column:1}.co-delivery{grid-row:2;grid-column:1}.co-shipping{grid-row:3;grid-column:1}.co-pay{grid-row:4;grid-column:1}
  .co-legal{grid-row:5;grid-column:1}
  .co-summary{grid-column:2;grid-row:1 / 6;position:sticky;top:130px}
}
.co-section,.co-summary,.co-card{background:#fff;border:1px solid #D5E0EA;border-radius:16px;padding:20px 16px}
@media (min-width:750px){.co-section,.co-summary,.co-card{padding:24px}}
.co-section h2,.co-summary h2{font-size:var(--h4);margin:0 0 14px}
.co-sub{font-size:13px;line-height:1.5;color:rgba(23,35,58,.7);margin-top:8px;display:flex;align-items:center;gap:6px}
.co-sub .icon{color:var(--glacier)}
.co-legal{font-size:12px;line-height:1.6;color:rgba(23,35,58,.65);margin:0}
.co-legal a{color:var(--glacier);text-decoration:underline}

/* floating-label fields */
.co-row{display:grid;grid-template-columns:1fr;gap:0 12px}
@media (min-width:480px){.co-row{grid-template-columns:1fr 1fr}.co-row--3{grid-template-columns:1fr 1fr 1fr}}
.co-row--3 .co-field[hidden]{display:none}
.co-field{position:relative;margin-bottom:12px}
.co-input{width:100%;height:52px;border:1px solid #B9C6D4;border-radius:var(--radius-input);background:#fff;padding:20px 12px 6px;font-size:16px;letter-spacing:.3px;color:var(--ink);transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.co-input:focus{outline:0;border-color:var(--glacier);box-shadow:0 0 0 1px var(--glacier)}
.co-input.is-invalid{border-color:#B3261E;box-shadow:0 0 0 1px #B3261E}
.co-field label{position:absolute;left:13px;top:15px;font-size:15px;color:rgba(23,35,58,.6);pointer-events:none;transition:all .15s;line-height:1.3;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 26px)}
.co-input:focus+label,.co-input:not(:placeholder-shown)+label,.co-field--select label,select.co-input+label,.co-field select:not([hidden])~label{top:6px;font-size:11.5px}
.co-field--select .co-input,select.co-input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2317233A' stroke-width='1.3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:34px}
.co-field__error{color:#B3261E;font-size:12.5px;line-height:1.4;margin-top:4px}
.co-field__error:empty{display:none}
.co-form-error{background:#FDECEA;color:#8C1D18;border-radius:10px;padding:10px 14px;font-size:14px;line-height:1.5;margin-top:14px}

/* shipping + payment radios */
.co-radios,.co-methods{border:1px solid #D5E0EA;border-radius:12px;overflow:hidden}
.co-radio{display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer;line-height:1.35}
.co-radio+.co-radio{border-top:1px solid #D5E0EA}
.co-radio:has(input:checked){background:#EEF5FB}
.co-radio input,.co-method__head input{accent-color:var(--glacier);width:18px;height:18px;flex:none;margin:0}
.co-radio__text{flex:1;display:flex;flex-direction:column}
.co-radio__text strong{font-weight:600;color:var(--ink);font-size:15px}
.co-radio__text small,.co-addon__text small{font-size:12.5px;color:rgba(23,35,58,.65)}
.co-radio__price{font-weight:600;color:var(--ink);white-space:nowrap}
.co-method+.co-method{border-top:1px solid #D5E0EA}
.co-method__head{display:flex;align-items:center;gap:12px;padding:15px 14px;cursor:pointer;line-height:1.3}
.co-method.is-open .co-method__head{background:#EEF5FB}
.co-method__title{flex:1;font-weight:600;color:var(--ink);font-size:15px}
.co-method__panel{display:none;padding:16px 14px 18px;background:#FBFCFE;border-top:1px solid #E3EAF2}
.co-method.is-open .co-method__panel{display:block}
.co-marks{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.co-marks i{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.3px;border:1px solid #D5E0EA;border-radius:4px;padding:1px 5px;background:#fff;color:#1434CB}
.co-marks i.pp{color:#003087}
.co-badge{background:#B3261E;color:#fff;font-size:11px;font-weight:700;letter-spacing:.6px;padding:3px 8px;border-radius:20px}
.co-test-note{font-size:14px;line-height:1.5;margin-bottom:14px}
.co-pay-btn{width:100%;min-height:54px}
.co-notice{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.5;background:var(--frost);border-radius:10px;padding:12px 14px;color:var(--ink)}
.co-notice .icon{color:var(--glacier);margin-top:2px}
.co-fine{font-size:12.5px;line-height:1.5;color:rgba(23,35,58,.65);margin-top:10px;display:flex;gap:6px;align-items:flex-start}
.co-fine.co-privacy{display:block}
.co-dropin{min-height:0}
.co-dropin:not(:empty){margin-top:4px;min-height:200px}
.co-paypal{min-height:50px}

/* summary */
.co-summary{background:var(--frost);border-color:#D5E0EA}
.co-lines{list-style:none;margin:0;padding:0}
.co-line{display:flex;align-items:center;gap:12px;padding:8px 0}
.co-line__media{position:relative;flex:none;width:64px;height:64px}
.co-line__media img,.co-line__img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #D5E0EA;background:#fff;display:block}
.co-line__img--empty{display:block}
.co-line__qty{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;border-radius:11px;background:var(--ink);color:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 6px;letter-spacing:0;line-height:1}
.co-line__info{flex:1;min-width:0;line-height:1.35}
.co-line__title{font-weight:600;color:var(--ink);font-size:14px}
.co-line__variant{font-size:12.5px;color:rgba(23,35,58,.7);margin-top:2px!important}
.co-line__price{font-weight:600;color:var(--ink);font-size:14px;white-space:nowrap;text-align:right}
.co-line__price s{font-weight:400;color:rgba(23,35,58,.5);font-size:12.5px;display:block}
.co-addon{display:flex;align-items:center;gap:10px;margin:12px 0 4px;padding:12px;background:#fff;border:2px solid #D5E0EA;border-radius:10px;cursor:pointer;position:relative;line-height:1.35}
.co-addon:has(input:checked){border-color:var(--glacier);background:#EEF5FB}
.co-addon input{position:absolute;opacity:0;width:1px;height:1px}
.co-addon:focus-within{outline:2px solid var(--glacier);outline-offset:2px}
.co-addon__media{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--glacier)}
.co-addon__media img{width:40px;height:40px;object-fit:contain}
.co-addon__text{flex:1;display:flex;flex-direction:column;min-width:0}
.co-addon__text strong{font-size:14px;color:var(--ink);font-weight:600}
.co-addon__text small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.co-addon__price{font-weight:600;color:var(--ink);font-size:14px;white-space:nowrap}
.co-switch{flex:none;width:38px;height:22px;border-radius:11px;background:#C4D0DC;position:relative;transition:background .2s}
.co-switch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.co-addon:has(input:checked) .co-switch{background:var(--glacier)}
.co-addon:has(input:checked) .co-switch::after{transform:translateX(16px)}
.co-totals{margin:14px 0 0;padding-top:12px;border-top:1px solid #CBD8E5;font-size:14px;line-height:1.4}
.co-totals>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.co-totals dt{color:rgba(23,35,58,.8)}
.co-totals dt span{display:block;font-size:12px;color:rgba(23,35,58,.6)}
.co-totals dd{margin:0;color:var(--ink);font-weight:500;white-space:nowrap;text-align:right}
.co-totals__discount dd{color:#1B7F4B}
.co-totals__total{border-top:1px solid #CBD8E5;margin-top:6px;padding-top:12px!important;align-items:baseline}
.co-totals__total dt{font-size:17px;font-weight:600;color:var(--ink)}
.co-totals__total dd small{font-size:12px;color:rgba(23,35,58,.6);margin-right:4px}
.co-totals__total dd strong{font-size:21px;font-weight:700}
.co-savings{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:13.5px;font-weight:600;color:#1B7F4B}

/* thank-you */
.co-thanks__head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.co-thanks__icon{width:58px;height:58px;border-radius:50%;background:var(--frost);color:var(--glacier);display:flex;align-items:center;justify-content:center;flex:none}
.co-thanks__order{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:rgba(23,35,58,.7)}
.co-thanks__head h1{font-size:var(--h2)}
.co-thanks__grid{display:grid;gap:16px}
.co-thanks__main{display:grid;gap:16px;align-content:start}
@media (min-width:990px){.co-thanks__grid{grid-template-columns:minmax(0,1fr) 400px;gap:40px;align-items:start}}
.co-status{display:flex;gap:14px;align-items:flex-start}
.co-status h2{font-size:var(--h4);margin-bottom:6px}
.co-status p{font-size:14.5px;line-height:1.6}
.co-status--ok .icon{color:#1B7F4B}
.co-status--bad{border-color:#F3C2BD;background:#FFF8F7}
.co-status--bad a,.co-status a{color:var(--glacier);text-decoration:underline}
.co-spinner{width:28px;height:28px;flex:none;border:3px solid var(--frost);border-top-color:var(--glacier);border-radius:50%;animation:co-spin .9s linear infinite}
@keyframes co-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.co-spinner{animation-duration:3s}}
.co-details{display:grid;gap:16px;font-size:14px;line-height:1.55}
@media (min-width:600px){.co-details{grid-template-columns:1fr 1fr}}
.co-details h3,.co-card h3{font-size:15px;margin-bottom:4px;display:flex;align-items:center;gap:6px}
.co-card h3 .icon{color:var(--glacier)}
.co-card .button{margin-top:12px}
.co-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.co-link{color:var(--glacier);text-decoration:underline;font-size:14px}

/* track order */
.page-width.co-track{max-width:640px}
.co-track-form .button{width:100%;margin-top:4px}
.co-track-result{margin-top:18px}
.co-track-result__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.co-track-result__head h2{font-size:var(--h4)}
.co-pill{background:var(--frost);color:var(--ink);font-size:12.5px;font-weight:600;padding:4px 12px;border-radius:40px;white-space:nowrap}
.co-pill--ok{background:#E3F4EA;color:#1B7F4B}
.co-steps{list-style:none;margin:0 0 16px;padding:0}
.co-step{display:flex;gap:12px;align-items:flex-start;position:relative;padding-bottom:16px;line-height:1.35}
.co-step:not(:last-child)::before{content:"";position:absolute;left:11px;top:26px;bottom:2px;width:2px;background:#D5E0EA}
.co-step.is-done:not(:last-child)::before{background:var(--glacier)}
.co-step__dot{width:24px;height:24px;border-radius:50%;flex:none;border:2px solid #C4D0DC;background:#fff;display:flex;align-items:center;justify-content:center;color:#fff}
.co-step.is-done .co-step__dot{background:var(--glacier);border-color:var(--glacier)}
.co-step strong{color:var(--ink);font-weight:600;font-size:14.5px;display:block}
.co-step small{font-size:12.5px;color:rgba(23,35,58,.65)}
.co-track-info{background:var(--frost);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.6;margin-bottom:12px}
.co-track-items{margin:10px 0 0;padding-left:18px;font-size:14px;line-height:1.6}
@media (max-width:599px){
  .co-method__head{flex-wrap:wrap;row-gap:6px}
  .co-method__head .co-marks{flex-basis:100%;justify-content:flex-start;padding-left:30px}
  .co-method__head .co-badge{margin-left:auto}
}

/* ---- GEO: per-country address form, searchable country field, address autocomplete ---- */
.co-row--1{grid-template-columns:1fr!important}
[data-addr-hidden]{display:none}
.co-country__head{display:none}
.co-country--enhanced select.co-input{position:absolute;left:0;top:0;width:100%;height:52px;opacity:0;pointer-events:none}
.co-country--enhanced .co-country__input{cursor:pointer;text-overflow:ellipsis}
.co-country--enhanced label{top:6px;font-size:11.5px}
.co-country__list,.co-ac__list{position:absolute;z-index:30;left:0;right:0;top:56px;margin:0;padding:6px 0;list-style:none;background:#fff;border:1px solid #B9C6D4;border-radius:10px;box-shadow:0 12px 32px rgba(14,22,38,.16);max-height:320px;overflow:auto;overscroll-behavior:contain}
.co-country__opt,.co-ac__opt{padding:11px 14px;cursor:pointer;font-size:15px;line-height:1.35;color:var(--ink)}
.co-country__opt[aria-selected="true"]{font-weight:600}
.co-country__opt.is-active,.co-ac__opt.is-active,.co-country__opt:hover,.co-ac__opt:hover{background:#EEF5FB}
.co-country__empty{padding:12px 14px;color:rgba(23,35,58,.6);font-size:14px}
.co-ac__opt{display:flex;flex-direction:column;min-height:44px;justify-content:center}
.co-ac__main{font-weight:500}
.co-ac__sec{font-size:13px;color:rgba(23,35,58,.65)}
.co-ac__foot{padding:8px 14px 4px;font-size:12px;color:rgba(23,35,58,.55);border-top:1px solid #E3EAF2;margin-top:4px}
@media (max-width:749px){
  .co-country.is-sheet{position:fixed;inset:0;z-index:1000;margin:0;background:#fff;display:flex;flex-direction:column;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .co-country.is-sheet .co-country__head{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-bottom:8px}
  .co-country__title{font-weight:600;font-size:17px}
  .co-country__close{width:44px;height:44px;border:0;background:none;font-size:20px;color:var(--ink);cursor:pointer}
  .co-country.is-sheet label,.co-country.is-sheet select.co-input{display:none}
  .co-country.is-sheet .co-country__input{padding:12px 14px;height:48px;background-image:none;cursor:text}
  .co-country.is-sheet .co-country__list{position:static;flex:1;max-height:none;border:0;box-shadow:none;border-radius:0;margin-top:8px;padding:0}
  .co-country.is-sheet .co-country__opt{padding:14px 4px;border-bottom:1px solid #EEF2F6}
  html.co-sheet-open,html.co-sheet-open body{overflow:hidden}
}
