/*
 * Layout CSS for E-commerce Laravel Application
 * Contains all styling for the main application layout
 */

:root {
    --primary-color: #1f3f62;
    --secondary-color: #f8f9fa;
    --accent-color: #fd4a5a;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e9ecef;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}

/* ================================
   GLOBAL CONTAINER ALIGNMENT
   ================================ */

/* Ensure all containers are vertically aligned */
.container,
.container-fluid > .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure header container aligns with content sections */
.navbar-custom .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure all section containers align */
.popular-products-section .container,
.tp-product-area .container,
.tp-slider-area .container,
.testimonials-area .container,
.tp-follow-area .container,
.shop-hero .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive container alignment */
@media (max-width: 1199.98px) {
    .container,
    .navbar-custom .container,
    .popular-products-section .container,
    .tp-product-area .container,
    .tp-slider-area .container,
    .testimonials-area .container,
    .tp-follow-area .container,
    .shop-hero .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 991.98px) {
    .container,
    .navbar-custom .container,
    .popular-products-section .container,
    .tp-product-area .container,
    .tp-slider-area .container,
    .testimonials-area .container,
    .tp-follow-area .container,
    .shop-hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575.98px) {
    .container,
    .navbar-custom .container,
    .popular-products-section .container,
    .tp-product-area .container,
    .tp-slider-area .container,
    .testimonials-area .container,
    .tp-follow-area .container,
    .shop-hero .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

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

.navbar-custom {
    background: #ffffff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ================================
   BRAND/LOGO STYLES
   ================================ */

.navbar-brand {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transform: scale(1.05);
}

/* ================================
   NAVIGATION LINKS
   ================================ */

/* Override Tailwind CSS base styles */
.navbar .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    margin: 0 0.5rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 0.9rem !important;
}

/* Fallback for general nav-link class */
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    margin: 0 0.75rem !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 25px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 74, 90, 0.1), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar-nav .nav-link:hover {
    color: #EFB036 !important;
    background-color: rgba(239, 176, 54, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.2) !important;
    text-decoration: none !important;
}

.navbar .navbar-nav .nav-link.active,
.navbar-nav .nav-link.active {
    background: #EFB036 !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3) !important;
    text-decoration: none !important;
}

/* ================================
   HEADER ICONS CONTAINER
   ================================ */

.header-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ================================
   ICON BUTTONS
   ================================ */

.icon-btn {
    position: relative;
    color: var(--text-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.icon-btn:hover {
    color: white;
    background: #EFB036;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 176, 54, 0.3);
    border-color: #EFB036;
}

.icon-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ================================
   BADGE COUNTS
   ================================ */

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EFB036;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(239, 176, 54, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 6px rgba(239, 176, 54, 0.4); }
    50% { box-shadow: 0 2px 6px rgba(239, 176, 54, 0.6), 0 0 0 3px rgba(239, 176, 54, 0.1); }
    100% { box-shadow: 0 2px 6px rgba(239, 176, 54, 0.4); }
}

/* ================================
   DROPDOWN STYLES
   ================================ */

.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    transform: translateX(0);
    background: #ffffff !important;
}

/* Ensure dropdown doesn't go off-screen */
.header-icons .dropdown {
    position: relative;
}

.header-icons .user-dropdown .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    margin-top: 0.5rem;
}

.header-icons .language-dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    margin-top: 0.5rem;
}

.dropdown-menu {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    padding: 0.75rem 0 !important;
    margin-top: 0.5rem !important;
    min-width: 200px !important;
    animation: dropdownFadeIn 0.3s ease !important;
    z-index: 1050 !important;
}

/* Force white background on ALL dropdowns */
.dropdown-menu,
.navbar .dropdown-menu,
.navbar-custom .dropdown-menu,
.user-dropdown .dropdown-menu,
.language-dropdown .dropdown-menu,
.header-icons .dropdown-menu,
.header-icons .user-dropdown .dropdown-menu,
.header-icons .language-dropdown .dropdown-menu {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    margin: 0.2rem 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.dropdown-item.active {
    background: #EFB036;
    color: white;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3);
}

.dropdown-item:hover {
    background: rgba(239, 176, 54, 0.1);
    transform: translateX(5px);
    color: #EFB036;
}

.dropdown-item.active:hover {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* ================================
   LANGUAGE DROPDOWN
   ================================ */

.language-dropdown .dropdown-menu {
    min-width: 180px;
    left: 0;
    right: auto;
    background: #ffffff !important;
}

.language-dropdown .dropdown-toggle {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.language-dropdown .dropdown-toggle:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 74, 90, 0.3);
}

/* Prevent dropdown overflow */
.navbar-collapse {
    overflow: visible;
}

.dropdown {
    position: relative;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Specific positioning for different dropdowns */
.language-dropdown {
    position: relative;
}

.user-dropdown {
    position: relative;
}

/* Ensure proper stacking order */
.language-dropdown .dropdown-menu {
    z-index: 1051;
}

.user-dropdown .dropdown-menu {
    z-index: 1052;
}

/* ================================
   MOBILE NAVBAR TOGGLE
   ================================ */

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-toggler:hover {
    background: #EFB036;
    border-color: #EFB036;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3);
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(239, 176, 54, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 63, 98, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
    width: 1.5rem;
    height: 1.5rem;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transform: rotate(90deg);
}

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

.footer-custom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(67, 233, 123, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.footer-custom .container {
    position: relative;
    z-index: 2;
}

.footer-custom h5 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-custom h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.footer-custom h6 {
    color: #ecf0f1;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-custom h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 1px;
}

.footer-custom p {
    color: #bdc3c7;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(10px);
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 8px;
}

/* Social Media Icons */
.footer-links a[aria-label] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

/* Social Links Container - Force Horizontal Layout */
.footer-links:has(a[aria-label]) {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
}

/* Alternative approach for better browser support */
.footer-custom .col-lg-4:first-child .footer-links {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
}

.footer-links a[aria-label]:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-links a[aria-label="Facebook"]:hover {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    border-color: #1877f2;
}

.footer-links a[aria-label="Twitter"]:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    border-color: #1da1f2;
}

.footer-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #e4405f 0%, #f77737 50%, #fccc63 100%);
    border-color: #e4405f;
}

.footer-links a[aria-label="LinkedIn"]:hover {
    background: linear-gradient(135deg, #0077b5 0%, #0099d4 100%);
    border-color: #0077b5;
}

/* Contact Information Icons */
.footer-links .fas {
    color: #667eea;
    font-size: 1.1rem;
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.footer-links a[href^="tel:"],
.footer-links a[href^="mailto:"] {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer-links a[href^="tel:"]:hover,
.footer-links a[href^="mailto:"]:hover {
    color: #667eea;
    text-decoration: none;
}

/* Footer Bottom Section */
.footer-custom hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 3rem 0 2rem 0;
}

.footer-custom .row:last-child p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-custom .row:last-child .footer-links {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-custom .row:last-child .footer-links a {
    font-size: 0.85rem;
    color: #95a5a6;
    padding: 0;
}

.footer-custom .row:last-child .footer-links a:hover {
    transform: none;
    padding-left: 0;
    color: #ecf0f1;
}

.footer-custom .row:last-child .footer-links a::before {
    display: none;
}

/* Footer Responsive Design */
@media (max-width: 1199px) {
    .footer-custom {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-custom h5 {
        font-size: 1.6rem;
    }

    .footer-custom h6 {
        font-size: 1rem;
    }

    .footer-links a[aria-label] {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .footer-custom {
        padding: 3rem 0 1.5rem;
    }

    .footer-custom h5 {
        font-size: 1.5rem;
    }

    .footer-custom h6 {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .footer-custom p {
        font-size: 0.95rem;
    }

    .footer-links {
        gap: 0.7rem;
    }

    .footer-links a[aria-label] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.8rem;
    }
}

@media (max-width: 768px) {
    .footer-custom {
        padding: 2.5rem 0 1.5rem;
    }

    /* Only center the brand column (first column) */
    .footer-custom .col-lg-4:first-child {
        text-align: center;
    }

    .footer-custom .col-lg-4:first-child .footer-links {
        justify-content: center;
    }

    /* Keep other columns left-aligned */
    .footer-custom .col-lg-2 {
        text-align: left;
    }

    .footer-custom .col-lg-2 h6 {
        text-align: left;
    }

    .footer-custom .col-lg-2 .footer-links {
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-custom .col-lg-2 .footer-links div {
        text-align: left;
        width: 100%;
    }

    .footer-custom h5 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .footer-custom h6 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    .footer-custom h6:first-of-type {
        margin-top: 0;
    }

    .footer-custom h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-custom .col-lg-2 h6::after {
        left: 0;
        transform: none;
    }

    .footer-custom p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .footer-links {
        gap: 0.6rem;
        align-items: center;
    }

    .footer-links a:hover {
        transform: translateY(-2px);
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a[aria-label] {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        margin: 0 0.5rem 0.5rem 0.5rem;
    }

    .footer-custom .row:last-child {
        text-align: center;
    }

    .footer-custom .row:last-child .footer-links {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-custom {
        padding: 2rem 0 1rem;
    }

    .footer-custom h5 {
        font-size: 1.3rem;
    }

    .footer-custom h6 {
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }

    .footer-custom p {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-links a[aria-label] {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 0.3rem 0.5rem 0.3rem;
    }

    .footer-custom .row:last-child p {
        font-size: 0.8rem;
        text-align: center;
    }

    .footer-custom .row:last-child .footer-links a {
        font-size: 0.8rem;
    }
}

/* ================================
   CUSTOM BUTTONS
   ================================ */

.btn-primary-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #e63946;
    border-color: #e63946;
    transform: translateY(-1px);
}

/* ================================
   CATEGORIES SECTION STYLES
   ================================ */

.tp-category-area {
    position: relative;
    overflow: hidden;
}

.category-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 20px;
    padding: 2rem 1rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover .category-hover-bg {
    opacity: 1;
}

.category-card:hover .tp-category-title {
    color: white !important;
}

.category-card:hover .tp-category-icon {
    transform: translateY(-10px) scale(1.1);
    background: rgba(255,255,255,0.2) !important;
}

.category-card:hover svg {
    stroke: white !important;
    transform: scale(1.2);
}

.category-card:hover .badge {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tp-category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tp-category-icon svg {
    transition: all 0.4s ease;
}

.tp-category-title {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.4s ease;
    margin-bottom: 0.5rem;
}

/* View All Categories Button */
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 63, 98, 0.3);
}

/* ================================
   CATEGORIES SECTION
   ================================ */

.tp-category-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tp-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tp-category-item:hover .category-hover-bg {
    opacity: 1 !important;
}

.tp-category-item:hover .tp-category-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.tp-category-item:hover svg {
    transform: scale(1.2);
}

.tp-category-item:hover .tp-category-title {
    color: #fff !important;
}

.category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Categories responsive design */
@media (max-width: 1199px) {
    .tp-category-item {
        padding: 1.5rem 0.8rem;
        margin-bottom: 1rem;
    }

    .tp-category-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem !important;
    }

    .tp-category-icon svg {
        width: 35px;
        height: 35px;
    }

    .tp-category-title {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 991px) {
    .tp-category-item {
        padding: 1.2rem 0.6rem;
        border-radius: 15px !important;
    }

    .tp-category-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0.8rem !important;
    }

    .tp-category-icon svg {
        width: 30px;
        height: 30px;
    }

    .tp-category-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }

    .badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.8rem !important;
    }
}

@media (max-width: 767px) {
    .tp-category-item {
        padding: 1rem 0.5rem;
        border-radius: 12px !important;
        margin-bottom: 0.8rem;
    }

    .tp-category-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 0.6rem !important;
    }

    .tp-category-icon svg {
        width: 25px;
        height: 25px;
    }

    .tp-category-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }

    .badge {
        font-size: 0.6rem !important;
        padding: 0.25rem 0.6rem !important;
    }
}

@media (max-width: 575px) {
    .tp-category-item {
        padding: 0.8rem 0.4rem;
        border-radius: 10px !important;
    }

    .tp-category-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 0.5rem !important;
    }

    .tp-category-icon svg {
        width: 22px;
        height: 22px;
    }

    .tp-category-title {
        font-size: 0.75rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.2;
    }

    .badge {
        font-size: 0.55rem !important;
        padding: 0.2rem 0.5rem !important;
    }
}

/* ================================
   HERO SLIDER SECTION
   ================================ */

.tp-slider-area {
    background-color: #f8f9fa;
}

.tp-slider-bg {
    min-height: 500px;
    background-attachment: fixed !important;
}

.min-vh-50 {
    min-height: 50vh;
}

.tp-slider-title {
    word-wrap: break-word;
    hyphens: auto;
}

.btn-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-effect:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(253, 74, 90, 0.4) !important;
}

/* Hero Section Mobile Responsive */
@media (max-width: 991px) {
    .tp-slider-bg {
        min-height: 400px;
        background-attachment: scroll !important;
    }

    .tp-slider-title {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }

    .min-vh-50 {
        min-height: 400px;
        padding: 3rem 0 !important;
    }

    .tp-slider-content {
        text-align: center !important;
    }

    .tp-slider-thumb {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .tp-slider-bg {
        min-height: 350px;
    }

    .tp-slider-title {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .min-vh-50 {
        min-height: 350px;
        padding: 2rem 0 !important;
    }

    .tp-slider-subtitle {
        font-size: 0.9rem !important;
    }

    .tp-slider-thumb img {
        max-height: 300px !important;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .tp-slider-bg {
        min-height: 300px;
    }

    .tp-slider-title {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    .min-vh-50 {
        min-height: 300px;
        padding: 1.5rem 0 !important;
    }

    .tp-slider-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    .tp-slider-thumb img {
        max-height: 250px !important;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .fs-5 {
        font-size: 1rem !important;
    }
}

/* ================================
   PRODUCTS SECTION
   ================================ */

.tp-product-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.tp-product-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(67, 233, 123, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.tp-product-area .container {
    position: relative;
    z-index: 2;
}

.tp-section-title-lg {
    color: #EFB036;
    font-size: 2.5rem !important;
}

/* Top Categories Section Badge */
.tp-section-title .badge.bg-primary {
    background: #EFB036 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3);
}

.tp-product-tab-nav .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tp-product-tab-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.tp-product-tab-nav .nav-link:hover,
.tp-product-tab-nav .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.tp-product-tab-nav .nav-link:hover::before,
.tp-product-tab-nav .nav-link.active::before {
    left: 0;
}

.tp-product-item {
    background: white;
    border: none !important;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.tp-product-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.tp-product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tp-product-item:hover::before {
    animation: shimmer 0.6s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.tp-product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 1rem;
}

.tp-product-thumb img {
    transition: all 0.4s ease;
    border-radius: 15px;
}

.tp-product-item:hover .tp-product-thumb img {
    transform: scale(1.1);
}

.tp-product-badge {
    z-index: 3;
}

.tp-product-badge .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tp-product-badge .bg-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
}

.tp-product-badge .bg-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

.tp-product-title a {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tp-product-title a:hover {
    color: #667eea !important;
}

.star-rating {
    color: #ffc107;
}

/* Popular Products Section - White and Light Grey Theme */
.popular-products-section {
    background: #f8f9fa;
    width: 100%;
    overflow-x: hidden;
}

.popular-products-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 575.98px) {
    .popular-products-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.popular-products-header {
    margin-bottom: 3rem;
}

.popular-products-badge {
    display: inline-block;
    background: #EFB036;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3);
}

.popular-products-badge:hover {
    background: #EFB036;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 176, 54, 0.5);
}

.popular-products-title {
    color: #EFB036;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    cursor: default;
}

.popular-products-title:hover {
    color: #EFB036;
    transform: scale(1.02);
    opacity: 0.9;
}

.popular-products-subtitle {
    color: #6c757d;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.popular-product-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.popular-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(239, 176, 54, 0.25);
    border-color: #EFB036;
}

.popular-product-badge {
    z-index: 3;
}

.popular-product-badge .badge {
    background: #EFB036;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.4);
}

.popular-product-view-icon {
    top: 10px;
    right: 10px;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.popular-product-card:hover .popular-product-view-icon {
    opacity: 1;
}

.popular-product-view-icon .btn {
    background: #ffffff;
    border: 1px solid #e9ecef;
    color: #6c757d;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.popular-product-view-icon .btn:hover {
    background: #EFB036;
    border-color: #EFB036;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 176, 54, 0.4);
}

.popular-product-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    width: 100%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.popular-product-card:hover .popular-product-image {
    background: rgba(239, 176, 54, 0.05);
}

.popular-product-image img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-product-card:hover .popular-product-image img {
    transform: scale(1.05);
}

.popular-product-content {
    padding: 1.25rem;
    cursor: pointer;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.popular-product-card:hover .popular-product-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
}

.popular-product-title {
    margin-bottom: 0.75rem;
}

.popular-product-title span {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-product-card:hover .popular-product-title span {
    color: #EFB036;
}

.popular-product-rating {
    margin-bottom: 0.75rem;
}

.popular-product-rating .star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.popular-product-rating .star-rating i {
    color: #ffc107;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.popular-product-card:hover .popular-product-rating .star-rating i {
    color: #ffc107;
    transform: scale(1.1);
}

.popular-product-rating .star-rating .far {
    color: #dee2e6;
}

.popular-product-rating .star-rating span {
    color: #6c757d;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.popular-product-price {
    margin-bottom: 0;
}

.popular-product-price .new-price {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.popular-product-card:hover .popular-product-price .new-price {
    color: #EFB036;
    transform: scale(1.05);
}

/* Responsive adjustments */
/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .popular-product-image img {
        height: 240px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .popular-product-image img {
        height: 220px;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .popular-products-title {
        font-size: 2rem;
    }

    .popular-product-image img {
        height: 200px;
    }

    .popular-product-content {
        padding: 1.1rem;
    }

    .popular-product-title span {
        font-size: 0.95rem;
    }

    .popular-product-price .new-price {
        font-size: 1.05rem;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .popular-products-section {
        padding: 2rem 0 !important;
    }

    .popular-products-header {
        margin-bottom: 2rem;
    }

    .popular-products-title {
        font-size: 1.75rem;
    }

    .popular-products-subtitle {
        font-size: 0.95rem;
    }

    .popular-product-image img {
        height: 180px;
    }

    .popular-product-content {
        padding: 1rem;
    }

    .popular-product-title span {
        font-size: 0.9rem;
    }

    .popular-product-rating .star-rating i {
        font-size: 0.8rem;
    }

    .popular-product-rating .star-rating span {
        font-size: 0.8rem;
    }

    .popular-product-price .new-price {
        font-size: 1rem;
    }

    .popular-product-badge {
        margin: 0.75rem !important;
    }

    .popular-product-badge .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .popular-product-view-icon .btn {
        width: 32px;
        height: 32px;
    }

    .popular-product-view-icon .btn i {
        font-size: 0.75rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .popular-products-section {
        padding: 1.5rem 0 !important;
    }

    .popular-products-header {
        margin-bottom: 1.5rem;
    }

    .popular-products-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .popular-products-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .popular-products-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .popular-product-card {
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .popular-product-image img {
        height: 160px;
    }

    .popular-product-content {
        padding: 0.875rem;
    }

    .popular-product-title {
        margin-bottom: 0.5rem;
    }

    .popular-product-title span {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .popular-product-rating {
        margin-bottom: 0.5rem;
    }

    .popular-product-rating .star-rating {
        gap: 0.15rem;
    }

    .popular-product-rating .star-rating i {
        font-size: 0.75rem;
    }

    .popular-product-rating .star-rating span {
        font-size: 0.75rem;
        margin-left: 0.35rem;
    }

    .popular-product-price .new-price {
        font-size: 0.95rem;
    }

    .popular-product-badge {
        margin: 0.5rem !important;
    }

    .popular-product-badge .badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
    }

    .popular-product-view-icon {
        top: 8px;
        right: 8px;
    }

    .popular-product-view-icon .btn {
        width: 30px;
        height: 30px;
    }

    .popular-product-view-icon .btn i {
        font-size: 0.7rem;
    }

    .popular-product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    /* Better touch targets for mobile */
    .popular-product-image,
    .popular-product-content {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
    }

    .popular-product-view-icon .btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Landscape Orientation for Tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .popular-product-image img {
        height: 190px;
    }
}

/* Landscape Orientation for Phones */
@media (max-width: 767.98px) and (orientation: landscape) {
    .popular-product-image img {
        height: 150px;
    }

    .popular-product-content {
        padding: 0.75rem;
    }
}

/* Very Small Devices (Small Phones, less than 400px) */
@media (max-width: 399.98px) {
    .popular-products-title {
        font-size: 1.35rem;
    }

    .popular-products-subtitle {
        font-size: 0.85rem;
    }

    .popular-product-image img {
        height: 140px;
    }

    .popular-product-content {
        padding: 0.75rem;
    }

    .popular-product-title span {
        font-size: 0.8rem;
    }

    .popular-product-rating .star-rating i {
        font-size: 0.7rem;
    }

    .popular-product-rating .star-rating span {
        font-size: 0.7rem;
    }

    .popular-product-price .new-price {
        font-size: 0.9rem;
    }
}

.star-rating i {
    font-size: 0.9rem;
    margin-right: 0.1rem;
}

.tp-product-price .new-price {
    font-size: 1.1rem;
    color: #667eea !important;
}

.tp-product-price .old-price {
    font-size: 0.9rem;
}

.tp-product-actions {
    gap: 0.5rem;
}

.tp-product-actions .btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
}

.tp-product-actions .btn-danger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tp-product-actions .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tp-product-actions .btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-product-actions .btn-outline-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Products Responsive Design */
@media (max-width: 1199px) {
    .tp-section-title-lg {
        font-size: 2.2rem !important;
    }

    .tp-product-tab-nav .nav-link {
        padding: 0.6rem 1.2rem;
        margin: 0 0.3rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .tp-section-title-lg {
        font-size: 2rem !important;
    }

    .tp-product-tab-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.2rem;
        font-size: 0.85rem;
    }

    .tp-product-item {
        border-radius: 15px;
    }

    .tp-product-thumb {
        margin: 0.8rem;
    }
}

@media (max-width: 768px) {
    .tp-section-title-lg {
        font-size: 1.8rem !important;
    }

    .tp-product-tab-nav {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tp-product-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tp-product-tab-nav .nav-tabs {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .tp-product-tab-nav .nav-link {
        white-space: nowrap;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .tp-product-item {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .tp-product-thumb {
        margin: 0.6rem;
    }

    .tp-product-actions .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .tp-product-actions .btn-outline-secondary {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .tp-section-title-lg {
        font-size: 1.6rem !important;
    }

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

    .tp-product-thumb {
        margin: 0.5rem;
    }

    .tp-product-thumb img {
        height: 180px !important;
    }

    .tp-product-actions .btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .tp-product-actions .btn-outline-secondary {
        width: 32px;
        height: 32px;
    }
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(132, 250, 176, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 154, 158, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-area .container {
    position: relative;
    z-index: 2;
}

/* Testimonials Section - Updated Styles */
.testimonials-area {
    background: #f8f9fa;
    padding: 3rem 0;
}

.testimonials-header {
    margin-bottom: 2.5rem;
}

.testimonials-badge {
    display: inline-block;
    background: #EFB036;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3);
}

.testimonials-title {
    color: #EFB036;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.testimonials-subtitle {
    color: #6c757d;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(239, 176, 54, 0.2);
    border-color: #EFB036;
}

.testimonial-card:hover::before {
    animation: shimmer-testimonial 0.6s ease-in-out;
    opacity: 1;
}

@keyframes shimmer-testimonial {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    position: relative;
    font-weight: 400;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -8px;
    font-size: 3rem;
    color: rgba(239, 176, 54, 0.2);
    font-family: Georgia, serif;
    z-index: -1;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: -5px;
    font-size: 3rem;
    color: rgba(239, 176, 54, 0.2);
    font-family: Georgia, serif;
    z-index: -1;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.stars .fas.fa-star {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.stars .fas.fa-star:hover {
    transform: scale(1.1);
    color: #f59e0b;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    position: relative;
    z-index: 2;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #EFB036;
    padding: 2px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.author-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .author-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 176, 54, 0.3);
    border-color: #EFB036;
}

.testimonial-card:hover .author-image::before {
    opacity: 1;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-name {
    color: #EFB036;
}

.author-title {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Testimonials Responsive Styles */
@media (max-width: 991.98px) {
    .testimonials-area {
        padding: 2rem 0;
    }

    .testimonials-header {
        margin-bottom: 2rem;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .author-image {
        width: 55px;
        height: 55px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .testimonials-area {
        padding: 1.5rem 0;
    }

    .testimonials-header {
        margin-bottom: 1.5rem;
    }

    .testimonials-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .testimonials-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .testimonials-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1rem;
        border-radius: 10px;
    }

    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }

    .testimonial-text::before {
        font-size: 2.5rem;
        top: -8px;
        left: -5px;
    }

    .testimonial-text::after {
        font-size: 2.5rem;
        bottom: -15px;
        right: -3px;
    }

    .stars {
        margin-bottom: 0.75rem;
    }

    .stars i {
        font-size: 0.9rem;
    }

    .testimonial-author {
        gap: 0.75rem;
        padding-top: 0.875rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .author-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .testimonials-area {
        padding: 1.25rem 0;
    }

    .testimonials-title {
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 0.875rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
    }

    .author-image {
        width: 45px;
        height: 45px;
    }
}

.author-title::before {
    content: '•';
    color: #EFB036;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .testimonials-area .section-title h3 {
        font-size: 2rem !important;
    }

    .testimonial-card {
        padding: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-area .section-title h3 {
        font-size: 1.8rem !important;
    }

    .testimonial-card {
        padding: 1.5rem;
        border-radius: 18px;
        margin-bottom: 1.2rem;
    }

    .testimonial-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .stars i {
        font-size: 1.1rem;
    }

    .author-image {
        width: 55px;
        height: 55px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonials-area .section-title h3 {
        font-size: 1.6rem !important;
    }

    .testimonial-card {
        padding: 1.2rem;
        border-radius: 15px;
    }

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

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 3rem;
    }

    .stars {
        margin-bottom: 1.2rem;
    }

    .stars i {
        font-size: 1rem;
    }

    .testimonial-author {
        gap: 1rem;
        padding-top: 1.2rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .author-title {
        font-size: 0.8rem;
    }
}

/* ================================
   SHOP/PRODUCTS PAGE
   ================================ */

.shop-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.shop-hero .container {
    position: relative;
    z-index: 2;
}

.filter-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.filter-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.filter-header h5 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.filter-section {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f3f4;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    font-size: 0.9rem;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0.25rem;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.color-option.selected {
    border-color: #667eea;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.size-option {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    margin: 0.25rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    color: #6c757d;
    min-width: 45px;
    text-align: center;
}

.size-option:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.size-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.price-range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    outline: none;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.price-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.product-card:hover::before {
    animation: shimmer-product 0.6s ease-in-out;
    opacity: 1;
}

@keyframes shimmer-product {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
}

.badge-hot {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c757d;
    backdrop-filter: blur(10px);
    font-size: 16px !important;
}

.action-btn i {
    font-size: 16px !important;
    display: inline-block;
    line-height: 1;
}

.action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.product-info {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #667eea;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.stars {
    color: #fbbf24;
}

.stars i {
    font-size: 0.9rem;
    margin-right: 0.1rem;
    text-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

.product-rating .text-muted {
    font-size: 0.85rem;
    color: #718096;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.old-price {
    font-size: 1rem;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 500;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.filters-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.sort-dropdown {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1rem;
    font-weight: 500;
    color: #4a5568;
    background: white;
    transition: all 0.3s ease;
}

.sort-dropdown:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.view-toggle {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 0.9rem;
}

.view-toggle:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.view-toggle.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Custom Pagination Styling */
.custom-pagination {
    margin-top: 2rem;
}

.custom-pagination .pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.custom-pagination .pagination-info {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.custom-pagination .pagination-nav {
    display: flex;
    align-items: center;
}

.custom-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-pagination .page-item {
    list-style: none;
    margin: 0;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: white;
}

.custom-pagination .page-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.custom-pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.custom-pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .custom-pagination .pagination-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-pagination .pagination-info {
        margin-bottom: 1rem;
    }

    .custom-pagination .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Shop Responsive Design */
@media (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .shop-hero {
        padding: 3rem 0;
    }

    .product-info {
        padding: 1.5rem;
    }

    .current-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.2rem;
    }

    .shop-hero {
        padding: 2.5rem 0;
    }

    .filter-card {
        border-radius: 15px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 14px !important;
    }

    .action-btn i {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }

    .shop-hero {
        padding: 2rem 0;
        text-align: center;
    }

    .filter-card {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-card:hover {
        transform: translateY(-8px);
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .add-to-cart-btn {
        padding: 0.8rem;
        font-size: 0.8rem;
    }

    .action-btn {
        width: 38px;
        height: 38px;
        font-size: 13px !important;
    }

    .action-btn i {
        font-size: 13px !important;
    }

    .color-option {
        width: 28px;
        height: 28px;
    }

    .size-option {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.8rem;
    }

    .shop-hero {
        padding: 1.5rem 0;
    }

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-title {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

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

    .old-price {
        font-size: 0.85rem;
    }

    .add-to-cart-btn {
        padding: 0.7rem;
        font-size: 0.75rem;
        border-radius: 12px;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 12px !important;
    }

    .action-btn i {
        font-size: 12px !important;
    }

    .product-actions {
        gap: 8px;
    }

    .color-option {
        width: 26px;
        height: 26px;
        margin: 0.2rem;
    }

    .size-option {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        min-width: 35px;
        margin: 0.2rem;
    }
}

/* ================================
   PRODUCT MODAL
   ================================ */

.modal-content {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: none;
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-dialog {
    max-width: 1000px;
}

/* Product Modal Image Section */
.product-modal-image {
    position: relative;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.main-image .btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #667eea;
}

.main-image .btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Thumbnail Images */
.thumbnail-image {
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.thumbnail-image img {
    border-radius: 10px;
    transition: border 0.3s ease;
}

/* Product Modal Details */
.product-modal-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.product-modal-price .h4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.product-modal-availability {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid #667eea;
}

.product-modal-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

/* Color and Size Selection */
#modal-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-option-modal {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.color-option-modal:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.color-option-modal.selected {
    border-color: #667eea;
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
}

.color-option-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-option-modal.selected::after {
    opacity: 1;
}

.color-option-modal.selected::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #667eea;
    font-weight: bold;
    font-size: 12px;
    z-index: 1;
}

#modal-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-btn-modal {
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: white;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.size-btn-modal:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.size-btn-modal.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Quantity Selector */
.quantity-selector {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    max-width: 140px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quantity-selector:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.quantity-selector .btn {
    border: none;
    background: none;
    color: #667eea;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 0;
}

.quantity-selector .btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.quantity-selector .btn:active {
    transform: scale(0.95);
}

.quantity-selector input {
    border: none;
    background: none;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    width: 60px;
    height: 40px;
    font-size: 1rem;
    outline: none;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-selector input[type=number] {
    -moz-appearance: textfield;
}

/* Modal Action Buttons */
.modal .btn-danger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.modal .btn-outline-danger {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal .btn-outline-danger:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal .btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal .btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

/* Product Meta Section */
.product-meta {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.product-meta .row {
    margin-bottom: 0.8rem;
    align-items: center;
}

.product-meta .row:last-child {
    margin-bottom: 0;
}

.product-meta strong {
    color: #2c3e50;
    font-weight: 700;
}

.product-meta .text-muted {
    color: #718096 !important;
    font-weight: 500;
}

/* Social Share Section */
.social-share {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.social-share h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-share .btn {
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-share .btn-outline-primary:hover {
    background: #1877f2;
    border-color: #1877f2;
    transform: translateY(-2px);
}

.social-share .btn-outline-info:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    transform: translateY(-2px);
}

.social-share .btn-outline-success:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-2px);
}

.social-share .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Modal Rating and Badges */
#modal-rating {
    gap: 0.2rem;
}

#modal-rating i {
    font-size: 1rem;
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

#modal-badges .badge {
    margin-right: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.75rem;
}

.modal-header .btn {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-header .btn:hover {
    transform: translateY(-2px);
}

.btn-close {
    background: none;
    border: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 1;
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

/* Total Price Display */
#modal-total-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Loading States */
.modal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal .btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Responsive Design */
@media (max-width: 991px) {
    .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }

    .modal-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .product-modal-title {
        font-size: 1.3rem;
    }

    .main-image {
        min-height: 280px;
    }

    .color-option-modal {
        width: 35px;
        height: 35px;
    }

    .quantity-selector {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .product-modal-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .main-image {
        min-height: 250px;
        margin-bottom: 1rem;
    }

    .product-modal-availability {
        padding: 0.8rem;
    }

    .product-meta,
    .social-share {
        padding: 1rem;
        margin-top: 1rem;
    }

    .color-option-modal {
        width: 32px;
        height: 32px;
    }

    .size-btn-modal {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .modal .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .thumbnail-image img {
        width: 50px !important;
        height: 50px !important;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 98%;
        margin: 0.25rem auto;
    }

    .modal-content {
        border-radius: 15px;
    }

    .modal-header {
        padding: 0.8rem;
    }

    .modal-body {
        padding: 0.8rem;
    }

    .product-modal-title {
        font-size: 1.1rem;
    }

    .main-image {
        min-height: 200px;
        border-radius: 15px;
    }

    .main-image .btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .color-option-modal {
        width: 28px;
        height: 28px;
        margin: 0.2rem;
    }

    .size-btn-modal {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        margin: 0.2rem;
    }

    .modal .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .quantity-selector {
        border-radius: 10px;
    }

    .product-meta .row,
    .social-share .btn {
        margin-bottom: 0.5rem;
    }

    .thumbnail-image img {
        width: 45px !important;
        height: 45px !important;
    }
}

/* ================================
   FOLLOW SECTION
   ================================ */

.tp-follow-item {
    transition: transform 0.3s ease;
}

.tp-follow-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.follow-image-container {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.follow-image-container:hover {
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

.follow-item-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.follow-image-container:hover .follow-item-overlay {
    opacity: 1;
}

.tp-follow-area {
    min-height: 450px;
    background-attachment: fixed;
}

.follow-background {
    z-index: 1;
}

.tp-follow-content {
    position: relative;
    z-index: 3;
}

/* Follow Section Mobile Responsive */
@media (max-width: 768px) {
    .tp-follow-gallery .col-6 {
        margin-bottom: 1rem;
    }

    .follow-image-container {
        height: 120px !important;
    }

    .tp-follow-area {
        min-height: 350px;
        background-attachment: scroll;
    }

    .tp-follow-item:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

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

[dir="rtl"] .navbar-nav .nav-link {
    margin: 0 1rem 0 0;
}

[dir="rtl"] .header-icons {
    gap: 1.5rem;
    flex-direction: row-reverse;
}

[dir="rtl"] .badge-count {
    left: -8px;
    right: auto;
}

[dir="rtl"] .container {
    text-align: right;
}

[dir="rtl"] .breadcrumb {
    direction: rtl;
}

/* ================================
   MOBILE RESPONSIVE STYLES
   ================================ */

/* Mobile Navigation - Clean & Modern Design */
@media (max-width: 991px) {
    .navbar-custom {
        padding: 0.75rem 0;
        background: #fff;
    }

    /* Mobile Menu Dropdown Container */
    .navbar-collapse {
        background: #ffffff;
        margin-top: 1rem;
        border-radius: 16px;
        padding: 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        position: absolute;
        top: 100%;
        left: 0.75rem;
        right: 0.75rem;
        z-index: 1050;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Navigation Links Container */
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        list-style: none !important;
    }

    .navbar-nav .nav-item {
        display: block !important;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0;
    }

    /* Navigation Links - Clean Design */
    .navbar-nav .nav-link {
        display: block !important;
        width: 100%;
        margin: 0 !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: #2c3e50 !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        transition: all 0.2s ease !important;
        position: relative !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background: #f8f9fa !important;
        color: #EFB036 !important;
        padding-left: 2rem !important;
    }

    .navbar-nav .nav-link:active {
        background: #EFB036 !important;
        color: #fff !important;
    }

    /* Header Icons Section */
    .header-icons {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 1rem !important;
        border-top: 1px solid #f0f0f0 !important;
        background: #fafafa !important;
        width: 100% !important;
    }

    .header-icons > * {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Icon Buttons - Clean Circular Design */
    .header-icons .icon-btn {
        min-width: 0 !important;
        width: 100% !important;
        aspect-ratio: 1 !important;
        padding: 0.75rem !important;
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #fff !important;
        border: 2px solid #e9ecef !important;
        border-radius: 12px !important;
        transition: all 0.2s ease !important;
        position: relative !important;
    }

    .header-icons .icon-btn:hover {
        background: #EFB036 !important;
        color: white !important;
        border-color: #EFB036 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(239, 176, 54, 0.3) !important;
    }

    .header-icons .icon-btn .badge-count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #EFB036 !important;
        color: #fff !important;
        border-radius: 9px !important;
        border: 2px solid #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* User Dropdown & Language Toggle */
    .header-icons .user-dropdown,
    .header-icons .mobile-language-toggle {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Dropdown Menus */
    .header-icons .dropdown-menu {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        background: #ffffff !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        border-radius: 12px !important;
        border: 1px solid #e9ecef !important;
    }

    .dropdown-menu .dropdown-item {
        display: block !important;
        width: 100% !important;
        padding: 0.875rem 1.25rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 0.95rem !important;
        color: #2c3e50 !important;
    }

    .dropdown-menu .dropdown-item:hover {
        background: #f8f9fa !important;
        color: #EFB036 !important;
    }

    .dropdown-menu .dropdown-item i {
        width: 20px !important;
        margin-right: 0.5rem !important;
    }

    /* Hide desktop language dropdown on mobile */
    .language-dropdown {
        display: none !important;
    }

    /* Logo */
    .navbar-brand img {
        height: 50px;
    }

    /* Hamburger Toggle Button */
    .navbar-toggler {
        border: none !important;
        padding: 0.5rem !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(239, 176, 54, 0.2) !important;
    }
}

@media (max-width: 576px) {
    .header-icons {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .header-icons .icon-btn {
        min-width: 38px;
        min-height: 38px;
        padding: 0.45rem;
        font-size: 0.95rem;
    }

    .header-icons .user-dropdown .dropdown-menu {
        right: 0.75rem;
        width: calc(100vw - 2rem);
        max-width: 260px;
    }

    .header-icons .language-dropdown .dropdown-menu {
        left: 0.75rem;
        right: auto;
        width: calc(100vw - 2rem);
        max-width: 180px;
    }

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

    .container {
        padding: 0 1rem;
    }

    .mobile-language-toggle {
        gap: 0.25rem;
    }
}

/* ===== BTN-CLOSE STYLES ===== */
.btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='m.235.227 8.896 8.868 8.899-8.864a.546.546 0 0 1 .771 0 .543.543 0 0 1 0 .771L9.902 9.87l8.899 8.864a.543.543 0 0 1 0 .771.546.546 0 0 1-.771 0L9.131 10.64.235 19.505a.546.546 0 0 1-.771 0 .543.543 0 0 1 0-.771l8.896-8.864L.235.998a.543.543 0 0 1 0-.771.546.546 0 0 1 .771 0z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    width: 1em !important;
    height: 1em !important;
    padding: 0.25em 0.25em !important;
    color: #000 !important;
    background-size: 0.75em auto !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: relative !important;
}

.btn-close:hover,
.btn-close:focus {
    color: #000 !important;
    text-decoration: none !important;
    opacity: 0.75 !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

.btn-close:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.25 !important;
}

/* Alert close button */
.alert .btn-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    padding: 1.25rem 1rem !important;
}

/* Modal close button */
.modal-header .btn-close {
    padding: 0.5rem 0.5rem !important;
    margin: -0.5rem -0.5rem -0.5rem auto !important;
}

/* ================================
   NAVIGATION LINKS OVERRIDE
   ================================ */

/* Ensure navigation links are always visible */
.navbar-custom .navbar-nav .nav-link {
    color: #2c3e50 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #EFB036 !important;
    text-decoration: none !important;
}

.navbar-custom .navbar-nav .nav-link.active {
    color: white !important;
    text-decoration: none !important;
}

/* Additional override for any remaining issues */
.navbar .navbar-nav .nav-item .nav-link {
    color: #2c3e50 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    margin: 0 0.75rem !important;
    padding: 0.75rem 1.25rem !important;
}

.navbar .navbar-nav .nav-item .nav-link:hover {
    color: #EFB036 !important;
    text-decoration: none !important;
}

.navbar .navbar-nav .nav-item .nav-link.active {
    background: #EFB036 !important;
    color: white !important;
    text-decoration: none !important;
}

/* ================================
   HEADER ELEMENTS VISIBILITY FIX
   ================================ */

/* Ensure navbar itself is visible */
.navbar-custom {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    padding: 0.75rem 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

/* Ensure navbar container is visible */
.navbar-custom .container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure navbar collapse is visible on desktop only */
@media (min-width: 992px) {
    .navbar-custom .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1 !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure navbar nav is visible */
    .navbar-custom .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
        list-style: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* On mobile, allow Bootstrap collapse to work */
@media (max-width: 991px) {
    .navbar-custom .navbar-collapse:not(.show) {
        display: none !important;
    }

    .navbar-custom .navbar-collapse.show {
        display: block !important;
    }

    .navbar-custom .navbar-nav {
        flex-direction: column !important;
    }
}

/* Ensure header icons are visible */
.navbar-custom .header-icons {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure icon buttons are visible */
.navbar-custom .icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2c3e50 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    position: relative !important;
    font-size: 1.1rem !important;
    padding: 0.75rem !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.6) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    backdrop-filter: blur(5px) !important;
    min-width: 45px !important;
    min-height: 45px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Override for language dropdown - maintain pill shape */
.navbar-custom .language-dropdown .dropdown-toggle {
    border-radius: 25px !important;
    padding: 0.75rem 1.25rem !important;
    min-width: auto !important;
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.navbar-custom .icon-btn:hover {
    color: white !important;
    background: #EFB036 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(239, 176, 54, 0.3) !important;
    border-color: #EFB036 !important;
    text-decoration: none !important;
}

/* Ensure navbar brand/logo is visible */
.navbar-custom .navbar-brand {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 0 !important;
}

.navbar-custom .navbar-brand img {
    height: 65px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1)) !important;
    transition: all 0.3s ease !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar-custom .navbar-brand:hover {
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

.navbar-custom .navbar-brand:hover img {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)) !important;
    transform: scale(1.05) !important;
}

/* Ensure mobile toggle is visible on mobile only */
@media (max-width: 991px) {
    .navbar-custom .navbar-toggler {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.navbar-custom .navbar-toggler {
    border: none !important;
    padding: 0.75rem !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.navbar-custom .navbar-toggler:hover {
    background: #EFB036 !important;
    border-color: #EFB036 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(239, 176, 54, 0.3) !important;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 63, 98, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    transition: all 0.3s ease !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
}

.navbar-custom .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    transform: rotate(90deg) !important;
}

/* Ensure dropdown menus are visible */
.navbar-custom .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    z-index: 1050 !important;
    min-width: 200px !important;
    padding: 0.75rem 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    animation: dropdownFadeIn 0.3s ease !important;
}

.navbar-custom .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure Font Awesome icons are visible */
.navbar-custom .fas,
.navbar-custom .fa {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* Ensure badge counts are visible */
.navbar-custom .badge-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: linear-gradient(135deg, #fd4a5a, #e63946) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(253, 74, 90, 0.4) !important;
    animation: pulse 2s infinite !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Variant display styles for admin product list */
.variant-prices, .variant-stocks {
    max-width: 300px;
    max-height: 200px;
    overflow-y: auto;
}

.variant-prices .d-flex, .variant-stocks .d-flex {
    padding: 2px 0;
    border-bottom: 1px solid #f1f3f4;
}

.variant-prices .d-flex:last-child, .variant-stocks .d-flex:last-child {
    border-bottom: none;
}

.variant-prices .d-flex:hover, .variant-stocks .d-flex:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 2px 4px;
    margin: 0 -4px;
}

/* Color indicator styles */
.color-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid #e5e7eb;
    margin-right: 6px;
    vertical-align: middle;
}

/* Variant text styles */
.variant-size {
    font-weight: 500;
    color: #374151;
    min-width: 30px;
}

.variant-color {
    color: #6b7280;
    font-size: 0.75rem;
}

.variant-price {
    font-weight: 600;
    color: #059669;
}

.variant-stock {
    font-weight: 600;
    color: #059669;
}

/* Edit page variant table styles */
.variant-table {
    max-height: 300px;
    overflow-y: auto;
}

.variant-table .table {
    margin-bottom: 0;
}

.variant-table .table td {
    padding: 0.5rem;
    vertical-align: middle;
}

.variant-table .color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
    border: 1px solid #e5e7eb;
}

/* ================================
   SYNC BUTTONS STYLES
   ================================ */

.sync-buttons-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 1rem;
}

.sync-buttons-container .btn-admin {
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sync-buttons-container .btn-admin:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sync-buttons-container .btn-admin:active {
    transform: translateY(0);
}

/* Auto Sync Toggle Button Styles */
#toggleAutoSyncBtn {
    position: relative;
    overflow: hidden;
}

#toggleAutoSyncBtn.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: white;
}

#toggleAutoSyncBtn.btn-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    border-color: #ffc107;
    color: #212529;
}

#toggleAutoSyncBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#toggleAutoSyncBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#autoSyncIcon {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

#toggleAutoSyncBtn.btn-success #autoSyncIcon {
    color: #fff;
}

#toggleAutoSyncBtn.btn-warning #autoSyncIcon {
    color: #212529;
}

/* Notification Styles */
.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
