:root {
    --site-surface: #ffffff;
    --site-border: #e5e7eb;
    --site-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.site-main {
    overflow: hidden;
}

.flash-stack {
    position: relative;
    z-index: 5;
}

.language-pill.active {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

.language-pill:hover {
    border-color: var(--bs-primary);
}

.btn-reset {
    border: 0;
}

.section-prose,
.auth-card .card,
.prose-card {
    line-height: 1.8;
}

.section-prose p:last-child,
.contact-card p:last-child {
    margin-bottom: 0;
}

.catalog-card img {
    max-height: 220px;
    object-fit: contain;
}

.shop-toolbar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.page-hero,
.auth-section {
    padding: 4rem 0;
}

.page-hero h1,
.auth-card h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.prose-card,
.auth-card .card,
.product-detail-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 2rem;
    box-shadow: var(--site-shadow);
    padding: 2rem;
}

.auth-card,
.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.summary-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--site-border);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.table-modern {
    width: 100%;
}

.table-modern th,
.table-modern td {
    vertical-align: middle;
}

.footer-link {
    color: inherit;
}

.footer-link:hover {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .auth-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* Tabler Icons - FOUT (Flash of Unstyled Text) muammosini hal qilish */
/* Webfont yuklanmaguncha matn ko`rinmaydi (arabcha unicode harflar emas) */
.ti {
    font-family: "tabler-icons" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    /* FOUT yashirish - webfont yuklanmasdan oldin matn ko`rinmaydi */
    color: transparent;
    transition: color 0.15s ease;
}
/* Webfont yuklangandan keyin rangini qaytarish */
.tabler-icons-loaded .ti {
    color: inherit;
}

/* Dropdown toggle - default Bootstrap caret olib tashlash (chevron ikona ishlatilganda) */
.dropdown-toggle.no-caret::after,
.no-caret.dropdown-toggle::after {
    display: none !important;
}