/* ================================================
   Store Page — Dark Theme
   ================================================ */

/* Base */
.store-body {
    background: #121217;
    color: #e5e5e5;
}

.store-main {
    padding-top: 100px;
}

.store-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb */
.store-breadcrumb {
    padding: 20px 0;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.store-breadcrumb a:hover {
    color: #fff;
}

.store-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* Product Section */
.store-product-section {
    padding: 40px 0 80px;
}

.store-product-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Gallery */
.store-gallery {
    position: sticky;
    top: 120px;
    padding: 0 35px;
}

.store-gallery-main {
    background: #1a1a20;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 400px;
}

.store-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
    transition: opacity 0.4s ease;
}

.store-gallery-thumbs {
    display: flex;
    gap: 15px;
}

.store-thumb {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: #1a1a20;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
    padding: 0;
}

.store-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.velonix-gallery {
    padding: 0 35px;
}

.velonix-gallery .store-gallery-main {
    height: auto;
    background: transparent;
    border: none;
    display: block;
}

.velonix-gallery .store-gallery-main img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-thumb:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.store-thumb.active {
    border-color: var(--accent-cyan, #00e5ff);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Product Info */
.store-brand {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
}

.store-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.05;
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.store-rating .stars {
    color: #f5a623;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.store-rating .rating-text {
    font-size: 0.9rem;
    color: #666;
}

.store-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #999;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Variant Selector */
.store-variants {
    margin-bottom: 40px;
}

.store-variants h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    font-weight: 600;
    margin-bottom: 16px;
}

.variant-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.variant-card {
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.variant-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.variant-card.active {
    border-color: var(--accent-cyan, #00e5ff);
    background: rgba(0, 229, 255, 0.05);
}

.variant-card input[type="radio"] {
    display: none;
}

.variant-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variant-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.variant-price {
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.variant-desc {
    font-size: 0.9rem;
    color: #777;
}

.variant-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #00e5ff, #7c4dff);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

/* Price Display */
.store-price-display {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 32px;
}

.store-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.store-vat {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-top: 6px;
}

.store-shipping-info {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #a0a0b0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

/* Action Buttons */
.store-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-store-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, #00e5ff, #7c4dff);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
}

.btn-store-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.25);
    filter: brightness(1.1);
}

.btn-store-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
}

.btn-store-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Trust Badges */
.store-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #888;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-icon {
    font-size: 1.2rem;
}

/* Store Sections */
.store-section {
    padding: 60px 0;
}

.store-section:nth-child(even) {
    background: #0e0e14;
}

.store-section-title {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.store-section-sub {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* What's Included Grid */
.store-included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.included-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px 16px;
    transition: all 0.3s;
}

.included-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.included-item img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 14px;
}

.included-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #ccc;
    line-height: 1.4;
}

.family-only {
    border-color: rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.03);
}

.family-tag {
    display: block;
    font-size: 0.7rem;
    color: #00e5ff;
    font-weight: 700;
    margin-top: 4px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#rower-item img,
#rowing-bar-item img {
    width: 280px;
    height: 220px;
}

/* Spec Table */
.store-specs-section {
    background: #0e0e14;
}

.store-specs-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.store-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.store-spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.store-spec-table tr:last-child {
    border-bottom: none;
}

.store-spec-table td {
    padding: 16px 0;
    font-size: 0.95rem;
}

.spec-label {
    color: #666;
    font-weight: 500;
    width: 40%;
}

.spec-value {
    color: #ddd;
    font-weight: 600;
}

/* Infographic */
.store-infographic {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-infographic img {
    width: 100%;
    display: block;
}

/* Optional Accessories */
.store-accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.store-accessory-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.store-accessory-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.store-accessory-img {
    background: #111118;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

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

.store-accessory-info {
    padding: 16px;
    text-align: center;
}

.store-accessory-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #eee;
    margin-bottom: 4px;
}

.store-accessory-info p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.store-accessory-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

/* FAQ */
.store-faq-section {
    background: #0a0a0f !important;
}

.store-faq {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ddd;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #444;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #00e5ff;
}

.faq-item[open] summary {
    color: #fff;
}

.faq-item p {
    padding: 0 0 20px;
    color: #888;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Store CTA */
.store-cta {
    padding: 80px 0;
    background: #0a0a0f !important;
}

.store-cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 77, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 40px;
    border-radius: 20px;
}

.store-cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 12px;
    color: #fff;
}

.store-cta-box p {
    color: #777;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.store-cta-box .btn-store-primary {
    display: inline-flex;
}

/* Highlights Bar */
.store-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-item {
    text-align: center;
}

.highlight-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.highlight-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 4px;
}

/* Feature Cards Grid */
.store-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.store-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.store-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.store-feature-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.store-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.store-feature-card:hover .store-feature-img img {
    transform: scale(1.05);
}

.store-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #eee;
    padding: 16px 16px 6px;
}

.store-feature-card p {
    font-size: 0.85rem;
    color: #777;
    padding: 0 16px 16px;
    line-height: 1.6;
}

/* GM2 Specific Feature Grid */
/* GM2 Specific Feature Grid */
.gm2-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dual-feature-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dual-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-img-shift {
    object-position: 15% center;
}

/* Mini Carousel Override for Cards */
.mini-carousel-container {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.carousel-21-9 {
    aspect-ratio: 21/9 !important;
}

.mini-carousel {
    height: 100%;
    width: 100%;
    position: relative;
}

.mini-carousel .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
}

.mini-carousel .carousel-dots {
    bottom: 25px;
    right: 25px;
}

.mini-carousel .carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
}

.mini-carousel .carousel-dot.active {
    background: #00e5ff;
    transform: scale(1.2);
}

/* Mini Masonry for Cards */
.mini-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    height: 100%;
    padding: 4px;
    background: #0e0e11;
}

.mini-masonry-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.mini-masonry-grid img:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* Movements Section Spacing */
.store-section .movements-grid {
    padding: 40px 0;
}

@media (max-width: 1024px) {
    .store-app-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .store-app-text {
        text-align: center;
    }

    .store-app-text .store-section-title {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .store-container {
        padding: 0 20px;
    }

    .store-product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .store-gallery {
        position: relative;
        top: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .store-gallery-main {
        min-height: 300px;
    }

    .store-title {
        font-size: 1.8rem;
    }

    .store-actions {
        flex-direction: column;
        gap: 12px;
    }

    .store-actions .btn {
        width: 100%;
        text-align: center;
    }

    .store-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .store-included-grid,
    .store-accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .included-item {
        min-width: auto;
        padding: 15px;
    }

    .included-item img {
        width: 80px;
        height: 80px;
    }

    #rower-item img,
    #rowing-bar-item img {
        width: 120px;
        height: 100px;
    }

    .store-features-grid,
    .gm2-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dual-feature-img {
        grid-template-columns: 1fr 1fr;
    }

    .store-specs-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .store-spec-table {
        min-width: 500px;
    }

    .store-section {
        padding: 60px 0;
    }

    .store-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .store-highlights {
        grid-template-columns: 1fr;
    }

    .store-included-grid,
    .store-accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-gallery-thumbs {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .store-thumb {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
}

/* CSS Scroll-Snapping Carousel */
.swipe-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 24px;
    margin-top: 40px;
    /* Customized Slider Indicator */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.05);
}

.swipe-carousel::-webkit-scrollbar {
    display: block;
    height: 6px;
}

.swipe-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.swipe-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.swipe-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan, #00e5ff);
}

/* Physical Swipe Buttons */
.swipe-carousel-wrapper {
    position: relative;
    width: 100%;
}

.swipe-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 10, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.swipe-btn:hover {
    background: var(--accent-cyan, #00e5ff);
    border-color: var(--accent-cyan, #00e5ff);
    color: #000;
}

.swipe-btn.prev-btn {
    left: -15px;
}

.swipe-btn.next-btn {
    right: -15px;
}

@media (max-width: 768px) {
    .swipe-btn {
        display: none; /* Mobile relies on natural swiping */
    }
}

.swipe-carousel > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Sizing for different sections */
.swipe-carousel.accessories-carousel > * {
    width: calc(25% - 15px);
}

.swipe-carousel.movements-carousel > * {
    width: calc(20% - 16px);
}

.swipe-carousel.features-carousel > * {
    width: calc(33.333% - 14px);
}

.swipe-carousel.gm2-features-carousel > * {
    width: calc(50% - 10px);
}

/* Mobile responsive sizing for peeking effect */
@media (max-width: 1024px) {
    .swipe-carousel.accessories-carousel > * { width: calc(33.333% - 14px); }
    .swipe-carousel.movements-carousel > * { width: calc(33.333% - 14px); }
    .swipe-carousel.gm2-features-carousel > * { width: calc(85% - 10px); }
    .swipe-carousel.features-carousel > * { width: calc(50% - 10px); }
}

@media (max-width: 768px) {
    .swipe-carousel.accessories-carousel > * { width: calc(45% - 10px); }
    .swipe-carousel.movements-carousel > * { width: calc(45% - 10px); }
    .swipe-carousel.features-carousel > * { width: calc(85% - 10px); }
    .swipe-carousel.gm2-features-carousel > * { width: calc(90% - 10px); }
}

@media (max-width: 480px) {
    .swipe-carousel.accessories-carousel > * { width: calc(65% - 10px); }
    .swipe-carousel.movements-carousel > * { width: calc(65% - 10px); }
}