/* /Components/AuthStatus.razor.rz.scp.css */
.auth-status[b-4od4vrq9sh] {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 0.85rem;
}

.auth-greeting strong[b-4od4vrq9sh] {
    font-weight: 700;
}

.auth-logout-form[b-4od4vrq9sh] {
    margin: 0;
}

.auth-logout-btn[b-4od4vrq9sh] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

    .auth-logout-btn:hover[b-4od4vrq9sh] {
        background: rgba(255, 255, 255, 0.28);
    }

.auth-login-btn[b-4od4vrq9sh] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
}

    .auth-login-btn:hover[b-4od4vrq9sh] {
        background: rgba(255, 255, 255, 0.28);
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hm33a3ewq5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hm33a3ewq5] {
    flex: 1;
}

.sidebar[b-hm33a3ewq5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
.content[b-hm33a3ewq5]{
    padding:0px !important;
}

.top-row[b-hm33a3ewq5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hm33a3ewq5]  a, .top-row[b-hm33a3ewq5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-hm33a3ewq5]  a:hover, .top-row[b-hm33a3ewq5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-hm33a3ewq5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-hm33a3ewq5] {
        justify-content: space-between;
    }

    .top-row[b-hm33a3ewq5]  a, .top-row[b-hm33a3ewq5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-hm33a3ewq5] {
        flex-direction: row;
    }

    .sidebar[b-hm33a3ewq5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-hm33a3ewq5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hm33a3ewq5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

/*    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/
}

#blazor-error-ui[b-hm33a3ewq5] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-hm33a3ewq5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-n5z83oa8mt] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-n5z83oa8mt] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-n5z83oa8mt] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-n5z83oa8mt] {
    font-size: 1.1rem;
}

.bi[b-n5z83oa8mt] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-n5z83oa8mt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-n5z83oa8mt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-n5z83oa8mt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-n5z83oa8mt] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-n5z83oa8mt] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-n5z83oa8mt] {
        padding-bottom: 1rem;
    }

    .nav-item[b-n5z83oa8mt]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-n5z83oa8mt]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-n5z83oa8mt]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-n5z83oa8mt] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-n5z83oa8mt] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-n5z83oa8mt] {
        display: none;
    }

    .nav-scrollable[b-n5z83oa8mt] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2gvlmz8ge4],
.components-reconnect-repeated-attempt-visible[b-2gvlmz8ge4],
.components-reconnect-failed-visible[b-2gvlmz8ge4],
.components-pause-visible[b-2gvlmz8ge4],
.components-resume-failed-visible[b-2gvlmz8ge4],
.components-rejoining-animation[b-2gvlmz8ge4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-retrying[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-failed[b-2gvlmz8ge4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2gvlmz8ge4] {
    display: block;
}


#components-reconnect-modal[b-2gvlmz8ge4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2gvlmz8ge4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2gvlmz8ge4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2gvlmz8ge4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2gvlmz8ge4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2gvlmz8ge4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2gvlmz8ge4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2gvlmz8ge4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2gvlmz8ge4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2gvlmz8ge4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2gvlmz8ge4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2gvlmz8ge4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2gvlmz8ge4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2gvlmz8ge4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2gvlmz8ge4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2gvlmz8ge4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2gvlmz8ge4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2gvlmz8ge4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2gvlmz8ge4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/CategoryImageDialog.razor.rz.scp.css */
/* ================================================================
   Category Thumbnails Dialog
   ================================================================ */

.ci-dialog[b-id2nwuietz] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FBFAF7;
    font-family: 'Poppins', -apple-system, sans-serif;
}

.ci-body[b-id2nwuietz] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 22px 24px;
}

.ci-layout[b-id2nwuietz] {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
    gap: 24px;
    min-height: 100%;
}

/* ---------- Left: setup ---------- */
.ci-setup[b-id2nwuietz] {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ci-step-head[b-id2nwuietz] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.ci-step-no[b-id2nwuietz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #927354;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.ci-label[b-id2nwuietz] {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #302820;
    letter-spacing: 0.2px;
}

.ci-select-wrap[b-id2nwuietz] {
    position: relative;
}

.ci-select-icon[b-id2nwuietz] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #927354;
    pointer-events: none;
}

.ci-select[b-id2nwuietz] {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1px solid #D4C3AF;
    border-radius: 9px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.85rem;
    color: #302820;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23927354' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.ci-select:focus[b-id2nwuietz] {
    outline: none;
    border-color: #927354;
    box-shadow: 0 0 0 3px rgba(146, 115, 84, 0.14);
}

.ci-hint[b-id2nwuietz] {
    margin: 8px 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #8A7A66;
}

/* ---------- Upload ---------- */
.ci-step-disabled .ci-upload-area[b-id2nwuietz] {
    opacity: 0.5;
    pointer-events: none;
}

.ci-upload-area[b-id2nwuietz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 26px 16px;
    background: #FFFFFF;
    border: 2px dashed #D4C3AF;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ci-upload-area:hover[b-id2nwuietz] {
    background: #F5F1E9;
    border-color: #927354;
    transform: translateY(-1px);
}

.ci-file-input[b-id2nwuietz] {
    display: none;
}

.ci-upload-icon[b-id2nwuietz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: #F5F1E9;
    color: #927354;
}

.ci-upload-icon svg[b-id2nwuietz] {
    width: 22px;
    height: 22px;
}

.ci-upload-title[b-id2nwuietz] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #302820;
}

.ci-upload-sub[b-id2nwuietz] {
    font-size: 0.7rem;
    color: #8A7A66;
}

.ci-error[b-id2nwuietz] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #FCEDE8;
    color: #C1440E;
    font-size: 0.76rem;
    font-weight: 500;
}

/* ---------- Right: existing thumbnails ---------- */
.ci-preview[b-id2nwuietz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E4D9CC;
    border-radius: 12px;
}

.ci-preview-head[b-id2nwuietz] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.ci-section-title[b-id2nwuietz] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #302820;
}

.ci-section-sub[b-id2nwuietz] {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    color: #8A7A66;
}

.ci-badge[b-id2nwuietz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 12px;
    background: #F5F1E9;
    color: #927354;
    font-size: 0.72rem;
    font-weight: 700;
}

.ci-empty[b-id2nwuietz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 170px;
    padding: 20px;
    border: 1px dashed #E4D9CC;
    border-radius: 10px;
    text-align: center;
}

.ci-empty-icon[b-id2nwuietz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #F5F1E9;
    color: #B09A80;
}

.ci-empty-icon svg[b-id2nwuietz] {
    width: 24px;
    height: 24px;
}

.ci-empty p[b-id2nwuietz] {
    margin: 0;
    max-width: 210px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8A7A66;
}

.ci-images-grid[b-id2nwuietz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    align-content: start;
    overflow-y: auto;
    max-height: 350px;
    padding-right: 2px;
}

.ci-image-item[b-id2nwuietz] {
    background: #FBFAF7;
    border: 1px solid #E4D9CC;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ci-image-item:hover[b-id2nwuietz] {
    border-color: #927354;
    box-shadow: 0 4px 12px rgba(48, 40, 32, 0.08);
}

.ci-image-frame[b-id2nwuietz] {
    position: relative;
    height: 96px;
    background: #F5F1E9;
}

.ci-image-thumb[b-id2nwuietz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-image-delete[b-id2nwuietz] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: rgba(48, 40, 32, 0.72);
    color: #FFFFFF;
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s ease, background .18s ease;
}

.ci-image-item:hover .ci-image-delete[b-id2nwuietz],
.ci-image-delete:focus[b-id2nwuietz] {
    opacity: 1;
}

@media (hover: none) {
    .ci-image-delete[b-id2nwuietz] {
        opacity: 1;
    }
}

.ci-image-delete:hover[b-id2nwuietz] {
    background: #C1440E;
}

.ci-image-info[b-id2nwuietz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 9px;
}

.ci-image-name[b-id2nwuietz] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #302820;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ci-image-size[b-id2nwuietz] {
    font-size: 0.66rem;
    color: #8A7A66;
}

/* ---------- Footer ---------- */
.ci-footer[b-id2nwuietz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
    border-top: 1px solid #E4D9CC;
    background: #F5F1E9;
}

.ci-footer-note[b-id2nwuietz] {
    font-size: 0.7rem;
    color: #8A7A66;
}

.ci-btn-close[b-id2nwuietz] {
    padding: 9px 22px;
    border: none;
    border-radius: 8px;
    background: #927354;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.ci-btn-close:hover[b-id2nwuietz] {
    background: #7A5F44;
    transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .ci-body[b-id2nwuietz] {
        padding: 16px;
    }

    .ci-layout[b-id2nwuietz] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ci-preview[b-id2nwuietz] {
        min-height: 200px;
    }

    .ci-footer[b-id2nwuietz] {
        padding: 10px 16px;
    }

    .ci-footer-note[b-id2nwuietz] {
        display: none;
    }

    .ci-btn-close[b-id2nwuietz] {
        width: 100%;
    }
}
/* /Components/Pages/CreateEditProduct.razor.rz.scp.css */
.ap-page[b-2ispvgbjev] {
    --brand: #927354;
    --brand-deep: #2a3526;
    --brand-tint: #f0ede8;
    --ink: #302820;
    --muted: #7A6A55;
    --border: #E4E0D8;
    --bg: #EDE5DA;
    --success: #2E9E5B;
    --success-tint: #E4F7EE;
    --warn: #927354;
    --warn-tint: #FDF3DE;
    --danger: #C1440E;
    --danger-tint: #FCEBEB;
    margin: 0 auto;
    padding: 0px 5px 50px;
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

/* ---------- Header ---------- */
.ap-header[b-2ispvgbjev] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    padding:10px;
}

.cp-back-btn[b-2ispvgbjev] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.15s;
}

.cp-back-btn:hover[b-2ispvgbjev] {
    background: var(--bg);
    border-color: #ccc;
}

.ap-title[b-2ispvgbjev] {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.ap-subtitle[b-2ispvgbjev] {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

    .ap-subtitle .ap-count[b-2ispvgbjev] {
        color: var(--brand);
        font-weight: 700;
    }

.ap-add-btn[b-2ispvgbjev] {
    background: #062847 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.01em;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px -6px rgba(91, 79, 233, 0.55);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .ap-add-btn:hover[b-2ispvgbjev] {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px -6px rgba(91, 79, 233, 0.65);
    }

/* ---------- Toolbar ---------- */
.ap-toolbar[b-2ispvgbjev] {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ap-toolbar-actions[b-2ispvgbjev] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ap-search[b-2ispvgbjev] {
    width: 100%;
    max-width: 380px;
    padding: 11px 14px 11px 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238B8B99' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 14px center;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .ap-search:focus[b-2ispvgbjev] {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--brand-tint);
    }

.ap-loading[b-2ispvgbjev], .ap-empty[b-2ispvgbjev] {
    text-align: center;
    padding: 60px 0;
    color: var(--muted);
}

/* ---------- Table card ---------- */
.ap-table-wrap[b-2ispvgbjev] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 12px 32px -20px rgba(20,20,40,0.10);
}

.ap-table[b-2ispvgbjev] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

    .ap-table thead th[b-2ispvgbjev] {
        text-align: left;
        padding: 14px 20px;
        background: #927354 !important;
        color: white !important;
        font-weight: 700;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
    }

    .ap-table tbody td[b-2ispvgbjev] {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .ap-table tbody tr:last-child td[b-2ispvgbjev] {
        border-bottom: none;
    }

    .ap-table tbody tr:hover[b-2ispvgbjev] {
        background: #FAFAFE;
    }

/* ---------- Product cell (thumb + name + SKU) ---------- */
.ap-col-img[b-2ispvgbjev] {
    width: 56px;
}

.ap-product-cell[b-2ispvgbjev] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ap-thumb[b-2ispvgbjev] {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #F2F2F7;
    display: block;
    flex-shrink: 0;
}

.ap-thumb-empty[b-2ispvgbjev] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: #C7C7C7;
    font-size: 0.75rem;
}

.ap-name-cell[b-2ispvgbjev] {
    font-weight: 600;
    color: var(--ink);
}

.ap-sku[b-2ispvgbjev] {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 1px;
}

.ap-muted[b-2ispvgbjev] {
    color: var(--muted);
}

/* ---------- Brand tag ---------- */
.ap-brand-tag[b-2ispvgbjev] {
    display: inline-block;
    padding: 4px 10px;
    background: var(--brand-tint);
    color: var(--brand-deep);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
}

/* ---------- Price ---------- */
.ap-price[b-2ispvgbjev] {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Stock pill ---------- */
.ap-stock-pill[b-2ispvgbjev] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
}

    .ap-stock-pill .ap-dot[b-2ispvgbjev] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

.ap-stock-ok[b-2ispvgbjev] {
    background: var(--success-tint);
    color: var(--success);
}

.ap-stock-low[b-2ispvgbjev] {
    background: var(--warn-tint);
    color: var(--warn);
}

.ap-stock-zero[b-2ispvgbjev] {
    background: var(--danger-tint);
    color: var(--danger);
}

/* ---------- Color swatches ---------- */
.ap-color-swatch[b-2ispvgbjev] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #5B5B68;
}

.ap-swatch-dot[b-2ispvgbjev] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    flex-shrink: 0;
}

/* ---------- Actions ---------- */
.ap-col-actions[b-2ispvgbjev] {
    width: 90px;
    white-space: nowrap;
}

.ap-icon-btn[b-2ispvgbjev] {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    color: #6B6B78;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    transition: all .15s ease;
}

    .ap-icon-btn:hover[b-2ispvgbjev] {
        border-color: var(--brand);
        color: var(--brand);
        background: var(--brand-tint);
    }

.ap-icon-btn-danger:hover[b-2ispvgbjev] {
    border-color: var(--danger);
    color: var(--danger);
    background: var(--danger-tint);
}

/* ---------- Footer / pagination ---------- */
.ap-table-footer[b-2ispvgbjev] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: #FBFBFD;
}

    .ap-table-footer .ap-footer-text[b-2ispvgbjev] {
        font-size: 0.78rem;
        color: var(--muted);
    }

.ap-pagination[b-2ispvgbjev] {
    display: flex;
    gap: 4px;
}

.ap-page-btn[b-2ispvgbjev] {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

    .ap-page-btn.active[b-2ispvgbjev] {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }

    .ap-page-btn:hover:not(.active)[b-2ispvgbjev] {
        border-color: #D7D5FA;
    }

/* ---------- Dialog titlebar (updated to match new brand color) ---------- */
.product-dialog .rz-dialog-titlebar[b-2ispvgbjev] {
    background: linear-gradient(180deg, #6C60F5, #5B4FE9) !important;
    padding-bottom: 20px !important;
}

.product-dialog .rz-dialog-title[b-2ispvgbjev] {
    color: white !important;
    font-weight: 700 !important;
}

@media (max-width: 900px) {
    .ap-page[b-2ispvgbjev] {
        padding: 24px 16px 60px;
    }

    .ap-table thead th:nth-child(5)[b-2ispvgbjev], .ap-table tbody td:nth-child(5)[b-2ispvgbjev],
    .ap-table thead th:nth-child(6)[b-2ispvgbjev], .ap-table tbody td:nth-child(6)[b-2ispvgbjev] {
        display: none;
    }

    .ap-table thead th[b-2ispvgbjev] {
        padding: 12px 14px;
        font-size: 0.72rem;
    }

    .ap-table tbody td[b-2ispvgbjev] {
        padding: 12px 14px;
    }
}

@media (max-width: 600px) {
    .ap-table thead th:nth-child(4)[b-2ispvgbjev], .ap-table tbody td:nth-child(4)[b-2ispvgbjev],
    .ap-table thead th:nth-child(7)[b-2ispvgbjev], .ap-table tbody td:nth-child(7)[b-2ispvgbjev],
    .ap-table thead th:nth-child(8)[b-2ispvgbjev], .ap-table tbody td:nth-child(8)[b-2ispvgbjev],
    .ap-table thead th:nth-child(9)[b-2ispvgbjev], .ap-table tbody td:nth-child(9)[b-2ispvgbjev] {
        display: none;
    }

    .ap-toolbar[b-2ispvgbjev] {
        flex-direction: column;
    }

    .ap-toolbar-actions[b-2ispvgbjev] {
        width: 100%;
        margin-left: 0;
    }

    .ap-search[b-2ispvgbjev] {
        max-width: 100%;
    }

    .ap-header[b-2ispvgbjev] {
        flex-direction: column;
        gap: 12px;
    }

    .ap-table-footer[b-2ispvgbjev] {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Header styles moved to app.css (site-header) */
/* /Components/Pages/Home.razor.rz.scp.css */
/* =========================================================
   SHOP PAGE — Comfy Wear (olive/marigold palette)
   ========================================================= */

:deep(article.content)[b-9t6ozbe265] {
    padding-top: 0 !important;
}

.mk-page[b-9t6ozbe265] {
    --brand: #927354;
    --accent: #927354;
    --ink: #302820;
    --muted: #7A6A55;
    --border: #E4E0D8;
    --bg: #EDE5DA;
    --card-bg: #FFFFFF;
    --success: #2E9E5B;
    --danger: #C1440E;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Poppins', -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   FLOATING BACK BUTTON
   ========================================================= */
.mk-floating-back[b-9t6ozbe265] {
    position: fixed;
    top: 79px;
    left: 24px;
    z-index: 90;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.mk-floating-back:hover[b-9t6ozbe265] {
    background: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
    transform: translateX(-3px);
    box-shadow: 0 4px 16px rgba(51, 66, 46, 0.3);
}

@media (max-width: 600px) {
    .mk-floating-back[b-9t6ozbe265] {
        top: 64px;
        left: 12px;
        width: 36px;
        height: 36px;
    }

    .mk-floating-back svg[b-9t6ozbe265] {
        width: 16px;
        height: 16px;
    }
}

/* =========================================================
   BODY
   ========================================================= */
.mk-filter-bar[b-9t6ozbe265] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    margin: 0 20px 8px;
    background: linear-gradient(135deg, #927354 0%, #3d5036 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(51, 66, 46, 0.15);
}

.mk-filter-label[b-9t6ozbe265] {
    color: rgba(251, 247, 241, 0.8);
    font-size: 0.85rem;
}

.mk-filter-label strong[b-9t6ozbe265] {
    color: #927354;
    font-weight: 700;
}

.mk-filter-clear[b-9t6ozbe265] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #EDE5DA;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.mk-filter-clear:hover[b-9t6ozbe265] {
    background: rgba(255, 255, 255, 0.22);
}

.mk-body[b-9t6ozbe265] {
    width: 100%;
    margin-top: 32px !important;
    padding: 1.25rem 1.5rem 3rem;
    box-sizing: border-box;
    flex: 1;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */
.mk-grid[b-9t6ozbe265] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */
.mk-card[b-9t6ozbe265] {
    position: relative;
    min-width: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mk-card:hover[b-9t6ozbe265] {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   IMAGE
   ========================================================= */
.mk-media[b-9t6ozbe265] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #EDE5DA 0%, #ebe4da 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mk-media img[b-9t6ozbe265] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mk-card:hover .mk-media img[b-9t6ozbe265] {
    transform: scale(1.05);
}

.mk-img-muted[b-9t6ozbe265] {
    filter: grayscale(0.6);
    opacity: 0.55;
}

.mk-img-fallback[b-9t6ozbe265] {
    color: #A89986;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* =========================================================
   BADGE
   ========================================================= */
.mk-tag[b-9t6ozbe265] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mk-tag-new[b-9t6ozbe265] {
    color: #FFFFFF;
    background: var(--brand);
}

.mk-tag-out[b-9t6ozbe265] {
    color: #FFFFFF;
    background: var(--danger);
}

/* =========================================================
   FAVORITE
   ========================================================= */
.mk-favorite[b-9t6ozbe265] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #9A9285;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.mk-favorite:hover[b-9t6ozbe265] {
    color: var(--accent);
    background: #FFFFFF;
    transform: scale(1.1);
}

/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */
.mk-info[b-9t6ozbe265] {
    padding: 12px 14px 14px;
    background: #FFFFFF;
}

.mk-brand[b-9t6ozbe265] {
    font-size: 0.7rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.mk-name[b-9t6ozbe265] {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--ink);
    font-weight: 500;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.mk-price[b-9t6ozbe265] {
    color: var(--brand);
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

/* =========================================================
   STOCK + QUANTITY
   ========================================================= */
.mk-stock-row[b-9t6ozbe265] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mk-stock[b-9t6ozbe265] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 600;
}

.mk-stock-in[b-9t6ozbe265] { color: var(--success); }
.mk-stock-out[b-9t6ozbe265] { color: var(--danger); }

.mk-stock-dot[b-9t6ozbe265] {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
}

.mk-quantity[b-9t6ozbe265] {
    min-width: 28px;
    height: 18px;
    padding: 0 6px;
    border-radius: 20px;
    background: rgba(46, 158, 91, 0.1);
    color: var(--success);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   EMPTY
   ========================================================= */
.mk-empty[b-9t6ozbe265] {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.mk-empty-icon[b-9t6ozbe265] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0ebe3 0%, #e4ddd2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A89986;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .mk-grid[b-9t6ozbe265] {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .mk-grid[b-9t6ozbe265] {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .mk-body[b-9t6ozbe265] {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .mk-body[b-9t6ozbe265] {
        padding: 0.75rem;
    }

    .mk-grid[b-9t6ozbe265] {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mk-info[b-9t6ozbe265] {
        padding: 8px 10px 10px;
    }

    .mk-name[b-9t6ozbe265] {
        font-size: 0.8rem;
        min-height: 30px;
    }

    .mk-brand[b-9t6ozbe265] {
        font-size: 0.6rem;
    }
}

@media (max-width: 380px) {
    .mk-grid[b-9t6ozbe265] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mk-name[b-9t6ozbe265] {
        font-size: 0.8rem;
        min-height: unset;
    }
}
/* /Components/Pages/HomePage.razor.rz.scp.css */
/* ================================================================
   Comfy Wear — HomePage
   Palette: cream #EDE5DA | olive #927354 | marigold #927354
            ink #302820 | sand #D4C3AF | white #FFFFFF
   ================================================================ */

/* ---------- Reset scope ---------- */
.cw-page[b-b3hlvevjba] {
    all: initial;
    display: block;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #EDE5DA;
    color: #302820;
    overflow-x: hidden;
}

.cw-page *[b-b3hlvevjba],
.cw-page *[b-b3hlvevjba]::before,
.cw-page *[b-b3hlvevjba]::after {
    box-sizing: border-box;
}

/* ---------- Shared ---------- */
.cw-btn[b-b3hlvevjba] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
    border: 2px solid transparent;
}

.cw-btn-primary[b-b3hlvevjba] {
    background: #927354;
    color: #EDE5DA;
    border-color: #927354;
}

    .cw-btn-primary:hover[b-b3hlvevjba] {
        background: #927354;
        border-color: #927354;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(34, 31, 26, 0.25);
    }

.cw-btn-outline[b-b3hlvevjba] {
    background: transparent;
    color: #927354;
    border-color: #927354;
}

.cw-btn-outline:hover[b-b3hlvevjba] {
    background: #927354;
    color: #EDE5DA;
}

.cw-btn-gold[b-b3hlvevjba] {
    background: #927354;
    color: #302820;
    border-color: #927354;
    font-weight: 700;
}

.cw-btn-gold:hover[b-b3hlvevjba] {
    background: #7a5e44;
    border-color: #7a5e44;
}

/* ================================================================
   HEADER
   ================================================================ */
.cw-header[b-b3hlvevjba] {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(251, 247, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(51, 66, 46, 0.08);
}

.cw-hamburger[b-b3hlvevjba] {
    display: none;
    background: none;
    border: none;
    color: #927354;
    cursor: pointer;
    padding: 4px;
}

.cw-logo[b-b3hlvevjba] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: #927354;
    text-transform: lowercase;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.cw-logo-dot[b-b3hlvevjba] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #927354;
    display: inline-block;
}

.cw-insta-link[b-b3hlvevjba] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cw-insta-link:hover[b-b3hlvevjba] {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.4);
}

.cw-insta-icon[b-b3hlvevjba] {
    width: 16px;
    height: 16px;
}

.cw-insta-footer[b-b3hlvevjba] {
    width: 28px;
    height: 28px;
}

.cw-insta-footer .cw-insta-icon[b-b3hlvevjba] {
    width: 14px;
    height: 14px;
}

.cw-nav[b-b3hlvevjba] {
    display: flex;
    gap: 2rem;
    margin-left: 3rem;
}

.cw-nav-link[b-b3hlvevjba] {
    font-size: 0.88rem;
    font-weight: 500;
    color: #927354;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
}

.cw-nav-link[b-b3hlvevjba]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #927354;
    transition: width 0.25s ease;
}

.cw-nav-link:hover[b-b3hlvevjba] {
    color: #927354;
}

.cw-nav-link:hover[b-b3hlvevjba]::after {
    width: 100%;
}

.cw-header-actions[b-b3hlvevjba] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.cw-search-wrap[b-b3hlvevjba] {
    position: relative;
    display: flex;
    align-items: center;
}

.cw-search-icon[b-b3hlvevjba] {
    position: absolute;
    left: 12px;
    color: #7A6A55;
    pointer-events: none;
}

.cw-search-input[b-b3hlvevjba] {
    padding: 8px 12px 8px 38px;
    border: 1.5px solid rgba(51, 66, 46, 0.15);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    color: #302820;
    width: 220px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.cw-search-input[b-b3hlvevjba]::placeholder {
    color: #aaa;
}

.cw-search-input:focus[b-b3hlvevjba] {
    border-color: #927354;
    box-shadow: 0 0 0 3px rgba(217, 142, 43, 0.12);
}

.cw-icon-btn[b-b3hlvevjba] {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(51, 66, 46, 0.15);
    background: transparent;
    color: #927354;
    cursor: pointer;
    transition: all 0.2s;
}

.cw-icon-btn:hover[b-b3hlvevjba] {
    background: #D4C3AF;
    border-color: #927354;
}

/* ================================================================
   HERO
   ================================================================ */
.cw-hero[b-b3hlvevjba] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 70vh;
    padding: 4rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.cw-hero-content[b-b3hlvevjba] {
    animation: cw-fadeUp-b-b3hlvevjba 0.8s ease both;
}

.cw-hero-badge[b-b3hlvevjba] {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(217, 142, 43, 0.12);
    color: #927354;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.cw-hero-title[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 1.05;
    color: #302820;
    margin: 0 0 1.25rem;
}

.cw-hero-accent[b-b3hlvevjba] {
    color: #927354;
}

.cw-hero-sub[b-b3hlvevjba] {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #7A6A55;
    max-width: 440px;
    margin: 0 0 2rem;
}

.cw-hero-actions[b-b3hlvevjba] {
    display: flex;
    gap: 14px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cw-hero-stats[b-b3hlvevjba] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cw-stat[b-b3hlvevjba] {
    display: flex;
    flex-direction: column;
}

.cw-stat-num[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #927354;
}

.cw-stat-label[b-b3hlvevjba] {
    font-size: 0.72rem;
    color: #7A6A55;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-stat-divider[b-b3hlvevjba] {
    width: 1px;
    height: 36px;
    background: rgba(51, 66, 46, 0.15);
}

.cw-hero-visual[b-b3hlvevjba] {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: cw-fadeUp-b-b3hlvevjba 0.8s 0.2s ease both;
}

.cw-hero-circle[b-b3hlvevjba] {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 220, 200, 0.5) 0%, rgba(251, 247, 241, 0) 70%);
}

.cw-hero-shape[b-b3hlvevjba] {
    position: relative;
    width: 320px;
    height: 320px;
}

.cw-hero-shape svg[b-b3hlvevjba] {
    width: 100%;
    height: 100%;
}

/* ================================================================
   TRUST STRIP
   ================================================================ */
.cw-trust-strip[b-b3hlvevjba] {
    background: #927354;
    padding: 0.75rem 0;
    overflow: hidden;
}

.cw-trust-track[b-b3hlvevjba] {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: cw-marquee-b-b3hlvevjba 25s linear infinite;
}

.cw-trust-strip:hover .cw-trust-track[b-b3hlvevjba] {
    animation-play-state: paused;
}

.cw-trust-item[b-b3hlvevjba] {
    color: #EDE5DA;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 0 1.25rem;
}

.cw-trust-sep[b-b3hlvevjba] {
    color: rgba(217, 142, 43, 0.5);
    font-size: 0.5rem;
}

.cw-trust-icon[b-b3hlvevjba] {
    stroke: #927354;
    flex-shrink: 0;
}

@keyframes cw-marquee-b-b3hlvevjba {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.cw-section[b-b3hlvevjba] {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cw-section-alt[b-b3hlvevjba] {
    background: rgba(51, 66, 46, 0.03);
    max-width: 100%;
    padding: 4rem 2rem;
}

.cw-section-alt .cw-product-grid[b-b3hlvevjba],
.cw-section-alt .cw-section-cta[b-b3hlvevjba] {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cw-section-header[b-b3hlvevjba] {
    text-align: center;
    margin-bottom: 2.5rem;
}

.cw-eyebrow[b-b3hlvevjba] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #927354;
    display: block;
    margin-bottom: 0.5rem;
}

.cw-section-title[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #302820;
    margin: 0;
}

.cw-rule[b-b3hlvevjba] {
    width: 40px;
    height: 3px;
    background: #927354;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ---------- Shop by Category section header ---------- */
.cw-shop-category[b-b3hlvevjba] {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cw-shop-category-header[b-b3hlvevjba] {
    text-align: left;
    margin-bottom: 2rem;
}

.cw-shop-category-title[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #302820;
    margin: 0 0 0.5rem;
}

/* ================================================================
   CATEGORY GRID
   ================================================================ */
.cw-category-grid[b-b3hlvevjba] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    justify-items: center;
}

.cw-category-card[b-b3hlvevjba] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid #E4D9CC;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    max-width: 220px;
    width: 100%;
}

.cw-category-card:hover[b-b3hlvevjba] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(48, 40, 32, 0.08);
    border-color: #927354;
}

.cw-category-image[b-b3hlvevjba] {
    width: 100%;
    height: 150px;
    background: #E8DCC8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-category-image img[b-b3hlvevjba] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cw-category-placeholder[b-b3hlvevjba] {
    font-size: 0.7rem;
    color: #C9BDA8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cw-category-number[b-b3hlvevjba] {
    font-family: 'Fredoka', 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #302820;
    min-width: 36px;
}

.cw-category-name[b-b3hlvevjba] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #302820;
}

.cw-category-count[b-b3hlvevjba] {
    font-size: 0.75rem;
    color: #7A6A55;
}

.cw-category-arrow[b-b3hlvevjba] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #302820;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.cw-product-grid[b-b3hlvevjba] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cw-product-card[b-b3hlvevjba] {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(51, 66, 46, 0.06);
    cursor: pointer;
    transition: all 0.25s ease;
}

.cw-product-card:hover[b-b3hlvevjba] {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(51, 66, 46, 0.1);
}

.cw-product-img[b-b3hlvevjba] {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #EDE5DA 0%, #D4C3AF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cw-product-img img[b-b3hlvevjba] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cw-product-card:hover .cw-product-img img[b-b3hlvevjba] {
    transform: scale(1.05);
}

.cw-product-placeholder[b-b3hlvevjba] {
    color: #A89986;
}

.cw-product-tag[b-b3hlvevjba] {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-tag-new[b-b3hlvevjba] {
    background: #927354;
    color: #EDE5DA;
}

.cw-tag-sold[b-b3hlvevjba] {
    background: #C1440E;
    color: #fff;
}

.cw-tag-offer[b-b3hlvevjba] {
    background: #927354;
    color: #EDE5DA;
}

.cw-product-body[b-b3hlvevjba] {
    padding: 1rem;
}

.cw-product-brand[b-b3hlvevjba] {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #927354;
    margin-bottom: 4px;
}

.cw-product-name[b-b3hlvevjba] {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #302820;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cw-product-footer[b-b3hlvevjba] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cw-product-price[b-b3hlvevjba] {
    font-weight: 700;
    font-size: 1rem;
    color: #927354;
}

.cw-product-price-original[b-b3hlvevjba] {
    font-size: 0.82rem;
    color: #7A6A55;
    text-decoration: line-through;
}

.cw-product-stock[b-b3hlvevjba] {
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cw-product-stock[b-b3hlvevjba]::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.cw-stock-in[b-b3hlvevjba] {
    color: #2E9E5B;
}

.cw-stock-in[b-b3hlvevjba]::before {
    background: #2E9E5B;
}

.cw-stock-out[b-b3hlvevjba] {
    color: #C1440E;
}

.cw-stock-out[b-b3hlvevjba]::before {
    background: #C1440E;
}

.cw-section-cta[b-b3hlvevjba] {
    text-align: center;
    margin-top: 2.5rem;
}

/* ================================================================
   BANNER
   ================================================================ */
.cw-banner[b-b3hlvevjba] {
    background: linear-gradient(135deg, #927354 0%, #302820 100%);
    padding: 3.5rem 2rem;
}

.cw-banner-inner[b-b3hlvevjba] {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cw-banner-title[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #EDE5DA;
    margin: 0 0 0.4rem;
}

.cw-banner-sub[b-b3hlvevjba] {
    font-size: 0.9rem;
    color: rgba(251, 247, 241, 0.65);
    margin: 0;
}

.cw-banner-form[b-b3hlvevjba] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cw-banner-input[b-b3hlvevjba] {
    padding: 10px 16px;
    border: 1.5px solid rgba(251, 247, 241, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #EDE5DA;
    font-family: inherit;
    font-size: 0.85rem;
    width: 260px;
    outline: none;
    transition: border-color 0.2s;
}

.cw-banner-input[b-b3hlvevjba]::placeholder {
    color: rgba(251, 247, 241, 0.4);
}

.cw-banner-input:focus[b-b3hlvevjba] {
    border-color: #927354;
}

/* ================================================================
   FOOTER
   ================================================================ */
.cw-footer[b-b3hlvevjba] {
    background: #302820;
    color: rgba(251, 247, 241, 0.7);
    padding-top: 3.5rem;
}

.cw-footer-inner[b-b3hlvevjba] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
}

.cw-logo-footer[b-b3hlvevjba] {
    color: #EDE5DA !important;
    margin-bottom: 0.75rem;
}

.cw-footer-desc[b-b3hlvevjba] {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(251, 247, 241, 0.45);
    max-width: 280px;
}

.cw-footer-links[b-b3hlvevjba] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cw-footer-col h4[b-b3hlvevjba] {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #EDE5DA;
    margin: 0 0 0.75rem;
}

.cw-footer-col a[b-b3hlvevjba] {
    display: block;
    font-size: 0.82rem;
    color: rgba(251, 247, 241, 0.45);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s;
}

.cw-footer-col a:hover[b-b3hlvevjba] {
    color: #927354;
}

.cw-footer-bottom[b-b3hlvevjba] {
    text-align: center;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(251, 247, 241, 0.08);
    font-size: 0.72rem;
    color: rgba(251, 247, 241, 0.3);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes cw-fadeUp-b-b3hlvevjba {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .cw-hero[b-b3hlvevjba] {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 2rem;
        min-height: auto;
    }

    .cw-hero-content[b-b3hlvevjba] {
        order: 1;
    }

    .cw-hero-sub[b-b3hlvevjba] {
        margin-left: auto;
        margin-right: auto;
    }

    .cw-hero-actions[b-b3hlvevjba] {
        justify-content: center;
    }

    .cw-hero-stats[b-b3hlvevjba] {
        justify-content: center;
    }

    .cw-hero-visual[b-b3hlvevjba] {
        order: 0;
        margin-bottom: 1rem;
    }

    .cw-hero-shape[b-b3hlvevjba] {
        width: 220px;
        height: 220px;
    }

    .cw-hero-circle[b-b3hlvevjba] {
        width: 240px;
        height: 240px;
    }

    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(3, 1fr);
    }

    .cw-product-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-footer-inner[b-b3hlvevjba] {
        grid-template-columns: 1fr;
    }
}

/* Mobile landscape / small tablets */
@media (max-width: 768px) {
    .cw-header[b-b3hlvevjba] {
        padding: 0.75rem 1.25rem;
    }

    .cw-nav[b-b3hlvevjba] {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #EDE5DA;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 1.25rem 1rem;
        border-bottom: 1px solid rgba(51, 66, 46, 0.1);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .cw-nav-open[b-b3hlvevjba] {
        display: flex;
    }

    .cw-nav-link[b-b3hlvevjba] {
        padding: 10px 0;
        border-bottom: 1px solid rgba(51, 66, 46, 0.06);
    }

    .cw-hamburger[b-b3hlvevjba] {
        display: flex;
    }

    .cw-search-wrap[b-b3hlvevjba] {
        display: none;
    }

    .cw-hero-title[b-b3hlvevjba] {
        font-size: 2.6rem;
    }

    .cw-hero-sub[b-b3hlvevjba] {
        font-size: 0.95rem;
    }

    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .cw-category-card[b-b3hlvevjba] {
        padding: 1.25rem 0.5rem;
    }

    .cw-category-icon[b-b3hlvevjba] {
        width: 52px;
        height: 52px;
    }

    .cw-banner-inner[b-b3hlvevjba] {
        flex-direction: column;
        text-align: center;
    }

    .cw-banner-form[b-b3hlvevjba] {
        flex-direction: column;
        width: 100%;
    }

    .cw-banner-input[b-b3hlvevjba] {
        width: 100%;
    }

    .cw-footer-links[b-b3hlvevjba] {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cw-section-title[b-b3hlvevjba] {
        font-size: 1.8rem;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .cw-hero[b-b3hlvevjba] {
        padding: 2rem 1.25rem;
    }

    .cw-hero-title[b-b3hlvevjba] {
        font-size: 2.1rem;
    }

    .cw-hero-actions[b-b3hlvevjba] {
        flex-direction: column;
        align-items: stretch;
    }

    .cw-btn[b-b3hlvevjba] {
        justify-content: center;
    }

    .cw-hero-stats[b-b3hlvevjba] {
        gap: 1rem;
    }

    .cw-stat-num[b-b3hlvevjba] {
        font-size: 1.2rem;
    }

    .cw-section[b-b3hlvevjba] {
        padding: 2.5rem 1.25rem;
    }

    .cw-section-alt[b-b3hlvevjba] {
        padding: 2.5rem 1.25rem;
    }

    .cw-section-title[b-b3hlvevjba] {
        font-size: 1.6rem;
    }

    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-category-card[b-b3hlvevjba] {
        padding: 1rem 0.5rem;
    }

    .cw-category-icon[b-b3hlvevjba] {
        width: 44px;
        height: 44px;
    }

    .cw-category-name[b-b3hlvevjba] {
        font-size: 0.8rem;
    }

    .cw-product-grid[b-b3hlvevjba] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cw-product-img[b-b3hlvevjba] {
        height: 200px;
    }

    .cw-trust-item[b-b3hlvevjba] {
        font-size: 0.7rem;
        padding: 0 1rem;
    }

    .cw-footer-inner[b-b3hlvevjba] {
        padding: 0 1.25rem 2rem;
    }

    .cw-footer-links[b-b3hlvevjba] {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tiny screens */
@media (max-width: 360px) {
    .cw-hero-title[b-b3hlvevjba] {
        font-size: 1.8rem;
    }

    .cw-hero-badge[b-b3hlvevjba] {
        font-size: 0.68rem;
    }

    .cw-category-grid[b-b3hlvevjba] {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .cw-footer-links[b-b3hlvevjba] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ================================================================
   GLOBAL OVERRIDES (inside scoped CSS for this page only)
   ================================================================ */
article.content[b-b3hlvevjba],
.px-4[b-b3hlvevjba] {
    padding: 0 !important;
}
p[b-b3hlvevjba] {
    margin-top: 15px !important;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.lg-page[b-zcz2h05l60] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, sans-serif;
    padding: 24px;
}

.lg-card[b-zcz2h05l60] {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #ECECF2;
    border-radius: 18px;
    padding: 40px 36px 36px;
    box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 24px 60px -24px rgba(20,20,40,0.18);
    text-align: center;
}

.lg-icon[b-zcz2h05l60] {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #6C60F5, #5B4FE9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(91, 79, 233, 0.55);
}

.lg-title[b-zcz2h05l60] {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #16161D;
    margin: 0 0 4px;
}

.lg-subtitle[b-zcz2h05l60] {
    font-size: 0.85rem;
    color: #8B8B99;
    margin: 0 0 24px;
}

.lg-error[b-zcz2h05l60] {
    background: #FCEBEB;
    color: #DB4C4C;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    text-align: left;
}

.lg-form[b-zcz2h05l60] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.lg-field[b-zcz2h05l60] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .lg-field label[b-zcz2h05l60] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #16161D;
    }

    .lg-field input[b-zcz2h05l60] {
        padding: 11px 14px;
        border: 1px solid #ECECF2;
        border-radius: 10px;
        font-size: 0.9rem;
        font-family: inherit;
        outline: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .lg-field input:focus[b-zcz2h05l60] {
            border-color: #5B4FE9;
            box-shadow: 0 0 0 3px #EFEDFF;
        }

.lg-submit[b-zcz2h05l60] {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    background: linear-gradient(180deg, #6C60F5, #5B4FE9);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 20px -6px rgba(91, 79, 233, 0.55);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .lg-submit:hover[b-zcz2h05l60] {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px -6px rgba(91, 79, 233, 0.65);
    }
/* /Components/Pages/ProductDetails.razor.rz.scp.css */
/* =========================================================
   PRODUCT DETAIL PAGE — COMFY WEAR
   Palette: background #EDE5DA | secondary #D4C3AF
            text #302820 | highlight #927354
   ========================================================= */

:deep(article.content)[b-5fh2cn9a9y] {
    padding-top: 0 !important;
}

.pd-page[b-5fh2cn9a9y] {
    --brand: #927354;
    --brand-dark: #7a5e44;
    --ink: #302820;
    --muted: #7A6A55;
    --border: #D4C3AF;
    --bg: #EDE5DA;
    --card: #FFFFFF;
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   LOADING / EMPTY
   ========================================================= */
.pd-loading-wrap[b-5fh2cn9a9y],
.pd-empty-wrap[b-5fh2cn9a9y] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-loading[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 70vh;
    color: var(--muted);
    font-size: 0.9rem;
}

.pd-spinner[b-5fh2cn9a9y] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: pd-spin-b-5fh2cn9a9y 0.7s linear infinite;
}

@keyframes pd-spin-b-5fh2cn9a9y { to { transform: rotate(360deg); } }

.pd-empty[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    gap: 16px;
    padding: 2rem;
}

.pd-empty-icon[b-5fh2cn9a9y] {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EDE5DA 0%, #D4C3AF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 4px;
}

.pd-empty-title[b-5fh2cn9a9y] {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.pd-empty-sub[b-5fh2cn9a9y] {
    font-size: 0.88rem;
    max-width: 340px;
    margin: 0;
    line-height: 1.6;
    color: var(--muted);
}

/* =========================================================
   FLOATING BACK BUTTON
   ========================================================= */
.pd-floating-back[b-5fh2cn9a9y] {
    position: fixed;
    top: 90px;
    left: 24px;
    z-index: 90;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 0 2px 12px rgba(48, 40, 32, 0.1);
    transition: all 0.25s ease;
    padding-left: env(safe-area-inset-left);
    left: max(24px, env(safe-area-inset-left));
}

.pd-floating-back:hover[b-5fh2cn9a9y] {
    background: var(--brand);
    color: #EDE5DA;
    border-color: var(--brand);
    transform: translateX(-3px);
    box-shadow: 0 4px 16px rgba(146, 115, 84, 0.3);
}

/* =========================================================
   MAIN CARD — constrained, responsive two-column layout
   ========================================================= */
.pd-card[b-5fh2cn9a9y] {
    width: 100%;
    max-width: 1200px;
    margin: 78px auto 0;
    padding: 2.5rem 2rem 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    box-sizing: border-box;
}

/* =========================================================
   GALLERY
   ========================================================= */
.pd-image-wrap[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    position: sticky;
    top: 90px;
}

.pd-main-image[b-5fh2cn9a9y] {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    box-shadow: 0 8px 32px rgba(48, 40, 32, 0.1);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.pd-main-image.pd-image-swiping[b-5fh2cn9a9y] {
    cursor: grabbing;
}

.pd-main-image img[b-5fh2cn9a9y] {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: pd-image-in-b-5fh2cn9a9y 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

@keyframes pd-image-in-b-5fh2cn9a9y {
    from {
        opacity: 0.25;
        transform: translateX(12px) scale(1.01);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.pd-main-image:hover img[b-5fh2cn9a9y] {
    transform: scale(1.04);
}

.pd-img-placeholder[b-5fh2cn9a9y] {
    color: #A89986;
}

.pd-store-badge[b-5fh2cn9a9y] {
    position: absolute;
    left: 14px;
    padding: 5px 14px;
    background: rgba(48, 40, 32, 0.85);
    color: #EDE5DA;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.pd-img-counter[b-5fh2cn9a9y] {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 5px 12px;
    background: rgba(48, 40, 32, 0.7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

.pd-img-zoom[b-5fh2cn9a9y] {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pd-main-image:hover .pd-img-zoom[b-5fh2cn9a9y] {
    opacity: 1;
}

/* Thumbnails */
.pd-thumbs[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    min-width: 0;
}

.pd-thumbs[b-5fh2cn9a9y]::-webkit-scrollbar {
    height: 4px;
}

.pd-thumbs[b-5fh2cn9a9y]::-webkit-scrollbar-track {
    background: transparent;
}

.pd-thumbs[b-5fh2cn9a9y]::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.pd-thumb[b-5fh2cn9a9y] {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--card);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(48, 40, 32, 0.06);
}

.pd-thumb img[b-5fh2cn9a9y] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-thumb:hover[b-5fh2cn9a9y] {
    border-color: var(--muted);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(48, 40, 32, 0.12);
}

.pd-thumb-active[b-5fh2cn9a9y] {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(146, 115, 84, 0.25);
}

/* =========================================================
   PRODUCT INFO
   ========================================================= */
.pd-info[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
    padding-top: 0.5rem;
}

.pd-name[b-5fh2cn9a9y] {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

.pd-code[b-5fh2cn9a9y] {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: -0.75rem;
}

.pd-price[b-5fh2cn9a9y] {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Detail rows */
.pd-details[b-5fh2cn9a9y] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card);
}

.pd-detail-row[b-5fh2cn9a9y] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.pd-detail-row:last-child[b-5fh2cn9a9y] {
    border-bottom: none;
}

.pd-detail-label[b-5fh2cn9a9y] {
    flex: 0 0 130px;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding-top: 2px;
}

.pd-detail-value[b-5fh2cn9a9y] {
    flex: 1;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Feature chips */
.pd-features[b-5fh2cn9a9y] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-feature[b-5fh2cn9a9y] {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
}

/* Actions */
.pd-actions[b-5fh2cn9a9y] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0.5rem;
}

.pd-btn-chat[b-5fh2cn9a9y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(146, 115, 84, 0.3);
}

.pd-btn-chat:hover[b-5fh2cn9a9y] {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(146, 115, 84, 0.4);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.pd-lightbox[b-5fh2cn9a9y] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pd-fadeIn-b-5fh2cn9a9y 0.25s ease;
    backdrop-filter: blur(4px);
    overscroll-behavior: contain;
    touch-action: none;
}

@keyframes pd-fadeIn-b-5fh2cn9a9y {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pd-lightbox img[b-5fh2cn9a9y] {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: pd-zoomIn-b-5fh2cn9a9y 0.3s ease;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

@keyframes pd-zoomIn-b-5fh2cn9a9y {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.pd-lb-close[b-5fh2cn9a9y] {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.pd-lb-close:hover[b-5fh2cn9a9y] {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.pd-lb-arrow[b-5fh2cn9a9y] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.pd-lb-arrow:hover[b-5fh2cn9a9y] {
    background: rgba(255, 255, 255, 0.25);
}

.pd-lb-prev[b-5fh2cn9a9y] { left: 24px; }
.pd-lb-next[b-5fh2cn9a9y] { right: 24px; }

.pd-lb-counter[b-5fh2cn9a9y] {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    letter-spacing: 1px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Large screens — centre the card */
@media (min-width: 1201px) {
    .pd-card[b-5fh2cn9a9y] {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .pd-card[b-5fh2cn9a9y] {
        gap: 2.5rem;
        padding: 2rem 1.5rem 3.5rem;
    }

    .pd-name[b-5fh2cn9a9y] {
        font-size: 2.1rem;
    }
}

@media (max-width: 820px) {
    .pd-card[b-5fh2cn9a9y] {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 640px;
        padding: 1.5rem 1.5rem 3rem;
        margin-top: 120px; /* below wrapped mobile header */
    }

    .pd-image-wrap[b-5fh2cn9a9y] {
        position: static;
    }

    .pd-floating-back[b-5fh2cn9a9y] {
        top: 120px;
        left: 16px;
        width: 38px;
        height: 38px;
    }

    .pd-name[b-5fh2cn9a9y] {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .pd-card[b-5fh2cn9a9y] {
        padding: 1rem 1rem 2.5rem;
        gap: 1.5rem;
        margin-top: 110px;
    }

    .pd-floating-back[b-5fh2cn9a9y] {
        top: 110px;
        left: 12px;
        width: 36px;
        height: 36px;
    }

    .pd-floating-back svg[b-5fh2cn9a9y] {
        width: 16px;
        height: 16px;
    }

    .pd-main-image[b-5fh2cn9a9y] {
        border-radius: 12px;
    }

    .pd-name[b-5fh2cn9a9y] {
        font-size: 1.65rem;
    }

    .pd-price[b-5fh2cn9a9y] {
        font-size: 1.7rem;
    }

    .pd-detail-row[b-5fh2cn9a9y] {
        flex-direction: column;
        gap: 4px;
        padding: 12px 14px;
    }

    .pd-detail-label[b-5fh2cn9a9y] {
        flex: none;
        padding-top: 0;
    }

    .pd-thumb[b-5fh2cn9a9y] {
        flex: 0 0 60px;
        height: 60px;
    }

    .pd-btn-chat[b-5fh2cn9a9y] {
        width: 100%;
    }

    .pd-lb-arrow[b-5fh2cn9a9y] {
        width: 40px;
        height: 40px;
    }

    .pd-lb-prev[b-5fh2cn9a9y] { left: 12px; }
    .pd-lb-next[b-5fh2cn9a9y] { right: 12px; }

    .pd-lightbox img[b-5fh2cn9a9y] {
        max-width: 92vw;
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .pd-card[b-5fh2cn9a9y] {
        padding: 0.9rem 0.9rem 2.25rem;
        gap: 1.25rem;
        margin-top: 105px;
    }

    .pd-floating-back[b-5fh2cn9a9y] {
        top: 105px;
        left: 10px;
        width: 34px;
        height: 34px;
    }

    .pd-floating-back svg[b-5fh2cn9a9y] {
        width: 14px;
        height: 14px;
    }

    .pd-name[b-5fh2cn9a9y] {
        font-size: 1.5rem;
    }

    .pd-price[b-5fh2cn9a9y] {
        font-size: 1.6rem;
    }

    .pd-thumb[b-5fh2cn9a9y] {
        flex: 0 0 52px;
        height: 52px;
    }

    .pd-lb-arrow[b-5fh2cn9a9y] {
        width: 36px;
        height: 36px;
    }

    .pd-lb-prev[b-5fh2cn9a9y] { left: 8px; }
    .pd-lb-next[b-5fh2cn9a9y] { right: 8px; }

    .pd-lb-close[b-5fh2cn9a9y] {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }

    .pd-lightbox img[b-5fh2cn9a9y] {
        max-width: 94vw;
        max-height: 75vh;
    }
}

@media (max-width: 380px) {
    .pd-card[b-5fh2cn9a9y] {
        padding: 0.75rem 0.75rem 2rem;
        margin-top: 100px;
    }

    .pd-floating-back[b-5fh2cn9a9y] {
        top: 100px;
        left: 8px;
        width: 32px;
        height: 32px;
    }

    .pd-floating-back svg[b-5fh2cn9a9y] {
        width: 14px;
        height: 14px;
    }

    .pd-name[b-5fh2cn9a9y] {
        font-size: 1.4rem;
    }

    .pd-price[b-5fh2cn9a9y] {
        font-size: 1.5rem;
    }

    .pd-main-image[b-5fh2cn9a9y] {
        border-radius: 10px;
        aspect-ratio: 4 / 5;
    }

    .pd-detail-row[b-5fh2cn9a9y] {
        padding: 10px 12px;
    }

    .pd-thumb[b-5fh2cn9a9y] {
        flex: 0 0 48px;
        height: 48px;
    }

    .pd-btn-chat[b-5fh2cn9a9y] {
        padding: 11px 20px;
        font-size: 0.85rem;
    }

    .pd-lb-arrow[b-5fh2cn9a9y] {
        width: 34px;
        height: 34px;
    }

    .pd-lb-prev[b-5fh2cn9a9y] { left: 6px; }
    .pd-lb-next[b-5fh2cn9a9y] { right: 6px; }

    .pd-lb-close[b-5fh2cn9a9y] {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
    }

    .pd-lightbox img[b-5fh2cn9a9y] {
        max-width: 96vw;
        max-height: 70vh;
    }

    .pd-lb-counter[b-5fh2cn9a9y] {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}
/* /Components/Pages/ProductFormDialog.razor.rz.scp.css */
/* ================================================================
   Product Form Dialog — Comfy Wear Theme
   Palette: olive #927354 | marigold #927354 | ink #302820
   ================================================================ */
.pf-form[b-g2eheiyiwm] {
    --brand: #927354;
    --brand-hover: #302820;
    --accent: #927354;
    --ink: #302820;
    --muted: #7A6A55;
    --border: #E4E0D8;
    --bg: #EDE5DA;
    --bg-alt: #F3EDE4;
    --danger: #C1440E;
    --success: #2E9E5B;
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--ink);
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

/* ---------- Selectable size / colour option chips ---------- */
.pf-option-grid[b-g2eheiyiwm] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pf-option-chip[b-g2eheiyiwm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s ease;
}

.pf-option-chip:hover[b-g2eheiyiwm] {
    border-color: var(--accent);
}

.pf-option-chip input[b-g2eheiyiwm] {
    margin: 0;
    accent-color: var(--accent);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.pf-option-chip.pf-option-selected[b-g2eheiyiwm] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.pf-option-chip.pf-option-selected input[b-g2eheiyiwm] {
    accent-color: #fff;
}

/* ---------- Inline add-new-colour control ---------- */
.pf-add-colour-row[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.pf-add-colour-row .pf-input[b-g2eheiyiwm] {
    flex: 1;
    min-width: 0;
}

.pf-colour-picker[b-g2eheiyiwm] {
    width: 40px;
    height: 36px;
    padding: 2px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.pf-add-colour-btn[b-g2eheiyiwm] {
    flex-shrink: 0;
    padding: 9px 14px;
    border: none;
    border-radius: 6px;
    background: var(--brand);
    color: #EDE5DA;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pf-add-colour-btn:hover:not(:disabled)[b-g2eheiyiwm] {
    background: var(--brand-hover);
}

.pf-add-colour-btn:disabled[b-g2eheiyiwm] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---------- Scrollable body ---------- */
.pf-fields[b-g2eheiyiwm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* ---------- Header ---------- */
.pf-header[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.pf-header-icon[b-g2eheiyiwm] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: #EDE5DA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-header-title[b-g2eheiyiwm] {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.pf-header-sub[b-g2eheiyiwm] {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 2px 0 0;
}

.pf-divider[b-g2eheiyiwm] {
    height: 1px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---------- Row layouts ---------- */
.pf-row[b-g2eheiyiwm] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pf-toggle-row[b-g2eheiyiwm] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pf-toggle-row .pf-toggle-field[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.pf-toggle-row .pf-checkbox[b-g2eheiyiwm] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.pf-toggle-row .pf-checkbox-label[b-g2eheiyiwm] {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    cursor: pointer;
}

.pf-field[b-g2eheiyiwm] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pf-label[b-g2eheiyiwm] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.2px;
}

.pf-hint[b-g2eheiyiwm] {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.72rem;
}

.pf-required[b-g2eheiyiwm] {
    color: var(--danger);
}

/* ---------- Inputs ---------- */
.pf-input[b-g2eheiyiwm] {
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    width: 100%;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pf-input:focus[b-g2eheiyiwm] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 142, 43, 0.1);
}

.pf-input[b-g2eheiyiwm]::placeholder {
    color: #b5b0a8;
}

.pf-input-error[b-g2eheiyiwm] {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(193, 68, 14, 0.08) !important;
}

.pf-select[b-g2eheiyiwm] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8272' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
}

.pf-textarea[b-g2eheiyiwm] {
    resize: vertical;
    min-height: 56px;
}

.pf-field-error[b-g2eheiyiwm] {
    font-size: 0.72rem;
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pf-file-input[b-g2eheiyiwm] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

/* ================================================================
   SECTION HEADERS — Cover + Colors
   ================================================================ */
.pf-section-header[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pf-section-icon[b-g2eheiyiwm] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-section-icon-cover[b-g2eheiyiwm] {
    background: linear-gradient(135deg, #927354, #7a5e44);
    color: #fff;
}

.pf-section-icon-color[b-g2eheiyiwm] {
    background: linear-gradient(135deg, #927354, #a68460);
    color: #fff;
}

.pf-section-title[b-g2eheiyiwm] {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
}

.pf-section-sub[b-g2eheiyiwm] {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 1px;
}

/* ================================================================
   COVER IMAGE SECTION
   ================================================================ */
.pf-cover-section[b-g2eheiyiwm] {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.pf-cover-upload-area[b-g2eheiyiwm] {
    width: 190px;
}

.pf-cover-preview[b-g2eheiyiwm] {
    position: relative;
    width: 190px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--bg);
}

.pf-cover-preview img[b-g2eheiyiwm] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-cover-remove[b-g2eheiyiwm] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

@media (hover: none) {
    .pf-cover-remove[b-g2eheiyiwm] { opacity: 1; }
}

.pf-cover-preview:hover .pf-cover-remove[b-g2eheiyiwm] {
    opacity: 1;
}

.pf-cover-remove:hover[b-g2eheiyiwm] {
    background: var(--danger);
}

.pf-cover-badge[b-g2eheiyiwm] {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    background: var(--accent);
}

.pf-cover-change[b-g2eheiyiwm] {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.pf-cover-change-btn[b-g2eheiyiwm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand);
    background: #fff;
    border: 1.5px solid var(--brand);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pf-cover-change-btn:hover[b-g2eheiyiwm] {
    background: var(--brand);
    color: #fff;
}

.pf-cover-empty[b-g2eheiyiwm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 190px;
    height: 150px;
    border: 2px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg);
}

.pf-cover-empty:hover[b-g2eheiyiwm] {
    border-color: var(--accent);
    background: rgba(217, 142, 43, 0.04);
}

.pf-cover-empty-icon[b-g2eheiyiwm] {
    color: var(--muted);
    transition: color 0.2s;
}

.pf-cover-empty:hover .pf-cover-empty-icon[b-g2eheiyiwm] {
    color: var(--accent);
}

.pf-cover-empty-text[b-g2eheiyiwm] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.pf-cover-empty-hint[b-g2eheiyiwm] {
    font-size: 0.7rem;
    color: var(--muted);
}

/* ================================================================
   COLOR VARIANTS SECTION
   ================================================================ */
.pf-colors-section[b-g2eheiyiwm] {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.pf-colors-empty[b-g2eheiyiwm] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px dashed var(--border);
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.pf-colors-empty svg[b-g2eheiyiwm] {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
}

/* ---------- Color Group ---------- */
.pf-color-group[b-g2eheiyiwm] {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.pf-color-group:hover[b-g2eheiyiwm] {
    border-color: #d0ccc4;
}

.pf-color-group:last-of-type[b-g2eheiyiwm] {
    margin-bottom: 12px;
}

.pf-color-group-header[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pf-color-dot[b-g2eheiyiwm] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.pf-color-name-input[b-g2eheiyiwm] {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--ink);
    outline: none;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pf-color-name-input:focus[b-g2eheiyiwm] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 142, 43, 0.1);
}

.pf-color-name-input[b-g2eheiyiwm]::placeholder {
    color: #b5b0a8;
    font-weight: 400;
}

.pf-color-remove-btn[b-g2eheiyiwm] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pf-color-remove-btn:hover[b-g2eheiyiwm] {
    border-color: var(--danger);
    color: var(--danger);
    background: #FDF2EE;
}

/* ---------- Color Images Grid ---------- */
.pf-color-images-grid[b-g2eheiyiwm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}

.pf-color-img-item[b-g2eheiyiwm] {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: #fff;
    transition: transform 0.15s;
}

.pf-color-img-item:hover[b-g2eheiyiwm] {
    transform: scale(1.03);
}

.pf-color-img-item img[b-g2eheiyiwm] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-color-img-existing[b-g2eheiyiwm] {
    opacity: 0.88;
}

.pf-color-img-remove[b-g2eheiyiwm] {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

@media (hover: none) {
    .pf-color-img-remove[b-g2eheiyiwm] { opacity: 1; }
}

.pf-color-img-item:hover .pf-color-img-remove[b-g2eheiyiwm] {
    opacity: 1;
}

.pf-color-img-remove:hover[b-g2eheiyiwm] {
    background: var(--danger);
}

.pf-color-img-tag[b-g2eheiyiwm] {
    position: absolute;
    bottom: 3px;
    left: 3px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 1px 5px;
    border-radius: 3px;
    color: #fff;
    background: var(--brand);
}

.pf-color-img-add[b-g2eheiyiwm] {
    aspect-ratio: 1/1;
    border: 2px dashed var(--border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.pf-color-img-add:hover[b-g2eheiyiwm] {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(217, 142, 43, 0.04);
}

/* ---------- Add Color Button ---------- */
.pf-add-color-btn[b-g2eheiyiwm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px dashed var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pf-add-color-btn:hover[b-g2eheiyiwm] {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(217, 142, 43, 0.04);
}

.pf-gallery-hint[b-g2eheiyiwm] {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 10px;
}

/* ---------- Save Error ---------- */
.pf-save-error[b-g2eheiyiwm] {
    margin: 0 24px;
    padding: 10px 14px;
    background: #FDF2EE;
    border: 1px solid rgba(193, 68, 14, 0.15);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ---------- Actions (sticky bottom) ---------- */
.pf-actions[b-g2eheiyiwm] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
}

.pf-btn-cancel[b-g2eheiyiwm],
.pf-btn-save[b-g2eheiyiwm] {
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.pf-btn-cancel[b-g2eheiyiwm] {
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--ink);
}

.pf-btn-cancel:hover:not(:disabled)[b-g2eheiyiwm] {
    background: var(--bg-alt);
    border-color: #ccc;
}

.pf-btn-save[b-g2eheiyiwm] {
    background: var(--brand);
    color: #EDE5DA;
}

.pf-btn-save:hover:not(:disabled)[b-g2eheiyiwm] {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 31, 26, 0.2);
}

.pf-btn-cancel:disabled[b-g2eheiyiwm],
.pf-btn-save:disabled[b-g2eheiyiwm] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pf-spinner[b-g2eheiyiwm] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pf-spin-b-g2eheiyiwm 0.6s linear infinite;
}

@keyframes pf-spin-b-g2eheiyiwm {
    to { transform: rotate(360deg); }
}

/* ================================================================
   DIALOG TITLEBAR (Radzen override)
   ================================================================ */
.product-dialog .rz-dialog-titlebar[b-g2eheiyiwm] {
    background-color: var(--brand) !important;
    padding: 14px 20px !important;
}

.product-dialog .rz-dialog-title[b-g2eheiyiwm] {
    color: #EDE5DA !important;
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 600 !important;
}

.product-dialog .rz-dialog-titlebar-close .rzi[b-g2eheiyiwm] {
    color: rgba(251, 247, 241, 0.7) !important;
}

.product-dialog .rz-dialog-titlebar-close:hover .rzi[b-g2eheiyiwm] {
    color: #EDE5DA !important;
}

/* ================================================================
   RESPONSIVE — Tablets (<= 768px)
   ================================================================ */
@media (max-width: 768px) {
    .product-dialog[b-g2eheiyiwm] {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 93vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .product-dialog .rz-dialog[b-g2eheiyiwm] {
        width: 100% !important;
        height: 100% !important;
    }

    .product-dialog .rz-dialog-content[b-g2eheiyiwm] {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .pf-header[b-g2eheiyiwm] {
        padding: 14px 16px;
    }

    .pf-header-icon[b-g2eheiyiwm] {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .pf-header-icon svg[b-g2eheiyiwm] {
        width: 18px;
        height: 18px;
    }

    .pf-header-title[b-g2eheiyiwm] {
        font-size: 1rem;
    }

    .pf-fields[b-g2eheiyiwm] {
        padding: 16px;
        gap: 14px;
    }

    .pf-row[b-g2eheiyiwm] {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pf-color-images-grid[b-g2eheiyiwm] {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
        gap: 6px;
    }

    .pf-save-error[b-g2eheiyiwm] {
        margin: 0 16px;
    }

    .pf-actions[b-g2eheiyiwm] {
        padding: 12px 16px;
    }

    .pf-btn-cancel[b-g2eheiyiwm],
    .pf-btn-save[b-g2eheiyiwm] {
        padding: 10px 18px;
        font-size: 0.82rem;
    }
}

/* ================================================================
   RESPONSIVE — Mobile (<= 520px)
   ================================================================ */
@media (max-width: 520px) {
    .product-dialog[b-g2eheiyiwm] {
        width: 100vw !important;
        height: 93dvh !important;
        max-width: 100vw !important;
        max-height: 93dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .product-dialog .rz-dialog[b-g2eheiyiwm] {
        width: 100% !important;
        height: 100% !important;
        max-height: 93dvh !important;
    }

    .product-dialog .rz-dialog-content[b-g2eheiyiwm] {
        padding: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .pf-row[b-g2eheiyiwm] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pf-fields[b-g2eheiyiwm] {
        padding: 14px;
        gap: 12px;
    }

    .pf-label[b-g2eheiyiwm] {
        font-size: 0.74rem;
    }

    .pf-input[b-g2eheiyiwm] {
        padding: 10px 12px;
        font-size: 16px;
    }

    .pf-add-colour-row[b-g2eheiyiwm] {
        flex-wrap: wrap;
    }

    .pf-add-colour-row .pf-input[b-g2eheiyiwm] {
        flex-basis: calc(100% - 56px);
    }

    .pf-add-colour-btn[b-g2eheiyiwm] {
        flex: 1;
    }

    .pf-cover-section[b-g2eheiyiwm],
    .pf-colors-section[b-g2eheiyiwm] {
        padding: 12px;
    }

    .pf-cover-upload-area[b-g2eheiyiwm] {
        width: 100px;
    }

    .pf-cover-preview[b-g2eheiyiwm] {
        width: 100px;
        height: 100px;
    }

    .pf-color-group[b-g2eheiyiwm] {
        padding: 10px;
    }

    .pf-color-group-header[b-g2eheiyiwm] {
        flex-wrap: wrap;
    }

    .pf-color-name-input[b-g2eheiyiwm] {
        min-width: 0;
    }

    .pf-color-images-grid[b-g2eheiyiwm] {
        grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
        gap: 6px;
    }

    .pf-color-img-add[b-g2eheiyiwm] {
        font-size: 0.6rem;
    }

    .pf-color-img-add svg[b-g2eheiyiwm] {
        width: 14px;
        height: 14px;
    }

    .pf-actions[b-g2eheiyiwm] {
        padding: 12px 14px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pf-btn-cancel[b-g2eheiyiwm],
    .pf-btn-save[b-g2eheiyiwm] {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.85rem;
        min-width: 0;
    }
}

/* ================================================================
   RESPONSIVE — Very small (<= 380px)
   ================================================================ */
@media (max-width: 380px) {
    .pf-header[b-g2eheiyiwm] {
        padding: 12px 12px;
        gap: 10px;
    }

    .pf-header-icon[b-g2eheiyiwm] {
        width: 32px;
        height: 32px;
    }

    .pf-header-title[b-g2eheiyiwm] {
        font-size: 0.92rem;
    }

    .pf-header-sub[b-g2eheiyiwm] {
        font-size: 0.68rem;
    }

    .pf-fields[b-g2eheiyiwm] {
        padding: 12px;
        gap: 10px;
    }

    .pf-color-images-grid[b-g2eheiyiwm] {
        grid-template-columns: repeat(3, 1fr);
    }

    .pf-cover-empty[b-g2eheiyiwm] {
        padding: 16px;
        width: 100px;
        height: 100px;
    }
}
/* /Components/Pages/ProductView.razor.rz.scp.css */
/* Import fonts once, e.g. in wwwroot/index.html or App.razor <head>:
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

.sc-page[b-guel6z1lru] {
    --umber: #2B2420;
    --sand: #F7F2EA;
    --sand-deep: #EFE6D6;
    --clay: #C1440E;
    --clay-deep: #9C3609;
    --olive: #5C6B3F;
    --brass: #B08D57;
    --line: #DDD1BA;
    --white: #FFFDF9;
    background: var(--sand);
    color: var(--umber);
    font-family: 'Work Sans', sans-serif;
    min-height: 100vh;
}

/* ---------- Header ---------- */
.sc-header[b-guel6z1lru] {
    padding: 22px 48px;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sc-logo[b-guel6z1lru] {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.sc-logo-dot[b-guel6z1lru] {
    color: var(--clay);
}

.sc-nav-link[b-guel6z1lru] {
    color: var(--umber) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

    .sc-nav-link:hover[b-guel6z1lru] {
        color: var(--clay) !important;
    }

/* ---------- Hero ---------- */
.sc-hero[b-guel6z1lru] {
    padding: 72px 48px 40px;
    max-width: 1240px;
    margin: 0 auto;
}

.sc-eyebrow[b-guel6z1lru] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 14px;
}

.sc-title[b-guel6z1lru] {
    font-family: 'Fraunces', serif !important;
    font-weight: 600 !important;
    font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
    line-height: 1.02 !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.01em;
    color: var(--umber) !important;
}

.sc-sub[b-guel6z1lru] {
    font-size: 1.05rem;
    color: #5A5148;
    max-width: 520px;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Grid ---------- */
.sc-grid[b-guel6z1lru] {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 48px 100px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 32px;
}

.sc-card[b-guel6z1lru] {
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    overflow: hidden;
    padding: 0 !important;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}

    .sc-card:hover[b-guel6z1lru] {
        transform: translateY(-6px);
        box-shadow: 0 18px 34px -18px rgba(43,36,32,0.35);
        cursor: pointer;
    }

.sc-card-media[b-guel6z1lru] {
    aspect-ratio: 1/1;
    background: linear-gradient(160deg, var(--sand-deep), var(--sand) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--line);
}

    .sc-card-media svg[b-guel6z1lru] {
        width: 58%;
        height: 58%;
    }

.sc-card-img[b-guel6z1lru] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-icon-muted[b-guel6z1lru] {
    filter: grayscale(0.5);
    opacity: 0.7;
}

.sc-brand[b-guel6z1lru] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: -4px;
}

.sc-badge[b-guel6z1lru] {
    position: absolute !important;
    top: 14px;
    left: 14px;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--umber) !important;
    color: var(--sand) !important;
    padding: 5px 9px !important;
    border-radius: 2px !important;
}

.sc-badge-low[b-guel6z1lru] {
    background: var(--clay) !important;
}

.sc-card-body[b-guel6z1lru] {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sc-card-name[b-guel6z1lru] {
    font-family: 'Fraunces', serif !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    color: var(--umber) !important;
}

.sc-card-desc[b-guel6z1lru] {
    font-size: 0.85rem;
    color: #7A7166;
    line-height: 1.5;
    margin: 0;
}

/* Signature: stitched leather price tag */
.sc-tag[b-guel6z1lru] {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--brass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-price[b-guel6z1lru] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--umber);
}

    .sc-price small[b-guel6z1lru] {
        display: block;
        font-size: 0.65rem;
        color: #9A9186;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

.sc-stock[b-guel6z1lru] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-stock-in[b-guel6z1lru] {
    color: var(--olive);
}

.sc-stock-out[b-guel6z1lru] {
    color: #B5453A;
}

.sc-dot[b-guel6z1lru] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.sc-btn[b-guel6z1lru] {
    width: 100% !important;
    margin-top: 6px;
    background: var(--umber) !important;
    border: none !important;
    border-radius: 2px !important;
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em;
}

    .sc-btn:hover:not(:disabled)[b-guel6z1lru] {
        background: var(--clay-deep) !important;
    }

    .sc-btn:disabled[b-guel6z1lru] {
        background: #E4DCCB !important;
        color: #A79E8F !important;
    }

@media (max-width: 640px) {
    .sc-header[b-guel6z1lru], .sc-hero[b-guel6z1lru], .sc-grid[b-guel6z1lru] {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-card[b-guel6z1lru] {
        transition: none;
    }
}
