/*
Theme Name: MVP Ecommerce
Description: A high-status, neon dark mode block theme for WooCommerce.
Author: Assistant
Version: 1.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: mvp-ecommerce
Tags: full-site-editing, ecommerce, minimal, block-theme, dark-mode
*/

/* Custom Utilities for Neon Dark Mode */

.neon-glow {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4), inset 0 0 10px rgba(168, 85, 247, 0.1);
}

.neon-glow-text {
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.wp-block-button__link.neon-button {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.8);
}

.wp-block-button__link.neon-button:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
    background: #d946ef !important;
}

.glass-card {
    background: rgba(24, 24, 27, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
}

.hero-glow-bg {
    position: relative;
    overflow: hidden;
}

.hero-glow-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-bg > * {
    position: relative;
    z-index: 1;
}

/* Accordion Styling overrides */
.wp-block-details {
    background: var(--wp--preset--color--secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.wp-block-details summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--wp--preset--color--primary);
}

/* Form overrides */
input[type="text"],
input[type="email"],
textarea {
    background: rgba(24, 24, 27, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 6px;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--wp--preset--color--primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2) !important;
}

/* WooCommerce Overrides for Dark Mode */
.woocommerce ul.products li.product {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.3);
}
.woocommerce ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.woocommerce ul.products li.product .price {
    color: var(--wp--preset--color--primary);
    font-weight: 600;
}

/* Custom Sorting Dropdown Styling */
.woocommerce-ordering select {
    background-color: rgba(24, 24, 27, 0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
    padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23a855f7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1rem !important;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
    outline: none !important;
    border-color: var(--wp--preset--color--primary) !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5) !important;
}

.woocommerce-ordering select option {
    background-color: #18181b;
    color: #fff;
}

/* Header & Footer Centered 80% Container Constraints */
.site-header-inner,
.site-footer-inner {
    max-width: 80% !important;
    width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

@media (max-width: 1024px) {
    .site-header-inner,
    .site-footer-inner {
        max-width: 90% !important;
        width: 90% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .site-header-inner,
    .site-footer-inner {
        max-width: 95% !important;
        width: 95% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Cool Hover Effects for Products on Shop Page */
.woocommerce ul.products li.product {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.woocommerce ul.products li.product img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 0 15px rgba(168, 85, 247, 0.1) !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.06);
}

/* Custom CSS for single product elements matching screenshot styling */
.ruo-badge {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
}
.ruo-icon {
    font-size: 1.25rem;
}
.trust-badges-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}
.trust-icon {
    color: #a855f7;
    font-size: 1.1rem;
}
.ship-guarantee {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.coa-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.coa-banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.coa-icon {
    font-size: 1.5rem;
    color: #a855f7;
}
.coa-banner-left strong {
    font-size: 0.95rem;
    display: block;
    color: #fff;
}
.coa-banner-left p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.6;
}
.coa-btn {
    background: transparent;
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.coa-btn:hover {
    background: #a855f7;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}
.product-about-section {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}
.product-about-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.product-feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.product-feature-list li strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
}
.product-feature-list li p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}
.research-notice {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}
.notice-title {
    color: #a855f7;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 1rem;
}
.research-notice ul {
    margin: 0;
    padding-left: 1.25rem;
}
.research-notice li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}
.research-notice li:last-child {
    margin-bottom: 0;
}

/* WooCommerce Product Loop Button Styling */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    display: inline-block !important;
    background-color: var(--wp--preset--color--primary) !important;
    background: linear-gradient(135deg, #a855f7, #d946ef) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    margin-top: 1rem !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3) !important;
    transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Category Filter Buttons Styling */
.category-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}
.category-filter-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.6);
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}
.category-filter-btn:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}
.category-filter-btn.active {
    background: linear-gradient(135deg, #a855f7, #d946ef);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* WooCommerce Pagination Styling */
.woocommerce-pagination {
    margin-top: 3rem !important;
    text-align: center;
}
.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 0.5rem;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    background: rgba(24, 24, 27, 0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.woocommerce-pagination ul li a:hover {
    background: var(--wp--preset--color--primary) !important;
    border-color: var(--wp--preset--color--primary) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5) !important;
    transform: translateY(-2px);
}
.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #a855f7, #d946ef) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6) !important;
}

/* Modern Query Pagination Styling */
.wp-block-query-pagination {
    margin-top: 3rem !important;
    display: flex !important;
    justify-content: center !important;
}
.wp-block-query-pagination-numbers {
    display: inline-flex !important;
    gap: 0.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span,
.wp-block-query-pagination a,
.wp-block-query-pagination span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    background: rgba(24, 24, 27, 0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.wp-block-query-pagination-numbers a:hover,
.wp-block-query-pagination a:hover {
    background: var(--wp--preset--color--primary) !important;
    border-color: var(--wp--preset--color--primary) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5) !important;
    transform: translateY(-2px);
}
.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination .current {
    background: linear-gradient(135deg, #a855f7, #d946ef) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6) !important;
}

/* Clickable Swatch Buttons for Variations */
.helix-swatches-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}
.helix-swatch {
    flex: 1;
    min-width: 140px;
    background: rgba(24, 24, 27, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.helix-swatch:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(24, 24, 27, 0.8) !important;
}
.helix-swatch.active {
    border-color: #a855f7 !important;
    background: rgba(168, 85, 247, 0.05) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}
.helix-swatch.active::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #a855f7;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}
.swatch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.swatch-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}
.swatch-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.helix-swatch.active .swatch-badge {
    background: #a855f7;
    color: #fff;
}
.swatch-sub {
    font-size: 0.75rem;
    opacity: 0.6;
    color: #f8fafc;
    line-height: 1.3;
}
.variations_form {
    background: transparent !important;
    padding: 0 !important;
}
.woocommerce-variation-price {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.woocommerce-variation-price span.price {
    font-size: 1.5rem !important;
}
.variations tr {
    display: flex;
    flex-direction: column;
}
.variations td.value {
    padding: 0 !important;
}
.variations {
    border: none !important;
    margin: 0 !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Layout */
    .product-main-cols {
        display: flex !important;
        flex-direction: column !important;
    }
    .product-image-col, 
    .product-details-col {
        flex-basis: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .product-details-col {
        margin-top: 2rem !important;
    }
    
    /* Swatch Buttons */
    .helix-swatches-container {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .helix-swatch {
        min-width: 100% !important;
        width: 100% !important;
    }
    
    /* Columns & Grid resets */
    .wp-block-columns {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* General Padding & Typography resets */
    .hero-glow-bg {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .wp-block-group.alignfull {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }
    h2 {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }
    .has-large-font-size {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
    .glass-card {
        padding: 1.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    /* Header mobile navigation overrides */
    .site-header-inner {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Mobile Navigation overlay gaps */
    .wp-block-navigation__responsive-container.is-menu-open {
        background-color: #09090b !important;
        padding: 2.5rem 1.5rem !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        gap: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-link {
        margin-bottom: 0.5rem !important;
    }
    
    /* trust badge row wrap */
    .trust-badges-row {
        flex-wrap: wrap !important;
        gap: 0.75rem 1.5rem !important;
    }
}

@media (max-width: 600px) {
    /* Shop Loop columns reset for 2-column mobile experience */
    .woocommerce ul.products[class*="columns-"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .woocommerce ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 0.75rem !important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.95rem !important;
    }
    .woocommerce ul.products li.product .price {
        font-size: 0.9rem !important;
    }
    .woocommerce ul.products li.product .button {
        padding: 0.6rem 1rem !important;
        font-size: 0.7rem !important;
    }
}





