:root {
    --main-bg: #2c3e50;
    --main-bg: #333;
    --main-bg: #30796F;
} 

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Se till att hela sidan fyller minst hela fönsterhöjden */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-family: verdana;
    font-family: Montserrat  ;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Använd 100% av viewport-höjden */
}


header{
position: sticky; top: 0;
/*
background-color: #222;
background-color: var(--main-bg);
*/
} 
    


header a{
    
color: #EDEDED;
font-size: 16px;
color: #000;

}
header a:hover{
    color: #E67E22;
}
main {
    flex: 1 0 auto; /* Detta gör att main expanderar och trycker ner footer */
    width: 100%;

}
.main{
        max-width: 1200px;
    margin:  10px auto;
    padding: 10px;
   
 
     
 
}

footer {
    flex-shrink: 0; /* Förhindra att footern krymper */
    width: 100%;
    margin-top: auto; /* Alternativ metod för att trycka ner footer */
    margin-top: 60px;
    flex-shrink: 0;
    background: var(--main-bg);
    color: white;
    padding: 60px 0 20px;
                
}

 


    

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
}
.container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
    margin-top: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;        
    }

/* Header */
.top-bar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.search-bar {
    display: flex;
    flex: 0 0 40%;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.search-bar button {
    padding: 10px 20px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.header-icons a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e67e22;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}


/* För select dropdown */
#categoryFilter option:checked {
    background: #e67e22;
    color: white;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #d35400;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Product Grid */
.section-title {
    text-align: center;
    font-size: 36px;
    margin: 60px 0 40px;
    color: var(--main-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}


 /* Produktbilder - alla produkter och tjänster */
.product-image {
        height: 300px;  /* Ändra från 150px eller 200px */
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    height: 280px;  /* Ny större storlek */
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);  /* Fin hover-effekt */
}


 

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--main-bg);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #e67e22;
}

/* Product Filters */
.filters {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    color: var(--main-bg);
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 0;
}

.product-gallery {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
}

.thumbnails img {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnails img.active {
    border-color: #e67e22;
}

.main-image img {
    width: 100%;
}

.product-info-detail h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-meta {
    color: #666;
    margin-bottom: 20px;
}

.product-price-detail {
    font-size: 28px;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 20px;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-selector h3 {
    margin-bottom: 10px;
}

.variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 5px;
}

.variant-btn.active {
    border-color: #e67e22;
    background: #e67e22;
    color: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
}

.add-to-cart-detail {
    padding: 15px 30px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

/* Cart */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 50px 0;
}

.cart-items {
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 3fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image img {
    width: 100%;
}

.cart-item-title h3 {
    margin-bottom: 5px;
}

.cart-item-variant {
    color: #666;
    font-size: 14px;
}

.cart-item-price {
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
}

.cart-item-remove {
    color: #e74c3c;
    cursor: pointer;
}

.cart-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-total {
    font-size: 20px;
    font-weight: bold;
    border-top: 2px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}



.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 24px;
}

#newsletter-form {
    display: flex;
    margin-top: 15px;
}

#newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

#newsletter-form button {
    padding: 10px 15px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive */
@media (max-width: 768px) {
    


    .product-image {
        height: 200px;  /* Lite mindre på mobil */
        padding: 10px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
    }
    

    
    .dropdown-menu {
        position: static;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
h1{
    margin-top: 20px;
    color: var(--main-bg);
    color:#222;
  
}

    



      .box {
        text-align: center;
        flex: 0 0 calc(25% - 10px);
        /*flex: 0 0 calc(33.33% - 10px);*/ 
        /*flex: 0 0 calc(33% - 10px);*/
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
.box img {
    transition: all 0.3s ease;
}

.box:hover img {
    /*opacity: 0.7;*/
    transform: scale(1.05);
}
    .box2 {
        flex: 0 0 calc(50% - 10px);
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }

 
    .mega-title{
        font-size: 2.5vw;
        color: tomato;
        color: red;
        color: orange;
        color: #222;
        color: #666;
        color: #2C3E50;
        color: #34495E; 
        color: #C0392B; 
        color: #D35400; 
        color: #C0392B; 
        color: #30796F; 
        color: #000; 


        font-weight: bold;
        text-align: center;
        margin-top: 40px;
        
/*                      font-size: 30px;
                font-weight: 800;
                background: linear-gradient(90deg, #ff4d4d, #ff9966);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
*/
    }
 

        .mobile-only {
            display: none;
        }
        
    /* Mobil ########################################################################### */
    
        /* Mobil */
    @media (max-width: 600px) {
        .box {
            flex: 0 0 calc(50% - 10px);
        }
    }
    
    @media (max-width: 760px) {
        
        .mobile-only {
            display: block;
        }
        
    .mega-title{
        font-size: 6vw;

     
        
    }
 
        .box {
            flex: 0 0 calc(100% - 10px);
            flex: 0 0 100%;
        }
    }
    
    
     /* Tablet */
    @media (max-width: 900px) {
        .box {
            flex: 0 0 calc(50% - 10px);
        }
    }

 
    h2{
        margin: 20px 0;
    }