:root {
    --bg: #f8f6f2;
    --surface: #ffffff;
    --surface-2: #f2ede6;
    --text: #1f1f1f;
    --muted: #7a746b;
    --line: #e7e0d7;
    --brand: #3d342b;
    --brand-2: #5a4d40;
    --accent: #b89562;
    --danger-soft: #fff1f1;
    --danger-text: #a94442;
    --success-soft: #eef7f0;
    --success-text: #2f5d3a;
    --shadow: 0 10px 30px rgba(31, 31, 31, 0.06);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.main-shell {
    min-height: calc(100vh - 90px);
}

.container,
.container-fluid {
    position: relative;
}

/* Navbar */
/* Navbar */
.navbar-nav {
    gap: 6px;
}
.premium-navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(231, 224, 215, 0.9);
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.05);
    padding-top: 8px;
    padding-bottom: 8px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand-logo img,
    .site-logo {
        height: 56px !important;
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: block;
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #b89562;
}

.brand-subtitle {
    font-size: 0.76rem;
    color: #b89562;
}

.premium-link {
    font-weight: 700;
    color: #b89562 !important;
}

    .premium-link:hover {
        color: var(--brand) !important;
        transform: translateY(-1px);
    }

    .premium-link.active,
    .premium-link[aria-current="page"] {
        background: linear-gradient(135deg, rgba(184,149,98,0.16), rgba(184,149,98,0.08));
        color: var(--brand) !important;
        box-shadow: inset 0 0 0 1px rgba(184,149,98,0.28);
    }

.admin-link {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff !important;
    padding: 10px 16px !important;
    border-radius: 999px;
    font-weight: 800;
}

    .admin-link:hover {
        opacity: 0.96;
        color: #fff !important;
    }

.whatsapp-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 14px;
    transition: 0.2s ease;
}

    .whatsapp-btn i {
        color: #25D366;
        margin-left: 6px;
    }

    .whatsapp-btn:hover {
        background: #f9fafb;
        transform: translateY(-1px);
    }

.card-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ألوان دافئة */
.icon-products {
    background: rgba(180, 83, 9, 0.1);
    color: #b45309;
}

.icon-categories {
    background: rgba(120, 53, 15, 0.1);
    color: #78350f;
}

.icon-today {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.icon-week {
    background: rgba(146, 64, 14, 0.1);
    color: #92400e;
}

.icon-month {
    background: rgba(202, 138, 4, 0.1);
    color: #ca8a04;
}

.icon-total {
    background: rgba(120, 53, 15, 0.15);
    color: #78350f;
}

.dashboard-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fb);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
    transition: 0.25s ease;
    border: 1px solid #f1f1f1;
}

    .dashboard-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

    .dashboard-card h6 {
        color: #888;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .dashboard-card h2 {
        font-weight: 800;
        font-size: 2rem;
        color: #111;
        margin: 0;
    }

.dashboard-box {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border: 1px solid #f3f3f3;
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.dashboard-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--brand, #3d342b);
}

.dashboard-subtitle {
    color: var(--muted, #7a746b);
    font-size: 1rem;
}

.dashboard-quick-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
}

.btn-outline-premium {
    border: 1px solid rgba(184, 149, 98, 0.22);
    background: #fff;
    color: #3d342b;
    box-shadow: 0 10px 24px rgba(61, 52, 43, 0.06);
}

    .btn-outline-premium:hover,
    .btn-outline-premium:focus {
        background: rgba(184, 149, 98, 0.08);
        color: #3d342b;
    }

.premium-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 24px;
    padding: 22px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(184, 149, 98, 0.14);
    box-shadow: 0 18px 36px rgba(61, 52, 43, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

    .premium-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 42px rgba(61, 52, 43, 0.12);
    }

.stat-content {
    flex: 1;
}

.stat-label {
    display: inline-block;
    color: var(--muted, #7a746b);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.stat-content h2 {
    margin-bottom: 4px;
    color: var(--brand, #3d342b);
    font-size: 2rem;
    font-weight: 800;
}

.stat-content small {
    color: #9a9388;
}

.premium-dashboard-box {
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(184, 149, 98, 0.14);
    box-shadow: 0 18px 36px rgba(61, 52, 43, 0.08);
    padding: 22px;
}

.dashboard-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mini-kicker {
    display: inline-block;
    font-size: 0.78rem;
    color: #b89562;
    font-weight: 700;
    margin-bottom: 6px;
}

.premium-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8f6f2;
    border: 1px solid rgba(184, 149, 98, 0.10);
}

.list-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-rank {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(184, 149, 98, 0.14);
    color: #3d342b;
    font-weight: 800;
}

.chart-wrap {
    position: relative;
    min-height: 340px;
}

@media (max-width: 991.98px) {
    .dashboard-hero {
        align-items: stretch;
    }

    .dashboard-quick-actions {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .dashboard-quick-actions {
        flex-direction: column;
    }

    .dashboard-action-btn {
        width: 100%;
        justify-content: center;
    }

    .chart-wrap {
        min-height: 260px;
    }

    .premium-stat-card {
        padding: 18px;
    }
}

.list-item {
    display: flex;
    justify-content: space-between;
    background: #f9fafb;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

    .list-item:hover {
        background: #f1f5f9;
    }
.details-whatsapp-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chart-wrap {
    position: relative;
    width: 100%;
    height: 360px;
}

.chat-float-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #8b5e34;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    z-index: 9999;
    font-size: 1.4rem;
    transition: 0.2s ease;
}

    .chat-float-btn:hover {
        transform: translateY(-2px);
    }

.chat-panel {
    position: fixed;
    bottom: 96px;
    right: 22px;
    width: 380px;
    height: 620px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.20);
    z-index: 9999;
    border: 1px solid #eee4d7;
}

.chat-panel-header {
    height: 58px;
    background: linear-gradient(135deg, #fffdfb, #f6efe7);
    border-bottom: 1px solid #eee4d7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 0 18px;
    font-weight: 700;
    color: #6f4a28;
}

.chat-close-btn {
    border: none;
    background: transparent;
    color: #7b5a3d;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-panel iframe {
    width: 100%;
    height: calc(100% - 58px);
    border: none;
    background: #fff;
}

.assistant-page-body {
    margin: 0;
    background: #fff;
    font-family: inherit;
}

.assistant-widget-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #fff;
}

.assistant-widget-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #f0e7dc;
    background: linear-gradient(135deg, #fffdfb, #f8f4ef);
}

.assistant-widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #6e4726;
}

.assistant-widget-subtitle {
    color: #8b735d;
    font-size: 0.9rem;
    margin-top: 4px;
}

.assistant-widget-chat {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #fcfaf8;
}

.message-row {
    display: flex;
    margin-bottom: 12px;
}

    .message-row.user {
        justify-content: flex-start;
    }

    .message-row.bot {
        justify-content: flex-end;
    }

.message-bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.message-row.user .message-bubble {
    background: #efe7dc;
    color: #5b4633;
    border-bottom-right-radius: 6px;
}

.message-row.bot .message-bubble {
    background: #fff;
    color: #1f2937;
    border: 1px solid #eee7de;
    border-bottom-left-radius: 6px;
}

.assistant-widget-footer {
    padding: 14px;
    border-top: 1px solid #f0e7dc;
    background: #fff;
}

.assistant-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assistant-input {
    flex: 1;
    border: 1px solid #e7ded2;
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    font-size: 0.95rem;
    background: #fffdfb;
}

    .assistant-input:focus {
        border-color: #caa46a;
        box-shadow: 0 0 0 4px rgba(202, 164, 106, 0.12);
    }

.upload-btn,
.assistant-send-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.upload-btn {
    background: #f5ede3;
    color: #8b5e34;
}

.assistant-send-btn {
    background: #8b5e34;
    color: #fff;
}

.selected-image-preview {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7c5a3b;
    background: #fbf5ee;
    border: 1px solid #efe3d4;
    border-radius: 12px;
    padding: 9px 11px;
}

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .product-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

    .product-card h4 {
        margin: 5px 0;
        font-size: 14px;
    }

    .product-card p {
        color: #8b5e3c;
        font-weight: bold;
    }

.buttons {
    display: flex;
    gap: 5px;
}

.btn-view, .btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
}

.btn-view {
    background: #ddd;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.message-bubble a {
    color: #8b5e34;
    text-decoration: underline;
    font-weight: 700;
    pointer-events: auto;
}

.product-premium-card {
    position: relative;
}

.product-image-wrap {
    position: relative;
}

.product-premium-image {
    pointer-events: none; /* 🔥 هذا السطر هو الحل */
}

.fav-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
    cursor: pointer;
    font-size: 30px;
    color: #ccc;
    background: white;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: 0.2s;
}

    .fav-icon:hover {
        transform: scale(1.1);
    }

    .fav-icon.active {
        color: #b89562 !important;
    }

.product-image-wrap {
    position: relative;
}



.fav-badge {
    background: #b89562;
    color: #444;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    margin-right: 5px;
    font-weight: 600;
}


.details-fav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .details-fav-btn i {
        color: #ccc;
        transition: 0.2s;
    }

    .details-fav-btn.active i {
        color: #b89562;
    }

.details-buttons {
    display: flex;
    gap: 10px;
    align-items: center; /* 🔥 هذا المهم */
    flex-wrap: wrap;
}

a.disabled,
.btn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.send-btn {
    background: #8b5e34;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}







   

@media (max-width: 768px) {
    .chat-panel {
        right: 12px;
        left: 12px;
        bottom: 88px;
        width: auto;
        height: 70vh;
    }

    .chat-float-btn {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 991px) {
    .premium-navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .brand-logo img,
    .site-logo {
        height: 60px !important;
        
    }

    .brand-title {
        font-size: 0.94rem;
    }

    .brand-subtitle {
        display: none;
    }


}

/* Sections */
.section-head {
    margin-bottom: 24px;
}

.section-kicker,
.hero-badge,
.product-category-tag {
    display: inline-block;
    margin: 0 auto 8px auto; /* يخليه بالنص */
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(184, 149, 98, 0.12); /* ذهبي خفيف */
    color: #b89562;
    border: 1px solid rgba(184, 149, 98, 0.25);
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
}

.section-title,
.hero-title,
.details-title {
    color: var(--brand);
    font-weight: 800;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 10px;
}

.section-text,
.hero-text {
    color: var(--muted);
}

/* Hero */
/* =========================
   HERO SECTION
========================= */

.hero-soft {
    position: relative;
    background: linear-gradient(135deg, #f8f5ef 0%, #efe7da 100%);
    border: 1px solid rgba(184, 149, 98, 0.18);
    border-radius: 36px;
    padding: 42px 34px;
    box-shadow: 0 20px 45px rgba(61, 52, 43, 0.08);
    overflow: hidden;
}


.hero-logo-floating {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    z-index: 2;
    pointer-events: none;
}

    .hero-logo-floating img {
        height: 88px;
        width: auto;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.10));
    }
    .hero-soft::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(184, 149, 98, 0.10) 0%, transparent 32%), radial-gradient(circle at bottom left, rgba(61, 52, 43, 0.06) 0%, transparent 30%);
        pointer-events: none;
    }

    .hero-soft > .row {
        position: relative;
        z-index: 1;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    min-width: 120px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(184, 149, 98, 0.12);
    color: var(--accent);
    border: 1px solid rgba(184, 149, 98, 0.18);
    box-shadow: 0 8px 18px rgba(184, 149, 98, 0.08);
}

.hero-title {
    margin: 0;
    color: var(--brand);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.2;
}

.hero-text {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.95;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================
   HERO COVERFLOW SHOWCASE
========================= */

.hero-catalog-showcase {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 72px;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .hero-logo img {
        height: 54px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 14px rgba(0,0,0,0.08));
    }

.hero-showcase-stage {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: 430px;
    margin-inline: auto;
}

.hero-product-card {
    position: absolute;
    top: 10px;
    width: 255px;
    min-height: 390px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(184, 149, 98, 0.16);
    box-shadow: 0 22px 48px rgba(61, 52, 43, 0.10);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
    will-change: transform, opacity;
    transform-origin: center center;
}
    .hero-product-card.is-center {
        left: 50%;
        transform: translateX(-50%) translateY(0) scale(1.04) rotate(0deg);
        opacity: 1;
        z-index: 4;
        filter: none;
        box-shadow: 0 30px 60px rgba(61, 52, 43, 0.16);
    }

    .hero-product-card.is-left {
        left: 8%;
        transform: translateX(0) translateY(14px) scale(0.92) rotate(-7deg);
        opacity: 0.88;
        z-index: 3;
        filter: none !important;
    }

    .hero-product-card.is-right {
        right: 8%;
        transform: translateX(0) translateY(14px) scale(0.92) rotate(7deg);
        opacity: 0.88;
        z-index: 2;
        filter: none !important;
    }

    .hero-product-card.is-hidden {
        left: 50%;
        transform: translateX(-50%) translateY(34px) scale(0.72);
        opacity: 0;
        z-index: 1;
        pointer-events: none;
        filter: none;
    }



    .hero-product-card .catalog-card-image {
        height: 175px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient(circle at center, rgba(184, 149, 98, 0.12) 0%, rgba(184, 149, 98, 0.03) 36%, transparent 70%), #f7f4ef;
        border-bottom: 1px solid rgba(184, 149, 98, 0.10);
        overflow: hidden;
        padding: 0;
    }

        .hero-product-card .catalog-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.08));
        }

    .hero-product-card .catalog-card-body {
        padding: 16px 16px 14px;
    }

    .hero-product-card .catalog-card-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(184, 149, 98, 0.11);
        color: var(--accent);
        border: 1px solid rgba(184, 149, 98, 0.18);
        font-size: 0.76rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero-product-card .catalog-card-body h5 {
        margin: 0 0 6px;
        color: var(--brand);
        font-size: 0.98rem;
        font-weight: 800;
        line-height: 1.45;
        min-height: 54px;
    }

    .hero-product-card .catalog-card-body p {
        margin: 0;
        color: var(--muted);
        font-size: 0.83rem;
        line-height: 1.75;
        min-height: 72px;
    }

    .hero-product-card .catalog-card-meta {
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

        .hero-product-card .catalog-card-meta strong {
            color: var(--accent);
            font-size: 1.08rem;
            font-weight: 900;
        }

        .hero-product-card .catalog-card-meta span {
            color: #4f8b63;
            font-size: 0.8rem;
            font-weight: 700;
        }

    .hero-product-card .catalog-card-actions {
        margin-top: 12px;
        display: flex;
        gap: 10px;
    }

.catalog-details-btn {
    flex: 1;
    height: 40px;
    border: 1px solid rgba(184, 149, 98, 0.18);
    background: #fff;
    color: var(--brand);
    border-radius: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .catalog-details-btn:hover {
        color: var(--accent);
        border-color: rgba(184, 149, 98, 0.28);
    }

.catalog-wa-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.24);
    text-decoration: none;
}

.catalog-fav {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(184, 149, 98, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d65b63;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.hero-showcase-controls {
    position: absolute;
    bottom: -18px; /* 👈 ينزلهم تحت الكرت */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-showcase-nav {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(184, 149, 98, 0.18);
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(61, 52, 43, 0.08);
    transition: 0.2s ease;
    cursor: pointer;
}

    .hero-showcase-nav:hover {
        transform: translateY(-2px);
        color: var(--accent);
    }

.hero-showcase-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-showcase-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(184, 149, 98, 0.24);
    transition: 0.25s ease;
    cursor: pointer;
}

    .hero-showcase-dot.active {
        width: 24px;
        border-radius: 999px;
        background: var(--accent);
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
    .hero-soft {
        padding: 30px 22px;
        border-radius: 28px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 4vw, 2.4rem);
    }

    .hero-text {
        max-width: 100%;
        font-size: 0.96rem;
    }

    .hero-catalog-showcase {
        min-height: 440px;
        justify-content: center;
    }

    .hero-showcase-stage {
        max-width: 560px;
        height: 400px;
    }

    .hero-product-card {
        width: 235px;
        min-height: 370px;
    }

        .hero-product-card.is-left {
            left: 2%;
        }

        .hero-product-card.is-right {
            right: 2%;
        }
}

@media (max-width: 575.98px) {
    .hero-soft {
        padding: 22px 14px;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.85;
    }

    .hero-catalog-showcase {
        min-height: 360px;
        padding-bottom: 58px;
    }

    .hero-showcase-stage {
        max-width: 100%;
        height: 300px;
    }

    .hero-product-card {
        width: 170px;
        min-height: 250px;
        border-radius: 20px;
    }

        .hero-product-card.is-center {
            left: 50%;
            transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
            opacity: 1;
            z-index: 4;
        }

        .hero-product-card.is-left {
            left: -6px;
            transform: translateX(0) translateY(16px) scale(0.78) rotate(-12deg);
            opacity: 0.72;
            z-index: 3;
        }

        .hero-product-card.is-right {
            right: -6px;
            transform: translateX(0) translateY(16px) scale(0.78) rotate(12deg);
            opacity: 0.72;
            z-index: 2;
        }

        .hero-product-card.is-hidden {
            left: 50%;
            transform: translateX(-50%) translateY(28px) scale(0.65);
            opacity: 0;
            z-index: 1;
        }

        .hero-product-card .catalog-card-image {
            height: 92px;
            padding: 0;
            overflow: hidden;
        }

            .hero-product-card .catalog-card-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }

        .hero-product-card .catalog-card-body {
            padding: 12px;
        }

        .hero-product-card .catalog-card-tag {
            font-size: 0.65rem;
            padding: 5px 10px;
            margin-bottom: 8px;
        }

        .hero-product-card .catalog-card-body h5 {
            font-size: 0.82rem;
            min-height: 38px;
            margin-bottom: 4px;
        }

        .hero-product-card .catalog-card-body p {
            font-size: 0.72rem;
            line-height: 1.55;
            min-height: 44px;
        }

        .hero-product-card .catalog-card-meta {
            margin-top: 8px;
        }

            .hero-product-card .catalog-card-meta strong {
                font-size: 0.9rem;
            }

            .hero-product-card .catalog-card-meta span {
                font-size: 0.68rem;
            }

        .hero-product-card .catalog-card-actions {
            margin-top: 8px;
            gap: 8px;
        }

    .catalog-details-btn,
    .catalog-wa-btn {
        height: 34px;
    }

    .catalog-wa-btn {
        width: 34px;
    }

    .catalog-fav {
        width: 32px;
        height: 32px;
        top: 10px;
        left: 10px;
    }

    .hero-showcase-controls {
        
        gap: 8px;
    }

    .hero-showcase-nav {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .hero-showcase-dot {
        width: 8px;
        height: 8px;
    }

        .hero-showcase-dot.active {
            width: 18px;
        }

    .hero-logo-floating {
        position: static;
        margin-bottom: 12px;
        justify-content: center;
    }

        .hero-logo-floating img {
            height: 56px;
        }
}

.admin-dropdown-menu {
    margin-top: 10px;
    min-width: 220px;
    padding: 8px;
    border: 1px solid rgba(184, 149, 98, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(61, 52, 43, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.admin-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--brand, #3d342b);
    font-weight: 600;
    transition: all 0.2s ease;
}

    .admin-dropdown-item i {
        width: 18px;
        text-align: center;
        color: #b89562;
    }

    .admin-dropdown-item:hover,
    .admin-dropdown-item:focus {
        background: rgba(184, 149, 98, 0.10);
        color: #3d342b;
    }

.navbar .dropdown-toggle::after {
    margin-right: 0.45rem;
    margin-left: 0;
    vertical-align: middle;
}

.hero-admin-table th {
    white-space: nowrap;
    font-weight: 700;
    color: #3d342b;
}

.hero-admin-table td {
    vertical-align: middle;
}

.hero-admin-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(184, 149, 98, 0.16);
    background: #f8f6f2;
    box-shadow: 0 8px 20px rgba(61, 52, 43, 0.08);
}

#heroProductSearch {
    border: 1px solid rgba(184, 149, 98, 0.18);
    box-shadow: none;
}

    #heroProductSearch:focus {
        border-color: #b89562;
        box-shadow: 0 0 0 0.2rem rgba(184, 149, 98, 0.14);
    }

#heroProductSelect {
    min-height: 220px;
}

.admin-products-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-head-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
    min-height: 50px;
}

.btn-excel {
    background: linear-gradient(135deg, #1f6f43 0%, #2d8a57 100%);
    color: #fff;
    border: none;
    box-shadow: 0 14px 28px rgba(31, 111, 67, 0.20);
}

    .btn-excel:hover,
    .btn-excel:focus {
        background: linear-gradient(135deg, #1a6039 0%, #25784b 100%);
        color: #fff;
        transform: translateY(-1px);
    }

    .btn-excel i {
        font-size: 1rem;
    }

@media (max-width: 767.98px) {
    .admin-products-head {
        align-items: stretch;
    }

    .admin-head-actions {
        width: 100%;
        flex-direction: column;
    }

        .admin-head-actions .admin-head-btn {
            width: 100%;
            justify-content: center;
        }
}










/* Panels */
.soft-panel,
.product-details-soft,
.details-image-box,
.category-premium-inner,
.product-premium-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.soft-panel {
    border-radius: var(--radius-lg);
    padding: 22px;
}

.product-details-soft {
    border-radius: var(--radius-xl);
    padding: 28px;
}

.details-image-box {
    border-radius: var(--radius-lg);
    padding: 14px;
}

    .details-image-box img,
    .details-image-soft {
        width: 100%;
        max-height: 430px;
        object-fit: contain;
        border-radius: 16px;
        display: block;
        background: #fff;
    }

.details-content {
    position: relative; /* 🔥 هذا الحل */
}

.details-divider {
    height: 1px;
    background: var(--line);
    margin: 22px 0;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #fbfaf8;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 16px;
}

    .details-row span {
        color: var(--muted);
        font-weight: 500;
    }

    .details-row strong {
        color: var(--text);
        font-weight: 700;
    }

    .details-row.admin {
        background: var(--danger-soft);
        color: var(--danger-text);
    }

.admin-price {
    color: var(--danger-text);
    font-weight: 700;
}

/* Category cards */
.category-premium-inner {
    border-radius: 22px;
    padding: 28px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .category-premium-inner:hover {
        transform: translateY(-4px);
    }

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #caa64b, #111);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.category-premium-inner h5 {
    margin-bottom: 8px;
    color: var(--brand);
    font-weight: 700;
}

.category-premium-inner span {
    color: var(--muted);
}

/* Inputs */
.form-control,
.form-select,
.premium-input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 52px;
    color: var(--text);
    box-shadow: none !important;
}

    .form-control:focus,
    .form-select:focus,
    .premium-input:focus {
        border-color: #cbb79d;
        box-shadow: 0 0 0 0.18rem rgba(184, 149, 98, 0.12) !important;
    }

/* Buttons */
.btn,
button {
    border-radius: 16px !important;
}

.btn-premium,
.btn-soft-outline,
.btn-soft-success,
.btn-soft-danger,
.btn-neutral {
    font-size: 13px;
    padding: 7px;
    font-weight: 600;
    transition: 0.2s ease;
    border: none;
}

.btn-premium-lg {
    padding: 14px 24px;
    border-radius: 18px !important;
}

.btn-premium {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff !important;
}

    .btn-premium:hover {
        opacity: 0.96;
        color: #fff !important;
    }

.btn-soft-outline {
    background: #fff;
    color: var(--brand) !important;
    border: 1px solid var(--line);
}

    .btn-soft-outline:hover {
        background: var(--surface-2);
    }

.btn-soft-success {
    background: var(--success-soft);
    color: var(--success-text) !important;
    border: 1px solid #d8eadc;
}

.btn-soft-danger {
    background: #fdf1f1;
    color: #9f3f3f !important;
    border: 1px solid #f0d8d8;
}

.btn-neutral {
    background: var(--surface-2);
    color: var(--brand) !important;
    border: 1px solid var(--line);
}

.whatsapp-btn.icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

    .whatsapp-btn.icon-only i {
        font-size: 20px;
    }

/* Chips */
.chip-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--line);
    font-weight: 600;
}

.chip-soft-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* Product cards */
.product-premium-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

    .product-premium-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    }

.product-image-wrap {
    background: #faf8f5;
    overflow: hidden;
    position: relative;
}

.product-premium-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-premium-card:hover .product-premium-image {
    transform: scale(1.05);
}

.product-image-empty {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: #faf8f5;
    border-radius: 16px;
}

.product-premium-body {
    padding: 20px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;

}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #b89562;
    margin-bottom: 10px;
}

/* Empty states */
.empty-soft {
    background: var(--surface);
    border: 1px dashed #d7cec2;
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    color: var(--muted);
    box-shadow: var(--shadow);
}

.scanner-video {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    background: #000;
}

/* Admin products - compact cards */
.admin-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.admin-product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
}

/* IMAGE */
.admin-product-image-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
}

.admin-product-cover,
.admin-product-cover-empty {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.admin-product-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 6px;
}

.admin-product-cover-empty {
    font-size: 11px;
    text-align: center;
    color: #8b7d6b;
    background: #f8f5f1;
}

/* CONTENT */
.admin-product-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* TOP */
.admin-product-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-product-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand);
    margin: 0;
}

/* PRICES + BARCODE */
.admin-prices-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.admin-info-box,
.admin-barcode-box {
    background: #fbfaf8;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 10px;
    min-width: 95px;
    text-align: center;
}

    .admin-info-box span,
    .admin-barcode-box span {
        display: block;
        color: var(--muted);
        font-size: 0.7rem;
    }

    .admin-info-box strong {
        font-size: 0.85rem;
        font-weight: 800;
        color: #8b5e3c;
    }

    .admin-info-box.sell strong {
        color: var(--accent);
    }

    .admin-barcode-box strong {
        font-size: 0.8rem;
        word-break: break-all;
    }

/* DIVIDER */
.admin-product-divider {
    height: 1px;
    background: var(--line);
    margin: 10px 0;
}

/* ACTIONS */
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .admin-actions .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

/* IMAGE BOX (EDIT PAGE) */
.admin-image-box {
    background: #fbfaf8;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    display: inline-block;
}

.admin-edit-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.admin-thumb-empty.large {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    background: #faf8f5;
    border: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}
/* Product galleries / details / lightbox */
.details-main-wrap {
    border-radius: 22px;
    overflow: hidden;
    background: #f8f9fa;
}

.details-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    background: #f8f9fa;
}

.details-thumbs,
.catalog-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.details-thumb-btn,
.catalog-thumb-btn {
    border: 2px solid #e9ecef;
    background: #fff;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: .2s ease;
}

    .details-thumb-btn.active,
    .catalog-thumb-btn.active {
        border-color: #c9a227;
        box-shadow: 0 0 0 3px rgba(201,162,39,0.16);
    }

    .details-thumb,
    .catalog-thumb-btn img {
        width: 86px;
        height: 86px;
        object-fit: cover;
        display: block;
        background: #f8f9fa;
    }

.product-details-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f9fa;
}

.details-image-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: #f8f9fa;
    cursor: zoom-in;
}

.catalog-thumb-btn img {
    width: 70px;
    height: 70px;
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

    .lightbox-overlay.show {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox-content img {
        max-width: 92vw;
        max-height: 88vh;
        object-fit: contain;
        border-radius: 16px;
        background: #111;
        box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(255,255,255,0.12);
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.product-image-card {
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: 0.2s ease;
}

    .product-image-card.main-image {
        border: 2px solid #c9a227;
        box-shadow: 0 0 0 3px rgba(201,162,39,0.16);
    }

.product-image-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #f8f9fa;
}

.main-badge {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(201,162,39,0.12);
    color: #8a6d1d;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.image-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.upload-box {
    padding: 14px;
    border: 1px dashed #d8d8d8;
    border-radius: 16px;
    background: #fcfbf9;
}

#loadingOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loading-box {
    background: #1f2937;
    color: #fff;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}

.scanner-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.scanner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 18px;
    background: #000;
}

.scanner-frame {
    position: absolute;
    left: 8%;
    top: 40%;
    width: 84%;
    height: 18%;
    border: 3px solid #28c76f;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.hidden-price {
    cursor: pointer;
    letter-spacing: 2px;
}

.purchase-box:hover {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 576px) {
    .details-image-box img {
        height: 280px;
    }

    .details-main-image {
        height: 300px;
    }

    .details-thumb,
    .catalog-thumb-btn img {
        width: 70px;
        height: 70px;
    }

    .product-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-thumb {
        height: 140px;
    }

    .lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }
}
/* Responsive */
@media (max-width: 991px) {
    .hero-soft {
        padding: 26px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-visual {
        min-height: 270px;
    }

    .product-premium-image,
    .product-image-empty {
        height: 180px;
    }

    .admin-product-card {
        grid-template-columns: 58px 1fr;
        gap: 10px;
        padding: 10px 12px;
        align-items: start;
    }

    .admin-product-image-side {
        width: 58px;
        justify-content: center;
        align-items: flex-start;
        padding-top: 4px;
    }

    .admin-product-cover,
    .admin-product-cover-empty {
        width: 58px;
        height: 58px;
        border-radius: 12px;
        padding: 4px;
        font-size: 10px;
    }

    .admin-product-content {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .admin-product-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }

    .admin-category-pill {
        font-size: 0.68rem;
        padding: 5px 8px;
        margin-bottom: 4px;
    }

    .admin-product-title {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .admin-product-divider {
        margin: 8px 0;
    }

    .admin-prices-row {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .admin-info-box,
    .admin-barcode-box {
        min-width: 84px;
        padding: 6px 8px;
        border-radius: 10px;
    }

        .admin-info-box span,
        .admin-barcode-box span {
            font-size: 0.65rem;
            margin-bottom: 2px;
        }

        .admin-info-box strong,
        .admin-barcode-box strong {
            font-size: 0.78rem;
        }

    .admin-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

        .admin-actions .btn {
            padding: 6px 9px;
            font-size: 0.7rem;
        }
}