/* ============================================================
   MOVACAM SHOP CSS
   Custom Ecwid Storefront Styling – Dark Theme with Laser Mask
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --shop-bg: #0a0a0f;
    --shop-surface: #12121a;
    --shop-surface-hover: #1a1a25;
    --shop-border: rgba(255,255,255,0.06);
    --shop-text: #ffffff;
    --shop-text-muted: rgba(255,255,255,0.6);
    --shop-primary: #00d4ff;
    --shop-primary-glow: rgba(0, 212, 255, 0.3);
    --shop-primary-dark: rgba(0, 212, 255, 0.1);
    --shop-laser-1: rgba(0, 212, 255, 0.6);
    --shop-laser-2: rgba(0, 180, 216, 0.4);
    --shop-radius: 12px;
    --shop-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Hide Breadcrumb on Shop Page ---- */
.breadcrumb {
    display: none !important;
}

/* ---- Shop Hero ---- */
.shop-hero {
    padding: 90px 0 40px;
    text-align: center;
}
.shop-hero .section-tag {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--shop-primary);
    margin-bottom: 24px;
}
.shop-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.shop-hero h1 .accent {
    color: var(--shop-primary);
}
.shop-hero p {
    font-size: 1.1rem;
    color: var(--shop-text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ---- Trust Badges ---- */
.shop-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.shop-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--shop-text-muted);
}
.shop-trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--shop-primary);
}

/* ---- Category Navigation ---- */
.shop-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0 20px;
}
.shop-category-btn {
    padding: 10px 24px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    background: transparent;
    color: var(--shop-text-muted);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--shop-transition);
    text-decoration: none;
}
.shop-category-btn:hover,
.shop-category-btn.active {
    background: var(--shop-primary);
    color: var(--shop-bg);
    border-color: var(--shop-primary);
}

/* ---- Ecwid Store Container ---- */
.shop-store-section {
    padding: 0 0 80px;
}
.shop-store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 600px;
}

/* ============================================================
   ECWID DARK THEME OVERRIDES (v2 + v3)
   ============================================================ */

/* Global Ecwid font and background */
div.ecwid,
div.ecwid *,
.ec-storefront-v2,
.ec-storefront-v3,
.ec-storefront-v2 *,
.ec-storefront-v3 * {
    font-family: 'Inter', sans-serif !important;
}

/* Dark background for all Ecwid containers */
.ecwid .ecwid-productBrowser,
.ec-storefront-v2 .ec-store,
.ec-storefront-v3 .ec-store,
.ec-storefront-v2 .ec-store__content-wrapper,
.ec-storefront-v3 .ec-store__content-wrapper {
    background-color: transparent !important;
}

/* ---- Product Grid: Square Images with Laser Mask ---- */

/* Force square aspect ratio on product images */
.ec-storefront-v2 .grid-product__image,
.ec-storefront-v3 .grid-product__image,
.ec-storefront-v2 .grid-product__picture,
.ec-storefront-v3 .grid-product__picture,
.ecwid .ecwid-productBrowser-ProductList-productImage {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: var(--shop-radius) !important;
    position: relative !important;
}

.ec-storefront-v2 .grid-product__image img,
.ec-storefront-v3 .grid-product__image img,
.ec-storefront-v2 .grid-product__picture img,
.ec-storefront-v3 .grid-product__picture img,
.ecwid .ecwid-productBrowser-ProductList-productImage img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ============================================================
   MODERN LASER MASK OVERLAY – Product Images
   Combines: diagonal laser lines, corner brackets, grid pattern,
   bottom gradient, and animated scan beam on hover
   ============================================================ */

/* Base laser overlay (::after) */
.ec-storefront-v2 .grid-product__image::after,
.ec-storefront-v3 .grid-product__image::after,
.ec-storefront-v2 .grid-product__picture::after,
.ec-storefront-v3 .grid-product__picture::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    background:
        /* Diagonal laser line 1 */
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 42%,
            rgba(0, 212, 255, 0.5) 42.3%,
            rgba(0, 212, 255, 0.15) 42.8%,
            transparent 43%,
            transparent 100%
        ),
        /* Diagonal laser line 2 */
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 56%,
            rgba(0, 180, 216, 0.35) 56.3%,
            rgba(0, 180, 216, 0.1) 56.8%,
            transparent 57%,
            transparent 100%
        ),
        /* Subtle horizontal grid lines */
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 38px,
            rgba(0, 212, 255, 0.04) 38px,
            rgba(0, 212, 255, 0.04) 39px
        ),
        /* Subtle vertical grid lines */
        repeating-linear-gradient(
            to right,
            transparent 0px,
            transparent 38px,
            rgba(0, 212, 255, 0.04) 38px,
            rgba(0, 212, 255, 0.04) 39px
        ),
        /* Bottom-right glow */
        radial-gradient(
            ellipse at 100% 100%,
            rgba(0, 212, 255, 0.2) 0%,
            transparent 50%
        ),
        /* Top-left subtle glow */
        radial-gradient(
            ellipse at 0% 0%,
            rgba(0, 212, 255, 0.08) 0%,
            transparent 40%
        ),
        /* Bottom vignette */
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(10, 10, 15, 0.7) 100%
        ) !important;
    border-radius: var(--shop-radius) !important;
    transition: opacity var(--shop-transition) !important;
    opacity: 0.9 !important;
}

/* Corner bracket decorations (::before) */
.ec-storefront-v2 .grid-product__image::before,
.ec-storefront-v3 .grid-product__image::before,
.ec-storefront-v2 .grid-product__picture::before,
.ec-storefront-v3 .grid-product__picture::before {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    pointer-events: none !important;
    z-index: 3 !important;
    border: 1px solid transparent !important;
    border-image: none !important;
    /* Corner brackets via box-shadow trick */
    box-shadow:
        /* Top-left corner */
        -1px -1px 0 0 rgba(0, 212, 255, 0.5),
        /* Top-right corner */
        1px -1px 0 0 rgba(0, 212, 255, 0.5),
        /* Bottom-left corner */
        -1px 1px 0 0 rgba(0, 212, 255, 0.5),
        /* Bottom-right corner */
        1px 1px 0 0 rgba(0, 212, 255, 0.5) !important;
    /* Use clip-path to show only corners */
    clip-path: polygon(
        0% 0%, 20% 0%, 20% 1px, 1px 1px, 1px 20%, 0% 20%,
        0% 80%, 1px 80%, 1px calc(100% - 1px), 20% calc(100% - 1px), 20% 100%, 0% 100%,
        100% 100%, 80% 100%, 80% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 80%, 100% 80%,
        100% 20%, calc(100% - 1px) 20%, calc(100% - 1px) 1px, 80% 1px, 80% 0%, 100% 0%
    ) !important;
    border: 1px solid rgba(0, 212, 255, 0.6) !important;
    transition: border-color var(--shop-transition), opacity var(--shop-transition) !important;
    opacity: 0.6 !important;
}

/* Hover: intensify overlay and brackets */
.ec-storefront-v2 .grid-product:hover .grid-product__image::after,
.ec-storefront-v3 .grid-product:hover .grid-product__image::after,
.ec-storefront-v2 .grid-product:hover .grid-product__picture::after,
.ec-storefront-v3 .grid-product:hover .grid-product__picture::after {
    opacity: 1 !important;
}
.ec-storefront-v2 .grid-product:hover .grid-product__image::before,
.ec-storefront-v3 .grid-product:hover .grid-product__image::before,
.ec-storefront-v2 .grid-product:hover .grid-product__picture::before,
.ec-storefront-v3 .grid-product:hover .grid-product__picture::before {
    opacity: 1 !important;
    border-color: rgba(0, 212, 255, 0.9) !important;
}

/* Cyan glow border on hover */
.ec-storefront-v2 .grid-product__image,
.ec-storefront-v3 .grid-product__image {
    border: 1px solid var(--shop-border) !important;
    transition: border-color var(--shop-transition), box-shadow var(--shop-transition) !important;
}
.ec-storefront-v2 .grid-product:hover .grid-product__image,
.ec-storefront-v3 .grid-product:hover .grid-product__image {
    border-color: var(--shop-primary) !important;
    box-shadow: 0 0 20px var(--shop-primary-glow), 0 0 40px rgba(0, 212, 255, 0.1) !important;
}

/* ---- Product Card Styling ---- */
.ec-storefront-v2 .grid-product__title,
.ec-storefront-v3 .grid-product__title,
.ec-storefront-v2 .grid-product__title-inner,
.ec-storefront-v3 .grid-product__title-inner,
.ecwid .ecwid-productBrowser-ProductList-productTitle {
    color: var(--shop-text) !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
    font-family: 'Inter', sans-serif !important;
}

/* Prices: CYAN */
.ec-storefront-v2 .grid-product__price,
.ec-storefront-v3 .grid-product__price,
.ec-storefront-v2 .grid-product__price-value,
.ec-storefront-v3 .grid-product__price-value,
.ec-storefront-v2 .grid-product__price .ec-price-item,
.ec-storefront-v3 .grid-product__price .ec-price-item,
.ec-storefront-v2 .grid-product .ec-price,
.ec-storefront-v3 .grid-product .ec-price,
.ec-storefront-v2 [class*="price"],
.ec-storefront-v3 [class*="price"],
.ec-storefront-v2 .grid-product__price-amount,
.ec-storefront-v3 .grid-product__price-amount,
.ecwid .ecwid-productBrowser-ProductList-productPrice {
    color: var(--shop-primary) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

/* Product title hover: CYAN */
.ec-storefront-v2 .grid-product:hover .grid-product__title,
.ec-storefront-v3 .grid-product:hover .grid-product__title,
.ec-storefront-v2 .grid-product:hover .grid-product__title-inner,
.ec-storefront-v3 .grid-product:hover .grid-product__title-inner,
.ec-storefront-v2 .grid-product__title a:hover,
.ec-storefront-v3 .grid-product__title a:hover,
.ec-storefront-v2 .grid-product__title-inner a:hover,
.ec-storefront-v3 .grid-product__title-inner a:hover {
    color: var(--shop-primary) !important;
}

/* All Ecwid links: CYAN */
.ec-storefront-v2 a,
.ec-storefront-v3 a,
.ec-storefront-v2 a:visited,
.ec-storefront-v3 a:visited {
    color: var(--shop-primary) !important;
    transition: opacity 0.3s !important;
}
.ec-storefront-v2 a:hover,
.ec-storefront-v3 a:hover {
    color: var(--shop-primary) !important;
    opacity: 0.8 !important;
}

/* Category titles: white, hover cyan */
.ec-storefront-v2 .category-card__title a,
.ec-storefront-v3 .category-card__title a,
.ec-storefront-v3 .grid-category__title-inner a {
    color: var(--shop-text) !important;
}
.ec-storefront-v2 .category-card:hover .category-card__title a,
.ec-storefront-v3 .category-card:hover .category-card__title a,
.ec-storefront-v3 .grid-category:hover .grid-category__title-inner a {
    color: var(--shop-primary) !important;
}

/* Ecwid footer (My Account, Track Orders, Shopping Bag): hidden */
.ec-storefront-v2 .ec-footer,
.ec-storefront-v3 .ec-footer,
.ec-storefront-v2 .ec-store__footer,
.ec-storefront-v3 .ec-store__footer,
.ec-storefront-v2 .footer-links,
.ec-storefront-v3 .footer-links,
.ec-storefront-v2 [class*="footer"],
.ec-storefront-v3 [class*="footer"],
.ec-storefront-v2 .ec-store__content-wrapper > div:last-child a[href*="account"],
.ec-storefront-v3 .ec-store__content-wrapper > div:last-child a[href*="account"],
.ec-storefront-v2 .ec-store__content-wrapper > div:last-child a[href*="orders"],
.ec-storefront-v3 .ec-store__content-wrapper > div:last-child a[href*="orders"],
.ec-storefront-v2 .ec-store__content-wrapper > div:last-child a[href*="bag"],
.ec-storefront-v3 .ec-store__content-wrapper > div:last-child a[href*="bag"] {
    display: none !important;
}

/* "Featured Products" heading: style as cyan */
.ec-storefront-v2 .ec-store__content-wrapper h2,
.ec-storefront-v3 .ec-store__content-wrapper h2,
.ec-storefront-v2 .section-title,
.ec-storefront-v3 .section-title,
.ec-storefront-v2 .section-title--show-all,
.ec-storefront-v3 .section-title--show-all {
    color: var(--shop-primary) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

/* Sort dropdown text */
.ec-storefront-v2 .grid__sort,
.ec-storefront-v3 .grid__sort,
.ec-storefront-v2 .grid__sort *,
.ec-storefront-v3 .grid__sort * {
    color: var(--shop-text-muted) !important;
}

.ec-storefront-v2 .grid-product__subtitle,
.ec-storefront-v3 .grid-product__subtitle,
.ec-storefront-v2 .grid-product__sku,
.ec-storefront-v3 .grid-product__sku {
    color: var(--shop-text-muted) !important;
}

/* ---- Category Cards (v2: category-card, v3: grid-category) ---- */
.ec-storefront-v2 .category-card__image,
.ec-storefront-v3 .category-card__image,
.ec-storefront-v2 .category-card__picture,
.ec-storefront-v3 .category-card__picture,
.ec-storefront-v3 .grid-category__picture,
.ec-storefront-v3 .grid-category__image-wrap {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: var(--shop-radius) !important;
    position: relative !important;
    border: 1px solid var(--shop-border) !important;
    transition: border-color var(--shop-transition), box-shadow var(--shop-transition) !important;
}

.ec-storefront-v2 .category-card__image img,
.ec-storefront-v3 .category-card__image img,
.ec-storefront-v2 .category-card__picture img,
.ec-storefront-v3 .category-card__picture img,
.ec-storefront-v3 .grid-category__picture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Laser mask overlay on category images */
.ec-storefront-v2 .category-card__image::after,
.ec-storefront-v3 .category-card__image::after,
.ec-storefront-v2 .category-card__picture::after,
.ec-storefront-v3 .category-card__picture::after,
.ec-storefront-v3 .grid-category__picture::after,
.ec-storefront-v3 .grid-category__image-wrap::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    background:
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 42%,
            rgba(0, 212, 255, 0.5) 42.3%,
            rgba(0, 212, 255, 0.15) 42.8%,
            transparent 43%,
            transparent 100%
        ),
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 56%,
            rgba(0, 180, 216, 0.35) 56.3%,
            rgba(0, 180, 216, 0.1) 56.8%,
            transparent 57%,
            transparent 100%
        ),
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 38px,
            rgba(0, 212, 255, 0.04) 38px,
            rgba(0, 212, 255, 0.04) 39px
        ),
        repeating-linear-gradient(
            to right,
            transparent 0px,
            transparent 38px,
            rgba(0, 212, 255, 0.04) 38px,
            rgba(0, 212, 255, 0.04) 39px
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(0, 212, 255, 0.2) 0%,
            transparent 50%
        ),
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(10, 10, 15, 0.7) 100%
        ) !important;
    border-radius: var(--shop-radius) !important;
    transition: opacity var(--shop-transition) !important;
    opacity: 0.85 !important;
}

/* Corner brackets on category images */
.ec-storefront-v2 .category-card__image::before,
.ec-storefront-v3 .category-card__image::before,
.ec-storefront-v2 .category-card__picture::before,
.ec-storefront-v3 .category-card__picture::before,
.ec-storefront-v3 .grid-category__picture::before,
.ec-storefront-v3 .grid-category__image-wrap::before {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    pointer-events: none !important;
    z-index: 3 !important;
    clip-path: polygon(
        0% 0%, 20% 0%, 20% 1px, 1px 1px, 1px 20%, 0% 20%,
        0% 80%, 1px 80%, 1px calc(100% - 1px), 20% calc(100% - 1px), 20% 100%, 0% 100%,
        100% 100%, 80% 100%, 80% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 80%, 100% 80%,
        100% 20%, calc(100% - 1px) 20%, calc(100% - 1px) 1px, 80% 1px, 80% 0%, 100% 0%
    ) !important;
    border: 1px solid rgba(0, 212, 255, 0.6) !important;
    transition: border-color var(--shop-transition), opacity var(--shop-transition) !important;
    opacity: 0.5 !important;
}

/* Hover: intensify category overlays */
.ec-storefront-v2 .category-card:hover .category-card__image::after,
.ec-storefront-v3 .category-card:hover .category-card__image::after,
.ec-storefront-v3 .grid-category:hover .grid-category__picture::after,
.ec-storefront-v3 .grid-category:hover .grid-category__image-wrap::after {
    opacity: 1 !important;
}
.ec-storefront-v2 .category-card:hover .category-card__image::before,
.ec-storefront-v3 .category-card:hover .category-card__image::before,
.ec-storefront-v3 .grid-category:hover .grid-category__picture::before,
.ec-storefront-v3 .grid-category:hover .grid-category__image-wrap::before {
    opacity: 1 !important;
    border-color: rgba(0, 212, 255, 0.9) !important;
    animation: cornerPulse 2s ease-in-out infinite !important;
}

.ec-storefront-v2 .category-card:hover .category-card__image,
.ec-storefront-v3 .category-card:hover .category-card__image,
.ec-storefront-v2 .category-card:hover .category-card__picture,
.ec-storefront-v3 .category-card:hover .category-card__picture,
.ec-storefront-v3 .grid-category:hover .grid-category__picture,
.ec-storefront-v3 .grid-category:hover .grid-category__image-wrap {
    border-color: var(--shop-primary) !important;
    box-shadow: 0 0 20px var(--shop-primary-glow) !important;
}

.ec-storefront-v2 .category-card__title,
.ec-storefront-v3 .category-card__title,
.ec-storefront-v3 .grid-category__title-inner {
    color: var(--shop-text) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

/* ---- Product Detail Page ---- */
.ec-storefront-v2 .product-details__product-title,
.ec-storefront-v3 .product-details__product-title,
.ec-storefront-v2 .product-details__product-title h1,
.ec-storefront-v3 .product-details__product-title h1 {
    color: var(--shop-primary) !important;
    font-weight: 400 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
}

.ec-storefront-v2 .product-details__product-price,
.ec-storefront-v3 .product-details__product-price,
.ec-storefront-v2 .product-details__product-price .ec-price-item,
.ec-storefront-v3 .product-details__product-price .ec-price-item {
    color: var(--shop-primary) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.ec-storefront-v2 .product-details__product-description,
.ec-storefront-v3 .product-details__product-description,
.ec-storefront-v2 .product-details__product-description *,
.ec-storefront-v3 .product-details__product-description * {
    color: var(--shop-text-muted) !important;
    line-height: 1.7 !important;
}

/* Product detail image - square, max-height 700px */
.ec-storefront-v2 .product-details__gallery,
.ec-storefront-v3 .product-details__gallery {
    max-width: 700px !important;
    border-radius: var(--shop-radius) !important;
    overflow: visible !important;
}

/* Main gallery image container - square */
.ec-storefront-v2 .product-details__gallery .product-details-module__gallery-image-wrapper,
.ec-storefront-v3 .product-details__gallery .product-details-module__gallery-image-wrapper {
    max-height: 700px !important;
    max-width: 700px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: var(--shop-radius) !important;
}

/* Gallery thumbnails - visible and styled */
.ec-storefront-v2 .product-details__gallery-thumbs,
.ec-storefront-v3 .product-details__gallery-thumbs,
.ec-storefront-v2 .product-details-module__gallery-thumbs,
.ec-storefront-v3 .product-details-module__gallery-thumbs,
.ec-storefront-v2 [class*="gallery-thumb"],
.ec-storefront-v3 [class*="gallery-thumb"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 8px !important;
    margin-top: 12px !important;
    overflow-x: auto !important;
}

.ec-storefront-v2 .product-details__gallery-thumbs img,
.ec-storefront-v3 .product-details__gallery-thumbs img,
.ec-storefront-v2 .product-details-module__gallery-thumbs img,
.ec-storefront-v3 .product-details-module__gallery-thumbs img,
.ec-storefront-v2 [class*="gallery-thumb"] img,
.ec-storefront-v3 [class*="gallery-thumb"] img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 2px solid var(--shop-border) !important;
    cursor: pointer !important;
    transition: border-color var(--shop-transition) !important;
    opacity: 1 !important;
}

.ec-storefront-v2 .product-details__gallery-thumbs img:hover,
.ec-storefront-v3 .product-details__gallery-thumbs img:hover,
.ec-storefront-v2 [class*="gallery-thumb"] img:hover,
.ec-storefront-v3 [class*="gallery-thumb"] img:hover,
.ec-storefront-v2 [class*="gallery-thumb"] img.active,
.ec-storefront-v3 [class*="gallery-thumb"] img.active,
.ec-storefront-v2 [class*="gallery-thumb--selected"] img,
.ec-storefront-v3 [class*="gallery-thumb--selected"] img {
    border-color: var(--shop-primary) !important;
    box-shadow: 0 0 8px var(--shop-primary-glow) !important;
}
/* Main gallery image styling */
.ec-storefront-v2 .product-details__gallery .product-details-module__gallery-image,
.ec-storefront-v3 .product-details__gallery .product-details-module__gallery-image {
    border-radius: var(--shop-radius) !important;
    max-height: 700px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
}

/* Main gallery image wrapper */
.ec-storefront-v2 .product-details__gallery [class*="gallery-image"]:not([class*="thumb"]),
.ec-storefront-v3 .product-details__gallery [class*="gallery-image"]:not([class*="thumb"]) {
    max-height: 700px !important;
    max-width: 700px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

/* ---- Buy Button / Add to Cart ---- */
.ec-storefront-v2 .form-control__button--add-to-bag,
.ec-storefront-v3 .form-control__button--add-to-bag,
.ec-storefront-v2 .form-control__button--primary,
.ec-storefront-v3 .form-control__button--primary,
.ec-storefront-v2 .form-control--button .form-control__button,
.ec-storefront-v3 .form-control--button .form-control__button,
.ecwid .ecwid-btn--primary {
    background: var(--shop-primary) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 32px !important;
    transition: var(--shop-transition) !important;
    box-shadow: 0 0 20px var(--shop-primary-glow) !important;
}

.ec-storefront-v2 .form-control__button--add-to-bag:hover,
.ec-storefront-v3 .form-control__button--add-to-bag:hover,
.ec-storefront-v2 .form-control__button--primary:hover,
.ec-storefront-v3 .form-control__button--primary:hover,
.ecwid .ecwid-btn--primary:hover {
    background: #00b8d9 !important;
    color: #000000 !important;
    box-shadow: 0 0 30px var(--shop-primary-glow), 0 4px 15px rgba(0, 212, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Secondary buttons */
.ec-storefront-v2 .form-control__button--secondary,
.ec-storefront-v3 .form-control__button--secondary,
.ecwid .ecwid-btn--secondary {
    background: transparent !important;
    color: var(--shop-primary) !important;
    border: 1px solid var(--shop-primary) !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--shop-transition) !important;
}

.ec-storefront-v2 .form-control__button--secondary:hover,
.ec-storefront-v3 .form-control__button--secondary:hover {
    background: var(--shop-primary-dark) !important;
}

/* ---- Ecwid v3 specific product grid overrides ---- */
.ec-storefront-v3 .grid-product__title a,
.ec-storefront-v3 .grid-product__title-inner a {
    color: var(--shop-text) !important;
}
.ec-storefront-v3 .grid-product:hover .grid-product__title a,
.ec-storefront-v3 .grid-product:hover .grid-product__title-inner a {
    color: var(--shop-primary) !important;
}

/* Force all Ecwid text to be white on dark background */
.ec-storefront-v3 .ec-store,
.ec-storefront-v3 .ec-store * {
    color: var(--shop-text) !important;
}
.ec-storefront-v3 .ec-store [class*="price"],
.ec-storefront-v3 .ec-store .grid-product__price,
.ec-storefront-v3 .ec-store .grid-product__price-amount,
.ec-storefront-v3 .ec-store .grid-product__price-value {
    color: var(--shop-primary) !important;
}
/* Override: Buttons MUST have black text on cyan background */
.ec-storefront-v3 .ec-store .form-control__button--add-to-bag,
.ec-storefront-v3 .ec-store .form-control__button--primary,
.ec-storefront-v3 .ec-store .form-control--button .form-control__button,
.ec-storefront-v3 .ec-store .ecwid-btn--primary,
.ec-storefront-v3 .ec-store [class*="button--add-to-bag"],
.ec-storefront-v3 .ec-store [class*="button--primary"],
.ec-storefront-v3 .ec-store button[class*="add-to-bag"],
.ec-storefront-v2 .ec-store .form-control__button--add-to-bag,
.ec-storefront-v2 .ec-store .form-control__button--primary {
    color: #000000 !important;
}
/* Inner span text of buttons MUST also be black */
.ec-storefront-v3 .form-control__button-text,
.ec-storefront-v2 .form-control__button-text,
.ec-storefront-v3 .ec-store .form-control__button--add-to-bag .form-control__button-text,
.ec-storefront-v3 .ec-store .form-control__button--primary .form-control__button-text,
.ec-storefront-v3 .ec-store .form-control__button .form-control__button-text,
.ec-storefront-v2 .ec-store .form-control__button--add-to-bag .form-control__button-text,
.ec-storefront-v2 .ec-store .form-control__button--primary .form-control__button-text,
.ec-storefront-v3 .form-control__button-text *,
.ec-storefront-v2 .form-control__button-text *,
.form-control__button-text {
    color: #000000 !important;
}
/* Override: Product detail title MUST be cyan */
.ec-storefront-v3 .ec-store .product-details__product-title,
.ec-storefront-v3 .ec-store .product-details__product-title h1,
.ec-storefront-v3 .ec-store .product-details__product-title *,
.ec-storefront-v2 .ec-store .product-details__product-title,
.ec-storefront-v2 .ec-store .product-details__product-title h1 {
    color: var(--shop-primary) !important;
}

/* ---- Ecwid Breadcrumbs: hidden ---- */
.ec-storefront-v2 .ec-breadcrumbs,
.ec-storefront-v3 .ec-breadcrumbs,
.ec-storefront-v2 .breadcrumbs,
.ec-storefront-v3 .breadcrumbs,
.ec-storefront-v2 .ec-breadcrumbs__wrapper,
.ec-storefront-v3 .ec-breadcrumbs__wrapper {
    display: none !important;
}

/* ---- Search Bar ---- */
.ec-storefront-v2 .ec-search-widget__input,
.ec-storefront-v3 .ec-search-widget__input,
.ec-storefront-v2 input[type="search"],
.ec-storefront-v3 input[type="search"],
.ec-storefront-v2 input[type="text"],
.ec-storefront-v3 input[type="text"] {
    background: var(--shop-surface) !important;
    border: 1px solid var(--shop-border) !important;
    color: var(--shop-text) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
}

.ec-storefront-v2 .ec-search-widget__input:focus,
.ec-storefront-v3 .ec-search-widget__input:focus,
.ec-storefront-v2 input[type="search"]:focus,
.ec-storefront-v3 input[type="search"]:focus {
    border-color: var(--shop-primary) !important;
    box-shadow: 0 0 10px var(--shop-primary-glow) !important;
}

/* ---- Cart / Checkout Styling ---- */
.ec-storefront-v2 .ec-cart,
.ec-storefront-v3 .ec-cart,
.ec-storefront-v2 .ec-cart__body,
.ec-storefront-v3 .ec-cart__body {
    background: transparent !important;
    border-radius: var(--shop-radius) !important;
}

.ec-storefront-v2 .ec-cart__title,
.ec-storefront-v3 .ec-cart__title,
.ec-storefront-v2 .ec-cart-item__title,
.ec-storefront-v3 .ec-cart-item__title {
    color: var(--shop-text) !important;
}

.ec-storefront-v2 .ec-cart-item__price,
.ec-storefront-v3 .ec-cart-item__price,
.ec-storefront-v2 .ec-cart__total-price,
.ec-storefront-v3 .ec-cart__total-price {
    color: var(--shop-primary) !important;
    font-weight: 700 !important;
}

/* ---- Checkout Page: Transparent Background + Cyan Accents ---- */

/* All checkout containers: transparent background */
.ec-storefront-v2 .ec-cart-step,
.ec-storefront-v3 .ec-cart-step,
.ec-storefront-v2 .ec-cart-step__body,
.ec-storefront-v3 .ec-cart-step__body,
.ec-storefront-v2 .ec-cart-step__wrap,
.ec-storefront-v3 .ec-cart-step__wrap,
.ec-storefront-v2 .ec-cart-step__section,
.ec-storefront-v3 .ec-cart-step__section,
.ec-storefront-v2 .ec-form,
.ec-storefront-v3 .ec-form,
.ec-storefront-v2 .ec-cart__sidebar,
.ec-storefront-v3 .ec-cart__sidebar,
.ec-storefront-v2 .ec-cart__sidebar-inner,
.ec-storefront-v3 .ec-cart__sidebar-inner,
.ec-storefront-v2 .ec-confirmation,
.ec-storefront-v3 .ec-confirmation,
.ec-storefront-v2 [class*="checkout"],
.ec-storefront-v3 [class*="checkout"],
.ec-storefront-v2 [class*="cart-step"],
.ec-storefront-v3 [class*="cart-step"],
.ec-storefront-v2 .ec-store__content-wrapper,
.ec-storefront-v3 .ec-store__content-wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

/* Checkout step headers */
.ec-storefront-v2 .ec-cart-step__title,
.ec-storefront-v3 .ec-cart-step__title,
.ec-storefront-v2 .ec-cart-step__title *,
.ec-storefront-v3 .ec-cart-step__title * {
    color: var(--shop-text) !important;
    font-family: 'Inter', sans-serif !important;
}

/* All checkout links: Cyan */
.ec-storefront-v2 .ec-cart a,
.ec-storefront-v3 .ec-cart a,
.ec-storefront-v2 .ec-cart-step a,
.ec-storefront-v3 .ec-cart-step a,
.ec-storefront-v2 [class*="checkout"] a,
.ec-storefront-v3 [class*="checkout"] a,
.ec-storefront-v2 .ec-form a,
.ec-storefront-v3 .ec-form a,
.ec-storefront-v2 .ec-cart-step__text a,
.ec-storefront-v3 .ec-cart-step__text a {
    color: var(--shop-primary) !important;
}

.ec-storefront-v2 .ec-cart a:hover,
.ec-storefront-v3 .ec-cart a:hover,
.ec-storefront-v2 .ec-cart-step a:hover,
.ec-storefront-v3 .ec-cart-step a:hover,
.ec-storefront-v2 [class*="checkout"] a:hover,
.ec-storefront-v3 [class*="checkout"] a:hover {
    color: #00b8d9 !important;
}

/* Checkout form inputs: dark background, white text, cyan focus */
.ec-storefront-v2 .ec-cart-step input,
.ec-storefront-v3 .ec-cart-step input,
.ec-storefront-v2 .ec-cart-step select,
.ec-storefront-v3 .ec-cart-step select,
.ec-storefront-v2 .ec-cart-step textarea,
.ec-storefront-v3 .ec-cart-step textarea,
.ec-storefront-v2 .ec-form input,
.ec-storefront-v3 .ec-form input,
.ec-storefront-v2 .ec-form select,
.ec-storefront-v3 .ec-form select,
.ec-storefront-v2 .ec-form textarea,
.ec-storefront-v3 .ec-form textarea,
.ec-storefront-v2 [class*="checkout"] input,
.ec-storefront-v3 [class*="checkout"] input,
.ec-storefront-v2 [class*="checkout"] select,
.ec-storefront-v3 [class*="checkout"] select,
.ec-storefront-v2 [class*="checkout"] textarea,
.ec-storefront-v3 [class*="checkout"] textarea {
    background: var(--shop-surface) !important;
    background-color: var(--shop-surface) !important;
    color: var(--shop-text) !important;
    border: 1px solid var(--shop-border) !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
}

.ec-storefront-v2 .ec-cart-step input:focus,
.ec-storefront-v3 .ec-cart-step input:focus,
.ec-storefront-v2 .ec-form input:focus,
.ec-storefront-v3 .ec-form input:focus,
.ec-storefront-v2 [class*="checkout"] input:focus,
.ec-storefront-v3 [class*="checkout"] input:focus {
    border-color: var(--shop-primary) !important;
    box-shadow: 0 0 8px var(--shop-primary-glow) !important;
    outline: none !important;
}

/* Checkout labels */
.ec-storefront-v2 .ec-cart-step label,
.ec-storefront-v3 .ec-cart-step label,
.ec-storefront-v2 .ec-form label,
.ec-storefront-v3 .ec-form label,
.ec-storefront-v2 [class*="checkout"] label,
.ec-storefront-v3 [class*="checkout"] label {
    color: var(--shop-text-muted) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Checkout text and descriptions */
.ec-storefront-v2 .ec-cart-step__text,
.ec-storefront-v3 .ec-cart-step__text,
.ec-storefront-v2 .ec-cart-step__desc,
.ec-storefront-v3 .ec-cart-step__desc,
.ec-storefront-v2 .ec-cart-step p,
.ec-storefront-v3 .ec-cart-step p {
    color: var(--shop-text-muted) !important;
}

/* Override any blue accent colors to cyan */
.ec-storefront-v2 .ec-link,
.ec-storefront-v3 .ec-link,
.ec-storefront-v2 .ec-link:visited,
.ec-storefront-v3 .ec-link:visited,
.ec-storefront-v2 [style*="color: rgb(0, 100, 209)"],
.ec-storefront-v3 [style*="color: rgb(0, 100, 209)"],
.ec-storefront-v2 [style*="color: #0064d1"],
.ec-storefront-v3 [style*="color: #0064d1"],
.ec-storefront-v2 [style*="color: rgb(25, 118, 210)"],
.ec-storefront-v3 [style*="color: rgb(25, 118, 210)"] {
    color: var(--shop-primary) !important;
}

/* Checkout step indicators / progress bar */
.ec-storefront-v2 .ec-cart-step__icon,
.ec-storefront-v3 .ec-cart-step__icon,
.ec-storefront-v2 .ec-cart-step__icon--active,
.ec-storefront-v3 .ec-cart-step__icon--active,
.ec-storefront-v2 [class*="step-indicator"],
.ec-storefront-v3 [class*="step-indicator"] {
    color: var(--shop-primary) !important;
    border-color: var(--shop-primary) !important;
}

.ec-storefront-v2 .ec-cart-step__icon--active,
.ec-storefront-v3 .ec-cart-step__icon--active {
    background: var(--shop-primary) !important;
    color: #000000 !important;
}

/* Checkout summary section */
.ec-storefront-v2 .ec-cart__sidebar,
.ec-storefront-v3 .ec-cart__sidebar {
    background: transparent !important;
    border-left: 1px solid var(--shop-border) !important;
}

/* Checkout order summary prices */
.ec-storefront-v2 .ec-cart-summary__row,
.ec-storefront-v3 .ec-cart-summary__row,
.ec-storefront-v2 .ec-cart-summary__total,
.ec-storefront-v3 .ec-cart-summary__total {
    color: var(--shop-text) !important;
}

.ec-storefront-v2 .ec-cart-summary__total .ec-cart-summary__price,
.ec-storefront-v3 .ec-cart-summary__total .ec-cart-summary__price {
    color: var(--shop-primary) !important;
    font-weight: 700 !important;
}

/* Radio buttons and checkboxes in checkout */
.ec-storefront-v2 .ec-cart-step input[type="radio"],
.ec-storefront-v3 .ec-cart-step input[type="radio"],
.ec-storefront-v2 .ec-cart-step input[type="checkbox"],
.ec-storefront-v3 .ec-cart-step input[type="checkbox"] {
    accent-color: var(--shop-primary) !important;
}

/* Checkout payment/shipping method selection */
.ec-storefront-v2 .ec-radiogroup__item--selected,
.ec-storefront-v3 .ec-radiogroup__item--selected,
.ec-storefront-v2 [class*="payment"][class*="selected"],
.ec-storefront-v3 [class*="payment"][class*="selected"],
.ec-storefront-v2 [class*="shipping"][class*="selected"],
.ec-storefront-v3 [class*="shipping"][class*="selected"] {
    border-color: var(--shop-primary) !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

/* Checkout error messages */
.ec-storefront-v2 .ec-cart-step .ec-form__error,
.ec-storefront-v3 .ec-cart-step .ec-form__error {
    color: #ff3b5c !important;
}

/* Ecwid default blue override: force all blue to cyan globally */
.ec-storefront-v2 .ec-store [style*="color: rgb(0, 100, 209)"],
.ec-storefront-v3 .ec-store [style*="color: rgb(0, 100, 209)"],
.ec-storefront-v2 .ec-store [style*="#0064d1"],
.ec-storefront-v3 .ec-store [style*="#0064d1"] {
    color: var(--shop-primary) !important;
}

/* Ecwid default blue backgrounds override */
.ec-storefront-v2 .ec-store [style*="background-color: rgb(0, 100, 209)"],
.ec-storefront-v3 .ec-store [style*="background-color: rgb(0, 100, 209)"],
.ec-storefront-v2 .ec-store [style*="background: rgb(0, 100, 209)"],
.ec-storefront-v3 .ec-store [style*="background: rgb(0, 100, 209)"] {
    background-color: var(--shop-primary) !important;
    background: var(--shop-primary) !important;
}

/* ---- Warenkorb Widget (Floating Cart Icon) ---- */
.ec-cart-widget {
    position: fixed !important;
    bottom: 90px !important;
    right: 24px !important;
    z-index: 9999 !important;
    background: var(--shop-primary) !important;
    color: var(--shop-bg) !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px var(--shop-primary-glow), 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: var(--shop-transition) !important;
}

.ec-cart-widget:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 30px var(--shop-primary-glow), 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Cart badge count */
.ec-cart-widget .ec-cart-widget__count,
.ec-minicart__counter {
    background: #ff3b5c !important;
    color: white !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    min-width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
}

/* ---- Pagination ---- */
.ec-storefront-v2 .ec-pager__button,
.ec-storefront-v3 .ec-pager__button,
.ec-storefront-v2 .ec-pager__item,
.ec-storefront-v3 .ec-pager__item {
    color: var(--shop-text-muted) !important;
    border-color: var(--shop-border) !important;
}

.ec-storefront-v2 .ec-pager__button--active,
.ec-storefront-v3 .ec-pager__button--active,
.ec-storefront-v2 .ec-pager__item--active,
.ec-storefront-v3 .ec-pager__item--active {
    background: var(--shop-primary) !important;
    color: var(--shop-bg) !important;
    border-color: var(--shop-primary) !important;
}

/* ---- Sort / Filter Dropdowns ---- */
.ec-storefront-v2 select,
.ec-storefront-v3 select,
.ec-storefront-v2 .ec-dropdown__button,
.ec-storefront-v3 .ec-dropdown__button {
    background: var(--shop-surface) !important;
    color: var(--shop-text) !important;
    border: 1px solid var(--shop-border) !important;
    border-radius: 8px !important;
}

/* ---- Info Section ---- */
.shop-info {
    padding: 60px 0;
    border-top: 1px solid var(--shop-border);
}
.shop-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.shop-info-item {
    text-align: center;
}
.shop-info-item svg {
    width: 40px;
    height: 40px;
    color: var(--shop-primary);
    margin-bottom: 16px;
}
.shop-info-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop-info-item p {
    font-size: 0.85rem;
    color: var(--shop-text-muted);
    line-height: 1.5;
}

/* ---- Components Link ---- */
.shop-components-link {
    text-align: center;
    margin-top: 30px;
}
.shop-components-link a {
    color: var(--shop-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}
.shop-components-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ---- Custom Floating Cart Button ---- */
.movacam-cart-widget {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9999;
    background: var(--shop-primary);
    color: var(--shop-bg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--shop-primary-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--shop-transition);
    border: none;
    text-decoration: none;
}

.movacam-cart-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--shop-primary-glow), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.movacam-cart-widget svg {
    width: 24px;
    height: 24px;
    fill: var(--shop-bg);
}

.movacam-cart-widget .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b5c;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: scale(0);
    transition: var(--shop-transition);
}

.movacam-cart-widget .cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* ---- Laser Scan Beam Animation ---- */
@keyframes laserScanBeam {
    0% { top: -5%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 105%; opacity: 0; }
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hover scan beam – uses a separate element injected via CSS on the image container */
/* Since ::before is used for corners, we animate the scan via a box-shadow on the overlay */
.ec-storefront-v2 .grid-product:hover .grid-product__image,
.ec-storefront-v3 .grid-product:hover .grid-product__image {
    animation: none !important;
}

/* Pulsing corners on hover */
.ec-storefront-v2 .grid-product:hover .grid-product__image::before,
.ec-storefront-v3 .grid-product:hover .grid-product__image::before {
    animation: cornerPulse 2s ease-in-out infinite !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .shop-hero {
        padding: 120px 0 40px;
    }
    .shop-trust {
        gap: 16px;
    }
    .shop-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .shop-categories {
        gap: 8px;
    }
    .shop-category-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .movacam-cart-widget {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    .movacam-cart-widget svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .shop-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
