.printcity-customizer {
    max-width: 1050px;
    margin: 0 auto;
    padding: 70px 20px;
    color: #f5f5f7;
    background: #000;
    font-family: inherit;
}

.printcity-heading {
    text-align: center;
    margin-bottom: 50px;
}

.printcity-heading h1 {
    color: #f5f5f7;
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 12px;
}

.printcity-heading p {
    color: #999;
    font-size: 16px;
}


/* STEPS */

.printcity-steps {
    display: flex;
    align-items: flex-start;
    margin: 0 auto 45px;
    max-width: 850px;
}

.printcity-step {
    width: 80px;
    text-align: center;
    color: #777;
    flex-shrink: 0;
}

.printcity-step span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
}

.step-circle {
    width: 38px;
    height: 38px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #29292d;
    color: #777;
    font-size: 18px;
}

.printcity-step.active {
    color: #087cff;
}

.printcity-step.active .step-circle,
.printcity-step.completed .step-circle {
    background:
        linear-gradient(
            135deg,
            #087cff,
            #a43df4
        );
    color: #fff;
}

.printcity-step.completed {
    color: #087cff;
}

.step-line {
    height: 3px;
    flex: 1;
    margin-top: 18px;
    background: #3a3a3f;
}


/* LAYOUT */

.printcity-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        320px;
    gap: 28px;
    align-items: start;
}

.printcity-panel,
.printcity-summary {
    background:
        linear-gradient(
            145deg,
            #17171a,
            #101012
        );
    border-radius: 12px;
    border: 1px solid #202025;
}

.printcity-panel {
    padding: 25px;
    display: none;
}

.printcity-panel.active {
    display: block;
}

.panel-heading h2,
.printcity-summary h2 {
    color: #f4f4f4;
    margin: 0 0 5px;
    font-size: 24px;
}

.panel-heading p {
    color: #929299;
    margin: 0 0 25px;
}


/* SIZE */

.size-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 14px;
}

.size-card {
    min-height: 110px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #1b1b1f;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    text-align: center;
    transition: .2s ease;
}

.size-card:hover,
.size-card.selected {
    border-color: #087cff;
    background: #202027;
    transform: translateY(-2px);
}

.size-card strong {
    display: block;
    font-size: 27px;
}

.size-card span {
    display: block;
    color: #c7c7ca;
    margin-top: 6px;
}

.size-card small {
    display: block;
    color: #0b85ff;
    margin-top: 7px;
}


/* COLORS */

.color-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.color-card {
    position: relative;
    min-height: 180px;
    background: #1b1b1f;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    padding: 25px;
}

.color-card:hover,
.color-card.selected {
    border-color: #087cff;
}

.color-circle {
    width: 52px;
    height: 52px;
    display: block;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 3px solid #444;
}

.color-circle.black {
    background: #111;
}

.color-circle.silver {
    background:
        linear-gradient(
            135deg,
            #fff,
            #bfc4cc
        );
}

.color-card strong,
.color-card small {
    display: block;
}

.color-card small {
    color: #999;
    margin-top: 6px;
}

.color-card .radio {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 50%;
    margin: 15px auto 0;
}

.color-card.selected .radio {
    border-color: #087cff;
    box-shadow:
        inset 0 0 0 4px #1b1b1f;
    background: #087cff;
}


/* UPLOAD */

/* =========================================
   UPLOAD AREA
========================================= */

.upload-box {
    position: relative;
    min-height: 330px;
    width: 100%;
    box-sizing: border-box;

    border: 2px dashed #087cff;
    border-radius: 16px;

    background:
        radial-gradient(
            circle at center,
            rgba(8, 124, 255, 0.08),
            transparent 65%
        ),
        #151519;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    cursor: pointer;

    padding: 35px;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.upload-box:hover {
    border-color: #3295ff;

    background:
        radial-gradient(
            circle at center,
            rgba(8, 124, 255, 0.14),
            transparent 65%
        ),
        #18181d;
}


/* Hide native file input */

.upload-box input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}


/* Upload content */

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    color: #1685ff;

    background: rgba(
        8,
        124,
        255,
        .12
    );

    font-size: 38px;
}

.upload-content strong {
    color: #f5f5f7;
    font-size: 17px;
    font-weight: 600;
}

.upload-content > span:not(.upload-button) {
    display: block;
    color: #85858d;
    margin-top: 9px;
    font-size: 13px;
}


/* Select button */

.upload-button {
    display: inline-flex;

    margin-top: 22px;

    padding: 12px 25px;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #087cff,
            #4c72ff
        );

    color: #fff !important;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 8px 25px
        rgba(8, 124, 255, .20);
}


/* Selected image */

.upload-selected {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 20px;

    text-align: left;
}

.upload-selected img {
    width: 130px;
    height: 130px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;

    border: 1px solid #34343b;

    background: #0e0e10;
}

.upload-selected-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.upload-selected-info strong {
    color: #f5f5f7;
    font-size: 16px;

    word-break: break-word;
}

.upload-selected-info span {
    color: #888;
    font-size: 13px;
}


/* Change image */

.change-image {
    width: fit-content;

    margin-top: 8px;

    border: 1px solid #087cff;

    background: transparent;

    color: #087cff;

    padding: 8px 14px;

    border-radius: 7px;

    cursor: pointer;
}

.change-image:hover {
    background: #087cff;
    color: #fff;
}


/* Upload progress */

.upload-progress {
    margin-top: 15px;

    padding: 12px;

    text-align: center;

    border-radius: 8px;

    color: #1685ff;

    background: rgba(
        8,
        124,
        255,
        .08
    );
}



/* PREVIEW */

/* =========================================
   FRAME PREVIEW
========================================= */

.preview-wrapper {
    padding: 35px;

    background:
        radial-gradient(
            circle at center,
            #29292f,
            #161619
        );

    border-radius: 14px;

    display: flex;

    justify-content: center;
    align-items: center;
}


/*
 * Outer frame
 */

.frame-preview {
    position: relative;

    width: min(
        100%,
        560px
    );

    padding: 14px;

    box-sizing: border-box;

    border-radius: 4px;

    background: #111;

    transition:
        background .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.45);
}


/*
 * Black frame
 */

.frame-preview.frame-black {
    background: #080808;

    box-shadow:
        0 0 0 2px #050505,
        0 0 0 5px #1b1b1b,
        0 20px 50px
        rgba(0,0,0,.55);
}


/*
 * Silver frame
 */

.frame-preview.frame-silver {
    background:
        linear-gradient(
            135deg,
            #f7f7f7 0%,
            #c7c7c7 18%,
            #8f8f8f 45%,
            #eeeeee 65%,
            #a7a7a7 100%
        );

    box-shadow:
        0 0 0 2px #777,
        0 0 0 5px #d5d5d5,
        0 20px 50px
        rgba(0,0,0,.45);
}


/*
 * Inner frame area
 */

.frame-inner {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #000;

    border-radius: 1px;
}


/*
 * Preview image
 */

.frame-inner img {
    display: block;

    width: 100%;

    height: auto;

    max-height: 650px;

    object-fit: contain;

    background: #111;
}


/* SUMMARY */

.printcity-summary {
    padding: 24px;
    position: sticky;
    top: 25px;
}

.summary-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #777;
    text-align: center;
}

.summary-product {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
    padding: 10px;
    border: 1px solid #30303a;
    border-radius: 10px;
}

.summary-product img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
}

.summary-product div {
    flex: 1;
}

.summary-product span {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.summary-details {
    margin-top: 25px;
}

.summary-details > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.summary-details span {
    color: #ccc;
}

.summary-details em {
    color: #888;
    font-size: 13px;
}

.summary-details hr {
    border-color: #333;
}

.subtotal strong {
    color: #087cff;
    font-size: 18px;
}


/* ADD CART */

.add-cart-button {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            #087cff,
            #a33cf4
        );
}

.add-cart-button:disabled {
    opacity: .35;
    cursor: not-allowed;
}


/* CART IMAGE */

.printcity-cart-image {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
}


/* MOBILE */

@media (max-width: 800px) {

    .printcity-heading h1 {
        font-size: 32px;
    }

    .printcity-layout {
        grid-template-columns: 1fr;
    }

    .printcity-summary {
        position: static;
    }

    .size-grid {
        grid-template-columns: 1fr 1fr;
    }

    .color-grid {
        grid-template-columns: 1fr;
    }

    .printcity-steps {
        overflow-x: auto;
    }
}


@media (max-width: 500px) {

    .size-grid {
        grid-template-columns: 1fr;
    }

    .printcity-customizer {
        padding: 40px 12px;
    }
}
