/* Oye Appointments - Theme 2.1 */
.oye-appointments-hero{
    padding:clamp(70px,9vw,125px) 0 54px;
    border-bottom:1px solid var(--oye-line)
}
.oye-appointments-hero h1{
    margin:7px 0 13px;
    font-family:Georgia,"Times New Roman",serif;
    font-weight:400;
    font-size:clamp(58px,9vw,116px);
    line-height:.94
}
.oye-appointments-hero p{max-width:720px}
.oye-appointments-shell{
    padding-top:50px;
    padding-bottom:90px
}
.oye-appointment-manager__toolbar{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:28px;
    margin-bottom:24px
}
.oye-appointment-manager__toolbar h3{
    margin:7px 0 6px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(32px,4vw,48px);
    font-weight:400
}
.oye-appointment-manager__toolbar p:last-child{
    max-width:700px;
    margin-bottom:0
}
.oye-appointment-editor{
    margin:0 0 26px;
    padding:clamp(22px,4vw,36px);
    border:1px solid var(--oye-line);
    background:#fff
}
.oye-appointment-editor__head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:22px
}
.oye-appointment-editor__head h4{
    margin:6px 0 0;
    font-family:Georgia,"Times New Roman",serif;
    font-weight:400;
    font-size:32px
}
.oye-appointment-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px
}
.oye-appointment-editor form>label,
.oye-appointment-form-grid label{
    display:block;
    margin-bottom:16px
}
.oye-appointment-editor label>span,
.oye-appointment-products-fieldset legend{
    display:block;
    margin-bottom:7px;
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase
}
.oye-appointment-editor input[type=text],
.oye-appointment-editor input[type=date],
.oye-appointment-editor input[type=time],
.oye-appointment-editor select,
.oye-appointment-editor textarea{
    width:100%;
    min-height:46px;
    box-sizing:border-box;
    border:1px solid var(--oye-line);
    border-radius:0;
    padding:10px 12px;
    background:#fff;
    color:var(--oye-ink)
}
.oye-appointment-editor textarea{
    min-height:90px;
    resize:vertical
}
.oye-appointment-products-fieldset{
    margin:5px 0 20px;
    padding:0;
    border:0
}
.oye-appointment-products-fieldset>p{
    margin:0 0 12px;
    color:var(--oye-muted);
    font-size:13px
}
.oye-appointment-product-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:var(--oye-line);
    border:1px solid var(--oye-line);
    max-height:280px;
    overflow:auto
}
.oye-appointment-product-options label{
    display:flex!important;
    gap:10px;
    align-items:flex-start;
    padding:13px!important;
    margin:0!important;
    background:#fff
}
.oye-appointment-product-options input{
    width:auto!important;
    min-height:auto!important;
    margin-top:2px
}
.oye-appointment-product-options strong,
.oye-appointment-product-options small{
    display:block
}
.oye-appointment-product-options small{
    margin-top:3px;
    color:var(--oye-muted)
}
.oye-appointment-editor__actions{
    display:flex;
    gap:16px;
    align-items:center;
    flex-wrap:wrap
}
.oye-appointment-list-tabs{
    display:flex;
    gap:4px;
    margin:0 0 14px;
    border-bottom:1px solid var(--oye-line)
}
.oye-appointment-list-tabs button{
    appearance:none;
    border:0;
    border-bottom:2px solid transparent;
    background:none;
    color:var(--oye-muted);
    padding:11px 16px;
    cursor:pointer
}
.oye-appointment-list-tabs button.is-active{
    color:var(--oye-ink);
    border-bottom-color:var(--oye-ink)
}
.oye-appointment-cards{
    display:grid;
    gap:1px;
    background:var(--oye-line);
    border:1px solid var(--oye-line)
}
.oye-appointment-card{
    display:grid;
    grid-template-columns:180px minmax(0,1fr);
    background:#fff
}
.oye-appointment-card__date{
    padding:26px;
    background:#f3efe8;
    border-right:1px solid var(--oye-line)
}
.oye-appointment-card__date span,
.oye-appointment-card__date strong{
    display:block
}
.oye-appointment-card__date span{
    color:var(--oye-muted);
    font-size:13px
}
.oye-appointment-card__date strong{
    margin-top:9px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:36px;
    font-weight:400
}
.oye-appointment-card__body{
    padding:26px
}
.oye-appointment-card__topline{
    display:flex;
    justify-content:space-between;
    gap:20px
}
.oye-appointment-card__topline h4{
    margin:5px 0 0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:28px;
    font-weight:400
}
.oye-appointment-state{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    padding:5px 9px;
    border:1px solid var(--oye-line);
    font-size:10px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase
}
.oye-appointment-state--scheduled{background:#fff8d9}
.oye-appointment-state--confirmed{background:#e7f4eb}
.oye-appointment-state--completed{background:#e8f0fb}
.oye-appointment-state--cancelled{background:#f8e8e7}
.oye-appointment-state--no_show{background:#eee}
.oye-appointment-card__meta{
    margin:8px 0 15px;
    color:var(--oye-muted);
    font-size:12px
}
.oye-appointment-card__description{
    max-width:760px
}
.oye-appointment-cancellation{
    padding:10px 12px;
    border-left:2px solid #8d2d24;
    background:#fff5f4
}
.oye-appointment-card__actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:18px
}
.oye-appointment-card__timeline{
    margin-top:16px;
    border-top:1px solid var(--oye-line);
    padding-top:13px
}
.oye-appointment-card__timeline summary{
    cursor:pointer;
    font-size:12px;
    font-weight:700
}
.oye-appointment-card__timeline ol{
    list-style:none;
    padding:0;
    margin:13px 0 0
}
.oye-appointment-card__timeline li{
    padding:0 0 13px 14px;
    border-left:1px solid var(--oye-line)
}
.oye-appointment-card__timeline p{
    margin:4px 0;
    color:var(--oye-muted)
}
.oye-appointment-card__timeline small{
    color:var(--oye-muted)
}
.oye-account-card .oye-appointment-manager__toolbar{
    align-items:flex-start
}
@media(max-width:760px){
    .oye-appointment-manager__toolbar,
    .oye-appointment-card__topline{
        align-items:flex-start;
        flex-direction:column
    }
    .oye-appointment-form-grid,
    .oye-appointment-product-options{
        grid-template-columns:1fr
    }
    .oye-appointment-card{
        grid-template-columns:1fr
    }
    .oye-appointment-card__date{
        border-right:0;
        border-bottom:1px solid var(--oye-line)
    }
}


/* Live appointment slot availability */
.oye-appointment-time-field{
    min-width:0
}
.oye-appointment-field-label{
    display:block;
    margin-bottom:7px;
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase
}
.oye-appointment-slot-status{
    min-height:20px;
    margin-bottom:10px;
    color:var(--oye-muted);
    font-size:12px
}
.oye-appointment-slot-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px
}
.oye-appointment-slot{
    appearance:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:58px;
    padding:8px 6px;
    border:1px solid var(--oye-line);
    background:#fff;
    color:var(--oye-ink);
    cursor:pointer;
    transition:
        border-color .16s ease,
        background .16s ease,
        color .16s ease,
        transform .16s ease
}
.oye-appointment-slot strong{
    font-size:14px;
    font-weight:600
}
.oye-appointment-slot small{
    margin-top:3px;
    font-size:9px;
    letter-spacing:.05em;
    text-transform:uppercase
}
.oye-appointment-slot--available:hover{
    border-color:var(--oye-ink);
    transform:translateY(-1px)
}
.oye-appointment-slot--available.is-selected{
    border-color:var(--oye-ink);
    background:var(--oye-ink);
    color:#fff
}
.oye-appointment-slot--booked,
.oye-appointment-slot--unavailable{
    cursor:not-allowed;
    opacity:.65
}
.oye-appointment-slot--booked{
    background:#f5eeee;
    color:#87514c
}
.oye-appointment-slot--unavailable{
    background:#f3f2ef;
    color:var(--oye-muted)
}
.oye-appointment-slot-legend{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:10px;
    color:var(--oye-muted);
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.05em
}
.oye-appointment-slot-legend span{
    display:inline-flex;
    align-items:center;
    gap:6px
}
.oye-appointment-slot-legend i{
    display:inline-block;
    width:10px;
    height:10px;
    border:1px solid var(--oye-line)
}
.oye-appointment-slot-legend i.is-available{
    background:#fff
}
.oye-appointment-slot-legend i.is-booked{
    background:#f5eeee
}
.oye-appointment-slot-legend i.is-unavailable{
    background:#f3f2ef
}
@media(max-width:760px){
    .oye-appointment-slot-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
}
@media(max-width:480px){
    .oye-appointment-slot-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
