
/* --- Merged from: base.css --- */
/* =================================================================
   BASE.CSS — Global Design System
   Shared styles across all pages: variables, typography, layout,
   navbar, footer, sidebar, product grid/cards, auth, sub-nav, RTL
   ================================================================= */

/* ================= ROOT VARIABLES ================= */

:root {
    --primary-color: #f58322;
    --primary-dark: #d46812;
    --secondary-color: #0f172a;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-soft: rgba(15, 23, 42, 0.08);
    --glow: rgba(245, 131, 34, 0.25);
    --card-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --card-shadow-hover: 0 22px 46px rgba(15, 23, 42, 0.14);

    /* Navbar tokens */
    --nav-bg: rgba(255, 255, 255, 0.92);
    --accent-orange: #f58322;
    --accent-dark: #d46812;
    --nav-text: #0f172a;
}

/* ================= BODY & TYPOGRAPHY ================= */

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 15% 10%, rgba(245, 131, 34, 0.14), transparent 40%),
        radial-gradient(circle at 85% 0%, rgba(15, 23, 42, 0.1), transparent 36%),
        linear-gradient(180deg, #fefefe 0%, #f4f7fb 100%);
    min-height: 100vh;
}

/* ================= LAYOUT ================= */

.container {
    position: relative;
    z-index: 1;
}

/* ================= CATEGORY SIDEBAR ================= */

.category-sidebar {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 1.25rem;
}

.category-title {
    font-weight: 700;
    margin-bottom: 1.1rem;
    padding-left: 0.65rem;
    border-left: 4px solid var(--primary-color);
    letter-spacing: 0.2px;
}

.list-group-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
    font-weight: 500;
    background: transparent;
    transition: all 0.25s ease;
}

.list-group-item:hover,
.list-group-item:focus {
    background: #fff7ef !important;
    color: var(--primary-dark) !important;
    transform: translateX(5px);
    box-shadow: inset 0 0 0 1px rgba(245, 131, 34, 0.18);
}

.list-group-item.active,
.list-group-item.active:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px var(--glow);
    transform: none;
}

/* ================= PRODUCTS GRID ================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 1.4rem;
}

/* ================= PRODUCT CARD (Listing) ================= */

.product-card {
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fdfefe 100%);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    position: relative;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 131, 34, 0.26);
    box-shadow: var(--card-shadow-hover);
}

/* ================= CARD IMAGES ================= */

.card-img-container {
    height: 220px;
    padding: 1rem;
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.card-img-top {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.1));
    transition: transform 0.35s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.04);
}

.card-body {
    padding: 1rem 1rem 1.1rem;
}

.card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.65rem;
    min-height: 2.8em;
}

.price-text {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.08rem;
}

/* ================= NAVBAR ================= */

.navbar {
    background-color: var(--nav-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--nav-text) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.navbar-brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(245, 131, 34, 0.18));
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-brand-logo {
    transform: scale(1.06) rotate(-2deg);
}

.navbar-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
}

.brand-sham {
    color: var(--accent-orange);
}

.brand-market {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--nav-text) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ================= SEARCH ================= */

.search-container {
    position: relative;
}

.search-input {
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.9rem;
    padding-left: 20px;
    padding-right: 45px;
}

.btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-orange), #ff9f4a);
    border: none;
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
}

/* ================= AUTH BUTTONS ================= */

.auth-buttons {
    gap: 10px;
}

.btn-auth {
    border-radius: 10px;
    padding: 8px 18px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-login {
    border: 1px solid var(--border-soft);
    background: white;
    color: var(--text-main);
}

.btn-login:hover {
    background: var(--surface-soft);
    color: var(--primary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: white;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

.btn-logout {
    border: 1px solid var(--border-soft);
    background: white;
    color: #ef4444;
}

.btn-logout:hover {
    background: #fff5f5;
    color: #ef4444;
}

/* ================= GLOBAL BUTTONS ================= */

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ================= SUB NAVBAR ================= */

.navbar-sub {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    padding: 0;
}

.navbar-sub .nav-4col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.navbar-sub .nav-4col .nav-item {
    flex: 1;
    text-align: center;
}

.navbar-sub .nav-4col .nav-link {
    display: block;
    padding: 0.52rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.25s ease;
    border-radius: 0;
}

.navbar-sub .nav-4col .nav-link:hover {
    color: var(--primary-color);
}

/* ================= FOOTER ================= */

.main-footer {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
    color: #334155;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #0f172a !important;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.2s ease;
}

.footer-brand:hover {
    opacity: 0.85;
}

.footer-brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(245, 131, 34, 0.2));
    transition: transform 0.3s ease;
}

.footer-brand:hover .footer-brand-logo {
    transform: scale(1.05) rotate(-2deg);
}

.footer-brand-text {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
}

.footer-brand-text .brand-sham {
    color: #f58322;
}

.footer-brand-text .brand-market {
    color: #0f172a;
}

.footer-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #f58322;
}

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

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

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #f58322;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #f58322;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(245, 131, 34, 0.24);
}


.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ================= RTL GLOBAL ================= */

[dir="rtl"] .category-title {
    padding-left: 0;
    padding-right: 0.65rem;
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .list-group-item:hover,
[dir="rtl"] .list-group-item:focus {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 8px;
}

[dir="rtl"] .ms-lg-4 {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .btn-search {
    right: auto;
    left: 5px;
}

[dir="rtl"] .search-input {
    padding-left: 45px;
    padding-right: 20px;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
}

[dir="rtl"] .bi-star-half {
    display: inline-block;
    transform: scaleX(-1);
}

/* ================= RESPONSIVE — NAVBAR / AUTH ================= */

@media (max-width: 768px) {
    .btn-login:hover,
    .btn-register:hover,
    .btn-logout:hover {
        transform: none;
        box-shadow: none;
    }

    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-brand-logo {
        height: 28px;
    }

    .navbar-brand-text {
        font-size: 1.1rem;
    }

    .navbar-brand {
        gap: 0.35rem;
    }

    /* Removed order to allow natural DOM flow */

    .auth-buttons .btn-text {
        display: none;
    }

    .auth-buttons {
        /* Removed order */
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .btn-text {
        display: none;
    }

    .btn-auth {
        padding: 6px 8px;
        font-size: 0;
    }

    .btn-auth i {
        font-size: 1.2rem;
    }

    .btn-auth:hover {
        transform: none;
        box-shadow: none;
    }


}

/* ================= RESPONSIVE — SUB NAVBAR ================= */

@media (max-width: 768px) {
    .navbar-sub .nav-4col {
        display: none;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 0;
        scrollbar-width: thin;
    }

    .navbar-sub .nav-4col::-webkit-scrollbar {
        height: 6px;
    }

    .navbar-sub .nav-4col::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .navbar-sub .navbar-toggler:focus {
        outline: none;
    }

    .navbar-sub .nav-4col.show {
        display: flex;
    }

    .navbar-sub .nav-4col .nav-link {
        padding: 2px 0;
        font-size: 0.95rem;
    }
}

/* ================= RESPONSIVE — SIDEBAR ================= */

@media (max-width: 992px) {
    .category-sidebar {
        position: static;
    }
}

/* ================= RESPONSIVE — GRID ================= */

@media (max-width: 991.98px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .card-img-container {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .card-img-container {
        height: 140px;
        padding: 0.5rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 0.85rem;
        min-height: 2.6em;
        margin-bottom: 0.4rem;
    }

    .category-sidebar {
        padding: 1rem;
        border-radius: 14px;
    }

    .price-text {
        font-size: 1rem;
    }
}

/* ================= RESPONSIVE — FOOTER ================= */

@media (max-width: 767.98px) {
    .main-footer {
        padding: 2.6rem 0 5rem; /* Add padding at bottom to clear bottom nav */
        margin-top: 3rem;
    }

    .footer-title {
        margin-bottom: 0.8rem;
    }

    .footer-links li {
        margin-bottom: 9px;
    }

    .social-links {
        margin-top: 1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .footer-brand {
        font-size: 1.3rem;
    }

    .footer-brand-logo {
        height: 34px;
    }

    .footer-brand-text {
        font-size: 1.25rem;
    }

    .footer-text,
    .footer-links a {
        font-size: 0.9rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* ================= BOTTOM NAVIGATION BAR ================= */

.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    z-index: 1040; /* Above regular content, below modals */
    padding-bottom: env(safe-area-inset-bottom); /* iOS safe area */
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease;
}

.bottom-nav-item i {
    font-size: 1.25rem; /* Slightly smaller for 5 items */
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}

.bottom-nav-item span {
    font-size: 0.65rem; /* Slightly smaller for 5 items */
    font-weight: 500;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
}

.bottom-nav-item:active i {
    transform: scale(0.9);
}

/* ================= MOBILE CATEGORY LIST (Horizontal Scroll) ================= */

.mobile-category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.2rem;
    padding: 0.5rem 0.2rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.mobile-cat-item {
    flex: 0 0 75px;
    text-align: center;
    text-decoration: none !important;
    color: var(--text-main);
    transition: transform 0.2s ease;
}

.mobile-cat-icon {
    width: 58px;
    height: 58px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.mobile-cat-item:active .mobile-cat-icon {
    background: var(--surface-soft);
    transform: scale(0.92);
}

.mobile-cat-name {
    font-size: 0.72rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* --- Merged from: about.css --- */
/* =================================================================
   ABOUT.CSS — About Page Specific Styles
   Depends on base.css being loaded first.
   base.css'te zaten olan: body, container, navbar, footer,
   .about-header, .about-card, .stat-item, .stat-number
   ================================================================= */

/* ================= HERO ================= */

.about-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1a2540 100%);
    color: #fff;
    padding: 80px 0 72px;
    overflow: hidden;
    margin-bottom: 0;
}

.about-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.18;
    filter: blur(60px);
}

.about-hero-blob--1 {
    width: 420px;
    height: 420px;
    background: var(--primary-color);
    top: -120px;
    left: -100px;
}

.about-hero-blob--2 {
    width: 320px;
    height: 320px;
    background: #334155;
    bottom: -80px;
    right: -60px;
    opacity: 0.3;
}

.about-breadcrumb {
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

[dir="rtl"] .about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 131, 34, 0.18);
    border: 1px solid rgba(245, 131, 34, 0.35);
    color: #ffb366;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
}

.about-hero-title {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 1.1rem;
    color: #fff;
}

.about-hero-accent {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.about-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(245, 131, 34, 0.35);
}

.about-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(245, 131, 34, 0.45);
    color: #fff;
}

/* ================= STATS SECTION ================= */

.about-stats-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    padding: 2.5rem 0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--border-soft);
    transition: background 0.25s ease;
}

.about-stat-card:last-child {
    border-right: none;
}

[dir="rtl"] .about-stat-card {
    border-right: none;
    border-left: 1px solid var(--border-soft);
}

[dir="rtl"] .about-stat-card:last-child {
    border-left: none;
}

.about-stat-card:hover {
    background: var(--surface-soft);
}

.about-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245,131,34,0.12), rgba(245,131,34,0.06));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.3rem;
    font-variant-numeric: tabular-nums;
}

.about-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

/* ================= MAIN CONTENT SPACING ================= */

.about-main {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.about-section {
    margin-bottom: 5rem;
}

/* ================= SECTION LABELS & TITLES ================= */

.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(245,131,34,0.1), rgba(245,131,34,0.05));
    border: 1px solid rgba(245,131,34,0.2);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-section-title {
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.about-section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ================= TIMELINE ================= */

.about-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--primary-color) 10%,
        var(--primary-color) 90%,
        transparent 100%);
    opacity: 0.3;
}

.about-timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.about-timeline-item--right {
    flex-direction: row;
    padding-right: calc(50% + 2.5rem);
}

.about-timeline-item--left {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2.5rem);
}

/* RTL: swap left/right */

[dir="rtl"] .about-timeline-item--right {
    padding-right: 0;
    padding-left: calc(50% + 2.5rem);
    flex-direction: row-reverse;
}

[dir="rtl"] .about-timeline-item--left {
    padding-left: 0;
    padding-right: calc(50% + 2.5rem);
    flex-direction: row;
}

.about-timeline-dot {
    position: absolute;
    left: 50%;
    top: 0.6rem;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 6px 16px var(--glow);
    z-index: 1;
    flex-shrink: 0;
}

.about-timeline-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(6px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.about-timeline-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.about-timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.about-timeline-heading {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

.about-timeline-text {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ================= MISSION & VISION CARDS ================= */

.about-mv-card {
    border-radius: 22px;
    padding: 2.2rem;
    height: 100%;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
}

.about-mv-card--mission {
    background: linear-gradient(180deg, #fffcf8 0%, #fff 100%);
}

.about-mv-card--mission::before {
    background: linear-gradient(90deg, var(--primary-color), #ff9f4a);
}

.about-mv-card--vision {
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.about-mv-card--vision::before {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.about-mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.about-mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.about-mv-card--mission .about-mv-icon {
    background: linear-gradient(135deg, rgba(245,131,34,0.14), rgba(245,131,34,0.06));
    color: var(--primary-color);
}

.about-mv-card--vision .about-mv-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(59,130,246,0.06));
    color: #3b82f6;
}

.about-mv-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.about-mv-text {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.about-mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.about-mv-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 500;
}

.about-mv-card--mission .about-mv-list li i {
    color: var(--primary-color);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.about-mv-card--vision .about-mv-list li i {
    color: #3b82f6;
    font-size: 0.95rem;
    flex-shrink: 0;
}

[dir="rtl"] .about-mv-list li {
    flex-direction: row-reverse;
    text-align: right;
}

/* ================= VALUES GRID ================= */

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.about-value-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
    pointer-events: none;
}

.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(245, 131, 34, 0.2);
}

.about-value-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.1rem;
    transition: transform 0.3s ease;
}

.about-value-card:hover .about-value-icon {
    transform: scale(1.1) rotate(-5deg);
}

.about-value-icon--trust   { background: linear-gradient(135deg, #dbeafe, #eff6ff); color: #2563eb; }

.about-value-icon--quality { background: linear-gradient(135deg, #fef9c3, #fefce8); color: #ca8a04; }

.about-value-icon--speed   { background: linear-gradient(135deg, #ffedd5, #fff7ed); color: var(--primary-dark); }

.about-value-icon--community { background: linear-gradient(135deg, #fce7f3, #fdf4ff); color: #db2777; }

.about-value-icon--innovation { background: linear-gradient(135deg, #d1fae5, #ecfdf5); color: #059669; }

.about-value-icon--support { background: linear-gradient(135deg, #ede9fe, #f5f3ff); color: #7c3aed; }

.about-value-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.55rem;
}

.about-value-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ================= CTA SECTION ================= */

.about-cta {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    border-radius: 28px;
    padding: 4rem 2rem;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-cta-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
    filter: blur(50px);
}

.about-cta-blob--1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -80px;
    left: -60px;
}

.about-cta-blob--2 {
    width: 250px;
    height: 250px;
    background: #3b82f6;
    bottom: -60px;
    right: -40px;
}

.about-cta-icon {
    font-size: 3.2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.about-cta-title {
    font-weight: 800;
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.about-cta-text {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.about-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 14px;
    font-size: 0.97rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-cta-btn--primary {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    box-shadow: 0 8px 22px rgba(245, 131, 34, 0.35);
}

.about-cta-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(245, 131, 34, 0.45);
    color: #fff;
}

.about-cta-btn--outline {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.about-cta-btn--outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    color: #fff;
}

/* ================= REVEAL ANIMATION ================= */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991.98px) {
    .about-hero-title {
        font-size: 2.2rem;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stat-card:nth-child(2) {
        border-right: none;
    }
    [dir="rtl"] .about-stat-card:nth-child(2) {
        border-left: none;
    }
    .about-stat-card:nth-child(3),
    .about-stat-card:nth-child(4) {
        border-top: 1px solid var(--border-soft);
    }
    [dir="rtl"] .about-stat-card:nth-child(3) {
        border-left: 1px solid var(--border-soft);
    }
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Timeline — single column on tablet */
    .about-timeline::before {
        left: 22px;
    }
    [dir="rtl"] .about-timeline::before {
        left: auto;
        right: 22px;
    }
    .about-timeline-item--right,
    .about-timeline-item--left {
        padding: 0 0 0 70px;
        flex-direction: row;
    }
    [dir="rtl"] .about-timeline-item--right,
    [dir="rtl"] .about-timeline-item--left {
        padding: 0 70px 0 0;
        flex-direction: row-reverse;
    }
    .about-timeline-dot {
        left: 0;
        transform: none;
    }
    [dir="rtl"] .about-timeline-dot {
        left: auto;
        right: 0;
        transform: none;
    }
    .about-section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding: 60px 0 52px;
    }
    .about-hero-title {
        font-size: 1.85rem;
    }
    .about-hero-subtitle {
        font-size: 0.95rem;
    }
    .about-cta {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    .about-cta-title {
        font-size: 1.5rem;
    }
    .about-mv-card {
        padding: 1.6rem;
    }
    .about-section {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
        border-left: none !important;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-title {
        font-size: 1.65rem;
    }
    .about-stat-number {
        font-size: 1.7rem;
    }
    .about-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .about-cta-btn {
        justify-content: center;
    }
}


/* --- Merged from: category.css --- */
/* =================================================================
   CATEGORY.CSS — Category Page Specific Styles
   Depends on base.css and product-card.css being loaded first.
   ================================================================= */

/* ================= CATEGORY HERO BANNER ================= */

.category-hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    padding: 2.8rem 0 2.2rem;
    margin-bottom: 0;
    overflow: hidden;
    color: #fff;
}

/* When a real image is present the text must remain readable */

.category-hero--with-image {
    padding: 3.2rem 0 2.6rem;
}

/* Background image layer */

.category-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    filter: blur(2px);
    transform: scale(1.05);  /* hide blur edge artifacts */
    transition: opacity 0.4s ease;
}

/* Dark gradient overlay for readability */

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.55) 100%
    );
}

/* Content sits above bg layers */

.category-hero-content {
    position: relative;
    z-index: 1;
}

/* ---- Breadcrumb inside hero ---- */

.category-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255,255,255,0.45);
    --bs-breadcrumb-item-active-color: rgba(255,255,255,0.75);
}

.category-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

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

.category-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

[dir="rtl"] .category-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* ---- Category thumbnail (small round image) ---- */

.category-hero-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.category-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Hero title & description ---- */

.category-hero-title {
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
    margin-bottom: 0.35rem;
}

.category-hero-desc {
    color: rgba(255,255,255,0.72);
    font-size: 0.97rem;
    line-height: 1.6;
    max-width: 520px;
}

/* ---- Product count badge in hero ---- */

.category-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* ================= SORT TOOLBAR ================= */

.sort-toolbar {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(15,23,42,0.05);
}

.sort-result-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-result-text strong {
    color: var(--text-main);
}

/* Sort buttons */

.btn-sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-sort:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245,131,34,0.35);
}

.btn-sort.active {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(245,131,34,0.28);
}

/* ================= EMPTY STATE ================= */

.category-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    border: 2px dashed var(--border-soft);
    text-align: center;
}

.category-empty-icon {
    font-size: 3.8rem;
    color: #cbd5e1;
}

/* ================= PAGINATION ================= */

.pagination-wrapper {
    margin-top: 2.5rem;
}

.pagination .page-link {
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 10px !important;
    margin: 0 3px;
    padding: 8px 15px;
    transition: all 0.25s ease;
}

.pagination .page-link:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245,131,34,0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px var(--glow);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .category-hero {
        padding: 2rem 0 1.8rem;
    }

    .category-hero-title {
        font-size: 1.55rem;
    }

    .category-hero-desc {
        font-size: 0.9rem;
    }

    .category-count-badge {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sort-toolbar {
        padding: 0.65rem 0.85rem;
    }

    .sort-buttons {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .sort-buttons::-webkit-scrollbar {
        display: none;
    }

    .btn-sort {
        flex-shrink: 0;
    }
}

@media (max-width: 575.98px) {
    .category-hero-title {
        font-size: 1.3rem;
    }

    .category-hero-thumb {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
}


/* --- Merged from: index.css --- */
/* =================================================================
   INDEX.CSS — Homepage Styles
   Clean, fast, product-focused. No heavy animations.
   Depends on base.css being loaded first.
   ================================================================= */

/* ================= PROMO STRIP ================= */

.promo-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 9px 0;
}

.promo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.promo-strip-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-strip-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.promo-strip-content p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}

.promo-strip-content p strong {
    color: #ffb366;
}

.promo-strip-link {
    color: #ffb366;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.promo-strip-link:hover {
    color: #fff;
}

/* ================= TRUST BAR ================= */

.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    padding: 7px 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* ================= MAIN CONTENT ================= */

.main-content {
    padding: 1.5rem 0 1rem;
}

/* ================= SECTION HEADER ================= */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-heading {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-heading i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 3px 0 0;
}

.section-header-end {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================= PRODUCT COUNT ================= */

.product-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 11px;
    border-radius: 6px;
}

.product-count .count-number {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ================= VIEW TOGGLE ================= */

.view-toggle {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    background: #fff;
    border: none;
    padding: 5px 9px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn + .view-btn {
    border-right: 1px solid #e2e8f0;
}

[dir="rtl"] .view-btn + .view-btn {
    border-right: none;
    border-left: 1px solid #e2e8f0;
}

.view-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.view-btn:hover:not(.active) {
    background: #f8fafc;
}

/* ================= LIST VIEW ================= */

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    max-height: 180px;
}

.products-grid.list-view .card-img-container {
    width: 190px;
    min-width: 190px;
    height: 100%;
    border-bottom: none;
    border-left: 1px solid rgba(15, 23, 42, 0.06);
}

[dir="rtl"] .products-grid.list-view .card-img-container {
    border-left: none;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.products-grid.list-view .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #fafbfc;
    border-radius: 14px;
    border: 2px dashed #e2e8f0;
}

.empty-state-icon {
    font-size: 2.8rem;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.empty-state h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

.pagination-wrapper {
    margin-top: 2rem;
}

.pagination .page-link {
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    font-weight: 600;
    border-radius: 8px !important;
    margin: 0 2px;
    padding: 7px 13px;
    font-size: 0.86rem;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pagination .page-link:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245, 131, 34, 0.25);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.35;
    pointer-events: none;
}

/* ================= FEATURES STRIP ================= */

.features-strip {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-icon--1 { background: #dbeafe; color: #2563eb; }

.feature-icon--2 { background: #ffedd5; color: var(--primary-dark); }

.feature-icon--3 { background: #d1fae5; color: #059669; }

.feature-icon--4 { background: #fce7f3; color: #db2777; }

.feature-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 2px;
}

.feature-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ================= SCROLL-TO-TOP ================= */

.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(245, 131, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
}

[dir="ltr"] .scroll-top-btn {
    left: auto;
    right: 1.5rem;
}

/* ================= CARD REVEAL — lightweight ================= */

.product-card[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.product-card.reveal-done {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .view-toggle {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .promo-strip-content p {
        font-size: 0.78rem;
    }

    .trust-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .trust-item {
        font-size: 0.75rem;
        justify-content: center;
    }

    .trust-item i {
        font-size: 0.85rem;
    }

    .section-heading {
        font-size: 1.15rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .feature-item h4 { font-size: 0.8rem; }
    .feature-item p { font-size: 0.72rem; }

    .scroll-top-btn {
        bottom: 1rem;
        left: 1rem;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575.98px) {
    .promo-strip-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .promo-strip-content {
        flex-direction: column;
        gap: 4px;
    }

    .promo-strip-content p {
        font-size: 0.75rem;
    }

    .section-header {
        text-align: center;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-state-icon {
        font-size: 2.2rem;
    }
}


/* --- Merged from: pricing.css --- */
/* =================================================================
   PRICING.CSS — Pricing Page Specific Styles
   Depends on base.css being loaded first.
   No duplication of variables, body, navbar, footer, or sidebar.
   ================================================================= */

.pricing-hero {
    background: linear-gradient(125deg, #0f172a 0%, #1e293b 55%, #1a2744 100%);
    color: white;
    padding: 72px 0 90px;
    margin-bottom: -48px;
    position: relative;
    overflow: hidden;
}

.pricing-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.12;
}

.pricing-hero-blob--1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    top: -120px;
    left: -100px;
}

.pricing-hero-blob--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #60a5fa, transparent 70%);
    bottom: -80px;
    right: -60px;
    opacity: 0.1;
}

/* Breadcrumb */

.pricing-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

[dir="rtl"] .pricing-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* Hero Content */

.pricing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.pricing-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 131, 34, 0.2);
    border: 1px solid rgba(245, 131, 34, 0.35);
    color: #fbbf7a;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.pricing-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ================= BILLING TOGGLE ================= */

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 0;
}

.pricing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.pricing-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 131, 34, 0.4);
}

.pricing-toggle-badge {
    background: #10b981;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}

/* ================= CARDS SECTION ================= */

.pricing-cards-section {
    padding-top: 0;
    padding-bottom: 5rem;
    position: relative;
    z-index: 2;
}

/* ================= PRICING CARD ================= */

.pricing-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 2.4rem 2rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-soft);
    transition: background 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(245, 131, 34, 0.2);
}

.pricing-card:hover::before {
    background: linear-gradient(90deg, var(--primary-color), #ff9f4a);
}

/* Featured Card */

.pricing-card--featured {
    border-color: rgba(245, 131, 34, 0.4);
    box-shadow: 0 24px 52px rgba(245, 131, 34, 0.16), var(--card-shadow);
    transform: translateY(-8px);
}

.pricing-card--featured::before {
    background: linear-gradient(90deg, var(--primary-color), #ff9f4a);
    height: 4px;
}

.pricing-card--featured:hover {
    transform: translateY(-14px);
}

/* Popular Badge */

.pricing-popular-badge {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px var(--glow);
    letter-spacing: 0.2px;
}

[dir="rtl"] .pricing-popular-badge {
    left: auto;
    right: 1.4rem;
}

/* ================= CARD HEADER ================= */

.pricing-card-header {
    text-align: center;
    padding-top: 1.6rem;
    margin-bottom: 1.6rem;
}

.pricing-plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.pricing-plan-icon--free {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
}

.pricing-plan-icon--pro {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(245, 131, 34, 0.2);
}

.pricing-plan-icon--enterprise {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    color: #15803d;
}

.pricing-plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.pricing-plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ================= PRICE BLOCK ================= */

.pricing-price-block {
    text-align: center;
    padding: 1.4rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 1.6rem;
}

.pricing-price {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    justify-content: center;
}

.pricing-price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    transition: all 0.3s ease;
}

.pricing-card--featured .pricing-price-amount {
    color: var(--primary-dark);
}

.pricing-price-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 4px;
}

.pricing-currency {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
}

.pricing-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.pricing-price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ================= FEATURES LIST ================= */

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    transition: background 0.2s ease;
}

.pricing-feature:last-child {
    border-bottom: none;
}

[dir="rtl"] .pricing-feature {
    flex-direction: row-reverse;
    text-align: right;
}

.pricing-feature--yes i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-feature--no {
    opacity: 0.45;
}

.pricing-feature--no i {
    color: #94a3b8;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-feature--no span {
    text-decoration: line-through;
}

/* ================= CARD FOOTER / BUTTONS ================= */

.pricing-card-footer {
    margin-top: auto;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-btn--outline {
    border: 2px solid var(--border-soft);
    background: transparent;
    color: var(--text-main);
}

.pricing-btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff7ef;
    transform: translateY(-2px);
}

.pricing-btn--primary {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 8px 22px var(--glow);
}

.pricing-btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(245, 131, 34, 0.38);
}

/* ================= NOTE ================= */

.pricing-note {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 14px;
    padding: 14px 24px;
    color: #065f46;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================= FAQ ================= */

.pricing-faq {
    padding-bottom: 2rem;
}

.pricing-faq-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    padding-bottom: 14px;
    display: inline-block;
}

.pricing-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff9f4a);
    border-radius: 3px;
}

.pricing-accordion-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-soft) !important;
    border-radius: 14px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pricing-accordion-btn {
    background: transparent !important;
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.1rem 1.4rem;
    box-shadow: none !important;
}

.pricing-accordion-btn:not(.collapsed) {
    color: var(--primary-dark) !important;
}

.pricing-accordion-btn::after {
    filter: none;
}

.pricing-accordion-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    padding: 0.2rem 1.4rem 1.2rem;
    border-top: 1px solid var(--border-soft);
}

/* ================= CTA BANNER ================= */

.pricing-cta {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.pricing-cta-inner {
    background: linear-gradient(125deg, #0f172a 0%, #1e293b 60%, #1a2744 100%);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.pricing-cta-inner::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 131, 34, 0.18), transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.pricing-cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pricing-cta-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.97rem;
    margin-bottom: 0;
}

.pricing-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px var(--glow);
    white-space: nowrap;
}

.pricing-cta-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(245, 131, 34, 0.42);
}

/* ================= CARD REVEAL ANIMATION ================= */

.pricing-card[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

.pricing-card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(-8px);
    transition:
        opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card--featured[data-reveal].revealed {
    transform: translateY(-14px);
}

.pricing-card.reveal-done {
    opacity: 1 !important;
}

/* ================= RTL ================= */

[dir="rtl"] .pricing-toggle-badge {
    margin-right: 0;
    margin-left: 0;
}

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

[dir="rtl"] .pricing-price-meta {
    align-items: flex-end;
}

[dir="rtl"] .pricing-cta-inner::before {
    right: auto;
    left: -80px;
}

[dir="rtl"] .pricing-btn i {
    transform: scaleX(-1);
}

@media (max-width: 991.98px) {
    .pricing-hero {
        padding: 56px 0 80px;
    }

    .pricing-hero-title {
        font-size: 2rem;
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-6px);
    }

    .pricing-card--featured[data-reveal].revealed {
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .pricing-hero {
        padding: 44px 0 72px;
        margin-bottom: -36px;
    }

    .pricing-hero-title {
        font-size: 1.65rem;
    }

    .pricing-hero-subtitle {
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 1.8rem 1.5rem;
        border-radius: 18px;
    }

    .pricing-price-amount {
        font-size: 2.4rem;
    }

    .pricing-cta-inner {
        padding: 2rem 1.8rem;
        border-radius: 18px;
        text-align: center;
    }

    .pricing-cta-title {
        font-size: 1.4rem;
    }

    .pricing-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-faq-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .pricing-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
    }

    .pricing-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 22px;
    }

    .pricing-hero-title {
        font-size: 1.45rem;
    }

    .pricing-note {
        font-size: 0.82rem;
        padding: 12px 16px;
    }

    .pricing-plan-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 14px;
    }
}


/* --- Merged from: product.css --- */
/* =================================================================
   PRODUCT.CSS
   Product Detail Page — All styles
   Covers: gallery, thumbnails, price, quantity, wishlist button,
   wish toast, copy toast, seller card, trust badges, description,
   info card, reviews, related products, responsive breakpoints
   ================================================================= */

/* ================= ROOT (inherits from base.css) ================= */

:root {
    --pg-radius: 18px;
    --pg-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --pg-shadow-hover: 0 22px 46px rgba(15, 23, 42, 0.13);
    --pg-border: rgba(15, 23, 42, 0.08);
    --pg-orange: #f58322;
    --pg-orange-dark: #d46812;
    --pg-glow: rgba(245, 131, 34, 0.25);
    --pg-text: #0f172a;
    --pg-muted: #64748b;
    --pg-surface: #f8fafc;
}

/* ================= BREADCRUMB ================= */

.pg-breadcrumb .breadcrumb {
    font-size: 0.83rem;
    font-weight: 500;
    background: transparent;
    padding: 0;
    margin: 0;
}

.pg-breadcrumb .breadcrumb-item a {
    color: var(--pg-orange);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-breadcrumb .breadcrumb-item a:hover {
    color: var(--pg-orange-dark);
}

.pg-breadcrumb .breadcrumb-item.active {
    color: var(--pg-muted);
}

/* ================= MAIN IMAGE WRAP ================= */

.pg-main-image-wrap {
    position: relative;
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
    border: 1px solid var(--pg-border);
    border-radius: var(--pg-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    cursor: zoom-in;
    overflow: hidden;
    box-shadow: var(--pg-shadow);
    transition: box-shadow 0.3s ease;
}

.pg-main-image-wrap:hover {
    box-shadow: var(--pg-shadow-hover);
}

.pg-main-image {
    max-height: 380px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.10));
    transition: transform 0.35s ease;
}

.pg-main-image-wrap:hover .pg-main-image {
    transform: scale(1.03);
}

.pg-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.pg-discount-badge .badge {
    background: linear-gradient(135deg, #ef4444, #f87171);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
}

.pg-verified-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.pg-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
}

.pg-main-image-wrap:hover .pg-zoom-hint {
    opacity: 1;
}

.pg-no-image {
    text-align: center;
    color: #cbd5e1;
    font-size: 4rem;
}

/* ================= THUMBNAILS ================= */

.pg-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pg-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 2px solid var(--pg-border);
    background: #fff;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
    overflow: hidden;
}

.pg-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pg-thumb:hover {
    border-color: var(--pg-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--pg-glow);
}

.pg-thumb.active {
    border-color: var(--pg-orange);
    box-shadow: 0 0 0 3px var(--pg-glow);
}

/* ================= CATEGORY TAG ================= */

.pg-category-tag {
    display: inline-block;
    background: #fff4e6;
    color: var(--pg-orange-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(245, 131, 34, 0.2);
    transition: all 0.22s;
}

.pg-category-tag:hover {
    background: var(--pg-orange);
    color: #fff;
}

/* ================= TITLE ================= */

.pg-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--pg-text);
    line-height: 1.35;
}

/* ================= STAR RATING (read-only) ================= */

.pg-star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.9rem;
}

.pg-rating-count {
    font-size: 0.83rem;
    color: var(--pg-muted);
    font-weight: 500;
}

/* ================= STOCK STATUS ================= */

.pg-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
}

.pg-stock.in-stock {
    background: #f0fdf4;
    color: #16a34a;
}

.pg-stock.low-stock {
    background: #fffbeb;
    color: #b45309;
}

.pg-stock.out-of-stock {
    background: #fff1f2;
    color: #dc2626;
}

/* ================= DIVIDER ================= */

.pg-divider {
    border-color: var(--pg-border);
    margin: 1.1rem 0;
}

/* ================= PRICE ================= */

.pg-price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pg-orange-dark);
    line-height: 1;
}

.pg-price-currency {
    font-size: 1rem;
    font-weight: 600;
    margin-right: 3px;
}

.pg-price-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.pg-savings {
    font-size: 0.82rem;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    padding: 4px 10px;
    border-radius: 8px;
}

/* ================= QUANTITY SELECTOR ================= */

.pg-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--pg-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.pg-qty-btn {
    background: transparent;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    color: var(--pg-text);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.pg-qty-btn:hover {
    background: #fff4e6;
    color: var(--pg-orange);
}

.pg-qty-input {
    border: none;
    width: 48px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pg-text);
    padding: 0;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.pg-qty-input::-webkit-inner-spin-button,
.pg-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* ================= ADD TO CART BUTTON ================= */

.pg-btn-cart {
    background: linear-gradient(135deg, var(--pg-orange), #ff9f4a);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 12px;
    transition: all 0.25s;
    cursor: pointer;
}

.pg-btn-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--pg-orange-dark), var(--pg-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--pg-glow);
    color: #fff;
}

.pg-btn-cart:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

/* ================= COMING SOON BUTTON ================= */

.pg-coming-soon-btn {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px dashed #cbd5e1;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 12px;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-coming-soon-btn i {
    color: var(--pg-orange);
    font-size: 1.1rem;
}

/* ================= ICON BUTTONS (Wishlist / Share) ================= */

.pg-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--pg-border);
    background: #fff;
    color: var(--pg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    text-decoration: none;
    padding: 0;
}

.pg-btn-icon:hover {
    border-color: var(--pg-orange);
    color: var(--pg-orange);
    background: #fff4e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--pg-glow);
}

/* -------- Wishlist ACTIVE state -------- */

.pg-btn-icon.pg-wish-active {
    background: linear-gradient(135deg, #fff0f0, #ffe4e4);
    border-color: #fca5a5;
    color: #ef4444;
}

.pg-btn-icon.pg-wish-active i {
    animation: pgHeartPop 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.pg-btn-icon.pg-wish-active:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.22);
}

/* Heart pop animation */

@keyframes pgHeartPop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.45);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* ================= WISH TOAST (below wishlist button) ================= */

.pg-wish-toast {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    min-height: 28px;
}

.pg-wish-toast.pg-wish-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.pg-wish-toast.pg-wish-toast--added {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.pg-wish-toast.pg-wish-toast--removed {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* ================= COPY LINK TOAST ================= */

.pg-copy-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
}

.pg-copy-toast.pg-copy-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ================= WHATSAPP BUTTON ================*/

.pg-btn-wp-icon {
    width: 220px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--pg-border);
    background: #fff;
    color: var(--pg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    text-decoration: none;
    padding: 0;
}

.pg-btn-wp-icon:hover {
    border-color: var(--pg-orange);
    color: var(--pg-orange);
    background: #fff4e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--pg-glow);
    bi-whatsapp {
        color: var(--pg-orange);
    }
}


/* ================= SELLER CARD ================= */

.pg-seller-card {
    background: var(--pg-surface);
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    padding: 1.2rem;
}

.pg-seller-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--pg-border);
}

.pg-seller-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pg-orange), #ff9f4a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.pg-seller-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.pg-seller-name a {
    color: var(--pg-text);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-seller-name a:hover {
    color: var(--pg-orange);
}

.pg-seller-meta {
    font-size: 0.78rem;
    color: var(--pg-muted);
}

/* ================= TRUST BADGES ================= */

.pg-trust-card {
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s, box-shadow 0.22s;
}

.pg-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.pg-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ================= SECTION TITLE ================= */

.pg-section-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--pg-text);
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pg-border);
    position: relative;
}

.pg-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--pg-orange);
}

/* ================= DESCRIPTION ================= */

.pg-desc-content {
    font-size: 0.93rem;
    line-height: 1.78;
    color: #374151;
}

.pg-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--pg-orange);
    color: var(--pg-orange);
    font-size: 0.83rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s;
}

.pg-read-more:hover {
    background: var(--pg-orange);
    color: #fff;
}

/* ================= PRODUCT INFO CARD ================= */

.pg-info-card {
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.pg-info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--pg-border);
}

.pg-info-item:last-child {
    border-bottom: none;
}

.pg-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pg-info-label {
    font-size: 0.75rem;
    color: var(--pg-muted);
    font-weight: 600;
    margin-bottom: 1px;
}

.pg-info-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--pg-text);
}

/* ================= AVERAGE RATING BLOCK ================= */

.pg-avg-rating {
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pg-avg-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--pg-text);
    line-height: 1;
}

/* ================= REVIEW CARDS ================= */

.pg-review-card {
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.22s;
}

.pg-review-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.pg-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pg-orange), #ff9f4a);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg-review-meta {
    font-size: 0.75rem;
    color: var(--pg-muted);
}

.pg-review-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #374151;
}

.pg-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--pg-muted);
}

.pg-empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 0.8rem;
}

/* ================= RELATED PRODUCTS ================= */

.pg-related-card {
    display: block;
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--pg-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.pg-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 131, 34, 0.28);
    box-shadow: var(--pg-shadow-hover);
    color: inherit;
}

.pg-related-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    padding: 0.6rem;
    background: var(--pg-surface);
    display: block;
    transition: transform 0.3s ease;
}

.pg-related-card:hover .pg-related-img {
    transform: scale(1.04);
}

.pg-related-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--pg-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.pg-related-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--pg-orange-dark);
}

.pg-related-discount {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

/* ================= RTL ADJUSTMENTS ================= */

[dir="rtl"] .pg-section-title::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .pg-discount-badge {
    right: 14px;
    left: auto;
}

[dir="rtl"] .pg-verified-badge {
    left: 14px;
    right: auto;
}

[dir="rtl"] .pg-related-discount {
    right: 8px;
    left: auto;
}

@media (max-width: 991.98px) {
    .pg-main-image-wrap {
        min-height: 320px;
    }

    .pg-main-image {
        max-height: 300px;
    }

    .pg-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .pg-main-image-wrap {
        min-height: 260px;
        padding: 1rem;
    }

    .pg-main-image {
        max-height: 240px;
    }

    .pg-price-current {
        font-size: 1.6rem;
    }

    .pg-avg-rating {
        padding: 1.5rem 1rem;
    }

    .pg-avg-number {
        font-size: 2.8rem;
    }

    .pg-thumb {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 575.98px) {
    .pg-title {
        font-size: 1.15rem;
    }

    .pg-price-current {
        font-size: 1.4rem;
    }

    .pg-section-title {
        font-size: 1.05rem;
    }

    .pg-related-img {
        height: 130px;
    }

    .pg-trust-card {
        padding: 0.7rem !important;
    }
}

/* =================================================================
   COMMENT SECTION STYLES
   Tüm yorum bölümü stilleri — product.html inline <style>'dan
   bu dosyaya taşındı. Prefix: cmnt-
   ================================================================= */

/* ── Section title ── */

.cmnt-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(15, 23, 42, 0.07);
    margin-bottom: 1.2rem;
    position: relative;
}

.cmnt-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 36px;
    height: 2px;
    background: #f58322;
}

/* ── Divider between purchaser and non-purchaser ── */

.cmnt-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.cmnt-divider::before,
.cmnt-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
}

.cmnt-divider-label {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ── Review / comment card ── */

.cmnt-card {
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.85rem;
    transition: box-shadow 0.2s;
}

.cmnt-card:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

/* Own comment highlight */

.cmnt-card.cmnt-own {
    border-color: rgba(245, 131, 34, 0.35);
    background: #fffdf9;
    box-shadow: 0 0 0 3px rgba(245, 131, 34, 0.08);
}

/* Purchaser card accent */

.cmnt-card.cmnt-purchaser-card {
    border-color: rgba(245, 131, 34, 0.2);
}

/* ── Avatar ── */

.cmnt-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58322, #ff9f4a);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cmnt-own .cmnt-avatar {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

/* ── Meta info ── */

.cmnt-username {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
}

.cmnt-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ── Badges ── */

.cmnt-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.cmnt-badge-purchaser {
    background: #fff4e6;
    color: #d46812;
    border: 1px solid rgba(245, 131, 34, 0.25);
}

.cmnt-badge-own {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* ── Comment text ── */

.cmnt-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #374151;
    margin-top: 0.4rem;
    margin-bottom: 0;
}

/* ── Stars (display only) ── */

.cmnt-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
    font-size: 0.92rem;
    letter-spacing: 1px;
    flex-wrap: wrap;
}

.cmnt-stars .empty {
    color: #d1d5db;
}

/* ── Comment images (thumbnail row) ── */

.cmnt-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.cmnt-img-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cmnt-img-thumb:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

/* ── Action buttons (edit / delete) ── */

.cmnt-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.cmnt-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 7px;
    border: 1.5px solid;
    cursor: pointer;
    transition: all 0.18s;
    line-height: 1.6;
    background: transparent;
}

.cmnt-btn-edit {
    border-color: #f58322;
    color: #f58322;
}

.cmnt-btn-edit:hover {
    background: #f58322;
    color: #fff;
}

.cmnt-btn-delete {
    border-color: #ef4444;
    color: #ef4444;
}

.cmnt-btn-delete:hover {
    background: #ef4444;
    color: #fff;
}

/* ── Comment form wrapper ── */

.cmnt-form-wrap {
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.5rem;
}

.cmnt-form-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Interactive star picker (purchaser form & edit modal) ── */

/*
   Layout: flex row (1 → 5, RTL sayfada görsel olarak sağdan sola)
   JS ile renk yönetimi yapılıyor.
   CSS ~ selector trick kullanmıyoruz — JS kontrolünde.
*/

.cmnt-star-picker {
    display: flex;
    flex-direction: row;
    gap: 4px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.cmnt-star-picker input[type="radio"] {
    display: none;
}

.cmnt-star-picker label {
    font-size: 1.8rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s, transform 0.12s;
    line-height: 1;
    user-select: none;
}

.cmnt-star-picker label:hover {
    transform: scale(1.15);
}

/* ── Image upload zone ── */

.cmnt-upload-zone {
    border: 2px dashed rgba(245, 131, 34, 0.4);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fffdf9;
}

.cmnt-upload-zone:hover,
.cmnt-upload-zone.dragover {
    border-color: #f58322;
    background: #fff7ef;
}

.cmnt-upload-zone input[type="file"] {
    display: none;
}

/* ── Image preview items ── */

.cmnt-img-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.cmnt-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.cmnt-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cmnt-preview-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: rgba(239, 68, 68, 0.88);
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
    line-height: 1;
}

.cmnt-preview-remove:hover {
    background: #dc2626;
}

/* ── Edit modal: existing image item ── */

.cmnt-edit-img-item {
    position: relative;
    display: inline-block;
}

.cmnt-edit-img-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    display: block;
}

.cmnt-edit-img-del {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.15s;
}

.cmnt-edit-img-del:hover {
    background: #dc2626;
}

/* ── Login prompt ── */

.cmnt-login-prompt {
    background: linear-gradient(135deg, #fffdf9, #fff7ef);
    border: 1.5px dashed rgba(245, 131, 34, 0.3);
    border-radius: 14px;
    padding: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ── Average rating block (purchaser section) ── */

.cmnt-avg-block {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cmnt-avg-number {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

/* ── Empty state ── */

.cmnt-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.88rem;
}

.cmnt-empty i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.6rem;
    opacity: 0.4;
}

/* ── Purchaser section header banner ── */

.cmnt-purchaser-header {
    background: linear-gradient(135deg, #fff4e6, #fffdf9);
    border: 1px solid rgba(245, 131, 34, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d46812;
}

/* ── Seller Reply ── */

.cmnt-seller-reply {
    background: linear-gradient(135deg, #f0f9ff, #f8fafc);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-top: 0.6rem;
    margin-right: 3rem;
}

.cmnt-seller-reply-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.cmnt-seller-reply .cmnt-text {
    font-size: 0.85rem;
    color: #334155;
}

.cmnt-locked-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    .cmnt-seller-reply {
        margin-right: 1rem;
        padding: 0.7rem 0.85rem;
    }
}

/* ── Textarea & input base overrides (inside cmnt forms) ── */

.cmnt-form-wrap .form-control {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cmnt-form-wrap .form-control:focus {
    border-color: #f58322;
    box-shadow: 0 0 0 3px rgba(245, 131, 34, 0.15);
    outline: none;
}

/* ── Edit modal content ── */

#editCommentModal .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.cmnt-delete-modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

#editCommentModal .form-control {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#editCommentModal .form-control:focus {
    border-color: #f58322;
    box-shadow: 0 0 0 3px rgba(245, 131, 34, 0.15);
    outline: none;
}

/* ── Responsive: comment section ── */

@media (max-width: 767.98px) {
    .cmnt-card {
        padding: 0.85rem 1rem;
    }

    .cmnt-form-wrap {
        padding: 1rem 1rem;
    }

    .cmnt-img-thumb {
        width: 58px;
        height: 58px;
    }

    .cmnt-preview-item {
        width: 68px;
        height: 68px;
    }

    .cmnt-avg-number {
        font-size: 2.4rem;
    }

    .cmnt-star-picker label {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .cmnt-divider-label {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .cmnt-username {
        font-size: 0.82rem;
    }

    .cmnt-text {
        font-size: 0.84rem;
    }

    .purchaser-header {
        font-size: 0.78rem;
        padding: 0.6rem 0.8rem;
    }
}

/* ---------------------------------------------------------------
   EDIT PRODUCT BUTTON
--------------------------------------------------------------- */

.pg-edit-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    font-size: .82rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid #2563eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pg-edit-product-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* ---------------------------------------------------------------
   SELLER BADGE & VERIFIED TICK
--------------------------------------------------------------- */

.cmnt-badge-seller {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 10px;
    font-size: .72rem;
    font-weight: 600;
    color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.22);
    border-radius: 20px;
    letter-spacing: .3px;
}

/* ---------------------------------------------------------------
   COMMENT IMAGE GALLERY NAVIGATION
--------------------------------------------------------------- */

.cmnt-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.cmnt-img-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.08);
}

.cmnt-img-nav-prev {
    right: 12px;
}

.cmnt-img-nav-next {
    left: 12px;
}

.cmnt-img-counter-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

/* ---------------------------------------------------------------
   DEFERRED IMAGE DELETION OVERLAY (edit modal)
--------------------------------------------------------------- */

.cmnt-img-deleted-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

/* ---------------------------------------------------------------
   IMAGE COUNT WARNING (edit modal)
--------------------------------------------------------------- */

.cmnt-img-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: .82rem;
    font-weight: 500;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    margin-bottom: .5rem;
}

/* ---------------------------------------------------------------
   SELLER REPLY FORM (product page)
--------------------------------------------------------------- */

.cmnt-reply-form {
    border-top: 1px solid #e2e8f0;
    padding-top: .75rem;
    margin-top: .5rem;
}

.cmnt-reply-edit-form {
    margin-top: .5rem;
    padding: .5rem 0;
}

/* ---------------------------------------------------------------
   COMMENT SYSTEM ENHANCEMENTS (Badges, Replies, Gallery)
--------------------------------------------------------------- */

.cmnt-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cmnt-badge-own {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.cmnt-badge-purchaser {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
}

.cmnt-badge-seller {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.cmnt-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.cmnt-stars .empty {
    color: #e2e8f0;
}

.cmnt-seller-reply {
    background: #f8fafc;
    border-right: 3px solid #f58322;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 14px;
    position: relative;
}

.cmnt-seller-reply-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #f58322;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cmnt-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cmnt-img-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.cmnt-img-thumb:hover {
    transform: scale(1.04);
    border-color: #f58322;
    box-shadow: 0 4px 12px rgba(245, 131, 34, 0.15);
}

/* Image Modal Nav */

.cmnt-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.cmnt-img-nav:hover {
    background: rgba(245, 131, 34, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.cmnt-img-nav-prev {
    right: 20px;
}

.cmnt-img-nav-next {
    left: 20px;
}

.cmnt-img-counter-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Edit product button */

.pg-edit-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.pg-edit-product-btn:hover {
    border-color: #f58322;
    color: #f58322;
    background: #fff4e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 131, 34, 0.12);
}

/* Warnings & Previews */

.cmnt-img-warning {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
    animation: pgShake 0.4s ease-in-out;
}

@keyframes pgShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.edit-img-preview-wrap {
    position: relative;
    display: inline-block;
}

.edit-img-remove-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 44, 44, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}


/* --- Merged from: search_results.css --- */
/* =================================================================
   SEARCH_RESULTS.CSS — Search Results Page Styles
   Depends on base.css and product-card.css being loaded first.
   ================================================================= */

/* ================= SEARCH HERO ================= */

.search-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1a2540 100%);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */

.search-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 131, 34, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.search-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 131, 34, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.search-breadcrumb {
    margin-bottom: 0;
}

.search-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.search-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.search-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.88rem;
}

.search-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .search-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* ================= HERO CONTENT ================= */

.search-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.search-hero-label {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 131, 34, 0.18);
    color: var(--primary-color);
    border: 1px solid rgba(245, 131, 34, 0.3);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 0.75rem;
}

.search-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    word-break: break-word;
}

.search-hero-title em {
    color: var(--primary-color);
    font-style: normal;
}

.search-hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 0;
}

.search-count-highlight {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1em;
}

.text-warning-custom {
    color: #fbbf24 !important;
}

/* Hero badge — big number */

.search-hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(245, 131, 34, 0.15);
    border: 2px solid rgba(245, 131, 34, 0.3);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    min-width: 120px;
    flex-shrink: 0;
}

.search-result-count {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.search-result-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

/* ================= HERO SEARCH FORM ================= */

.search-refine-form {
    max-width: 560px;
}

.search-refine-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 6px 6px 6px 18px;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

[dir="rtl"] .search-refine-wrapper {
    padding: 6px 18px 6px 6px;
}

.search-refine-wrapper:focus-within {
    border-color: rgba(245, 131, 34, 0.5);
    background: rgba(255, 255, 255, 0.14);
}

.search-refine-icon {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 10px;
}

[dir="rtl"] .search-refine-icon {
    margin-left: 0;
    margin-right: 10px;
}

.search-refine-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    padding: 6px 10px;
}

.search-refine-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-refine-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    border: none;
    border-radius: 50px;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-refine-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(245, 131, 34, 0.4);
}

.search-toolbar {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 0.85rem 1.2rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.toolbar-count-text {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.toolbar-count-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.toolbar-count-text em {
    color: var(--text-main);
    font-style: normal;
    font-weight: 600;
}

/* Sort buttons group */

.sort-btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-sort {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-sort:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245, 131, 34, 0.3);
}

.btn-sort.active {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--glow);
}

/* View toggle group */

.view-toggle-group {
    display: flex;
    gap: 4px;
}

.btn-view-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-view-toggle:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245, 131, 34, 0.3);
}

.btn-view-toggle.active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}

/* ================= PRODUCTS GRID — LIST VIEW ================= */

/* Grid view (default) — inherited from base.css */

/* List view override */

.products-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-grid.view-list .product-card {
    display: flex;
    flex-direction: row;
    height: auto;
    border-radius: 16px;
}

.products-grid.view-list .card-img-container {
    width: 160px;
    min-width: 160px;
    height: 160px;
    border-bottom: none;
    border-left: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 0;
    flex-shrink: 0;
}

[dir="rtl"] .products-grid.view-list .card-img-container {
    border-left: none;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.products-grid.view-list .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.25rem;
}

.products-grid.view-list .card-title {
    min-height: unset;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.products-grid.view-list .card-hover-overlay {
    display: none;
}

/* ================= SEARCH TERM HIGHLIGHT ================= */

.search-highlight {
    background: linear-gradient(135deg, rgba(245, 131, 34, 0.25), rgba(255, 159, 74, 0.2));
    color: var(--primary-dark);
    border-radius: 3px;
    padding: 0 2px;
    font-weight: 700;
}

.search-pagination-wrapper {
    margin-top: 2.5rem;
}

.search-pagination-wrapper .pagination .page-link {
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 10px !important;
    margin: 0 3px;
    padding: 8px 15px;
    transition: all 0.25s ease;
}

.search-pagination-wrapper .pagination .page-link:hover {
    background: #fff7ef;
    color: var(--primary-dark);
    border-color: rgba(245, 131, 34, 0.3);
}

.search-pagination-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px var(--glow);
}

.search-pagination-wrapper .pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* ================= EMPTY STATE — NO RESULTS ================= */

.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.75);
    border: 2px dashed var(--border-soft);
    border-radius: 24px;
    backdrop-filter: blur(6px);
    max-width: 640px;
    margin: 0 auto;
}

.search-no-query {
    border-style: solid;
    border-color: var(--border-soft);
    border-width: 1px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--card-shadow);
}

.search-empty-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #fff7ef, #fff);
    border: 2px solid rgba(245, 131, 34, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: emptyPulse 2.5s ease-in-out infinite;
}

@keyframes emptyPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 131, 34, 0.15); }
    50%       { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(245, 131, 34, 0); }
}

.search-empty-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.65rem;
}

.search-empty-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 400px;
}

.search-empty-sub strong {
    color: var(--text-main);
}

/* ================= SEARCH TIPS ================= */

.search-tips {
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.8rem;
    text-align: right;
    width: 100%;
    max-width: 380px;
}

[dir="ltr"] .search-tips {
    text-align: left;
}

.search-tips-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.search-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-tips-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-tips-list li i {
    color: #10b981;
    flex-shrink: 0;
}

/* ================= CATEGORY CHIPS ================= */

.search-empty-categories {
    margin-top: 1.8rem;
    width: 100%;
}

.search-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.search-category-chip:hover {
    background: #fff7ef;
    border-color: rgba(245, 131, 34, 0.35);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(245, 131, 34, 0.14);
}

.chip-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.chip-icon {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ================= EMPTY STATE BUTTONS ================= */

.btn-empty-action {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    padding: 11px 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.btn-empty-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    box-shadow: 0 6px 16px var(--glow);
}

.btn-empty-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px var(--glow);
}

.btn-empty-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
}

.btn-empty-secondary:hover {
    background: #e2e8f0;
    color: var(--text-main);
    transform: translateY(-2px);
}

/* ================= RTL OVERRIDES ================= */

[dir="rtl"] .search-tips-list li {
    flex-direction: row-reverse;
}

@media (max-width: 991.98px) {
    .search-hero {
        padding: 2.5rem 0 2rem;
    }

    .search-hero-title {
        font-size: 1.65rem;
    }

    .search-hero-badge {
        padding: 1rem 1.5rem;
        min-width: 100px;
    }

    .search-result-count {
        font-size: 2.2rem;
    }

    .products-grid.view-list .card-img-container {
        width: 130px;
        min-width: 130px;
        height: 130px;
    }
}

@media (max-width: 767.98px) {
    .search-hero {
        padding: 2rem 0 1.75rem;
    }

    .search-hero-title {
        font-size: 1.4rem;
    }

    .search-hero-badge {
        display: none;
    }

    .search-toolbar {
        padding: 0.75rem 1rem;
    }

    .sort-btn-group {
        gap: 4px;
    }

    .btn-sort {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .search-empty-state {
        padding: 3rem 1.5rem;
    }

    .search-empty-icon {
        width: 72px;
        height: 72px;
        font-size: 2rem;
    }

    .search-empty-title {
        font-size: 1.35rem;
    }

    /* List view disable on mobile — too narrow */
    .products-grid.view-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .products-grid.view-list .product-card {
        flex-direction: column;
    }

    .products-grid.view-list .card-img-container {
        width: 100%;
        min-width: unset;
        height: 200px;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
}

@media (max-width: 575.98px) {
    .search-hero-title {
        font-size: 1.2rem;
    }

    .search-refine-form {
        max-width: 100%;
    }

    .search-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sort-btn-group,
    .view-toggle-group {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
    }

    .search-tips {
        padding: 1rem 1.2rem;
    }
}


/* --- Merged from: sellers.css --- */
/* =================================================================
   SELLERS.CSS — Sellers List Page Styles
   Depends on base.css being loaded first.
   ================================================================= */

/* ================= SELLERS HERO ================= */

.sellers-hero {
    background: linear-gradient(125deg, #0f172a 0%, #1e293b 55%, #1a2a3a 100%);
    color: white;
    padding: 64px 0 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.sellers-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(245, 131, 34, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.sellers-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 131, 34, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.sellers-hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.sellers-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255,255,255,0.4);
    --bs-breadcrumb-item-active-color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
}

.sellers-hero-title {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.sellers-hero-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    max-width: 520px;
}

/* Stats Row */

.sellers-stats-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.sellers-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.sellers-stat-number {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.sellers-stat-label {
    font-weight: 500;
    color: rgba(255,255,255,0.65);
}

.sellers-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.2);
}

/* ================= HERO SEARCH ================= */

.sellers-hero-search {
    flex-shrink: 0;
    width: 340px;
}

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

.sellers-search-icon {
    position: absolute;
    right: 18px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.sellers-search-input {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: none;
    background: rgba(255,255,255,0.96);
    padding: 0 48px 0 48px;
    font-size: 0.97rem;
    color: var(--text-main);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    outline: none;
    transition: box-shadow 0.25s ease;
}

.sellers-search-input:focus {
    box-shadow: 0 8px 32px rgba(245, 131, 34, 0.3);
}

.sellers-search-input::placeholder {
    color: var(--text-muted);
}

.sellers-search-clear {
    position: absolute;
    left: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.8rem;
}

.sellers-search-clear:hover {
    color: #ef4444;
    background: #fff0f0;
}

.sellers-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* ================= TOOLBAR ================= */

.sellers-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
    padding: 0.85rem 1.2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 14px rgba(15,23,42,0.05);
    backdrop-filter: blur(8px);
}

.sellers-filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 7px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--border-soft);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: rgba(245,131,34,0.35);
    color: var(--primary-dark);
    background: #fff7ef;
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px var(--glow);
}

/* Sort */

.sellers-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

[dir="rtl"] .sellers-sort-wrap {
    margin-right: 0;
    margin-left: auto;
}

.sellers-sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.sellers-sort-select {
    border: 1.5px solid var(--border-soft);
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    background: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.25s ease;
}

.sellers-sort-select:focus {
    border-color: var(--primary-color);
}

/* Results Counter */

.sellers-results-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

#resultsNumber {
    color: var(--primary-dark);
    font-weight: 800;
}

/* ================= SELLERS GRID ================= */

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.seller-card-wrapper.hidden {
    display: none;
}

.seller-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.seller-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: var(--card-shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.seller-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
    pointer-events: none;
}

.seller-card-link:hover .seller-card {
    transform: translateY(-7px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(245,131,34,0.25);
}

/* ================= VERIFIED BADGE (top ribbon) ================= */

.seller-verified-badge {
    position: absolute;
    top: 14px;
    /* LTR: sağ üst köşe (avatar solda olduğundan karşı taraf) */
    right: 14px;
    left: auto;
    background: linear-gradient(135deg, #1d9bf0, #0d8ce0);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(29,155,240,0.3);
    letter-spacing: 0.2px;
    z-index: 2;
}

/* RTL: avatar sağda → badge sol üst köşeye geçer */

[dir="rtl"] .seller-verified-badge {
    right: auto;
    left: 14px;
}

.seller-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* badge karşı köşede olduğundan avatar tarafında ekstra boşluk gerekmez */
    padding-top: 1.8rem;
}

/* Avatar */

.seller-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.seller-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(245,131,34,0.22);
    display: block;
}

.seller-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 3px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-muted);
}

.seller-avatar-verified {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #1d9bf0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

[dir="rtl"] .seller-avatar-verified {
    left: auto;
    right: 2px;
}

/* Info */

.seller-info {
    flex: 1;
    min-width: 0;
}

.seller-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stars */

.seller-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.seller-stars {
    display: flex;
    gap: 2px;
    font-size: 0.8rem;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: #d1d5db;
}

.seller-rate-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.seller-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ================= META ROW ================= */

.seller-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.seller-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.seller-meta-item i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ================= CTA ================= */

.seller-cta {
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-soft);
}

.seller-cta-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-dark);
    transition: gap 0.25s ease;
    gap: 4px;
}

.seller-card-link:hover .seller-cta-btn {
    gap: 10px;
    color: var(--primary-color);
}

.seller-card-wrapper[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
}

.seller-card-wrapper[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.seller-card-wrapper.reveal-done {
    opacity: 1 !important;
    transform: none !important;
}

/* ================= EMPTY / NO RESULTS ================= */

.sellers-empty-state,
.sellers-no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    border: 2px dashed var(--border-soft);
}

.sellers-empty-icon {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.55;
    margin-bottom: 1.2rem;
    animation: emptyFloat 3s ease-in-out infinite;
}

@keyframes emptyFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.sellers-empty-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.sellers-empty-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.sellers-empty-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 28px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.sellers-empty-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow);
}

[dir="rtl"] .sellers-hero::before {
    right: auto;
    left: -80px;
}

[dir="rtl"] .sellers-hero::after {
    left: auto;
    right: -60px;
}

[dir="rtl"] .sellers-search-icon {
    right: 18px;
    left: auto;
}

[dir="rtl"] .sellers-search-clear {
    left: auto;
    right: 14px;
}

[dir="rtl"] .sellers-search-input {
    padding: 0 48px 0 48px;
}

[dir="rtl"] .sellers-stat-item i {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .seller-cta-btn i {
    transform: scaleX(-1);
}

@media (max-width: 1199.98px) {
    .sellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .sellers-hero {
        padding: 48px 0 64px;
    }

    .sellers-hero-title {
        font-size: 2rem;
    }

    .sellers-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .sellers-hero-search {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .sellers-hero {
        padding: 36px 0 48px;
    }

    .sellers-hero-title {
        font-size: 1.7rem;
    }

    .sellers-hero-subtitle {
        font-size: 0.95rem;
    }

    .sellers-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .sellers-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sellers-sort-wrap {
        margin-right: 0;
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    [dir="rtl"] .sellers-sort-wrap {
        margin-left: 0;
    }

    .sellers-sort-select {
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .seller-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .sellers-stats-row {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .sellers-hero-search {
        width: 100%;
    }

    .sellers-empty-state,
    .sellers-no-results {
        padding: 3rem 1.5rem;
    }

    .sellers-empty-icon {
        font-size: 2.8rem;
    }
}


/* --- Merged from: seller_details.css --- */
/* =================================================================
   SELLER_DETAILS.CSS — Seller Detail Page Specific Styles
   Depends on base.css + product-card.css being loaded first.
   No root variables or body/container rules (already in base.css).
   ================================================================= */

/* ================= SELLER HERO ================= */

.seller-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1a2744 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.seller-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.12;
}

.seller-hero-blob--1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    top: -140px;
    left: -100px;
}

.seller-hero-blob--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #60a5fa, transparent 70%);
    bottom: -80px;
    right: -60px;
    opacity: 0.08;
}

.seller-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.seller-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.seller-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.seller-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.seller-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

[dir="rtl"] .seller-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* ================= PROFILE CARD ================= */

.seller-profile-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* ================= AVATAR ================= */

.seller-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.seller-avatar-img,
.seller-avatar-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 131, 34, 0.2);
    object-fit: cover;
    display: block;
}

.seller-avatar-placeholder {
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
}

.seller-verified-dot {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    background: #1d9bf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    border: 2px solid #0f172a;
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.4);
}

[dir="rtl"] .seller-verified-dot {
    left: auto;
    right: 4px;
}

/* ================= PROFILE INFO ================= */

.seller-profile-info {
    flex: 1;
    min-width: 0;
}

.seller-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.seller-verified-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(29, 155, 240, 0.2);
    color: #60b4f8;
    border: 1px solid rgba(29, 155, 240, 0.35);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ================= RATING STARS ================= */

.seller-stars {
    display: flex;
    gap: 2px;
}

.star-filled {
    color: #fbbf24;
    font-size: 1rem;
}

.star-empty {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
}

.seller-rate-num {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1rem;
}

.seller-rate-max {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.seller-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    max-width: 640px;
}

/* ================= META CHIPS ================= */

.seller-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.seller-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.seller-chip i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ================= STATS GRID ================= */

.seller-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
    min-width: 110px;
    justify-content: center;
}

[dir="rtl"] .seller-stats-grid {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-left: 2rem;
}

.seller-stat-item {
    text-align: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.seller-stat-item:last-child {
    border-bottom: none;
}

.seller-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.seller-stat-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seller-sidebar {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 1.25rem;
}

.seller-sidebar-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-soft);
    display: flex;
    align-items: center;
}

.seller-sidebar-title i {
    color: var(--primary-color);
}

.seller-cat-btn {
    border: none !important;
    border-radius: 12px !important;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.88rem;
    background: transparent;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    text-align: right;
    width: 100%;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
}

[dir="rtl"] .seller-cat-btn {
    text-align: right;
}

.seller-cat-btn:hover {
    background: #fff7ef !important;
    color: var(--primary-dark) !important;
    transform: translateX(-5px);
    box-shadow: inset 0 0 0 1px rgba(245, 131, 34, 0.18);
}

[dir="rtl"] .seller-cat-btn:hover {
    transform: translateX(5px);
}

.seller-cat-btn.active,
.seller-cat-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px var(--glow);
    transform: none !important;
}

.cat-thumb {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 8px;
    margin-right: 0;
}

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

.cat-count-badge {
    margin-right: auto;
    margin-left: 0;
    background: rgba(245, 131, 34, 0.12);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 8px;
    min-width: 24px;
    text-align: center;
}

[dir="rtl"] .cat-count-badge {
    margin-right: 0;
    margin-left: auto;
}

.seller-cat-btn.active .cat-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.sd-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(8px);
    box-shadow: var(--card-shadow);
    flex-wrap: wrap;
}

/* Search inside toolbar */

.sd-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.sd-search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

[dir="rtl"] .sd-search-icon {
    right: 12px;
    left: auto;
}

.sd-search-input {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    padding: 7px 36px 7px 36px;
    font-size: 0.88rem;
    background: var(--surface-soft);
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.sd-search-input:focus {
    border-color: rgba(245, 131, 34, 0.45);
    box-shadow: 0 0 0 3px rgba(245, 131, 34, 0.1);
}

.sd-search-clear {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 2px 5px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease;
}

[dir="rtl"] .sd-search-clear {
    left: 10px;
    right: auto;
}

.sd-search-clear:hover {
    color: #ef4444;
}

/* Sort select */

.sd-sort-wrapper {
    position: relative;
    flex-shrink: 0;
}

.sd-sort-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

[dir="rtl"] .sd-sort-icon {
    right: 10px;
    left: auto;
}

.sd-sort-select {
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    padding: 7px 30px 7px 16px;
    font-size: 0.85rem;
    background: var(--surface-soft);
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    outline: none;
    transition: border-color 0.2s ease;
}

[dir="rtl"] .sd-sort-select {
    padding: 7px 16px 7px 30px;
}

.sd-sort-select:focus {
    border-color: rgba(245, 131, 34, 0.45);
}

/* Counter */

.sd-product-counter {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.sd-product-counter #sdVisibleCount {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ================= PRODUCT WRAPPER (for filtering) ================= */

.product-item {
    display: contents; /* grid layout'u bozmaz */
}

.product-item.hidden {
    display: none;
}

/* ================= EMPTY / NO RESULTS STATES ================= */

.sd-empty-state,
.sd-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px dashed var(--border-soft);
}

.sd-empty-icon {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.sd-empty-title {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.sd-empty-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.sd-empty-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sd-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow);
    color: #fff;
}

.product-card[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
}

.product-card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card.reveal-done {
    opacity: 1 !important;
    transform: none !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}

.product-card.reveal-done:hover {
    transform: translateY(-8px) !important;
}

[dir="rtl"] .seller-profile-card {
    flex-direction: row;
}

[dir="rtl"] .seller-stats-grid {
    order: -1;
}

@media (max-width: 991.98px) {
    .seller-stats-grid {
        flex-direction: row;
        border-right: none;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-left: 0;
        padding-top: 1rem;
        width: 100%;
        min-width: unset;
    }

    [dir="rtl"] .seller-stats-grid {
        border-left: none;
        padding-left: 0;
    }

    .seller-stat-item {
        flex: 1;
        border-bottom: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }

    [dir="rtl"] .seller-stat-item {
        border-left: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .seller-stat-item:first-child {
        border-left: none;
    }

    [dir="rtl"] .seller-stat-item:first-child {
        border-right: none;
    }

    .seller-profile-card {
        flex-wrap: wrap;
    }

    .seller-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .seller-hero {
        padding: 2.5rem 0 2rem;
    }

    .seller-profile-card {
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .seller-avatar-img,
    .seller-avatar-placeholder {
        width: 90px;
        height: 90px;
    }

    .seller-name {
        font-size: 1.4rem;
    }

    .seller-description {
        font-size: 0.88rem;
    }

    .sd-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .sd-sort-wrapper {
        width: 100%;
    }

    .sd-sort-select {
        width: 100%;
    }

    .seller-stat-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .seller-hero {
        padding: 2rem 0 1.5rem;
    }

    .seller-meta-chips {
        gap: 6px;
    }

    .seller-chip {
        font-size: 0.75rem;
        padding: 3px 9px;
    }
}


/* --- Merged from: style.css --- */
:root {
    --primary-color: #f58322;
    --primary-dark: #d46812;
    --secondary-color: #0f172a;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-soft: rgba(15, 23, 42, 0.08);
    --glow: rgba(245, 131, 34, 0.25);
    --card-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --card-shadow-hover: 0 22px 46px rgba(15, 23, 42, 0.14);

    /* navbar */

    --nav-bg: rgba(255, 255, 255, 0.92);
    --accent-orange: #f58322;
    --accent-dark: #d46812;
    --nav-text: #0f172a;

}

/* ================= BODY ================= */

/* ================= GENERAL ================= */

/* ================= SIDEBAR ================= */

.list-group-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
    font-weight: 500;
    background: transparent;
    transition: all .25s ease;
}

.list-group-item:hover,
.list-group-item:focus {
    background: #fff7ef !important;
    color: var(--primary-dark) !important;
    transform: translateX(5px);
    box-shadow:
        inset 0 0 0 1px rgba(245, 131, 34, .18);
}

/* ================= PRODUCT CARD ================= */

.product-card {
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: linear-gradient(180deg,
            #fff 0%,
            #fdfefe 100%);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    position: relative;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color:
        rgba(245, 131, 34, .26);
    box-shadow:
        var(--card-shadow-hover);
}

/* ================= IMAGES ================= */

.card-img-container {
    height: 220px;
    padding: 1rem;
    background:
        linear-gradient(180deg,
            #fffdf9 0%,
            #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom:
        1px solid rgba(15, 23, 42, .06);
}

.card-img-top {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 6px 12px rgba(15, 23, 42, .1));
    transition:
        transform .35s ease;
}

.navbar {
    background-color: var(--nav-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    padding: 0.8rem 0;
    box-shadow:
        0 4px 20px rgba(15, 23, 42, .06);
}

.nav-link {
    color: var(--nav-text) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: color .25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color:
        var(--accent-orange);
    transition: width .25s ease;
}

.search-input {
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: .9rem;
    padding-left: 20px;
    padding-right: 45px;
}

.btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    background:
        linear-gradient(135deg,
            var(--accent-orange),
            #ff9f4a);
    border: none;
    color: white;
    padding: 4px 12px;
    font-size: .8rem;
}

.main-footer {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 100%);
    border-top:
        1px solid rgba(15, 23, 42, .08);
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
    color: #334155;
}

.footer-text {
    color: #64748b;
    line-height: 1.7;
    font-size: .95rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: all .25s ease;
    font-size: .95rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border:
        1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all .25s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #f58322;
    color: white;
    transform: translateY(-3px);
    box-shadow:
        0 10px 18px rgba(245, 131, 34, .24);
}

@media (max-width: 575.98px) {
    .footer-brand {
        font-size: 1.3rem;
    }

    .footer-text,
    .footer-links a {
        font-size: 0.9rem;
    }
}

[dir="rtl"] .category-title {
    padding-left: 0;
    padding-right: .65rem;
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

@media(max-width:992px) {

    .category-sidebar {
        position: static;
    }
}

@media(max-width:991.98px) {
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .card-img-container {
        height: 180px;
    }
}

@media(max-width:575.98px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        padding: 1rem;
        border-radius: 14px;
    }

    .price-text {
        font-size: 1rem;
    }
}

.product-card-big {
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.product-image-container {
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.45s ease;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.12));
    aspect-ratio: 1 / 1;
}

.product-image:hover {
    transform: scale(1.04);
}

.product-category {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: block;
}

.product-title {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.product-description {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-buy {
    background-color: var(--text-main);
    color: white;
    border-radius: 14px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(245, 132, 39, 0.26);
    color: white;
}

.badge-stock {
    background-color: #dcfce7;
    color: #166534;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-no-stock {
    background-color: #bb0e0e;
    color: #dcfce7;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
}

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

[dir="rtl"] .product-category {
    letter-spacing: 0;
}

@media (max-width: 991.98px) {
    .product-title {
        font-size: 2rem;
    }

    .product-image-container {
        padding: 24px;
    }

    .col-md-6.product-image-container {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border-soft);
    }
}

@media (max-width: 767.98px) {
    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .product-title {
        font-size: 1.7rem;
    }

    .product-description {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .card-body.p-4.p-lg-5 {
        padding: 1.2rem !important;
    }

    .price-tag {
        font-size: 1.6rem;
    }

    .btn-buy {
        width: 100%;
        padding: 12px 20px;
    }

    .d-flex.align-items-center.justify-content-between.flex-wrap.gap-3 {
        gap: 0.75rem !important;
    }
}

.about-header {
    background: linear-gradient(125deg, #0f172a 0%, #1e293b 60%, #334155 100%);
    color: white;
    padding: 84px 0;
    margin-bottom: 52px;
    border-radius: 0 0 42px 42px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.about-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
}

[dir="rtl"] .about-header {
    border-radius: 0 0 42px 42px;
    text-align: right;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    color: #ccc;
}

@media (max-width: 767.98px) {
    .about-header {
        padding: 56px 0 48px;
        border-radius: 0 0 30px 30px;
        margin-bottom: 32px;
    }

    .about-card {
        padding: 22px;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .fs-5 {
        font-size: 1rem !important;
    }
}

.pricing-header {
    padding: 80px 0 56px;
    text-align: center;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 38px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(7px);
}

.pricing-card.featured {
    border-color: rgba(245, 131, 34, 0.5);
    box-shadow: 0 24px 44px rgba(245, 131, 34, 0.18);
    transform: translateY(-6px);
    z-index: 1;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
}

.price-currency {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #10b981;
}

.btn-pricing {
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
}

[dir="rtl"] .feature-list li {
    text-align: right;
    flex-direction: row-reverse;
}

@media (max-width: 991.98px) {
    .pricing-header {
        padding: 56px 0 30px;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .pricing-card {
        padding: 24px;
        border-radius: 18px;
    }

    .price-amount {
        font-size: 2.4rem;
    }

    .feature-list {
        margin: 22px 0;
    }
}

@media (max-width: 575.98px) {
    .display-5 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-pricing {
        width: 100%;
    }
}

.seller-card-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ================= NAV AUTH BUTTONS ================= */

/* Genel auth buton stili */

/* Login butonu */

/* Register butonu */

/* Logout butonu */

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {

    /* Hover animasyonu mobilde biraz yumuşatılabilir */
    .btn-login:hover,
    .btn-register:hover,
    .btn-logout:hover {
        transform: none;
        box-shadow: none;
    }

    /* Eğer simge ile biraz boşluk istersek (opsiyonel) */
    .btn-auth i::after {
        content: '';
    }

    /* Logo ve auth buttons aynı hizada */
    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        /* alt satıra geçişe izin */
        align-items: center;
        justify-content: space-between;
    }

    /* Logo her zaman solda (RTL sayfa: sağda) */
    

    /* Search bar collapsible yap */
    .search-container {
        flex-basis: 100%;
        margin-top: 8px;
    }

    /* Auth buttons inline, sadece ikon görünür */
    .auth-buttons .btn-text {
        display: none;
    }

    .auth-buttons {
        /* Removed order */
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .btn-text {
        display: none;
        /* Mobilde sadece ikon */
    }

    .btn-auth {
        padding: 6px 8px;
        font-size: 0;
    }

    .btn-auth i {
        font-size: 1.2rem;
    }

    /* Desktop hover animasyonlarını kaldır */
    .btn-auth:hover {
        transform: none;
        box-shadow: none;
    }


}

/* ================= SUB NAVBAR 4 COL ================= */

.navbar-sub {
    background: var(--surface);
    /* veya istediğin renk */
    border-bottom: 1px solid var(--border-soft);
}

.navbar-sub .nav-4col {
    display: flex;
    justify-content: space-between;
    /* 4 sütunu eşit yayar */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-sub .nav-4col .nav-item {
    flex: 1;
    /* her sütun eşit genişlik */
    text-align: center;
    /* linki ortala */
}

.navbar-sub .nav-4col .nav-link {
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.25s ease;
}

@media (max-width: 768px) {
    .navbar-sub .nav-4col .nav-link {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

.navbar-sub {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
}

/* Desktop: normal 4-col */

.navbar-sub .nav-4col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-sub .nav-4col .nav-link {
    display: block;
    padding: 3px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.25s ease;
}

/* ================= MOBILE COLLAPSE ================= */

@media (max-width: 768px) {

    /* Başlangıçta navbar gizli, sadece ok görünür */
    .navbar-sub .nav-4col {
        display: none;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0;
        scrollbar-width: thin;
        /* Firefox */
    }

    /* scrollbar görünüm opsiyonel */
    .navbar-sub .nav-4col::-webkit-scrollbar {
        height: 6px;
    }

    .navbar-sub .nav-4col::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }



    .navbar-sub .navbar-toggler:focus {
        outline: none;
    }

    /* Açık durum class ile göster */
    .navbar-sub .nav-4col.show {
        display: flex;
    }

    .navbar-sub .nav-4col .nav-link {
        padding: 2px 0;
        /* daha kısa yap */
        font-size: 0.95rem;
        /* gerekirse font küçült */
    }
}

@media (max-width: 768px) {
    .navbar-sub .nav-4col {
        padding: 4px 0;
        /* dikey boşluk minimal */
    }

}

.navbar-sub {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.navbar-sub .nav-4col .nav-link {
  display: block;
  padding: .52rem 0 !important;
  font-size: 1rem;
  border-radius: 0;
}


/* --- Merged from: partials\_category-sidebar.css --- */
/* =================================================================
   CATEGORY-SIDEBAR.CSS — Partial: _category-sidebar.html
   Styles exclusive to the category sidebar component.
   Depends on base.css being loaded first.
   ================================================================= */

/* ================= SIDEBAR SEARCH ================= */

.sidebar-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.sidebar-search-input {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 0.5rem 0.85rem 0.5rem 2.4rem;
    font-size: 0.875rem;
    background: var(--surface-soft);
    color: var(--text-main);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

[dir="rtl"] .sidebar-search-input {
    padding-left: 0.85rem;
    padding-right: 2.4rem;
}

.sidebar-search-input:focus {
    border-color: rgba(245, 131, 34, 0.45);
    box-shadow: 0 0 0 3px rgba(245, 131, 34, 0.1);
    background: #fff;
}

.sidebar-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

[dir="rtl"] .sidebar-search-icon {
    left: auto;
    right: 0.75rem;
}

/* ================= SIDEBAR CATEGORY COUNT BADGE ================= */

.category-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: auto;
    transition: background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

[dir="rtl"] .category-count-badge {
    margin-right: 0;
    margin-left: auto;
}

.list-group-item.active .category-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: transparent;
}

/* ================= NO RESULTS MESSAGE ================= */

.sidebar-no-results {
    display: none;
    padding: 1rem 0.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.sidebar-no-results.visible {
    display: block;
}

/* ================= LIST ITEM LAYOUT ================= */

.list-group-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.list-group-item-icon {
    font-size: 0.88rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.list-group-item-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* --- Merged from: partials\_footer.css --- */
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn-become-seller {
    min-width: 135px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.25s ease;
    text-decoration: none;
    padding: 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-become-seller:hover {
    background: #f58322;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(245, 131, 34, 0.24);
    text-decoration: none;
}

.btn-become-seller:active {
    transform: translateY(-1px);
}

.btn-become-seller i {
    font-size: 1.25rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

[dir="rtl"] .btn-become-seller i {
    margin-left: 0;
    margin-right: 10px;
}

.btn-become-seller:hover i {
    transform: rotate(-10deg) scale(1.1);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
    .btn-become-seller {
        width: 100%;
        margin-top: 0.5rem;
    }
}


/* --- Merged from: partials\_navbar.css --- */
/* =================================================================
   NAVBAR.CSS — Partial: _navbar.html
   Styles exclusive to the navbar component.
   Depends on base.css being loaded first.
   ================================================================= */

/* ================= SELLER PANEL BUTTON ================= */

.btn-seller-panel {
    background: linear-gradient(135deg, #f58322 0%, #d46812 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
    text-decoration: none;
}

.btn-seller-panel:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a53be 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
    transform: translateY(-1px);
}

.btn-seller-panel:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.2);
}

.btn-seller-panel i {
    font-size: 0.9rem;
}

/* ================= USER PANEL BUTTON ================= */

.btn-user-panel {
    background: linear-gradient(135deg, #f58322 0%, #d46812 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 131, 34, 0.28);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer line on top */

.btn-user-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: inherit;
}

.btn-user-panel:hover {
    background: linear-gradient(135deg, #d46812 0%, #b55a0f 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(245, 131, 34, 0.42);
    transform: translateY(-1px);
}

.btn-user-panel:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(245, 131, 34, 0.22);
}

.btn-user-panel i {
    font-size: 1rem;
}

/* ================= PANEL NOTIFICATION BADGE ================= */

.btn-seller-panel,
.btn-user-panel {
    position: relative;
}

.nav-panel-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    border: 1.5px solid #fff;
}

[dir="rtl"] .nav-panel-badge {
    right: auto;
    left: -5px;
}

/* ================= CART ICON BADGE ================= */

.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: white;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.nav-cart-btn:hover {
    background: var(--surface-soft);
    color: var(--primary-color);
    border-color: rgba(245, 131, 34, 0.3);
}

.nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

[dir="rtl"] .nav-cart-badge {
    right: auto;
    left: -5px;
}

/* ================= WISHLIST ICON BADGE ================= */

.nav-wishlist-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: white;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.nav-wishlist-btn:hover {
    background: var(--surface-soft);
    color: var(--primary-color);
    border-color: rgba(245, 131, 34, 0.3);
}

.nav-wishlist-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

[dir="rtl"] .nav-wishlist-badge {
    right: auto;
    left: -5px;
}

/* ================= ACTIVE NAV LINK ================= */

.navbar-sub .nav-4col .nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
}

.navbar-sub .nav-4col .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

@media (max-width: 991.98px) {

    /* Keep everything on one line */
    .navbar-main .container {
        flex-wrap: nowrap;
    }

    /* Form and search width constraints to prevent breaking to the next line */
    .search-container {
        max-width: none;
        flex: 1 1 auto;
    }

    /* Seller panel — mobile/tablet: sadece ikon */
    .btn-seller-panel .btn-text {
        display: none;
    }

    .btn-seller-panel {
        padding: 8px 10px;
        border-radius: 10px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-seller-panel i {
        margin: 0;
        font-size: 1rem;
    }

    /* User panel — mobile/tablet: sadece ikon */
    .btn-user-panel .btn-text {
        display: none;
    }

    .btn-user-panel {
        padding: 8px 10px;
        border-radius: 10px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-user-panel i {
        margin: 0;
        font-size: 1.05rem;
    }

    /* Auth buttons (Login/Register/Logout) — mobile/tablet: sadece ikon */
    .btn-auth .btn-text {
        display: none;
    }

    .btn-auth {
        padding: 8px 10px;
        border-radius: 10px;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-auth i {
        margin: 0;
        font-size: 1.05rem;
    }
}


/* --- Merged from: partials\_product-card.css --- */
/* =================================================================
   PRODUCT-CARD.CSS — Shared Product Card Styles
   Used on every page that includes _product-card.html partial.
   Depends on base.css being loaded first.
   ================================================================= */

/* ================= CARD LINK WRAPPER ================= */

.product-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ================= BADGES CONTAINER ================= */

.card-badges {
    position: absolute;
    top: 10px;
    right: 10px;           /* RTL: top-right */
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

[dir="ltr"] .card-badges {
    right: auto;
    left: 10px;
}

/* ================= DISCOUNT BADGE ================= */

.badge-discount {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #ff9f4a);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(245, 131, 34, 0.35);
    white-space: nowrap;
}

/* ================= STOCK BADGES ================= */

.badge-stock {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Out of stock */

.badge-out {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Last item */

.badge-last {
    background-color: #fef9c3;
    color: #92400e;
}

/* Running low (< 5) */

.badge-low {
    background-color: #ffedd5;
    color: #c2410c;
}

/* ================= IMAGE CONTAINER & OVERLAY ================= */

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 0;          /* parent clips */
}

.product-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-btn {
    background: #fff;
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, color 0.25s ease;
    pointer-events: none;      /* card link handles click */
}

.product-card:hover .overlay-btn {
    background: var(--primary-color);
    color: #fff;
}

/* ================= STAR RATING ================= */

.card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.78rem;
}

.star-empty {
    color: #cbd5e1;
}

.rating-value {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
    margin-left: 4px;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Original price (crossed out) */

.price-original {
    font-size: 0.82rem;
    color: #ef4444;
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.2;
}

/* Discounted price */

.price-discounted {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.08rem;
    font-variant-numeric: tabular-nums;  /* keep digit widths stable */
    font-feature-settings: "tnum";
}

/* Currency label beside discounted price */

.price-currency {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ================= SELLER INFO ================= */

.card-seller {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.seller-icon {
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.seller-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-icon {
    color: #1d9bf0;
    font-size: 0.88rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(29, 155, 240, 0.35));
}

/* ================= KEYBOARD FOCUS ================= */

.card-focused {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Shared — works on index, category, search, seller pages */

.product-card[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

.product-card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* After reveal: restore normal hover */

/* ================= MOBILE CATEGORY MENU (OFFCANVAS) ================= */

.mobile-category-header .transition-icon {
    transition: transform 0.3s ease;
}

.mobile-category-header[aria-expanded="true"] {
    background-color: #f8f9fa;
}

.mobile-category-header[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.mobile-subcat-item {
    transition: background-color 0.2s ease;
}

.mobile-subcat-item:active {
    background-color: #dee2e6 !important;
}

.bg-primary-soft {
    background-color: rgba(245, 131, 34, 0.1); /* Primary color with transparency */
}

/* ================= FOOTER OVERLAP FIX ================= */

@media (max-width: 991.98px) {
    .main-footer {
        padding-bottom: 95px !important; /* Ensure footer clear bottom navbar completely */
    }
    .carousel-controls {
        display: none !important; /* Hide arrows on mobile as per request */
    }
}

/* ================= MULTI-LEVEL CATEGORY MENU (SLIDING) ================= */

.mobile-nav-container {
    position: relative;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
}

.nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 1;
    overflow-y: auto;
}

/* Hide inactive panels */
.nav-panel.hidden-right {
    transform: translateX(100%); /* Slide to right (in RTL this moves to left) */
    opacity: 0;
    pointer-events: none;
}

.nav-panel.hidden-left {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-panel.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
}

/* Category Item Styling */
.nav-category-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    text-decoration: none !important;
    color: var(--text-main);
    transition: background-color 0.2s;
}

.nav-category-item:active {
    background-color: var(--surface-soft);
}

.nav-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 1rem;
    flex-shrink: 0;
}

.nav-icon-box i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-category-name {
    font-weight: 600;
    font-size: 0.95rem;
    flex-grow: 1;
}

.nav-chevron {
    color: #cbd5e1;
    font-size: 0.8rem;
}

/* Header Styling within Panels */
.nav-panel-header {
    padding: 1.25rem;
    border-bottom: 2px solid var(--surface-soft);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.view-all-link {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--surface-soft);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-soft);
}

