﻿/* =========================================================
   CRAZYNUTS — MAKE YOUR OWN MIX
   FINAL REDESIGNED CSS

   Burgundy: #951f1f
   Orange:   #f58220
   ========================================================= */


/* =========================================================
   GLOBAL MIX RESET
   ========================================================= */

.cn-mixHub,
.cn-mixStudio {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

    .cn-mixHub *,
    .cn-mixHub *::before,
    .cn-mixHub *::after,
    .cn-mixStudio *,
    .cn-mixStudio *::before,
    .cn-mixStudio *::after {
        box-sizing: border-box;
    }


/* =========================================================
   =========================================================
   MIX LANDING PAGE
   /mix
   =========================================================
   ========================================================= */

.cn-mixHub {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 42px;
}


/* =========================================================
   HERO
   ========================================================= */

.cn-mixHubHero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 155px;
    padding: 25px 30px;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient( circle at 85% 15%, rgba(255,255,255,.13), transparent 28% ), linear-gradient( 118deg, #951f1f 0%, #721818 42%, #171313 100% );
    color: #fff;
    box-shadow: 0 18px 42px rgba(70,18,18,.15);
}


    .cn-mixHubHero::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -90px;
        bottom: -130px;
        border: 30px solid rgba(255,255,255,.045);
        border-radius: 50%;
        pointer-events: none;
    }


.cn-mixHubHero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}


.cn-mixHubHero__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: #ffd6c7;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}


.cn-mixHubHero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: .98;
    font-weight: 1000;
    letter-spacing: -1.6px;
}


.cn-mixHubHero p {
    max-width: 540px;
    margin: 10px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.cn-mixHubSteps {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
}


.cn-mixHubStep {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 110px;
    padding: 8px 10px;
    border-radius: 13px;
    background: rgba(255,255,255,.07);
}


    .cn-mixHubStep > span {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #fff;
        color: #951f1f;
        font-size: 11px;
        font-weight: 1000;
    }


    .cn-mixHubStep strong,
    .cn-mixHubStep small {
        display: block;
    }


    .cn-mixHubStep strong {
        color: #fff;
        font-size: 12px;
        font-weight: 950;
    }


    .cn-mixHubStep small {
        margin-top: 1px;
        color: rgba(255,255,255,.65);
        font-size: 9px;
    }


.cn-mixHubSteps__arrow {
    color: rgba(255,255,255,.38);
    font-size: 14px;
}


/* =========================================================
   CATEGORY SECTION
   ========================================================= */

.cn-mixHubCategories {
    margin-top: 24px;
}


.cn-mixHubCategories__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}


    .cn-mixHubCategories__head span {
        color: #951f1f;
        font-size: 10px;
        font-weight: 950;
        letter-spacing: 1.3px;
        text-transform: uppercase;
    }


    .cn-mixHubCategories__head h2 {
        margin: 2px 0 0;
        color: #171717;
        font-size: 25px;
        line-height: 1.05;
        font-weight: 1000;
    }


    .cn-mixHubCategories__head p {
        margin: 0;
        color: #777;
        font-size: 12px;
    }


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.cn-mixHubGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.cn-mixHubCard {
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0,0,0,.035);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}


    .cn-mixHubCard:hover,
    .cn-mixHubCard:focus-visible {
        transform: translateY(-3px);
        border-color: rgba(149,31,31,.20);
        box-shadow: 0 14px 34px rgba(0,0,0,.09);
    }


.cn-mixHubCard__image {
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    background: #fff;
}


    .cn-mixHubCard__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .25s ease;
    }


.cn-mixHubCard:hover
.cn-mixHubCard__image img {
    transform: scale(1.045);
}


.cn-mixHubCard__arrow {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #951f1f;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(149,31,31,.20);
    transition: transform .18s ease;
}


.cn-mixHubCard:hover
.cn-mixHubCard__arrow {
    transform: translateX(2px);
}


.cn-mixHubCard__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 13px;
    border-top: 1px solid rgba(0,0,0,.045);
}


.cn-mixHubCard__label {
    display: block;
    margin-bottom: 2px;
    color: #9d8d87;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .7px;
    text-transform: uppercase;
}


.cn-mixHubCard h3 {
    margin: 0;
    color: #951f1f;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 1000;
}


.cn-mixHubCard__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(149,31,31,.08);
    color: #951f1f;
    font-size: 9px;
    font-weight: 950;
}


.cn-mixHubEmpty {
    padding: 25px;
    border: 1px dashed rgba(149,31,31,.22);
    border-radius: 18px;
    background: #fff8f5;
    color: #7d6962;
    text-align: center;
}


/* =========================================================
   =========================================================
   MIX BUILDER
   /mix/build/{slug}
   =========================================================
   ========================================================= */

.cn-mixStudio {
    width: min( 1440px, calc(100% - 28px) );
    margin: 0 auto;
    padding: 14px 0 28px;
}


/* =========================================================
   BUILDER TOP BAR
   ========================================================= */

.cn-mixStudioTop {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 74px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0,0,0,.04);
}


.cn-mixStudioBack {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(149,31,31,.07);
    color: #951f1f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: background .18s ease;
}


    .cn-mixStudioBack:hover {
        color: #951f1f;
        background: rgba(149,31,31,.12);
    }


.cn-mixStudioTitle {
    min-width: 0;
}


.cn-mixStudioTitle__eyebrow {
    display: block;
    color: #951f1f;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.cn-mixStudioTitle h1 {
    margin: 1px 0;
    color: #191919;
    font-size: clamp(22px, 2.3vw, 34px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}


.cn-mixStudioTitle__hint {
    display: block;
    color: #8a7d77;
    font-size: 10px;
}


/* =========================================================
   SIZE SELECTOR
   ========================================================= */

/* =========================================================
   BOX SIZE SELECTOR
   IMPORTANT CUSTOMER DECISION
   ========================================================= */

.cn-mixStudioSizes {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(149, 31, 31, .10);
    border-radius: 18px;
    background: linear-gradient( 135deg, #fff8f6, #f6efed );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}


.cn-mixStudioSize {
    position: relative;
    min-width: 138px;
    min-height: 66px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: #493d39;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}


    .cn-mixStudioSize:hover {
        transform: translateY(-2px);
        border-color: rgba(149,31,31,.20);
    }


    .cn-mixStudioSize strong,
    .cn-mixStudioSize span {
        display: block;
    }


    .cn-mixStudioSize strong {
        font-size: 19px;
        line-height: 1;
        font-weight: 1000;
        letter-spacing: -.3px;
    }


    .cn-mixStudioSize span {
        margin-top: 6px;
        font-size: 10px;
        font-weight: 850;
        opacity: .78;
    }


    .cn-mixStudioSize.is-active {
        border-color: #951f1f;
        background: linear-gradient( 135deg, #951f1f, #7d1818 );
        color: #fff;
        box-shadow: 0 10px 24px rgba(149,31,31,.25);
        transform: translateY(-1px);
    }


        .cn-mixStudioSize.is-active::after {
            content: "✓";
            position: absolute;
            right: 8px;
            top: 7px;
            width: 19px;
            height: 19px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: rgba(255,255,255,.18);
            color: #fff;
            font-size: 10px;
            font-weight: 1000;
        }


/* =========================================================
   BUILDER LAYOUT
   ========================================================= */

.cn-mixStudioWork {
    display: grid;
    grid-template-columns: minmax(0,1.72fr) minmax(310px,.72fr);
    gap: 12px;
    height: clamp( 540px, calc(100dvh - 165px), 720px );
    min-height: 0;
}


/* =========================================================
   PANELS
   ========================================================= */

.cn-mixStudioCatalog,
.cn-mixStudioPreview {
    min-width: 0;
    min-height: 0;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0,0,0,.04);
}


/* =========================================================
   CATALOG
   ========================================================= */

.cn-mixStudioCatalog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
}


.cn-mixStudioSectionHead,
.cn-mixPreviewHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
}


.cn-mixStudioSectionHead {
    margin-bottom: 10px;
}


    .cn-mixStudioSectionHead span,
    .cn-mixPreviewHead > div > span {
        color: #951f1f;
        font-size: 8px;
        font-weight: 950;
        letter-spacing: 1px;
        text-transform: uppercase;
    }


    .cn-mixStudioSectionHead h2,
    .cn-mixPreviewHead h2 {
        margin: 1px 0 0;
        color: #191919;
        font-size: 18px;
        font-weight: 1000;
    }


/* =========================================================
   PRODUCTS
   VERTICAL INTERNAL SCROLL
   ========================================================= */

.cn-mixProductRail {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    grid-auto-rows: max-content;
    align-content: start;
    align-items: start;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 3px 7px 10px 3px;
    scrollbar-width: thin;
    scrollbar-color: rgba(149,31,31,.30) transparent;
    overscroll-behavior: contain;
}


    .cn-mixProductRail::-webkit-scrollbar {
        width: 6px;
    }


    .cn-mixProductRail::-webkit-scrollbar-track {
        background: transparent;
    }


    .cn-mixProductRail::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(149,31,31,.28);
    }


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.cn-mixStudioProduct {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.035);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}


    .cn-mixStudioProduct:hover {
        transform: translateY(-2px);
        border-color: rgba(149,31,31,.20);
        box-shadow: 0 9px 22px rgba(0,0,0,.07);
    }


    .cn-mixStudioProduct.is-selected {
        border-color: #951f1f;
        box-shadow: inset 0 0 0 1px #951f1f, 0 7px 20px rgba(149,31,31,.08);
    }


/* =========================================================
   PRODUCT IMAGE
   LOCKED SIZE
   ========================================================= */

.cn-mixStudioProduct__media {
    position: relative !important;
    flex: 0 0 145px !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    overflow: hidden !important;
    background: #fff;
}


    .cn-mixStudioProduct__media img {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
    }


.cn-mixStudioProduct:hover
.cn-mixStudioProduct__media img {
    transform: scale(1.03) !important;
}


/* =========================================================
   SELECTED CHECK
   ========================================================= */

.cn-mixStudioProduct__check {
    position: absolute;
    z-index: 3;
    right: 8px;
    top: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #951f1f;
    color: #fff;
    font-size: 11px;
    font-weight: 1000;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .18s ease, transform .18s ease;
}


.cn-mixStudioProduct.is-selected
.cn-mixStudioProduct__check {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

.cn-mixStudioProduct__body {
    flex: 0 0 auto;
    width: 100%;
    padding: 9px 10px 10px;
    border-top: 1px solid rgba(0,0,0,.045);
    background: #fff;
}


    .cn-mixStudioProduct__body h3 {
        display: -webkit-box;
        min-height: 34px;
        margin: 0 0 8px;
        overflow: hidden;
        color: #26201e;
        font-size: 12px;
        line-height: 1.35;
        font-weight: 900;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }


/* =========================================================
   ADD / REMOVE BUTTON
   ========================================================= */

.cn-mixStudioAdd {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(149,31,31,.08);
    color: #951f1f;
    font-size: 10px;
    font-weight: 950;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}


    .cn-mixStudioAdd:hover:not(:disabled) {
        background: rgba(149,31,31,.14);
        transform: translateY(-1px);
    }


.cn-mixStudioProduct.is-selected
.cn-mixStudioAdd {
    background: #951f1f;
    color: #fff;
}


.cn-mixStudioAdd:disabled {
    background: #eee;
    color: #999;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   EXTRA OPTION
   ========================================================= */

.cn-mixExtraChoice {
    display: none;
    position: relative;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 7px 8px;
    border: 1px solid rgba(245,130,32,.24);
    border-radius: 10px;
    background: #fff8f0;
    cursor: pointer;
    user-select: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}


.cn-mixStudioProduct.is-selected
.cn-mixExtraChoice {
    display: flex;
}


.cn-mixExtraChoice:hover {
    border-color: rgba(245,130,32,.5);
    background: #fff4e8;
}


.cn-mixExtraChoice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}


.cn-mixExtraChoice__check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border: 1px solid #f58220;
    border-radius: 50%;
    background: #fff;
    color: #f58220;
    font-size: 15px;
    line-height: 1;
    font-weight: 1000;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}


.cn-mixExtraChoice input:checked +
.cn-mixExtraChoice__check {
    background: #f58220;
    color: #fff;
    transform: rotate(45deg);
}


.cn-mixExtraChoice__text {
    min-width: 0;
    line-height: 1.1;
}


    .cn-mixExtraChoice__text strong,
    .cn-mixExtraChoice__text small {
        display: block;
    }


    .cn-mixExtraChoice__text strong {
        color: #6f3020;
        font-size: 8.5px;
        font-weight: 950;
    }


    .cn-mixExtraChoice__text small {
        margin-top: 2px;
        color: #f58220;
        font-size: 7.5px;
        font-weight: 900;
    }


/* =========================================================
   EMPTY PRODUCT AREA
   ========================================================= */

.cn-mixProductEmpty {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed rgba(149,31,31,.18);
    border-radius: 14px;
    background: #fff9f6;
    color: #81746e;
    text-align: center;
}


/* =========================================================
   LIVE BOX PANEL
   ========================================================= */

.cn-mixStudioPreview {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
}


.cn-mixPreviewCount {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(149,31,31,.08);
    color: #951f1f;
    font-size: 9px;
    font-weight: 950;
}


/* =========================================================
   CSS MIX BOX
   ========================================================= */

.cn-liveMix {
    margin-top: 10px;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient( 145deg, #711616, #a42a26 );
    box-shadow: 0 16px 32px rgba(105,26,22,.17);
}


.cn-liveMix__brand {
    padding: 1px 4px 8px;
    color: rgba(255,255,255,.92);
    font-size: 8px;
    font-weight: 1000;
    letter-spacing: 2.6px;
    text-align: center;
}


.cn-liveMix__window {
    display: flex;
    min-height: 190px;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.20);
    border-radius: 13px;
    background: linear-gradient( 135deg, #f6eee5, #fffaf5 );
    box-shadow: inset 0 8px 20px rgba(0,0,0,.05);
}


/* =========================================================
   EMPTY MIX BOX
   ========================================================= */

.cn-liveMix__empty {
    margin: auto;
    padding: 18px;
    color: #897a72;
    text-align: center;
}


    .cn-liveMix__empty strong,
    .cn-liveMix__empty span {
        display: block;
    }


    .cn-liveMix__empty strong {
        color: #554641;
        font-size: 11px;
    }


    .cn-liveMix__empty span {
        margin-top: 3px;
        font-size: 8px;
    }


/* =========================================================
   MIX COLOR PORTIONS
   NAME + COLOR ONLY
   ========================================================= */

.cn-liveMixPart {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,.45);
    transition: flex .25s ease, filter .25s ease;
}


    .cn-liveMixPart:last-child {
        border-right: 0;
    }


    .cn-liveMixPart span {
        max-width: 100%;
        color: rgba(255,255,255,.97);
        font-size: clamp(7px,.75vw,10px);
        font-weight: 1000;
        line-height: 1.1;
        text-align: center;
        overflow-wrap: anywhere;
        text-shadow: 0 1px 4px rgba(0,0,0,.25);
    }


    .cn-liveMixPart.is-new {
        animation: cnMixPartIn .45s ease;
    }


@keyframes cnMixPartIn {

    0% {
        filter: brightness(1.55);
        transform: scale(.92);
    }

    60% {
        transform: scale(1.02);
    }

    100% {
        filter: brightness(1);
        transform: scale(1);
    }
}


/* =========================================================
   MIX BOX FOOTER
   ========================================================= */

.cn-liveMix__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 3px 0;
    color: #fff;
}


    .cn-liveMix__footer span {
        font-size: 7px;
        font-weight: 900;
        letter-spacing: 1px;
    }


    .cn-liveMix__footer strong {
        font-size: 11px;
    }


/* =========================================================
   SELECTED ITEMS
   ========================================================= */

.cn-mixSelected {
    min-height: 0;
    margin-top: 10px;
}


.cn-mixSelected__title {
    margin-bottom: 5px;
    color: #71645f;
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
}


.cn-mixSelected__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 76px;
    overflow-y: auto;
}


.cn-mixSelected__empty {
    color: #aaa;
    font-size: 9px;
}


.cn-mixSelectedChip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 999px;
    background: #fafafa;
    color: #514741;
    font-size: 8px;
    font-weight: 850;
}


    .cn-mixSelectedChip i {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-radius: 50%;
    }


    .cn-mixSelectedChip span {
        min-width: 0;
    }


    .cn-mixSelectedChip b {
        margin-left: 3px;
        color: #f58220;
        font-size: 7px;
        font-weight: 950;
    }


/* =========================================================
   SAVE BOX
   ========================================================= */

.cn-mixSaveBox {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    background: #951f1f;
    color: #fff;
    font-size: 11px;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(149,31,31,.19);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}


    .cn-mixSaveBox:hover:not(:disabled) {
        transform: translateY(-1px);
        background: #7d1818;
        box-shadow: 0 11px 24px rgba(149,31,31,.24);
    }


    .cn-mixSaveBox:disabled {
        background: #ddd;
        color: #999;
        box-shadow: none;
        cursor: not-allowed;
        transform: none;
    }


.cn-mixSaveHint {
    margin-top: 5px;
    color: #9b8d88;
    font-size: 8px;
    text-align: center;
}


/* =========================================================
   MOBILE SAVE BAR
   ========================================================= */

.cn-mixMobileBar {
    display: none;
}


/* =========================================================
   =========================================================
   TABLET
   =========================================================
   ========================================================= */

@media (max-width: 1100px) {

    /* LANDING */

    .cn-mixHubHero {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .cn-mixHubSteps {
        width: fit-content;
    }


    .cn-mixHubGrid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }


    .cn-mixHubCard__image {
        height: 150px;
    }


    /* BUILDER */

    .cn-mixStudioWork {
        grid-template-columns: minmax(0,1.45fr) minmax(285px,.75fr);
    }


    .cn-mixProductRail {
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 10px;
    }


    .cn-mixStudioProduct__media {
        flex: 0 0 130px !important;
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
    }


    .cn-liveMix__window {
        min-height: 170px;
    }
}


/* =========================================================
   =========================================================
   PHONE
   =========================================================
   ========================================================= */

@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }


    /* =====================================================
       LANDING
       ===================================================== */

    .cn-mixHub {
        width: min( calc(100% - 18px), 1240px );
        padding: 10px 0 28px;
    }


    .cn-mixHubHero {
        display: block;
        min-height: 0;
        padding: 18px 16px;
        border-radius: 18px;
    }


        .cn-mixHubHero h1 {
            font-size: 29px;
            letter-spacing: -1px;
        }


        .cn-mixHubHero p {
            max-width: 380px;
            margin-top: 7px;
            font-size: 11.5px;
            line-height: 1.4;
        }


    .cn-mixHubSteps {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        width: 100%;
        margin-top: 15px;
        gap: 6px;
        padding: 6px;
    }


    .cn-mixHubSteps__arrow {
        display: none;
    }


    .cn-mixHubStep {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 7px 4px;
        text-align: center;
    }


        .cn-mixHubStep > span {
            width: 25px;
            height: 25px;
            flex: 0 0 25px;
            margin: 0 auto;
            font-size: 9px;
        }


        .cn-mixHubStep strong {
            font-size: 10px;
        }


        .cn-mixHubStep small {
            font-size: 7px;
        }


    .cn-mixHubCategories {
        margin-top: 18px;
    }


    .cn-mixHubCategories__head {
        display: block;
        margin-bottom: 10px;
    }


        .cn-mixHubCategories__head h2 {
            font-size: 21px;
        }


        .cn-mixHubCategories__head p {
            margin-top: 4px;
            font-size: 10px;
        }


    .cn-mixHubGrid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }


    .cn-mixHubCard {
        border-radius: 14px;
    }


    .cn-mixHubCard__image {
        height: 118px;
        padding: 7px;
    }


    .cn-mixHubCard__arrow {
        right: 7px;
        top: 7px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }


    .cn-mixHubCard__bottom {
        padding: 7px 8px 9px;
    }


    .cn-mixHubCard__label {
        font-size: 6.5px;
    }


    .cn-mixHubCard h3 {
        font-size: 12px;
    }


    .cn-mixHubCard__cta {
        min-height: 24px;
        padding: 0 7px;
        font-size: 7px;
    }


    /* =====================================================
       BUILDER
       ===================================================== */

    .cn-mixStudio {
        width: calc(100% - 14px);
        max-width: 100%;
        padding: 7px 0 82px;
    }


    /* TOP */

    .cn-mixStudioTop {
        grid-template-columns: auto minmax(0,1fr);
        gap: 8px;
        min-height: 0;
        margin-bottom: 7px;
        padding: 8px;
        border-radius: 14px;
    }


    .cn-mixStudioBack {
        padding: 7px;
        font-size: 0;
    }


        .cn-mixStudioBack span:first-child {
            font-size: 16px;
        }


    .cn-mixStudioTitle h1 {
        font-size: 19px;
    }


    .cn-mixStudioTitle__eyebrow {
        font-size: 6.5px;
    }


    .cn-mixStudioTitle__hint {
        font-size: 8px;
    }


    /* SIZE */

    .cn-mixStudioSizes {
        grid-column: 1 / -1;
        width: 100%;
        gap: 7px;
        padding: 5px;
    }


    .cn-mixStudioSize {
        flex: 1;
        min-width: 0;
        min-height: 57px;
        padding: 8px 10px;
    }


        .cn-mixStudioSize strong {
            font-size: 17px;
        }


        .cn-mixStudioSize span {
            margin-top: 4px;
            font-size: 9px;
        }


    /* WORKSPACE */

    .cn-mixStudioWork {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 7px;
    }


    /* =====================================================
       LIVE BOX FIRST ON PHONE
       ===================================================== */

    .cn-mixStudioPreview {
        order: 1;
        padding: 10px;
        overflow: visible;
        border-radius: 15px;
    }


    .cn-mixPreviewHead h2 {
        font-size: 15px;
    }


    .cn-liveMix {
        margin-top: 6px;
        padding: 7px;
        border-radius: 14px;
    }


    .cn-liveMix__window {
        min-height: 125px;
    }


    .cn-liveMixPart {
        padding: 3px;
    }


        .cn-liveMixPart span {
            font-size: 7px;
        }


    .cn-mixSelected {
        display: none;
    }


    .cn-mixSaveBox,
    .cn-mixSaveHint {
        display: none;
    }


    /* =====================================================
       PRODUCTS BELOW
       2 PER ROW
       INTERNAL DOWN SCROLL
       ===================================================== */

    .cn-mixStudioCatalog {
        order: 2;
        height: 470px;
        min-height: 0;
        padding: 9px;
        overflow: hidden;
        border-radius: 15px;
    }


    .cn-mixStudioSectionHead {
        margin-bottom: 6px;
    }


        .cn-mixStudioSectionHead h2 {
            font-size: 15px;
        }


        .cn-mixStudioSectionHead span {
            font-size: 6.5px;
        }


    .cn-mixProductRail {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-auto-rows: max-content;
        grid-auto-flow: row;
        align-content: start;
        gap: 8px;
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 2px 4px 8px 2px;
    }


    .cn-mixStudioProduct {
        width: 100%;
        min-width: 0;
        border-radius: 12px;
    }


    .cn-mixStudioProduct__media {
        flex: 0 0 105px !important;
        height: 105px !important;
        min-height: 105px !important;
        max-height: 105px !important;
        padding: 6px !important;
    }


    .cn-mixStudioProduct__body {
        padding: 6px 7px 8px;
    }


        .cn-mixStudioProduct__body h3 {
            min-height: 27px;
            margin-bottom: 5px;
            font-size: 10px;
            line-height: 1.3;
        }


    .cn-mixStudioAdd {
        min-height: 30px;
        font-size: 9px;
    }


    /* EXTRA */

    .cn-mixExtraChoice {
        gap: 5px;
        margin-top: 5px;
        padding: 5px;
        border-radius: 8px;
    }


    .cn-mixExtraChoice__check {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        font-size: 13px;
    }


    .cn-mixExtraChoice__text strong {
        font-size: 7.5px;
    }


    .cn-mixExtraChoice__text small {
        font-size: 7px;
    }


    /* =====================================================
       MOBILE STICKY SAVE
       ===================================================== */

    .cn-mixMobileBar {
        position: fixed;
        z-index: 100;
        left: 8px;
        right: 8px;
        bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 58px;
        padding: 7px 8px 7px 13px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 17px;
        background: rgba(31,24,22,.96);
        color: #fff;
        box-shadow: 0 15px 35px rgba(0,0,0,.24);
        backdrop-filter: blur(12px);
    }


        .cn-mixMobileBar > div {
            min-width: 0;
        }


        .cn-mixMobileBar strong,
        .cn-mixMobileBar span {
            display: block;
        }


        .cn-mixMobileBar strong {
            font-size: 11px;
        }


        .cn-mixMobileBar span {
            margin-top: 1px;
            color: rgba(255,255,255,.60);
            font-size: 8px;
        }


        .cn-mixMobileBar button {
            min-width: 110px;
            min-height: 43px;
            padding: 0 16px;
            border: 0;
            border-radius: 999px;
            background: #951f1f;
            color: #fff;
            font-size: 10px;
            font-weight: 1000;
            cursor: pointer;
        }


            .cn-mixMobileBar button:disabled {
                background: #57514f;
                color: #aaa;
                cursor: not-allowed;
            }
}


/* =========================================================
   =========================================================
   VERY SMALL PHONES
   =========================================================
   ========================================================= */

@media (max-width: 370px) {

    /* LANDING */

    .cn-mixHub {
        width: calc(100% - 14px);
    }


    .cn-mixHubHero {
        padding: 16px 12px;
    }


        .cn-mixHubHero h1 {
            font-size: 26px;
        }


    .cn-mixHubGrid {
        gap: 6px;
    }


    .cn-mixHubCard__image {
        height: 100px;
    }


    .cn-mixHubCard__cta {
        display: none;
    }


    /* BUILDER */

    .cn-mixStudio {
        width: calc(100% - 10px);
    }


    .cn-mixStudioCatalog {
        height: 445px;
    }


    .cn-mixProductRail {
        gap: 6px;
    }


    .cn-mixStudioProduct__media {
        flex: 0 0 95px !important;
        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;
    }


    .cn-mixStudioProduct__body {
        padding: 5px 6px 7px;
    }


        .cn-mixStudioProduct__body h3 {
            font-size: 9px;
        }


    .cn-liveMix__window {
        min-height: 112px;
    }


    .cn-mixMobileBar {
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 15px;
    }


        .cn-mixMobileBar button {
            min-width: 100px;
        }
}
