:root {
    --primary-color: #0f62fe;
    --primary-hover: #0353e9;
    --bg-color: #f4f6f8;
    --text-dark: #161616;
    --text-light: #525252;
    --white: #ffffff;
    --gray-200: #e0e0e0;
    --surface: #ffffff;
    --border-radius: 12px;
    --font-family: 'Inter', 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.home-screen {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--primary-color);
}

.header-search {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    outline: none;
    width: 300px;
    transition: all 0.3s;
}

.header-search:focus {
    width: 350px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.1);
}

.header-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 420px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-top: 12px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid var(--gray-200);
    animation: slideDown 0.2s ease-out;
}

.search-dropdown-header {
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.search-dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.search-dropdown-footer a {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cart-link,
.header-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.2s;
    cursor: pointer;
    font-size: 20px;
}

.header-cart-link:hover,
.header-icon-link:hover {
    background-color: #f3f4f6;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: #f3f4f6;
    padding: 3px;
    border-radius: 8px;
    margin-right: 8px;
}

[dir="rtl"] .lang-switcher {
    margin-right: 0;
    margin-left: 8px;
}

.lang-btn {
    padding: 4px 8px;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile Toggle & Drawer */
.header-mobile-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    color: var(--text-dark);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-drawer.open {
    visibility: visible;
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

[dir="rtl"] .drawer-content {
    left: auto;
    right: -300px;
}

.mobile-drawer.open .drawer-content {
    left: 0;
}

[dir="rtl"] .mobile-drawer.open .drawer-content {
    left: auto;
    right: 0;
}

.drawer-header {
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[dir="rtl"] .drawer-header {
    flex-direction: row-reverse;
}

.drawer-close {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-dark);
}

.drawer-search {
    padding: 16px 20px;
    border-bottom: 1px solid #f8fafc;
}

.mobile-search-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

.mobile-search-input:focus {
    border-color: var(--primary-color);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
}

.drawer-nav a {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    transition: background 0.2s;
}

.drawer-nav a:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.drawer-nav hr {
    margin: 8px 24px;
    border: none;
    border-top: 1px solid #f1f5f9;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin: 24px 5%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 500px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Banner Slider Section */
.banner-slider-section {
    padding: 0 5%;
    margin: 24px 0;
}

.banner-slider-container {
    position: relative;
    height: 500px;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.banner-item.active {
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
    padding: 0 8%;
    display: flex;
    align-items: center;
}

[dir="rtl"] .banner-overlay {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.banner-content {
    color: var(--white);
    max-width: 600px;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: slideInLeft 0.8s ease-out;
}

[dir="rtl"] .banner-title {
    animation: slideInRight 0.8s ease-out;
}

.banner-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

[dir="rtl"] .banner-subtitle {
    animation: slideInRight 0.8s ease-out 0.1s both;
}

.banner-btn {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

[dir="rtl"] .banner-btn {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-primary {
    padding: 12px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
}

/* Category Section */
.category-section {
    padding: 40px 5%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.category-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow-x: auto;
    padding: 15px 5px 20px 5px;
    /* Add padding to prevent clipping of hover scaling */
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-img-wrapper {
    width: 160px;
    height: 160px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4081 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item:hover .category-img-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(15, 98, 254, 0.25);
}

.category-img {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius) - 4px);
    object-fit: cover;
    background: #fff;
    border: 3px solid #fff;
}

.category-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    transition: color 0.3s;
}

.category-item:hover .category-name {
    color: var(--primary-color);
}

/* Trending Products */
.trending-section {
    padding: 40px 5%;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
}

.product-list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.product-list::-webkit-scrollbar,
.category-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.product-card {
    width: 100%;
    max-width: 300px;
    min-height: 400px;
    height: auto;
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f8f8f8;
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.product-badge.sale {
    background: #e63946;
}

.product-rating {
    font-size: 14px;
    color: #ffb703;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-rating span {
    color: var(--text-light);
    font-weight: 400;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-container {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-price-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

/* Newsletter Section */
.newsletter-section {
    background: #e8effa;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.newsletter-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    font-size: 16px;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

/* Footer Section */
.footer {
    background: var(--surface);
    padding: 60px 5% 20px;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--text-light);
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .header-nav,
    .header-search-wrapper {
        display: none;
    }

    .menu-toggle-btn {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* Loading Widget Styles */
.loading-overlay-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loading-container-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── WhatsApp Floating Action Button ─────────────────────────── */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Ripple pulse ring */
.whatsapp-fab__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: whatsapp-pulse 2.2s ease-out infinite;
    z-index: 0;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Withdrawals */
.btn-request-withdrawal {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.withdrawals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.withdrawal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
}

.withdrawal-method-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.method-badge {
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.withdrawal-date {
    font-size: 12px;
    color: #94a3b8;
}

.withdrawal-details {
    font-size: 14px;
    color: #64748b;
}

.withdrawal-status-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.withdrawal-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.status-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.status-tag.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-tag.approved {
    background: #dcfce7;
    color: #166534;
}

.status-tag.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.withdrawal-form {
    padding: 10px 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-save {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUpModal 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.modal-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

@keyframes slideUpModal {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
}

.unauth-dialog-content {
    text-align: center;
    padding: 20px 0;
}

.unauth-icon-wrapper {
    font-size: 64px;
    margin-bottom: 24px;
}

.unauth-desc {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.unauth-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.product-commission-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 4px;
    width: fit-content;
}

[dir="rtl"] .product-commission-label {
    margin-left: 0;
    margin-right: 0;
}

/* Snackbar */
.snackbar {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    font-weight: 600;
    font-size: 14px;
    animation: snackbar-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.snackbar-icon {
    font-size: 18px;
}

.snackbar.error {
    background: #ef4444;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.snackbar.success {
    background: #10b981;
}

@keyframes snackbar-fade-in {
    from {
        opacity: 0;
        transform: translate(-50%, 40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

[dir="rtl"] .snackbar {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

@keyframes snackbar-fade-in-rtl {
    from {
        opacity: 0;
        transform: translate(50%, 40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(50%, 0) scale(1);
    }
}