@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --primary: #5e17eb;
    --primary-dark: #3b0086;
    --primary-light: #f3ecff;
    --secondary: #12b76a;
    --secondary-dark: #097d44;
    --secondary-light: #edfcf2;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --dark: #0f172a;
    --gray-600: #475569;
    --gray-400: #94a3b8;
    --gray-100: #f1f5f9;
    --light: #f8f9fd;
    --white: #ffffff;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(94, 23, 235, 0.08), 0 4px 6px -4px rgba(94, 23, 235, 0.08);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Typography & Links */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    font-weight: 500;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--white);
}

.navbar-brand img {
    height: 48px;
}

.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

.category-bar {
    background-color: var(--primary);
    padding: 6px 0;
}

.category-bar a {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.category-bar a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Vertical Categories Sidebar */
.category-sidebar-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.category-sidebar-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-sidebar-list {
    max-height: max-content;
    overflow-y: auto;
}

.logo {
    width: 170px;
}

@media screen and (max-width:992px) {
    .logo {
        width: 112px;
    }
}


/* Custom Scrollbar for Category Sidebar */
.category-sidebar-list::-webkit-scrollbar {
    width: 6px;
}

.category-sidebar-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.category-sidebar-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.category-sidebar-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.category-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.category-sidebar-item:last-child {
    border-bottom: none;
}

.category-sidebar-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 24px;
}

.category-sidebar-item i.fa-chevron-right {
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.category-sidebar-item:hover i.fa-chevron-right {
    color: var(--primary);
    transform: translateX(3px);
}

/* Category Badges */
.badge-cat-sale {
    background-color: #ef4444;
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 50px;
    font-weight: 700;
}

.badge-cat-new {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 50px;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f0ff 0%, #edf2ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 14px rgba(94, 23, 235, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 23, 235, 0.6);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white) !important;
    border-color: var(--whatsapp);
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Trust Badges Card */
.trust-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 16px auto;
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    background-color: var(--primary);
    color: var(--white);
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background-color: #ef4444;
    color: var(--white);
}

.badge-featured {
    background-color: var(--primary);
    color: var(--white);
}

.badge-popular {
    background-color: #f59e0b;
    color: var(--white);
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: #fafafa;
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    font-weight: 700;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--dark);
}

.product-title a:hover {
    color: var(--primary);
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.price-wrapper {
    margin-top: auto;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.old-price {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-action-view {
    padding: 10px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
}

.btn-action-wa {
    background-color: var(--whatsapp);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-action-wa:hover {
    background-color: var(--whatsapp-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Why Us Section */
.why-us-bg {
    background-color: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 80px 0;
}

/* Review Cards */
.review-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

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

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.review-verified {
    font-size: 0.75rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    font-style: italic;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--gray-100) !important;
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 700;
    color: var(--dark) !important;
    padding: 20px 24px;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 24px;
    color: var(--gray-600);
    line-height: 1.7;
    background-color: var(--white);
}

/* Product Detail Page Styles */
.product-detail-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.detail-img-container {
    background-color: #fafafa;
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    position: relative;
}

.detail-img-container img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.detail-badge-sale {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ef4444;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.detail-meta-list {
    list-style: none;
    padding: 0;
}

.detail-meta-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.detail-meta-list li i {
    color: var(--primary);
}

.order-box {
    background-color: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 30px;
}

/* Contact Info Box */
.contact-info-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-dark);
    color: var(--white);
    transform: scale(1.1);
}

.whatsapp-badge-side {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: var(--whatsapp);
    color: var(--white);
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    z-index: 998;
    box-shadow: -2px -4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.whatsapp-badge-side:hover {
    background-color: var(--whatsapp-dark);
    padding-bottom: 16px;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer styling */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
    border-top: 5px solid var(--primary);
}

footer h5 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 12px;
}

footer a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive details */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }

    .hero-section img {
        margin-top: 40px;
        max-width: 80%;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .whatsapp-badge-side {
        display: none;
        /* Hide side badge on mobile to avoid overlapping content */
    }
}

/* --- Premium Mobile Header & Offcanvas Drawer Upgrades --- */

/* Scrolling Ticker for Mobile */
.mobile-ticker-container {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #4c11c5 100%);
    color: var(--white);
    font-size: 0.75rem;
    padding: 6px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.mobile-ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-slide 22s linear infinite;
    padding-left: 100%;
}

.mobile-ticker-text span {
    margin-right: 40px;
    font-weight: 600;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Mobile Viewport Header Adjustments */
@media (max-width: 991.98px) {
    header.bg-white {
        padding: 10px 0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        position: sticky;
        top: 0;
        z-index: 999;
    }

    header.bg-white .btn-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-light);
        color: var(--primary) !important;
        border-radius: 50%;
        transition: var(--transition);
    }

    header.bg-white .btn-link:hover {
        background-color: var(--primary);
        color: var(--white) !important;
    }
}

/* Premium Offcanvas Drawer Styles */
#mobileMenuOffcanvas {
    border-right: none;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    width: 320px;
}

#mobileMenuOffcanvas .offcanvas-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}

#mobileMenuOffcanvas .offcanvas-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

#mobileMenuOffcanvas .offcanvas-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mobileMenuOffcanvas .offcanvas-title i {
    color: var(--white) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#mobileMenuOffcanvas .btn-close {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-size: 10px;
}

#mobileMenuOffcanvas .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.offcanvas-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--secondary);
    animation: status-pulse 1.8s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(18, 183, 106, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(18, 183, 106, 0);
    }
}

/* Offcanvas custom WhatsApp callout */
.offcanvas-wa-banner {
    background-color: var(--whatsapp-dark);
    color: var(--white);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.offcanvas-wa-banner:hover {
    background-color: #0b665c;
    color: var(--white);
}

.offcanvas-wa-banner i {
    font-size: 1.2rem;
    animation: bounce-horizontal 1.5s infinite;
}

@keyframes bounce-horizontal {

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

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

#mobileMenuOffcanvas .list-group-item {
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

#mobileMenuOffcanvas .list-group-item:hover {
    background-color: var(--primary-light) !important;
    border-left-color: var(--primary);
    padding-left: 24px;
}

#mobileMenuOffcanvas .list-group-item.text-danger:hover {
    background-color: #fff1f2 !important;
    border-left-color: #ef4444;
}

#mobileMenuOffcanvas .list-group-item.text-primary:hover {
    background-color: var(--primary-light) !important;
    border-left-color: var(--primary);
}

#mobileMenuOffcanvas .list-group-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

#mobileMenuOffcanvas .list-group-item:hover i {
    color: var(--primary) !important;
}

#mobileMenuOffcanvas .list-group-item.text-danger i {
    color: #ef4444 !important;
}

#mobileMenuOffcanvas .list-group-item.text-primary i {
    color: var(--primary) !important;
}

/* Products Page (Urunler.html) Filter System */
.filter-search-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.product-count-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    transition: var(--transition);
}

.search-input-wrapper input {
    padding-left: 45px;
    border-radius: 50px;
    background-color: var(--light);
    border-color: var(--gray-100);
    font-weight: 500;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(94, 23, 235, 0.1);
}

.search-input-wrapper input:focus+i {
    color: var(--primary);
}

.sort-select-wrapper select {
    border-radius: 50px;
    background-color: var(--light);
    border-color: var(--gray-100);
    font-weight: 600;
    color: var(--dark);
    padding-left: 20px;
    padding-right: 40px;
    height: 46px;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(94, 23, 235, 0.1);
}

.no-products-found {
    padding: 40px;
    text-align: center;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px dashed var(--gray-400);
}

/* Rotates mobile categories button chevron when expanded */
button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

/* User Account Modal & Dashboard Custom Styles */
.account-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-bottom: none;
}
.account-modal-header .btn-close {
    filter: brightness(0) invert(1);
}
.account-modal-body {
    padding: 1.5rem;
}
.account-nav-tabs {
    border-bottom: 2px solid var(--gray-100);
}
.account-nav-link {
    color: var(--gray-600);
    font-weight: 600;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}
.account-nav-link:hover {
    color: var(--primary);
}
.account-nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: transparent;
}
.avatar-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 10px;
}
.order-card {
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    padding: 15px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.order-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}
.order-badge-shipped {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 50px;
}
.order-badge-delivered {
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 50px;
}
.header-profile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary) !important;
    border: 1px solid transparent;
    transition: var(--transition);
}
.header-profile-btn:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}