/* Try-on flow pages: checkout/success/unavailable */
.tryon-flow{
    --max: 900px;
    --pad: 16px;
    --card: 18px;
    --input: 14px;
  
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px var(--pad) 32px;
  }
  
  .tryon-flow .flow-hero{
    text-align: center;
    margin: 10px 0 18px;
  }
  
  .tryon-flow .flow-title{
    margin: 0;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.02em;
  }
  
  .tryon-flow .flow-title--success{
    color: #16a34a; /* ✅ green confirmed */
  }
  
  .tryon-flow .flow-sub{
    margin: 10px auto 0;
    max-width: 720px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .tryon-flow .flow-fee{
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72, 202, 228, 0.14);
    border: 1px solid rgba(72, 202, 228, 0.22);
    color: #0b4a57;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 650;
  }
  
  .tryon-flow .flow-card{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--card);
    padding: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
  }
  
  .tryon-flow .flow-section{
    margin-top: 14px;
  }
  
  .tryon-flow .flow-h{
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 750;
    color: #111827;
  }
  
  /* ✅ vertical meta list (appointment details stacked) */
  .tryon-flow .meta-col{
    display: grid;
    gap: 10px;
    margin-top: 10px;
    justify-items: stretch;
  }
  
  .tryon-flow .meta-pill{
    border-radius: 999px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 14px;
    width: 100%;
  }
  
  /* ✅ vertical product list with thumb + details */
  .tryon-flow .product-list{
    display: grid;
    gap: 12px;
    margin-top: 10px;
  }
  
  .tryon-flow .product-item{
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
  }
  
  .tryon-flow .product-thumb{
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    overflow: hidden;
    display: grid;
    place-items: center;
  }
  
  .tryon-flow .product-thumb img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  .tryon-flow .product-name{
    font-weight: 750;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
  }
  
  .tryon-flow .product-meta{
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.35;
  }
  
  .tryon-flow form{
    margin-top: 14px;
  }
  
  .tryon-flow .form-group{
    margin-top: 12px;
    text-align: left;
  }
  
  .tryon-flow label{
    display: block;
    margin-bottom: 8px;
    font-weight: 650;
    color: #111827;
    font-size: 14px;
  }
  
  .tryon-flow :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea){
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--input);
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 15px;
    outline: none;
  }
  
  .tryon-flow textarea{
    height: auto;
    min-height: 110px;
    padding: 12px 14px;
    resize: vertical;
  }
  
  .tryon-flow :is(input,select,textarea):focus{
    border-color: #48CAE4;
    box-shadow: 0 0 0 3px rgba(72,202,228,.18);
  }
  
  .tryon-flow .errorlist{
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    font-size: 13px;
  }
  
  .tryon-flow hr{
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 18px 0;
  }
  
  .tryon-flow .flow-actions{
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  
  .tryon-flow .btn-pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  
  .tryon-flow .btn-pill:hover{
    transform: translateY(-1px);
  }
  
  .tryon-flow .btn-primary{
    background: #111;
    border-color: #111;
    color: #fff;
  }
  
  .tryon-flow .btn-primary:hover{
    background: #0b0b0b;
  }
  
  .tryon-flow .btn-green{
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
  }
  
  .tryon-flow .btn-green:hover{
    background: #15803d;
    border-color: #15803d;
  }
  
  .tryon-flow .btn-link{
    background: transparent;
    border-color: transparent;
    color: #111;
  }
  
  .tryon-flow .btn-link:hover{
    background: #f3f4f6;
    border-color: #e5e7eb;
  }
  
/* Address sections */
.tryon-flow .addr-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .tryon-flow .form-group--full{ grid-column: 1 / -1; }
  
  @media (max-width: 700px){
    .tryon-flow .addr-grid{ grid-template-columns: 1fr; }
  }
  
  .tryon-flow .readonly-pill{
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-weight: 700;
    color: #111827;
  }
  
  .tryon-flow .hint{
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
  }
  
  /* Map */
  .tryon-flow .map-wrap{
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
  }
  
  .tryon-flow .map-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tryon-flow .map-title{
    font-weight: 750;
    color: #111827;
  }
  
  .tryon-flow .map-search{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tryon-flow .map-search input{
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    outline: none;
  }
  .tryon-flow .map-search input:focus{
    border-color: #48CAE4;
    box-shadow: 0 0 0 3px rgba(72,202,228,.18);
  }
  
  .tryon-flow .map{
    height: 320px;
  }
  
  .tryon-flow .map-foot{
    padding: 10px 14px;
    font-size: 13px;
    color: #6b7280;
    background: #fff;
  }
  
  .tryon-flow .btn-mini{
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  
/* ===== shared checkout extras ===== */

/* alerts from Django messages */
.tryon-flow .alert{
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
    margin: 10px 0;
  }
  .tryon-flow .alert.success{ background:#ecfdf5; border-color:#bbf7d0; color:#065f46; }
  .tryon-flow .alert.error{ background:#fff1f2; border-color:#fecdd3; color:#9f1239; }
  .tryon-flow .alert.warning{ background:#fffbeb; border-color:#fde68a; color:#92400e; }
  .tryon-flow .alert.info{ background:#eff6ff; border-color:#bfdbfe; color:#1e40af; }
  
  .tryon-flow .error-text{
    margin-top: 8px;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    font-size: 13px;
  }
  
  /* form spacing */
  .tryon-flow .flow-form p{ margin: 12px 0; }
  .tryon-flow .flow-form input[type="text"],
  .tryon-flow .flow-form input[type="email"],
  .tryon-flow .flow-form input[type="password"],
  .tryon-flow .flow-form input[type="tel"],
  .tryon-flow .flow-form select,
  .tryon-flow .flow-form textarea{
    width: 100%;
  }
  
  /* address choose cards (radio) */
  .tryon-flow .address-list{
    display: grid;
    gap: 12px;
    margin-top: 10px;
  }
  
  .tryon-flow .address-option{
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
  }
  
  .tryon-flow .address-option:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
  }
  
  .tryon-flow .address-option input[type="radio"]{
    margin-top: 4px;
  }
  
  .tryon-flow .address-option .addr-title{
    font-weight: 800;
    color: #111827;
  }
  
  .tryon-flow .address-option .addr-lines{
    margin-top: 6px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
  }
  
  .tryon-flow .address-option.is-default{
    border-color: rgba(72,202,228,.35);
    box-shadow: 0 0 0 3px rgba(72,202,228,.12);
  }
  
  /* cart line list becomes product list styling (already in your file) */
 
/* ===== Guide page (connected numbered steps) ===== */

.tryon-flow.guide-page .guide-card{
    padding: 22px;
  }
  
  .tryon-flow.guide-page .guide-grid{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 22px;
    align-items: start;
  }
  
  @media (max-width: 900px){
    .tryon-flow.guide-page .guide-grid{
      grid-template-columns: 1fr;
    }
  }
  
  /* Left big headline like your reference */
  .tryon-flow.guide-page .guide-big{
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
  }
  
  .tryon-flow.guide-page .guide-muted{
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    max-width: 46ch;
  }
  
  /* Timeline list */
  .tryon-flow.guide-page .guide-steps{
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
  }
  
  /* Each step reserves space for marker + line */
  .tryon-flow.guide-page .guide-step{
    position: relative;
    padding-left: 64px;     /* space for the circle */
    padding-bottom: 18px;
    counter-increment: step;
  }
  
  /* Circle with number */
  .tryon-flow.guide-page .guide-step::before{
    content: counter(step);
    position: absolute;
    left: 10px;
    top: 2px;
  
    width: 40px;
    height: 40px;
    border-radius: 999px;
  
    display: grid;
    place-items: center;
  
    background: #ffffff;
    border: 2px solid rgba(72,202,228,.65); /* light blue outline */
    color: #0b4a5a;
  
    font-weight: 800;
    font-size: 14px;
  
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }
  
  /* Connector line */
  .tryon-flow.guide-page .guide-step::after{
    content: "";
    position: absolute;
    left: 29px;            /* center under the circle */
    top: 46px;             /* starts under the circle */
    width: 2px;
    height: calc(100% - 46px);
    background: rgba(17,24,39,.10);
    border-radius: 2px;
  }
  
  /* No line after last step */
  .tryon-flow.guide-page .guide-step:last-child{
    padding-bottom: 0;
  }
  .tryon-flow.guide-page .guide-step:last-child::after{
    display: none;
  }
  
  /* Step text styles */
  .tryon-flow.guide-page .guide-step-title{
    margin: 0;
    font-size: 16px;
    font-weight: 850;
    color: #111827;
  }
  
  .tryon-flow.guide-page .guide-step-text{
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
  }
  
  /* Optional: hover highlight like a “professional” guide */
  .tryon-flow.guide-page .guide-step:hover::before{
    background: rgba(72,202,228,.10);
  }
  
