/* Store Detail Page Styles */
.store-detail {
    padding-top: 60px;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 365px;
    padding-right: 20px;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Hero Section */
.store-hero {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Store Header */
.store-header {
    width: 100%;
    margin-bottom: 60px;
}

.header-content {
    max-width: 600px;
}

.header-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tag {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Store Title */
.store-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

/* Store Info Grid */
.store-info-grid {
    margin-bottom: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 12px 0;
}

.detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 400;
}

.detail-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
}

/* Navigation Layout */
.store-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 100;
}

.store-section-nav {
    position: fixed;
    left: 65px;
    top: 0;
    width: 340px;
    bottom: 0;
    border-right: 1px solid #343434;
    padding: 32px 24px;
    overflow-y: auto;
    background: var(--background);
}

/* Section Header */
.section-header h2 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 32px;
}

/* Now Viewing Section */
.now-viewing {
    margin-bottom: 48px;
}

.label {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.current-item,
.store-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.current-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.store-item {
    transition: background-color 0.2s ease;
}

.store-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.item-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    background: rgba(25, 25, 25, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.item-content {
    position: relative;
    z-index: 1;
}

.item-content h3 {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.item-content p {
    color: #666;
    font-size: 14px;
}

/* Progress indicator for current item */
.current-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transform-origin: left;
    transform: scaleX(var(--scroll-progress, 0));
    will-change: transform;
}

/* Store Item Sections */
.store-section {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.section-icon {
    width: 24px;
    height: 24px;
    color: #666;
}

.section-icon svg {
    width: 100%;
    height: 100%;
}

.section-content {
    flex: 1;
}

/* More Items Section */
.more-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Categories Section */
.store-categories {
    margin-top: 32px;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Store Preview */
.store-preview {
    width: 100%;
    margin: 60px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Store Content */
.store-content {
    max-width: 600px;
    margin: 0 auto;
}

.store-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.store-content h2 {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 48px 0 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

/* Categories Menu Styles */
.categories-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .categories-menu {
        display: block;
        top: 12px;
        right: 12px;
    }

    .store-section-nav {
        display: none;
    }

    .store-detail {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.hamburger-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1a1a1a;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.categories-menu.active .categories-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-content {
    padding: 16px;
}

.categories-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-content li {
    margin-bottom: 4px;
}

.categories-content a {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.categories-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Store Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.product-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .store-section-nav {
        width: 260px;
    }

    .store-detail {
        padding-left: 325px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .store-section-nav {
        display: none;
    }

    .store-detail {
        padding-left: 20px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .store-title {
        font-size: 36px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

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

/* Add these styles to your existing CSS */
.external-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.link-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.external-link:hover .link-icon {
    opacity: 1;
}

.categories-content ul li:not(:last-child) {
    margin-bottom: 8px;
}

.categories-content a {
    padding: 10px 12px;
}

.footer {
    padding-left: 300px;
}

@media (max-width: 768px) {
    .footer {
        padding-left: inherit;
    }
}