/* ====================================
   VITRINON STORE PAGE - MODERN DESIGN
   UPDATED: Footer Fix Applied!
   ==================================== */

/* ✅ FOOTER FIX: Sayfa en altına padding ekle */

:root {
    --primary-color: #fc5021;
    --primary-hover: #e63d0f;
    --primary-light: #fff5f2;
    --dark: #1a1a1a;
    --gray-900: #2d3436;
    --gray-700: #636e72;
    --gray-500: #95a5a6;
    --gray-300: #dfe6e9;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.storePage {
    background: var(--gray-100);
    padding-top: 0 !important;
    padding-bottom: 200px !important;
    /* Footer için BÜYÜK boşluk - EN ÖNEMLİ FIX */
}

/* ==================
   STORE HERO SECTION
   ================== */
.storeHero {
    position: relative;
    background: linear-gradient(135deg, #fc5021 0%, #ff7849 50%, #ffa574 100%);
    padding: 2.5rem 0 2rem;
    overflow: hidden;
    min-height: auto !important;
    max-height: none;
    height: auto;
}

.storeHero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    height: 100%;
    width: 100%;
}

.storeHeroContent {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.storeLogo {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 20px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
    transition: var(--transition);
}

.storeLogo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.storeLogoPlaceholder {
    font-size: 3rem;
    color: var(--gray-300);
}

.storeInfo {
    flex: 1;
    color: var(--white);
}

.storeName {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.storeDescription {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    max-width: 600px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.storeMetrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metricCard {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: var(--transition);
}

.metricCard:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.metricCard i {
    font-size: 1.25rem;
    opacity: 0.9;
}

.metricContent {
    display: flex;
    flex-direction: column;
}

.metricValue {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.metricLabel {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.storeActions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.btnPrimary,
.btnSecondary {
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btnPrimary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btnPrimary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btnSecondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btnSecondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================
   STORE NAVIGATION
   =================== */
.storeNav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.storeNavContent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 3rem;
}

.navLink {
    padding: 1.25rem 0;
    color: var(--gray-700);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navLink:hover {
    color: var(--primary-color);
}

.navLink.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ====================
   STORE CONTENT GRID
   ==================== */
.storeContent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 24px;
    min-height: 60vh;
}

.tabContent {
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
    min-height: 50vh;
}

.tabContent.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.storeLayout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    min-height: 70vh;
}

/* ================
   SIDEBAR FILTERS
   ================ */
.storeSidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 80px;
}

.filterCard {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
    /* Mouse wheel scroll için pointer-events ayarı */
    position: relative;
}

/* filterCard içindeki scrollable içerikler için hover durumunda scroll aktif */
.filterCard:hover .categoryList,
.filterCard:focus-within .categoryList {
    pointer-events: auto;
}

.filterTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filterTitle i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.categoryList {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    /* Mouse wheel scroll için */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Scroll event'ini izole et */
    overscroll-behavior: contain;
}

.categoryList::-webkit-scrollbar {
    width: 6px;
}

.categoryList::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.categoryList::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
    transition: var(--transition);
}

.categoryList::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.categoryItem {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--gray-700);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.categoryItem::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    transition: var(--transition);
}

.categoryItem:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.categoryItem:hover::before {
    height: 60%;
}

.categoryItem.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    padding-left: 1.25rem;
}

.categoryItem.active::before {
    height: 60%;
}

.categoryCount {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.categoryItem.active .categoryCount {
    background: var(--white);
    color: var(--primary-color);
}

.storeInfoCard {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border: 2px solid var(--primary-color);
}

.storeInfoCard .filterTitle {
    color: var(--primary-color);
}

.storeInfoItem {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.storeInfoItem i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 24px;
}

.storeInfoItem strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* ===================
   PRODUCTS SECTION
   =================== */
.productsSection {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.productsHeader {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.productsHeaderLeft h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
}

.productsCount {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.productsHeaderRight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sortLabel {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
}

.sortSelect {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.sortSelect:hover {
    border-color: var(--primary-color);
}

.sortSelect:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* ==========================
   CATEGORY PRODUCT SLIDERS
   ========================== */
.categoryProductSliders {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ==================
   GRID LAYOUT WRAPPER (Footer overlap fix)
   ================== */
.cardsGridWrapper {
    max-height: 200vh;
    /* Maksimum yükseklik: viewport'un 2 katı (çok uzun) */
    overflow-y: auto;
    /* Taşarsa kaydır */
    overflow-x: hidden;
    /* Yatay kaydırma yok */
    margin-bottom: 3rem;
    padding-right: 0.5rem;
    /* Scrollbar için boşluk */
}

/* Custom scrollbar for cardsGridWrapper */
.cardsGridWrapper::-webkit-scrollbar {
    width: 8px;
}

.cardsGridWrapper::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.cardsGridWrapper::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
    transition: var(--transition);
}

.cardsGridWrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==================
   GRID LAYOUT (Kategori Seçildiğinde)
   ================== */
.cardsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.cardsGrid .sliderItem {
    width: 100%;
    margin: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    /* Minimum yükseklik */
    height: 100%;
    /* Tam yükseklik */
}

.cardsGrid .sliderItem:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cardsGrid .sliderItem .imageArea {
    position: relative;
    width: 100%;
    height: 280px;
    /* Biraz daha yüksek */
    background: var(--gray-100);
    overflow: hidden;
    flex-shrink: 0;
    /* Sıkışmasını önle */
}

.cardsGrid .sliderItem .imageSlider {
    width: 100%;
    height: 100%;
    position: relative;
}

.cardsGrid .sliderItem .imageSlider .image {
    width: 100%;
    height: 100%;
    display: none;
}

.cardsGrid .sliderItem .imageSlider .image.active {
    display: block;
}

.cardsGrid .sliderItem .imageSlider .image img.cardImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cardsGrid .sliderItem .btnArea {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.cardsGrid .sliderItem .btnArea .fav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cardsGrid .sliderItem .btnArea .fav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cardsGrid .sliderItem .contentArea {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    /* Kalan alanı kaplasın */
    min-height: 0;
    /* Flexbox içinde taşmayı önle */
}

/* Trendyol Style Product Info (Grid Layout için) */
.cardsGrid .productInfoRoot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    /* Kalan alanı kaplasın */
    padding: 0 4px;
    min-height: 100px;
    /* Minimum yükseklik */
}

.cardsGrid .productInfoRoot * {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

.cardsGrid .titleRoot {
    align-items: center;
    display: flex;
    margin: 0;
}

.cardsGrid .titleRoot .titleText {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -moz-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #454545;
    display: -webkit-box;
    font-size: 13px;
    /* Biraz daha büyük */
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 18px;
    /* Daha rahat satır yüksekliği */
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    min-height: 36px;
    /* 2 satır için minimum yükseklik */
}

.cardsGrid .titleRoot .titleText:hover {
    color: #1e1e1e;
}

.cardsGrid .titleRoot .titleText .brandText {
    font-weight: 700;
    color: #1e1e1e;
}

.cardsGrid .merchantRoot {
    margin-top: 4px;
    min-height: 20px;
    /* Minimum yükseklik */
}

.cardsGrid .merchantRoot .merchantText {
    color: #666;
    font-size: 12px;
    /* Biraz daha büyük */
    font-weight: 400;
    line-height: 16px;
    /* Daha rahat */
}

.cardsGrid .priceArea {
    margin-top: 8px;
    min-height: 30px;
    /* Minimum yükseklik */
}

.cardsGrid .priceArea .finalPrice {
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.35px;
    line-height: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

.cardsGrid .priceArea .finalPrice .finalPriceFraction {
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.35px;
    line-height: 16px;
}

/* Features and Badges (Grid Layout için) */
.cardsGrid .unlimitedFeatures {
    position: relative;
    overflow: hidden;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
    /* Ayırıcı çizgi */
}

.cardsGrid .unlimitedFeatures .featureArea {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cardsGrid .unlimitedFeatures .feature {
    font-size: 11px;
    /* Biraz daha büyük */
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cardsGrid .unlimitedFeatures .feature i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.cardsGrid .badgeArea {
    margin-top: auto;
    /* En alta yapışsın */
    padding-top: 0.75rem;
    min-height: 32px;
}

.cardsGrid .badgeArea .badge.normal {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    width: fit-content;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(252, 80, 33, 0.2);
}

.lazy-load-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    color: var(--gray-500);
    min-height: 200px;
}

.lazy-load-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.lazy-load-placeholder p {
    margin: 0;
    font-size: 0.95rem;
}

.loadMoreCategories {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categorySliderSection {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
}

.categorySliderHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.categorySliderTitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.categorySliderTitle i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.categoryProductBadge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btnViewAll {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btnViewAll:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
}

.btnViewAll i {
    transition: transform 0.3s;
}

.btnViewAll:hover i {
    transform: translateX(4px);
}

.productSliderWrapper {
    position: relative;
}

.productSlider {
    margin: 0 -0.5rem;
}

.productSlider .sliderItem {
    width: 260px;
    margin: 0 0.5rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.productSlider .sliderItem:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.productSlider .sliderItem .imageArea {
    position: relative;
    width: 100%;
    height: 260px;
    background: var(--gray-100);
    overflow: hidden;
}

.productSlider .sliderItem .imageSlider {
    width: 100%;
    height: 100%;
    position: relative;
}

.productSlider .sliderItem .imageSlider .image {
    width: 100%;
    height: 100%;
    display: none;
}

.productSlider .sliderItem .imageSlider .image.active {
    display: block;
}

.productSlider .sliderItem .imageSlider .image img.cardImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.productSlider .sliderItem .btnArea {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.productSlider .sliderItem .btnArea .fav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.productSlider .sliderItem .btnArea .fav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.productSlider .sliderItem .contentArea {
    padding: 1rem;
}

.productSlider .sliderItem .contentArea .pTitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.productSlider .sliderItem .contentArea .priceArea {
    margin-top: 0.75rem;
}

.productSlider .sliderItem .contentArea .priceArea .nowPrice {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.productSlider .sliderItem .contentArea .priceArea .nowPrice .price {
    font-size: 1.25rem;
}

.productSlider .sliderItem .contentArea .priceArea .nowPrice .currency {
    font-size: 1rem;
}

/* Flickity Buttons Override */
.productSlider .flickity-button {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: var(--shadow-md);
}

.productSlider .flickity-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.productSlider .flickity-button:hover .flickity-button-icon {
    fill: var(--white);
}

.productSlider .flickity-button-icon {
    fill: var(--gray-700);
}

/* ===============
   PRODUCTS GRID (Not Used)
   =============== */
.productsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.productCard {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.productCard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.productLink {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.productImageWrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f3f5 100%);
    overflow: hidden;
}

.productImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
}

.productImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.productCard:hover .productImage img {
    transform: scale(1.1);
}

.productBadge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.btnFavorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 2;
    color: var(--gray-500);
}

.btnFavorite:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.15);
}

.btnFavorite.active {
    background: var(--primary-color);
    color: var(--white);
}

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

.productInfo {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.productName {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.85rem;
}

.productPricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: auto;
}

.currentPrice {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.oldPrice {
    font-size: 1rem;
    color: var(--gray-500);
    text-decoration: line-through;
    font-weight: 500;
}

.productStore {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-size: 0.85rem;
}

.productStore i {
    color: var(--gray-400);
}

/* ============
   PAGINATION
   ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.paginationBtn,
.paginationPage {
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.paginationBtn:hover,
.paginationPage:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.paginationPage.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.paginationBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.paginationBtn:disabled:hover {
    background: var(--white);
    border-color: var(--gray-300);
    color: var(--gray-700);
    transform: none;
}

/* ============
   EMPTY STATE
   ============ */
.emptyState {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.emptyState i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.emptyState h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.emptyState p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* =================
   LOADING SPINNER
   ================= */
.loadingIndicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.loadingIndicator i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==================
   RESPONSIVE DESIGN
   ================== */
@media (max-width: 1200px) {
    .storeLayout {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }

    .productsGrid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .storeLayout {
        grid-template-columns: 1fr;
    }

    .storeSidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .productsGrid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Category Sliders - Tablet */
    .categorySliderSection {
        padding: 1.5rem;
    }

    .categorySliderHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .categorySliderTitle {
        font-size: 1.25rem;
    }

    .btnViewAll {
        width: 100%;
        justify-content: center;
    }

    .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .storeHero {
        padding: 1.75rem 0 1.5rem;
    }

    .storeHeroContent {
        padding: 0 20px;
    }

    .storeHeroMain {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        margin-bottom: 1rem;
    }

    .storeLogo {
        width: 70px;
        height: 70px;
        border-radius: 16px;
        padding: 0.6rem;
    }

    .storeName {
        font-size: 1.4rem;
        margin-bottom: 0.35rem;
    }

    .storeDescription {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .storeMetrics {
        gap: 0.75rem;
    }

    .metricCard {
        padding: 0.6rem 1rem;
    }

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

    .metricValue {
        font-size: 1.1rem;
    }

    .metricLabel {
        font-size: 0.75rem;
    }

    .storeActions {
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .btnPrimary,
    .btnSecondary {
        flex: 1;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .storeNavContent {
        gap: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navLink {
        white-space: nowrap;
    }

    .storeContent {
        padding: 2rem 20px;
    }

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

    .productsHeader {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
    }

    .productsHeaderLeft h2 {
        font-size: 1.5rem;
    }

    .productsHeaderRight {
        flex-direction: column;
        align-items: stretch;
    }

    .sortSelect {
        width: 100%;
    }

    .productsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .productInfo {
        padding: 1.25rem;
    }

    .currentPrice {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    /* Category Sliders - Mobile */
    .categorySliderSection {
        padding: 1.25rem;
    }

    .categorySliderHeader {
        gap: 0.75rem;
    }

    .categorySliderTitle {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .categorySliderTitle i {
        font-size: 1.4rem;
    }

    .categoryProductBadge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .productSlider .sliderItem {
        width: 200px;
    }

    .storeHero {
        padding: 1.5rem 0 1.25rem;
    }

    .storeHeroContent {
        padding: 0 16px;
    }

    .storeHeroMain {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .storeLogo {
        width: 65px;
        height: 65px;
    }

    .storeName {
        font-size: 1.25rem;
    }

    .storeDescription {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .storeMetrics {
        width: 100%;
        flex-wrap: wrap;
    }

    .metricCard {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
        padding: 0.5rem 0.75rem;
    }

    .metricValue {
        font-size: 1rem;
    }

    .metricLabel {
        font-size: 0.7rem;
    }

    .storeActions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .btnPrimary,
    .btnSecondary {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .storeContent {
        padding: 1.5rem 16px;
    }

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

    .pagination {
        flex-wrap: wrap;
    }
}

/* ==================
   SMOOTH SCROLLING
   ================== */
html {
    scroll-behavior: smooth;
}

/* ==================
   SELECTION COLORS
   ================== */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================
   ABOUT SECTION
   ================== */
.storeAboutSection {
    background: var(--white);
    padding: 4rem 0;
    min-height: 50vh;
}

.storeAboutContent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 4rem 24px;
}

.sectionHeader {
    text-align: center;
    margin-bottom: 3rem;
}

.sectionTitle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.sectionTitle i {
    color: var(--primary-color);
    font-size: 2.25rem;
}

.aboutGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.aboutCard {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.aboutCard:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.aboutCard.fullWidth {
    grid-column: 1 / -1;
}

.aboutCardIcon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.aboutCardIcon i {
    font-size: 1.75rem;
    color: var(--white);
}

.aboutCard h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.aboutCardContent p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.infoRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.infoRow:last-child {
    border-bottom: none;
}

.infoLabel {
    font-weight: 600;
    color: var(--gray-700);
}

.infoValue {
    color: var(--gray-900);
    font-weight: 500;
}

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

.infoValue a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.featureList {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.featureList li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

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

/* ==================
   REVIEWS SECTION
   ================== */
.storeReviewsSection {
    background: var(--gray-100);
    padding: 4rem 0;
    min-height: 50vh;
}

.storeReviewsContent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 4rem 24px;
}

.comingSoonCard {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.comingSoonIcon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-md);
}

.comingSoonIcon i {
    font-size: 3rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.comingSoonCard h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.comingSoonCard>p {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.comingSoonFeatures {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.comingSoonFeatures .featureItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.comingSoonFeatures .featureItem i {
    font-size: 2rem;
    color: var(--primary-color);
}

.comingSoonFeatures .featureItem span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ==================
   CONTACT SECTION
   ================== */
.storeContactSection {
    background: var(--white);
    padding: 4rem 0;
    min-height: 50vh;
}

.storeContactContent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 4rem 24px;
}

.contactGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contactCard {
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.contactCard:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contactCard.fullWidth {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border: 2px solid var(--primary-color);
}

.contactCardIcon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contactCardIcon i {
    font-size: 1.75rem;
    color: var(--white);
}

.contactCard h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contactCard p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contactLink {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.contactLink:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
}

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

/* ==================
   RESPONSIVE - ABOUT/REVIEWS/CONTACT
   ================== */
@media (max-width: 768px) {

    .storeAboutSection,
    .storeReviewsSection,
    .storeContactSection {
        padding: 3rem 0;
    }

    .storeAboutContent,
    .storeReviewsContent,
    .storeContactContent {
        padding: 0 20px;
    }

    .sectionTitle {
        font-size: 1.5rem;
    }

    .sectionTitle i {
        font-size: 1.75rem;
    }

    .aboutGrid,
    .contactGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comingSoonCard {
        padding: 3rem 1.5rem;
    }

    .comingSoonIcon {
        width: 80px;
        height: 80px;
    }

    .comingSoonIcon i {
        font-size: 2.5rem;
    }

    .comingSoonCard h3 {
        font-size: 1.5rem;
    }

    .comingSoonCard>p {
        font-size: 1rem;
    }

    .comingSoonFeatures {
        gap: 1.5rem;
    }

    .infoRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 576px) {
    .cardsGrid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {

    .storeAboutSection,
    .storeReviewsSection,
    .storeContactSection {
        padding: 2rem 0;
    }

    .storeAboutContent,
    .storeReviewsContent,
    .storeContactContent {
        padding: 0 16px;
    }

    .sectionHeader {
        margin-bottom: 2rem;
    }

    .aboutCard,
    .contactCard {
        padding: 1.5rem;
    }

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

    .aboutCardIcon,
    .contactCardIcon {
        width: 50px;
        height: 50px;
    }

    .aboutCardIcon i,
    .contactCardIcon i {
        font-size: 1.5rem;
    }

    .contactLink {
        width: 100%;
        justify-content: center;
    }
}