﻿

.lg-store-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .lg-store-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .lg-store-container {
        padding: 0 32px;
    }
}

/* Store Header */
.lg-store-header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
}

    .lg-store-header .lg-store-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

@media (min-width: 768px) {
    .lg-store-header .lg-store-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
}

.lg-store-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.lg-store-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

@media (min-width: 768px) {
    .lg-store-logo {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .lg-store-logo {
        width: 96px;
        height: 96px;
    }
}

.lg-store-details {
    flex: 1;
    min-width: 0;
}

.lg-store-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.lg-store-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

@media (min-width: 768px) {
    .lg-store-name {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .lg-store-name {
        font-size: 24px;
    }
}

.lg-store-verified-badge {
    background: linear-gradient(45deg, #16bcdc, #0ea5e9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .lg-store-verified-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.lg-store-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

@media (min-width: 768px) {
    .lg-store-stats {
        gap: 16px;
        font-size: 14px;
    }
}

.lg-store-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .lg-store-stat-item i {
        color: #16bcdc;
    }

        .lg-store-stat-item i.fa-star {
            color: #fbbf24;
        }

        .lg-store-stat-item i.fa-shipping-fast {
            color: #10b981;
        }

.lg-store-actions {
    display: flex;
    gap: 8px;
}

@media (min-width: 768px) {
    .lg-store-actions {
        gap: 12px;
    }
}

.lg-store-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .lg-store-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

.lg-store-btn-follow {
    background: #16bcdc;
    color: white;
}

    .lg-store-btn-follow:hover {
        background: #0ea5e9;
        transform: translateY(-1px);
    }

.lg-store-btn-chat {
    background: white;
    color: #16bcdc;
    border: 1px solid #16bcdc;
}

    .lg-store-btn-chat:hover {
        background: #16bcdc;
        color: white;
    }

/* Banner Section */
.lg-store-banner-section {
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.lg-store-banner-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: auto;
}

@media (min-width: 768px) {
    .lg-store-banner-slider {
        height: auto;
    }
}

@media (min-width: 1024px) {
    .lg-store-banner-slider {
        height: auto;
    }
}

.lg-store-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
}

    .lg-store-slide.lg-store-active {
        display: block;
    }

    .lg-store-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.lg-store-slide-content {
    position: absolute;
    top: 80%;
    left: 24px;
    transform: translateY(-50%);
    color: white;
    max-width: 60%;
}

@media (min-width: 768px) {
    .lg-store-slide-content {
        left: 48px;
        max-width: 50%;
    }

    .lg-store-slide {
        display: none;
        position: relative;
        width: 100%;
        height: auto;
    }
}

.lg-store-slide-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .lg-store-slide-content h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .lg-store-slide-content h2 {
        font-size: 32px;
    }
}

.lg-store-slide-content p {
    font-size: 14px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .lg-store-slide-content p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .lg-store-slide-content p {
        font-size: 18px;
    }
}

.lg-store-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

@media (min-width: 768px) {
    .lg-store-slider-nav {
        width: 48px;
        height: 48px;
    }
}

.lg-store-slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lg-store-slider-nav.prev {
    left: 16px;
}

.lg-store-slider-nav.next {
    right: 16px;
}

@media (min-width: 768px) {
    .lg-store-slider-nav.prev {
        left: 24px;
    }

    .lg-store-slider-nav.next {
        right: 24px;
    }
}

.lg-store-slide-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.lg-store-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .lg-store-indicator {
        width: 12px;
        height: 12px;
    }
}

.lg-store-indicator.active,
.lg-store-indicator:hover {
    background: white;
}

/* Category Navigation */
.lg-store-category-nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

@media (min-width: 768px) {
    .lg-store-category-nav {
        padding: 16px 0;
    }
}

.lg-store-category-nav .lg-store-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lg-store-category-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #16bcdc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .lg-store-category-toggle-btn {
        display: none;
    }
}

.lg-store-category-toggle-btn:hover {
    background: #0ea5e9;
}

.lg-store-toggle-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lg-store-dropdown-icon {
    transition: transform 0.3s ease;
}

    .lg-store-dropdown-icon.rotated {
        transform: rotate(180deg);
    }

.lg-store-desktop-categories {
    display: none;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .lg-store-desktop-categories::-webkit-scrollbar {
        display: none;
    }

@media (min-width: 1024px) {
    .lg-store-desktop-categories {
        display: flex;
    }
}

.lg-store-category-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .lg-store-category-btn:hover,
    .lg-store-category-btn.active {
        color: #16bcdc;
        border-bottom-color: #16bcdc;
    }

.lg-store-mobile-category-dropdown {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: white;
    border-top: 1px solid #e5e5e5;
    transition: max-height 0.3s ease;
}

    .lg-store-mobile-category-dropdown.show {
        max-height: 400px;
    }

@media (min-width: 1024px) {
    .lg-store-mobile-category-dropdown {
        display: none;
    }
}

.lg-store-dropdown-content {
    padding: 16px 0;
}

.lg-store-category-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .lg-store-category-dropdown-item:hover,
    .lg-store-category-dropdown-item.active {
        color: #16bcdc;
    }

/* Category Circles */
.lg-store-category-circles-section {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
    .lg-store-category-circles-section {
        padding: 32px 0;
    }
}

.lg-store-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.lg-store-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

@media (min-width: 768px) {
    .lg-store-section-title {
        font-size: 20px;
    }
}

.lg-store-view-all-btn {
    background: none;
    border: none;
    color: #16bcdc;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

    .lg-store-view-all-btn:hover {
        color: #0ea5e9;
    }

.lg-store-category-circles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (min-width: 480px) {
    .lg-store-category-circles {
        grid-template-columns: repeat(4, 1fr);
    }

    .lg-store-slide {
        display: none;
        position: relative;
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) {
    .lg-store-category-circles {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .lg-store-category-circles {
        grid-template-columns: repeat(9, 1fr);
        gap: 24px;
    }

    .lg-store-slide {
        display: none;
        position: relative;
        width: 100%;
        height: auto;
    }
}

.lg-store-category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    group: hover;
}

.lg-store-circle-icon {
    margin-bottom: 8px;
}

.lg-store-circle-background {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .lg-store-circle-background {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .lg-store-circle-background {
        width: 96px;
        height: 96px;
    }
}

.lg-store-category-circle-item:hover .lg-store-circle-background {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lg-store-circle-background.combo {
    background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.lg-store-circle-background.flash-sale {
    background: linear-gradient(135deg, #16bcdc, #0ea5e9);
}

.lg-store-circle-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-store-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .lg-store-badge {
        font-size: 9px;
        padding: 3px 8px;
    }
}

.sale-badge {
    background: #f59e0b;
    color: white;
    animation: pulse 2s infinite;
}

.hot-badge {
    background: #dc2626;
    color: white;
}

.combo-badge {
    background: #fbbf24;
    color: #1f2937;
}

.lg-store-circle-text {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .lg-store-circle-text {
        font-size: 12px;
    }
}

.lg-store-category-circle-item:hover .lg-store-circle-text {
    color: #16bcdc;
}


.lg-store-product-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 280px;
    width: 100%;
}

@media (min-width: 481px) and (max-width: 1024px) {
    .lg-store-product-card {
        height: 300px;
    }
}

@media (min-width: 1025px) {
    .lg-store-product-card {
        height: auto;
    }
}

.lg-store-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.lg-store-product-image-container {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.lg-store-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lg-store-product-card:hover .lg-store-product-image {
    transform: scale(1.05);
}

.lg-store-product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.lg-store-product-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .lg-store-product-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

.discount-badge {
    background: #f59e0b;
    color: white;
}

.hot-badge {
    background: #dc2626;
    color: white;
}

.new-badge {
    background: #10b981;
    color: white;
}

.lg-store-product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    gap: 8px;
}

.lg-store-product-card:hover .lg-store-product-actions {
    opacity: 1;
}

.lg-store-action-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

    .lg-store-action-btn:hover {
        background: white;
        transform: scale(1.1);
        color: #16bcdc;
    }

.lg-store-product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .lg-store-product-info {
        padding: 16px;
    }
}

.lg-store-product-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .lg-store-product-name {
        font-size: 13px;
        height: 36px;
    }
}

.lg-store-product-price {
    margin-bottom: 8px;
}

.lg-store-current-price {
    font-size: 14px;
    font-weight: 700;
    color: #f59e0b;
}

@media (min-width: 768px) {
    .lg-store-current-price {
        font-size: 16px;
    }
}

.lg-store-original-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}

@media (min-width: 768px) {
    .lg-store-original-price {
        font-size: 12px;
    }
}

.lg-store-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .lg-store-product-meta {
        font-size: 12px;
    }
}

.lg-store-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .lg-store-rating .fas.fa-star {
        color: #fbbf24;
    }

.lg-store-product-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
}

@media (min-width: 768px) {
    .lg-store-product-location {
        font-size: 12px;
    }
}

.lg-store-product-location .fas {
    color: #16bcdc;
}

/* Floating Action Button */
.lg-store-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #16bcdc;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 188, 220, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

    .lg-store-floating-btn.show {
        opacity: 1;
        visibility: visible;
    }

    .lg-store-floating-btn:hover {
        background: #0ea5e9;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(22, 188, 220, 0.6);
    }

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lg-store-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Utilities */
.lg-store-hidden {
    display: none !important;
}

.lg-store-visible {
    display: block !important;
}

/* Products Main Section */
.lg-store-products-main {
    background: white;
    padding: 24px 0;
}

.lg-store-products-wrapper {
    margin-bottom: 32px;
}

.lg-store-products-grid {
    display: grid;
    gap: 16px;
    padding: 10px 0;
    overflow: hidden;
    grid-template-columns: repeat(4, 1fr);
}

/* Mobile: 4 sản phẩm */
@media (max-width: 480px) {
    .lg-store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Tablet: 6 sản phẩm */
@media (min-width: 481px) and (max-width: 1024px) {
    .lg-store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Desktop: 8 sản phẩm */
@media (min-width: 1025px) {
    .lg-store-products-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}

/* Detailed Product Section */
.lg-store-detailed-product-section {
    background: #f5f5f5;
    padding: 32px 0;
}

.lg-store-product-listing-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .lg-store-product-listing-wrapper {
        grid-template-columns: 1fr;
    }

    .lg-store-product-sidebar {
        display: none;
    }

        .lg-store-product-sidebar.mobile-visible {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 1000;
            padding: 20px;
            overflow-y: auto;
        }
}

/* Product Sidebar */
.lg-store-product-sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.lg-store-sidebar-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

    .lg-store-sidebar-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.lg-store-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #16bcdc;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #16bcdc;
}

.lg-store-sidebar-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.lg-store-category-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lg-store-filter-item {
    background-color: #ffff;
    border: none;
    padding: 8px 12px;
    text-align: left;
    color: black;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .lg-store-filter-item:hover {
        background: #dbeef7;
    }

/* Product Main Content */
.lg-store-product-main-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sort and Filter Bar */
.lg-store-sort-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .lg-store-sort-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

.lg-store-sort-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .lg-store-sort-options {
        justify-content: space-between;
        order: 2;
    }
}

.lg-store-sort-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.lg-store-sort-btn {
    background: none;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .lg-store-sort-btn:hover {
        border-color: #16bcdc;
        color: #16bcdc;
    }

    .lg-store-sort-btn.active {
        background: #16bcdc;
        color: white;
        border-color: #16bcdc;
    }

.lg-store-price-sort-dropdown {
    position: relative;
}

.lg-store-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lg-store-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    .lg-store-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .lg-store-dropdown-menu button {
        display: block;
        width: 100%;
        background: none;
        border: none;
        padding: 10px 16px;
        text-align: left;
        color: #666;
        font-size: 13px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .lg-store-dropdown-menu button:hover {
            background: #f8f9fa;
            color: #16bcdc;
        }

.lg-store-page-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lg-store-page-info {
        order: 1;
    }
}

.lg-store-search-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 400px;
}

@media (max-width: 768px) {
    .lg-store-search-section {
        order: 3;
        max-width: none;
    }
}

.lg-store-search-section input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
}

    .lg-store-search-section input:focus {
        outline: none;
        border-color: #16bcdc;
    }

.lg-store-search-btn {
    background: #16bcdc;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .lg-store-search-btn:hover {
        background: #0ea5e9;
    }

/* Detailed Products Grid */
.lg-store-detailed-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

@media (max-width: 480px) {
    .lg-store-detailed-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
}

.lg-store-detailed-product-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

    .lg-store-detailed-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

.lg-store-detailed-product-image {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
}

    .lg-store-detailed-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.lg-store-detailed-product-card:hover .lg-store-detailed-product-image img {
    transform: scale(1.05);
}

.lg-store-quick-view-btn {
    position: absolute;
    bottom: 8px;
    left: 30%;
    transform: translateX(-50%);
    background: rgba(22, 188, 220, 0.9);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.lg-store-detailed-product-card:hover .lg-store-quick-view-btn {
    opacity: 1;
}

.lg-store-detailed-product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lg-store-detailed-product-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    height: 35px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lg-store-detailed-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #16bcdc;
    margin-bottom: 4px;
}

.detailed-product-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}

.lg-store-cart-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #16bcdc;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.lg-store-detailed-product-card:hover .lg-store-cart-btn {
    opacity: 1;
}

.lg-store-cart-btn:hover {
    background: #0ea5e9;
    transform: scale(1.1);
}

/* Pagination */
.lg-store-pagination-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.lg-store-pagination-btn {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

    .lg-store-pagination-btn:hover {
        border-color: #16bcdc;
        color: #16bcdc;
    }

    .lg-store-pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.lg-store-pagination-numbers {
    display: flex;
    gap: 4px;
}

.lg-store-page-number {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
}

    .lg-store-page-number:hover {
        border-color: #16bcdc;
        color: #16bcdc;
    }

    .lg-store-page-number.active {
        background: #16bcdc;
        color: white;
        border-color: #16bcdc;
    }

/* Print Styles */
@media print {
    .lg-store-floating-btn,
    .lg-store-slider-nav,
    .lg-store-slide-indicators,
    .lg-store-product-sidebar,
    .lg-store-sort-filter-bar,
    .lg-store-pagination-section {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}

/* Scroll to products section */
/* Scroll to products section - Responsive scroll margins */
.lg-store-products-main {
    scroll-margin-top: 80px; /* Base scroll margin for mobile */
}

.lg-store-detailed-product-section {
    scroll-margin-top: 80px; /* Base scroll margin for mobile */
}

/* Desktop scroll adjustments */
@media (min-width: 768px) {
    .lg-store-products-main {
        scroll-margin-top: 120px; /* Desktop scroll margin */
    }

    .lg-store-detailed-product-section {
        scroll-margin-top: 120px; /* Desktop scroll margin */
    }
}

@media (min-width: 1024px) {
    .lg-store-products-main {
        scroll-margin-top: 140px; /* Large desktop scroll margin */
    }

    .lg-store-detailed-product-section {
        scroll-margin-top: 140px; /* Large desktop scroll margin */
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nova-container {
        padding: 0 var(--nova-spacing-md);
    }
}
