﻿/* =========================================================
    VARIABLES
========================================================== */

:root {
    --cream: #fffdf8;
    --white: #ffffff;
    --navy: #17253d;
    --navy-2: #243653;
    --gold: #d8b56a;
    --gold-light: #f6ead0;
    --text: #263142;
    --muted: #697386;
    --border: #eeeae1;
    --soft-blue: #f3f7fb;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(23, 37, 61, .08);
}


/* =========================================================
    GLOBAL
========================================================== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--cream);
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--navy);
}

.serif {
    font-family: "Playfair Display", serif;
}

/* =================================================
   NAVBAR
================================================== */

.navbar {
    background: rgba(255, 253, 248, .95);
    backdrop-filter: blur(12px);
    /*border-bottom: 1px solid rgba(0, 0, 0, .04);*/
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.brand-star {
    color: var(--gold);
}

.nav-link {
    color: var(--text);
    font-size: .95rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold);
}

/* =================================================
   NAVBAR ACTIONS
================================================== */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* =================================================
   NAVBAR CART
================================================== */

.navbar-cart {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    color: var(--navy);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

    .navbar-cart i {
        font-size: 1.05rem;
        line-height: 1;
    }

    .navbar-cart:hover {
        background: white;
        border-color: var(--gold);
        color: var(--navy);
        transform: translateY(-1px);
    }


/* =================================================
   CART BADGE
================================================== */

.cart-badge {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--cream);
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy);
    font-size: .55rem;
    font-weight: 700;
    line-height: 1;
}

/* =========================================================
    BUILDER
========================================================== */

.sky-builder {
    width: 100vw;
    height: calc(100vh - 56px);
    min-height: 0;
    overflow: hidden;
}


.sky-builder-shell {
    display: grid;
    grid-template-columns: minmax(450px, 500px) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* =========================================================
    EDITOR
========================================================== */

.editor-panel {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border-right: 1px solid var(--border);
    overflow: hidden;
    z-index: 5;
}


.editor-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px 18px;
}


.editor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .67rem;
    font-weight: 700;
    margin-bottom: 7px;
}


.editor-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.05;
    letter-spacing: -.04em;
}


.back-home {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    padding-top: 5px;
    transition: .2s ease;
}


    .back-home:hover {
        color: var(--navy);
    }


/* =========================================================
               STEPS
            ========================================================== */

.steps {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 12px 30px 18px;
}


.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a0a7b2;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}


.step-number {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #dfe1e5;
    background: white;
    color: #9ba1ac;
    font-size: .68rem;
    transition: .2s ease;
}


.step-item.active {
    color: var(--navy);
}


    .step-item.active .step-number {
        background: var(--navy);
        color: white;
        border-color: var(--navy);
        box-shadow: 0 5px 15px rgba(23,37,61,.15);
    }


.step-line {
    flex: 1;
    height: 1px;
    background: #e6e3dc;
    margin: 0 10px;
}


/* =========================================================
               CONTENT
            ========================================================== */

.editor-content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 4px 30px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ddd7ca transparent;
}


    .editor-content::-webkit-scrollbar {
        width: 5px;
    }


    .editor-content::-webkit-scrollbar-track {
        background: transparent;
    }


    .editor-content::-webkit-scrollbar-thumb {
        background: #ddd7ca;
        border-radius: 999px;
    }


.step-content {
    padding-bottom: 5px;
}


.content-heading {
    margin-bottom: 22px;
}


.content-kicker {
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gold);
    font-size: .65rem;
    font-weight: 700;
    margin-bottom: 5px;
}


.content-heading h2 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: -.035em;
}


.content-heading p {
    color: var(--muted);
    font-size: .83rem;
    margin: 6px 0 0;
    max-width: 420px;
}


/* =========================================================
               FORM SECTION
            ========================================================== */

.form-section {
    margin-bottom: 20px;
}


.form-section-title {
    display: block;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: .76rem;
    font-weight: 700;
}


    .form-section-title span {
        color: #a1a6af;
        font-weight: 500;
        margin-left: 4px;
    }


/* =========================================================
               COLOR
            ========================================================== */

.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}


.color-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 82px;
    padding: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
}


    .color-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(23,37,61,.07);
    }


.color-preview {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}


.navy-card .color-preview {
    background: radial-gradient( circle, #30344A 0%, #191B2A 55%, #0D0F19 100% );
}

.charcoal-card .color-preview {
    background: radial-gradient( circle, #303030 0%, #111111 55%, #050505 100% );
}

.bluegrey-card .color-preview {
    background: radial-gradient( circle, #6A6A78 0%, #4D4D59 55%, #303039 100% );
}


.white-card .color-preview {
    background: white;
    border: 1px solid #ddd;
}


.color-card i {
    position: absolute;
    right: 6px;
    top: 6px;
    display: none;
    color: var(--gold);
    font-size: .75rem;
}


.btn-check:checked + .color-card {
    border-color: var(--gold);
    background: linear-gradient( 180deg, #fff, #fffaf0 );
    box-shadow: 0 0 0 2px rgba(216,181,106,.12);
    color: var(--navy);
}


    .btn-check:checked + .color-card i {
        display: block;
    }


/* =========================================================
               DETAILS
            ========================================================== */

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}


.detail-option {
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
    transition: .2s ease;
}


.detail-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--soft-blue);
    border-radius: 9px;
    color: var(--navy);
}


.detail-option > i {
    margin-left: auto;
    display: none;
    color: var(--gold);
}


.btn-check:checked + .detail-option {
    border-color: var(--gold);
    color: var(--navy);
    background: #fffaf0;
}


.btn-check:checked + .detail-option > i {
    display: block;
}


/* =========================================================
    INPUTS
========================================================== */

.custom-input {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    font-family: inherit;
    font-size: .78rem;
    padding: 10px 12px;
    box-shadow: none;
}

.custom-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(216,181,106,.12);
}


.custom-input::placeholder {
    color: #a6abb3;
}


.coordinates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.small-label {
    display: block;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* =========================================================
    DIGITAL
========================================================== */
.selected-icon {
    margin-left: auto;
    color: var(--gold);
}

/* =========================================================
    LAYOUT
========================================================== */

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.layout-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    padding: 13px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    cursor: pointer;
    transition: .2s ease;
}


.layout-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23,37,61,.06);
}

.layout-preview {
    display: block;
    border: 2px solid #d8d9dd;
    background: linear-gradient( 135deg, #273b60, #101d31 );
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    margin-bottom: 9px;
}


.portrait-preview {
    width: 38px;
    height: 51px;
}


.square-preview {
    width: 48px;
    height: 48px;
}


.layout-name {
    color: var(--navy);
    font-size: .74rem;
    font-weight: 700;
}


.layout-description {
    color: var(--muted);
    font-size: .6rem;
    margin-top: 2px;
}


.layout-card > i {
    position: absolute;
    right: 8px;
    top: 8px;
    display: none;
    color: var(--gold);
    font-size: .8rem;
}

.btn-check:checked + .layout-card {
    border-color: var(--gold);
    background: #fffaf0;
    box-shadow: 0 0 0 2px rgba(216,181,106,.10);
}

.btn-check:checked + .layout-card > i {
    display: block;
}

/* =========================================================
    SIZE
========================================================== */

.size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.size-card {
    position: relative;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: .2s ease;
}


.size-card:hover {
    border-color: #d9d4c9;
}


.size-card strong {
    color: var(--navy);
    font-size: .78rem;
}


.size-card span {
    color: var(--muted);
    font-size: .6rem;
}


.size-card i {
    position: absolute;
    right: 5px;
    top: 5px;
    display: none;
    color: var(--gold);
    font-size: .7rem;
}


.btn-check:checked + .size-card {
    border-color: var(--gold);
    background: #fffaf0;
}


.btn-check:checked + .size-card i {
    display: block;
}


/* =========================================================
    INFO
========================================================== */

.info-box {
    display: flex;
    gap: 10px;
    padding: 12px 13px;
    background: var(--soft-blue);
    border-radius: 13px;
    color: var(--muted);
    font-size: .66rem;
}


.info-box > i {
    color: var(--gold);
    font-size: 1rem;
    flex: 0 0 auto;
}


.info-box strong {
    display: block;
    color: var(--navy);
    font-size: .7rem;
    margin-bottom: 2px;
}


.info-box p {
    margin: 0;
}


/* =========================================================
    EDITOR FOOTER
========================================================== */

.editor-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255,253,248,.96);
}

.btn-back {
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: .78rem;
    font-weight: 600;
    padding: 10px 4px;
}


.btn-back:hover {
    color: var(--navy);
}


.btn-continue {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    font-size: .76rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(23,37,61,.12);
    transition: .2s ease;
}


    .btn-continue:hover {
        background: var(--navy-2);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(23,37,61,.18);
    }


/* =========================================================
               PREVIEW PANEL
            ========================================================== */

.preview-panel {
    position: relative;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient( circle at 80% 10%, rgba(216,181,106,.16), transparent 28% ), #f3f7fb;
    overflow: hidden;
}


.preview-topbar {
    flex: 0 0 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid rgba(23,37,61,.06);
    background: rgba(255,255,255,.52);
    backdrop-filter: blur(10px);
}


.preview-brand {
    color: var(--navy);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.02em;
}


.brand-star {
    color: var(--gold);
}


.preview-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
}


    .preview-label i {
        color: var(--gold);
    }


/* =========================================================
               PREVIEW STAGE
            ========================================================== */

.preview-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    overflow: hidden;
}


.preview-glow {
    position: absolute;
    width: 60%;
    height: 55%;
    max-width: 600px;
    background: rgba(23,37,61,.12);
    filter: blur(70px);
    border-radius: 50%;
    pointer-events: none;
}


.preview-paper {
    position: relative;
    z-index: 2;
    height: min( calc(100% - 12px), 650px );
    max-height: 650px;
    aspect-ratio: 3 / 4;
    background: white;
    padding: 13px;
    box-shadow: 0 30px 70px rgba(23,37,61,.18);
    transition: aspect-ratio .25s ease, height .25s ease;
}


    .preview-paper.preview-square {
        aspect-ratio: 1 / 1;
    }


.preview-paper-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e9e3d5;
    display: flex;
    align-items: center;
    justify-content: center;
}


.sky-image {
    display: block;
    width: 100%;
    height: 100%;
    /*  object-fit: contain; */
}


/* =========================================================
               OLD FRAME SUPPORT
            ========================================================== */

.border-none {
    border: 20px solid transparent !important;
}


.border-image0 {
    border-image: url(/images/wooden-frame.webp) 43 42 43 42 / 1 / 0 stretch;
}


.border-image1 {
    border-image: url(/images/white-frame.webp) 43 42 43 42 / 1 / 0 stretch;
}


.border-image2 {
    border-image: url(/images/black-frame.webp) 43 42 43 42 / 1 / 0 stretch;
}


.canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 12px;
    background: linear-gradient( rgba(20,22,34,.6) 0%, rgb(25,27,42) 100% );
    transform: perspective(10px) rotateY(178deg);
    transform-origin: left;
    z-index: 4;
}


/* =========================================================
               CAPTION
            ========================================================== */

.preview-caption {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(23,37,61,.07);
    box-shadow: 0 8px 25px rgba(23,37,61,.08);
    color: var(--muted);
    font-size: .61rem;
    font-weight: 600;
    white-space: nowrap;
}


    .preview-caption i {
        color: var(--gold);
    }


.caption-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b9bdc4;
}


/* =========================================================
               PREVIEW BOTTOM
            ========================================================== */

.preview-bottom {
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(255,255,255,.68);
    border-top: 1px solid rgba(23,37,61,.06);
    backdrop-filter: blur(10px);
}


.preview-bottom-label {
    display: block;
    color: var(--gold);
    font-size: .56rem;
    letter-spacing: .15em;
    font-weight: 700;
}


.preview-bottom strong {
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: .9rem;
}


.preview-location {
    color: var(--muted);
    font-size: .65rem;
    font-weight: 600;
}


    .preview-location i {
        color: var(--gold);
        margin-right: 4px;
    }


/* =========================================================
               LOADING
            ========================================================== */

.preview-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23,37,61,.16);
    backdrop-filter: blur(3px);
}


.loading-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 15px 40px rgba(23,37,61,.16);
    color: var(--navy);
    font-size: .7rem;
    font-weight: 600;
}


    .loading-card .spinner-border {
        width: 18px;
        height: 18px;
        color: var(--gold);
        border-width: 2px;
    }


/* =========================================================
               RESPONSIVE
            ========================================================== */

@media (max-width: 991px) {
    html, body {
        overflow: auto;
        height: auto;
    }


    .sky-builder {
        height: auto;
        min-height: calc(100vh - 56px);
        overflow: visible;
    }


    .sky-builder-shell {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
    }


    .editor-panel {
        height: auto;
        min-height: auto;
        overflow: visible;
        border-right: 0;
    }


    .editor-content {
        overflow: visible;
    }


    .preview-panel {
        order: -1;
        height: 52vh;
        min-height: 400px;
        overflow: hidden;
    }


    .preview-paper {
        height: calc(100% - 30px);
        max-height: none;
    }


    .preview-bottom {
        display: none;
    }


    .editor-header {
        padding-top: 25px;
    }
}


@media (max-width: 575px) {
    .editor-header {
        padding: 20px 18px 14px;
    }


    .steps {
        padding: 10px 18px 15px;
    }


    .editor-content {
        padding: 5px 18px 15px;
    }


    .editor-footer {
        padding: 13px 18px 18px;
    }


    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .preview-panel {
        height: 48vh;
        min-height: 340px;
    }


    .preview-topbar {
        padding: 0 18px;
    }


    .preview-stage {
        padding: 15px;
    }


    .preview-paper {
        height: calc(100% - 10px);
    }
}

.all-sizes-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: rgba(0,0,0,.025);
}

.all-sizes-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
}

.all-sizes-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.all-sizes-content strong {
    font-size: 15px;
}

.all-sizes-content span {
    font-size: 12px;
    opacity: .65;
}

.all-sizes-card .selected-icon {
    font-size: 20px;
}


.size-section {
    margin-top: 24px;
}


.included-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}


.included-size-card {
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 10px;
    background: #fff;
}


.included-size-card strong {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}


.included-size-card span {
    margin-top: 3px;
    font-size: 10px;
    opacity: .55;
}


@media (max-width: 700px) {

    .included-size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   PREVIEW TOPBAR
========================================================= */

.preview-topbar {
    flex: 0 0 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 30px;
    border-bottom: 1px solid rgba(23, 37, 61, .06);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
}


/* =========================================================
   TOPBAR RIGHT
========================================================= */

.preview-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}


/* =========================================================
   PORTRAIT / SQUARE SWITCH
========================================================= */

.preview-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(23, 37, 61, .08);
    border-radius: 10px;
    background: rgba(23, 37, 61, .04);
}


/* =========================================================
   MODE BUTTON
========================================================= */

.preview-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: rgba(23, 37, 61, .50);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}


.preview-mode-btn i {
    font-size: 13px;
}


/* =========================================================
ACTIVE
========================================================= */

.preview-mode-btn.active {
    /*    background: #fff;*/
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(23, 37, 61, .10);
}


/* =========================================================
HOVER
========================================================= */

.preview-mode-btn:hover:not(.active) {
    color: var(--navy);
}


/* =========================================================
   LIVE PREVIEW
========================================================= */

.preview-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
}

    .preview-label i {
        color: var(--gold);
    }


/* =================================================
   SHOW TIME OPTION
================================================== */

.show-time-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 10px;
}

.show-time-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    cursor: pointer;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 600;
    user-select: none;
}

    .show-time-check input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid #d9d6ce;
    border-radius: 5px;
    background: white;
    transition: .2s ease;
}

.show-time-check:hover .checkmark {
    border-color: var(--gold);
}

.show-time-check input:checked + .checkmark {
    background: var(--navy);
    border-color: var(--navy);
}

    .show-time-check input:checked + .checkmark::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 2px;
        width: 5px;
        height: 9px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.show-time-label {
    line-height: 18px;
}

.show-time-hint {
    margin-left: 27px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.4;
}

/* =================================================
   CUSTOM TIME PICKER
================================================== */

.custom-time-picker {
    margin-top: 14px;
    padding: 16px;
    background: #faf9f5;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.time-picker-label {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: .78rem;
    font-weight: 600;
}

.time-picker-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.time-select {
    height: 42px;
    min-width: 68px;
    padding: 0 30px 0 12px;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--navy);
    font-family: "DM Sans", sans-serif;
    font-size: .82rem;
   /* font-weight: 600;*/
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .time-select:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 .2rem rgba(216,181,106,.14);
    }

    .time-select.am-pm {
        min-width: 78px;
    }

.time-separator {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}


/* =================================================
   SHOW TIME
================================================== */

.show-time-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 11px;
}

.show-time-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

    .show-time-check input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: white;
    border: 1px solid #d9d6ce;
    border-radius: 5px;
    transition: .2s ease;
}

.show-time-check:hover .checkmark {
    border-color: var(--gold);
}

.show-time-check input:checked + .checkmark {
    background: var(--navy);
    border-color: var(--navy);
}

    .show-time-check input:checked + .checkmark::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 2px;
        width: 5px;
        height: 9px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.show-time-label {
    line-height: 18px;
}

.show-time-hint {
    margin-left: 27px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.4;
}

@media (max-width: 575px) {

    .time-picker-row {
        gap: 5px;
    }

    .time-select {
        flex: 1;
        min-width: 0;
        padding-left: 10px;
        padding-right: 24px;
    }

        .time-select.am-pm {
            flex: 1.1;
            min-width: 0;
        }

    .custom-time-picker {
        padding: 14px;
    }
}