/* --- ZICOMB CUSTOM BRAND VARIABLES --- */
:root {
    --z-orange: #FF4E00;
    /* Primary Brand Color */
    --z-orange-light: #FFF1EB;
    /* Soft background tint */
    --z-dark: #121212;
    /* Primary Text/Dark elements */
    --z-white: #ffffff;
    --z-gray: #64748b;
    --z-border: #e2e8f0;
    --z-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfc;
    color: var(--z-dark);
}

/* --- PROFESSIONAL HEADER --- */
.z-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 1050;

    background: rgb(211, 234, 249);
    /* background: linear-gradient(-45deg, #974040ab, #cf4c13b8); */
    /* background: linear-gradient(-45deg, #cf4c13b8, #974040ab); */
    /* background: linear-gradient(90deg, #ffa9a9, #64a1e0); */


    background: linear-gradient(90deg, #faf0cd, #fab397);
}

.z-navbar .container-fluid {
    max-width: 1700px;
}

.z-logo img {
    max-width: 180px;
    width: 100%;
    object-fit: cover;
}

.z-navbar .header-btn {
    margin-left: 120px;
    margin-right: auto;
}


.z-btn-outline {
    border: 1.5px solid #00000042;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    color: #000000;
    transition: 0.2s;
}

.z-btn-outline span {
    margin-left: 4px;
}

.zicombModalFade {
    transition: all 350ms ease-in;
    transform: scale(1.1);
}

.zicombModalFade.show {
    transform: scale(1);
}

/* .z-btn-outline:hover {
    border-color: var(--z-orange);
    color: var(--z-orange);
} */

.z-btn-primary {
    background-color: #222121;
    color: var(--z-white);
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
    /* box-shadow: 0 4px 14px rgba(255, 78, 0, 0.25); */
}

.z-btn-primary:hover {
    background-color: var(--z-dark);
    transform: translateY(-2px);
    color: var(--z-white);
}

.z-btn-primary i {
    margin-left: 4px;
}

/* --- MEGA MODAL STYLING --- */
.z-modal .modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--z-shadow);
}

/* Left Side: Product Grid */
.z-grid-panel {
    background: var(--z-white);
    padding: 40px;
    border-right: 1px solid var(--z-border);
}

.z-product-card {
    padding: 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #0000000a;
    height: 100%;
}

.z-product-card:hover,
.z-product-card.active {
    background: var(--z-orange-light);
    border-color: var(--z-orange);
    /* transform: translateY(-5px); */
    transform: scale(1.03);
}

.z-icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 1.5rem;
    color: var(--z-dark);
    transition: 0.3s;
}

.z-product-card:hover .z-icon-box,
.z-product-card.active .z-icon-box {
    background: var(--z-orange);
    color: var(--z-white);
}

.z-product-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

.z-product-groupItems {
    max-height: 482px;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Right Side: Detail Preview */
.z-preview-panel {
    background: #fafafa;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.z-preview-img-wrap {
    border-radius: 10px;
    width: 100%;
    height: 270px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    border: 1px solid var(--z-border);
}

.z-preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.z-preview-title {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.z-preview-desc {
    color: var(--z-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    min-height: 65px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: normal;
}

.z-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--z-orange-light);
    color: var(--z-orange);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}


/* -- Tooltip -- */
.z-toolbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgb(17 17 26 / 8%) 0px 0px 8px;
    position: fixed;
    left: 0;
    top: 200px;
    padding: 10px 0;
    border-radius: 0 6px 6px 0;
    background: var(--z-white);
    z-index: 99;
}

.z-toolbox a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0;
    outline: 0;
    padding: 0;
    width: 50px;
    height: 45px;
}

.z-toolbox a:hover {
    background: none;
}

.z-toolbox a img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    object-position: center;
}


/* Responsive */
@media screen and (max-width:767px) {
    .z-navbar .header-btn {
        margin-left: auto;
        margin-right: 0;
    }

    .z-logo img {
        max-width: 140px;
    }

    .z-grid-panel {
        padding: 40px 20px;
    }

    .z-preview-panel {
        padding: 45px 20px;
    }

    .z-product-card {
        padding: 24px 10px;
    }
}
