:root {
    --main-black: #000000;
    --main-white: #ffffff;
    --gray-light: #f9f9f9;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--main-white);
    color: var(--main-black);
    overflow-x: hidden;
}

/* Navbar & Logo */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;

}
.logo-block {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
}
.logo-img {
    max-width: 280px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}
/* Sticky Categories */
.category-wrapper {
    position: sticky;
    top: 0;
    background: var(--main-white);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px;
    gap: 20px;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    cursor: pointer;
    transition: 0.3s;
}
.cat-item span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80px;
}

.cat-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    border: 1px solid #eee;
    padding: 2px;
}

.cat-item.active .cat-img {
    border: 1px solid #777;
    padding: 2px;
}

/* Product Card */
.product-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

/* image */
.product-img {
    width: 85px;
    height: 85px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--gray-light);
    flex-shrink: 0;
}

.product-card .flex-grow-1 {
    min-width: 0;
    padding-right: 10px;
}

.product-card h6,
.product-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* BUTTON FIX */
.product-card button {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 24px;
}
.product-card button i {
    font-size: 22px;
}

/* Floating Cart Bar */
.cart-bar-fixed {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: var(--main-black);
    color: var(--main-white);
    border-radius: 16px;
    padding: 16px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1050;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    direction: ltr;
    display: none;
}

.cart-count-badge {
    background: var(--main-white);
    color: var(--main-black);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-right: 8px;
}

/* Sidebar & Modals */
.offcanvas {
    width: 280px !important;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 11px;
    color: #999;
}

.modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
}

.btn-black {
    background: var(--main-black);
    color: var(--main-white);
    border-radius: 12px;
    width: 100%;
    padding: 16px;
    font-weight: bold;
    border: none;
}

.form-control,
.form-select {
    border: 1px solid var(--main-black);
    padding: 12px;
}

.lang-select {
    border: none;
    font-weight: bold;
    outline: none;
    background: transparent;
}

.ltr {
    direction: ltr;
}
.divider {
    display: block;
    height: 1px;
    background: #000;
    opacity: 0.1;
}

.social-list {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* ITEM */
.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #111;
    transition: 0.2s ease;
}

/* HOVER */
.social-item:hover {
    background: #f7f7f7;
}

/* ICON */
.social-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
}

/* TITLE */
.social-title {
    font-size: 14px;
    font-weight: 500;
}

.divider {
    margin: 0;
}

button:focus,
.btn:focus,
.btn:active:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
input:focus,
.form-control:focus,
.form-control:active:focus,
.form-control:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
select:focus,
.form-select:focus,
.form-select:active:focus,
.form-select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.block-title {
    display: block;
    text-align: center;
    padding: 8px;
    background: var(--main-black);
    color: var(--main-white);
}
.loader-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-container {
    max-width: 800px;
    margin: 0 auto;
}