/**
 * XStore Style CSS
 * Modern E-Commerce Design
 */

/* ============================================
   XSTORE HEADER STYLES
   ============================================ */
.xstore-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.xstore-header .logo {
    flex-shrink: 0;
}

.xstore-header .logo img {
    height: 45px;
    width: auto;
}

/* Search Bars Container - Both searches inline */
.search-bars-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 700px;
}

/* XStore Search Bar */
.xstore-search {
    flex: 1;
    min-width: 200px;
}

.xstore-search .search-form {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.xstore-search .search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 153, 123, 0.1);
}

.xstore-search .search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 0.9rem;
    min-width: 120px;
}

/* Service Status Search Inline - Same size as product search */
.service-search-inline {
    flex: 1;
    min-width: 200px;
}

.service-form-inline {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.service-form-inline:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 153, 123, 0.1);
}

.service-form-inline .service-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 0.9rem;
    background: #fff;
}

.service-form-inline .service-input::placeholder {
    color: #9ca3af;
}

.service-form-inline .service-btn {
    padding: 12px 18px;
    background: #374151;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.service-form-inline .service-btn:hover {
    background: #1f2937;
}

@media (max-width: 992px) {
    .search-bars-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .xstore-search,
    .service-search-inline {
        width: 100%;
    }
    
    .service-form-inline {
        width: 100%;
    }
    
    .service-form-inline .service-input {
        flex: 1;
        width: auto;
    }
}

.xstore-search .search-btn {
    padding: 12px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.xstore-search .search-btn:hover {
    background: var(--color-primary-hover);
}

.search-suggestions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
}

.search-suggestions a {
    color: #6b7280;
    transition: color 0.2s ease;
}

.search-suggestions a:hover {
    color: var(--color-primary);
}

.search-suggestions a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #d1d5db;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* Header Contact */
.header-contact {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-left: 1px solid #e5e7eb;
}

@media (min-width: 1100px) {
    .header-contact {
        display: flex;
    }
}

.header-contact .contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 153, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.header-contact .contact-text {
    display: flex;
    flex-direction: column;
}

.header-contact .contact-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.header-contact .contact-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

/* Header Actions XStore */
.xstore-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 15px;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.header-action-item:hover {
    color: var(--color-primary);
}

.header-action-item svg {
    margin-bottom: 4px;
}

.header-action-item .action-label {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.header-action-item .action-count {
    position: absolute;
    top: 0;
    right: 8px;
    min-width: 18px;
    height: 18px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   XSTORE NAVIGATION
   ============================================ */
.xstore-nav {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.xstore-nav .nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Departments Dropdown */
.departments-dropdown {
    position: relative;
}

.departments-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.departments-btn:hover {
    background: var(--color-primary-hover);
}

.departments-btn .dropdown-arrow {
    transition: transform 0.3s ease;
}

.departments-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.departments-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px;
}

.departments-dropdown:hover .departments-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Department Item with Submenu */
.department-item-wrapper {
    position: relative;
}

.department-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-text);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
}

.department-item .dept-name {
    flex: 1;
}

.department-item .submenu-arrow {
    margin-left: auto;
    opacity: 0.5;
}

.department-item:hover {
    background: rgba(0, 153, 123, 0.08);
    color: var(--color-primary);
}

.dept-icon {
    font-size: 1.2rem;
}

/* Submenu for categories */
.department-item-wrapper .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px;
}

.department-item-wrapper:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
}

.submenu-item:hover {
    background: rgba(0, 153, 123, 0.08);
    color: var(--color-primary);
}

/* XStore Nav Menu */
.xstore-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.xstore-menu .nav-item {
    position: relative;
}

.xstore-menu .nav-link {
    padding: 16px 18px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.xstore-menu .nav-link:hover {
    color: var(--color-primary);
}

.xstore-menu .nav-link::after {
    display: none;
}

/* Nav Dropdown for subcategories */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
}

.nav-dropdown .dropdown-item:hover {
    background: rgba(0, 153, 123, 0.08);
    color: var(--color-primary);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    min-width: 120px;
    padding: 4px;
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
}

.lang-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--color-text);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.lang-menu a:hover,
.lang-menu a.active {
    background: rgba(0, 153, 123, 0.08);
    color: var(--color-primary);
}

/* Language Switcher with Flags */
.lang-switcher-flags {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--color-text);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.lang-flag:hover {
    background: var(--color-primary);
    color: #fff;
}

.lang-flag.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.flag-icon {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Mobile Language Flags */
.mobile-lang-flags {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.mobile-lang-flags .lang-flag {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .xstore-nav {
        display: none;
    }
    
    .xstore-search {
        display: none;
    }
    
    .service-search-inline {
        display: none;
    }
    
    .search-bars-container {
        display: none;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .xstore-actions .action-label {
        display: none;
    }
    
    /* Language flags visible on mobile */
    .lang-switcher-flags {
        display: flex;
        margin-left: 5px;
    }
    
    .lang-switcher-flags .lang-flag {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
    
    .header-action-item {
        padding: 8px;
    }
    
    /* Hamburger Menu - Mobile */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 44px;
        height: 44px;
        padding: 12px;
        cursor: pointer;
        background: var(--color-primary) !important;
        border: none !important;
        border-radius: 8px;
        order: -1;
    }
    
    .hamburger span {
        display: block !important;
        width: 20px;
        height: 2px;
        background: #ffffff !important;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
}

/* Mobile Service Search */
.mobile-service-search {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.mobile-service-search input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.mobile-service-search button {
    padding: 12px 18px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

.mobile-service-search button:hover {
    background: var(--color-primary-hover);
}

/* Mobile Logo */
.mobile-logo {
    text-align: center;
    padding: 10px 0 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-logo a {
    display: inline-block;
}

.mobile-logo img {
    height: 35px;
    width: auto;
}

.mobile-logo .logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

/* ============================================
   HERO SECTION - XSTORE GRID
   ============================================ */
.hero-section {
    padding: 20px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 400px;
    }
}

.hero-main {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    min-height: 400px;
    box-shadow: 0 4px 20px var(--color-hero-shadow, rgba(0, 0, 0, 0.1));
}

.hero-main .hero-slider {
    height: 100%;
    position: relative;
}

.hero-main .slider-track {
    height: 100%;
}

.hero-main .slide {
    height: 100%;
    min-height: 400px;
    position: relative;
}

.hero-main .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-main .slide-overlay {
    display: none;
}

.hero-main .slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 400px;
    color: #fff;
}

.hero-main .slide-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-main .slide-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-main .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

/* Right Banners */
.hero-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.hero-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 20px var(--color-hero-shadow, rgba(0, 0, 0, 0.1));
}

.hero-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-banner:hover img {
    transform: scale(1.05);
}

.banner-tall {
    grid-row: span 2;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
}

.banner-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.banner-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.banner-link {
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

@media (max-width: 991px) {
    .hero-banners {
        display: none;
    }
    
    .hero-main {
        min-height: 300px;
    }
    
    .hero-main .slide {
        min-height: 300px;
    }
    
    .hero-main .slide-content {
        bottom: 20px;
        left: 20px;
    }
    
    .hero-main .slide-content h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
    padding: 30px 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: rgba(0, 153, 123, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text {
    text-align: center;
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ============================================
   SERVICE STATUS SEARCH BAR
   ============================================ */
.service-status-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.service-search-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 30px;
    flex-wrap: wrap;
}

.service-search-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 12px;
    color: #fff;
}

.service-search-content {
    flex: 1;
    min-width: 200px;
}

.service-search-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.service-search-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.service-search-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.service-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.95rem;
}

.service-search-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.service-search-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.15);
}

.service-search-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.service-search-form button:hover {
    background: var(--color-primary-hover);
}

@media (max-width: 768px) {
    .service-search-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .service-search-form {
        width: 100%;
        max-width: none;
        flex-direction: column;
    }
    
    .service-search-form button {
        justify-content: center;
    }
}

/* ============================================
   CATEGORIES - XSTORE STYLE
   ============================================ */
.categories-section {
    background: #fff;
}

.categories-section .section-title {
    margin-bottom: 30px;
}

.categories-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 576px) {
    .categories-scroll {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .categories-scroll {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .categories-scroll {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card-xstore {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-card-xstore:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.category-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.category-placeholder {
    color: #d1d5db;
}

.category-card-xstore h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
}

.category-count {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ============================================
   PRODUCT CARD - XSTORE STYLE
   ============================================ */
.xstore-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: left;
}

.xstore-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 153, 123, 0.15);
}

.xstore-card .product-image {
    background: #ffffff;
    border-radius: 8px;
    aspect-ratio: 1;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.xstore-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
    border-radius: 8px;
    overflow: hidden;
}

.xstore-card:hover .product-image img {
    transform: scale(1.05);
}

.xstore-card .product-badges {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 8px;
}

.xstore-card .badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
}

.xstore-card .badge-new {
    background: var(--color-primary);
    color: #fff;
}

.xstore-card .badge-sale {
    background: #ef4444;
    color: #fff;
}

.xstore-card .product-actions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.xstore-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.xstore-card .action-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.xstore-card .action-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.xstore-card .product-category {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.xstore-card .product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: auto;
    text-align: left;
}

.xstore-card .product-name a:hover {
    color: var(--color-primary);
}

/* Product Rating */
.product-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.product-rating .star {
    color: #e5e7eb;
    font-size: 0.9rem;
}

.product-rating .star.filled {
    color: var(--color-primary);
}

.xstore-card .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: left;
    justify-content: flex-start;
    border-top: none;
    padding-top: 0;
}

.xstore-card .price-old {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: line-through;
    order: 1;
}

.xstore-card .price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    order: 2;
}

.xstore-card .price-secondary {
    font-size: 0.85rem;
    color: #6b7280;
    width: auto;
    order: 3;
}

/* On sale styling */
.xstore-card.on-sale .price-current {
    color: var(--color-primary);
}

/* ============================================
   XSTORE FOOTER
   ============================================ */
.xstore-footer {
    background: var(--color-footer-bg, var(--color-primary));
    color: #fff;
}

.xstore-footer .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
}

@media (max-width: 991px) {
    .xstore-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .xstore-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-company {
    padding-right: 40px;
}

.xstore-footer .footer-logo {
    margin-bottom: 20px;
}

.xstore-footer .footer-logo img {
    height: 35px;
    filter: brightness(0) invert(1);
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-info .contact-label {
    font-size: 0.8rem;
    color: #808080;
    margin-bottom: 5px;
}

.footer-contact-info .contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.xstore-footer .footer-address {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.xstore-footer .footer-email {
    font-size: 0.9rem;
    color: #fff;
    transition: color 0.2s ease;
}

.xstore-footer .footer-email:hover {
    color: #fff;
}

.xstore-footer .footer-social {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.xstore-footer .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
}

.xstore-footer .social-link:hover {
    background: var(--color-primary);
    color: #fff;
}

.xstore-footer .footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.xstore-footer .footer-links li {
    margin-bottom: 12px;
}

.xstore-footer .footer-links a {
    color: #b0b0b0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.xstore-footer .footer-links a:hover {
    color: #fff;
}

.xstore-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    font-size: 0.85rem;
    color: #808080;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons img {
    height: 24px;
    width: auto;
}

.payment-badge {
    background: #fff;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
