/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.13.1759940902
Updated: 2025-10-08 16:28:22

*/

/* ==========================================================================
   HORIZONTAL SCROLLABLE PRODUCT GALLERY THUMBNAILS
   ========================================================================== */

/* Container styling */
.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Thumbnail items */
.flex-control-thumbs li {
    flex: 0 0 auto !important;
    width: 90px !important;
    height: 90px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background: #f5f5f5 !important;
}

/* Thumbnail images */
.flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Hover effect */
.flex-control-thumbs li:hover {
    border-color: #7c3aed !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

/* Active thumbnail */
.flex-control-thumbs li.flex-active {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2) !important;
    background: #fff !important;
}

/* Custom scrollbar styling */
.flex-control-thumbs::-webkit-scrollbar {
    height: 8px !important;
}

.flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}

.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #7c3aed !important;
    border-radius: 10px !important;
}

.flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: #6d28d9 !important;
}

/* Firefox scrollbar */
.flex-control-thumbs {
    scrollbar-width: thin !important;
    scrollbar-color: #7c3aed #f1f1f1 !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .flex-control-thumbs li {
        width: 75px !important;
        height: 75px !important;
    }
    
    .flex-control-thumbs {
        gap: 10px !important;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .flex-control-thumbs li {
        width: 70px !important;
        height: 70px !important;
    }
    
    .flex-control-thumbs {
        gap: 8px !important;
        padding: 8px 0 !important;
    }
    
    /* Hide scrollbar on mobile */
    .flex-control-thumbs::-webkit-scrollbar {
        display: none !important;
    }
    
    .flex-control-thumbs {
        scrollbar-width: none !important;
    }
}

/* Small mobile (380px and below) */
@media (max-width: 380px) {
    .flex-control-thumbs li {
        width: 60px !important;
        height: 60px !important;
    }
    
    .flex-control-thumbs {
        gap: 6px !important;
    }
}

/* ==========================================================================
   TILBUD BADGE - CORNER RIBBON
   Erstatter Astras hvide pille med et diagonalt hjoernebaand.
   Tilfoejet 2026-08-21. Fjern denne blok for at rulle tilbage.
   ========================================================================== */

/* Klipper baandet af ved billedets hjoerne.
   1) produktkort i shop/arkiv  2) produktside (Elementor galleri-widget) */
.astra-shop-thumbnail-wrap,
.elementor-widget-woocommerce-product-images {
    position: relative !important;
    overflow: hidden !important;
}

/* Selve baandet */
.ast-onsale-card,
.ast-on-card-button.ast-onsale-card,
.mobile-columns-3 .ast-onsale-card {
    position: absolute !important;
    top: 20px !important;
    left: -40px !important;
    right: auto !important;
    bottom: auto !important;
    width: 150px !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    background: #FF2D6F !important;
    background-color: #FF2D6F !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    text-transform: none !important;
    transform: rotate(-45deg) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.3 !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4) !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

/* Produktsiden har et meget stoerre billede - baandet skaleres op */
.elementor-widget-woocommerce-product-images .ast-onsale-card,
.elementor-widget-woocommerce-product-images .ast-on-card-button.ast-onsale-card {
    top: 28px !important;
    left: -46px !important;
    width: 185px !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
}

/* Smaa skaerme: mindre kort, mindre baand */
@media (max-width: 420px) {
    .ast-onsale-card,
    .ast-on-card-button.ast-onsale-card,
    .mobile-columns-3 .ast-onsale-card {
        top: 16px !important;
        left: -44px !important;
        width: 140px !important;
        padding: 5px 0 !important;
        font-size: 11.5px !important;
    }
}


/* ==========================================================================
   SALE PRICE FIX (Elementor product grids)
   Den overstregede foer-pris arvede overskrift-typografi (Pawcinno 40px),
   saa den blev stoerre end selve tilbudsprisen. Bindes nu til .price.
   Rammer kun .elementor-widget-woocommerce-products, ikke /shop/ eller
   produktsiden. Tilfoejet 2026-08-21.
   ========================================================================== */

.elementor-widget-woocommerce-products ul.products li.product .price del {
    font-family: inherit !important;
    font-size: 0.85em !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    opacity: 0.55 !important;
}

.elementor-widget-woocommerce-products ul.products li.product .price del *,
.elementor-widget-woocommerce-products ul.products li.product .price del bdi {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
