/*
Theme Name: Nem Madpakke Child
Template: astra             
Version: 1.0.0
*/


/* --------------------------------------------------------- */
/* FONT INKLUDERING (Inter Variable Font) */
/* --------------------------------------------------------- */

/* Normal (Regular) Inter Variable Font */
/*
Theme Name: Nem Madpakke Child
Template: astra             
Version: 1.0.0
*/

/* --------------------------------------------------------- */
/* PRIMÆR FONT: INTER (Variable) */
/* --------------------------------------------------------- */

/* Normal (Regular) Inter Variable Font */
@font-face {
    font-family: 'Inter Variable';
    src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations'); 
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap; 
}

/* Kursiv (Italic) Inter Variable Font */
@font-face {
    font-family: 'Inter Variable';
    src: url('fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic; 
    font-display: swap;
}

/* --------------------------------------------------------- */
/* SEKUNDÆR FONT: LIBRE BASKERVILLE (Statiske TTF) */
/* --------------------------------------------------------- */

/* Libre Baskerville Regular (Standard tekst) */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

/* Libre Baskerville Italic */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: 400; 
    font-style: italic; /* Kursiv stil */
    font-display: swap;
}

/* Libre Baskerville Bold */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: 700; /* Fed stil */
    font-style: normal;
    font-display: swap;
}


/* ========================================================= */
/* GENEREL LAYOUT FOR DESIGNEREN */
/* ========================================================= */


/* Global Body Font: Libre Baskerville (Sekundær) */
body {
    font-family: 'Libre Baskerville', serif; /* Brug serif som fallback */
    font-size: 18px; /* Som foreslået i dit hierarki */
    line-height: 1.6; /* Gør tekst mere læsevenlig */
    font-weight: 400; /* Regular */
}




#mix-and-match-designer {
    padding: 30px;
    background-color: #FDFAF1;
    border-radius: 20px;
    max-width: 1600px;
    margin-left: 20px;
   	margin-right: 20px;
 	
  	
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); 
  overflow: visible; !important
}



/* Løsning til at forhindre at box-shadow klippes under animation */
#designer-wrapper {
    /* Sikrer, at alt indhold (inkl. skygge) får lov at stikke udenfor boksens grænser */
    overflow: visible !important; 
}





h1 {
    color: #000000 !important; /* En mørk, tydelig farve */
    margin-bottom: 40px !important; /* Større afstand end H2 */
    margin-top: 20px !important;
    font-size: 86px !important; /* Større end H2 (42px) */
    font-weight: 500 !important; /* Tydeligvis tykkere/federe end H2 (500) */
    line-height: 1 !important;
}

/* Hovedtitel og kategorioverskrifter */
#mix-and-match-designer h2 {
  	font-family: 'Inter Variable', sans-serif; /* <-- TILFØJET */
    text-align: center;		/* Hovedtitel i centrum #86868c */
    color: #000000; 		/* Farve på hovedtitel #86868c */
    margin-bottom: 30px; 	/* Margin nede på hovedtitel #86868c */
    font-size: 42px; 		/* Størrelse på hovedtitel #86868c */
  	font-weight: 500; 		/* Tykkelse på hovedtitel #86868c */
}




.hero-button {
    /* 🎨 Farver og udseende */
  	font-family: 'Inter Variable', sans-serif !important; /* <-- TILFØJET */
    font-weight: 500 !important; 		
}










 

/* Indikator styling (skjult som standard) */
.selection-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #0073aa;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    display: none; /* SKJULT SOM STANDARD */
}

/* Vis indikatoren, når boksen er valgt */
.selectable-box.is-selected .selection-indicator {
    display: block; /* VISES NÅR KLIKKET */
}






.product-category-step h4 {
  	font-family: 'Inter Variable', sans-serif; /* <-- TILFØJET */
    color: #1d1d1f;
    margin-top: 205px;
    margin-bottom: 20px;
    font-size: 28px; /* Størrelse på kategorititel */
  	font-weight: 500;
}

/* Container, der holder de enkelte produktbokse */
.option-container {
    display: flex;
    flex-wrap: wrap; /* Giver mulighed for at pakke ind på nye linjer */
    gap: 50px; /* Mellemrum mellem produktboksene */
    margin-top: -20px;
    margin-bottom: 20px;
    justify-content: center;  /* Start justering fra venstre */
}

/* ========================================================= */
/* STYLING AF DE ENKELTE PRODUKTBOKSE */
/* ========================================================= */




.product_placement {
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center;
  overflow: hidden;

  width: 280px;
  height: 475px; /* ← Standardhøjde */
  padding: 15px;
  border: 1px solid #f3efe1;
  border-radius: 13px;
  
  /* Gør animationen blødere */
  transition: all 0.6s ease-in-out; 
  background-color: #ffffff;
}

/* Aktiv tilstand når brugeren har trykket på VÆLG */
.product_placement.active {
  height: 535px; /* ← Øger højden med 20px */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* Luksusfølelse */
  transform: translateY(-3px);
}


.product_placement.active .quantity-control-wrapper {
    opacity: 1;
    transform: translateY(0);
}



.quantity-control-wrapper { 
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

.control-wrapper,
.control-wrapper-material {
    transition: all 0.35s ease-in-out;
}






/* Visuel feedback, når antal > 0 (via JS klassen) */
.product_placement.selected-item-qty {
    
  	border: 3px solid #0271e3;
    background-color: #A3B299; 
}






.product-image-wrapper {
  width: 240px;       /* Eller 100% for at følge forælderens bredde */
  height: 240px;
  overflow: hidden;
  border-radius: 13px;
  position: relative;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease-in-out;
}

.product_placement:hover .product-image-wrapper img {
  transform: scale(1.07);
}




/* ========================================================= */
/* BILLEDER */
/* ========================================================= */

.product_placement img {
    /* Styrer BILLEDETS STØRRELSE */
    width: 240px; /* Billedets faste bredde */
    height: 240px; /* Bevarer billedets proportioner */
  	margin-top: 5px;
    margin-bottom: 0px;
    border-radius: 13px;
  	object-fit: cover; 
  
}	


/* ========================================================= */
/* TITLER (Produktnavnet) */
/* ========================================================= */

.product_placement .title {
    /* Styrer TEKSTSTØRRELSEN for produktnavnet */
  	font-family: 'Libre Baskerville', serif; /* <-- TILFØJET */
    font-size: 23px; /* Størrelse på produktnavn */
    font-weight: 600;
    color: #1d1d1f; /* <- Das ist die forbe vom titel des produktes */
   	margin-top: 12px;
    margin-bottom: 14px;
  	margin-left: 10px;
    line-height: 1.2;
  	text-align: left;
	align-self: flex-start;
    
}


.short_titel {
    /* Skriftstil */
  	font-family: 'Inter Variable', sans-serif; /* <-- TILFØJET */
    font-size: 18px; /* Gør teksten mindre end den normale titel */
    font-weight: 400; 
    color: #1d1d1f; /* En blødere farve for at adskille fra produktnavnet */
    /* Layout */
    margin-top: 0px; /* Lidt plads mellem billedet/titel og beskrivelse */
    margin-bottom: 0px;
    line-height: 1.4; /* Forbedrer læsbarheden */
    
    /* Sikrer at teksten ikke bliver for lang, hvis den fylder meget */
    overflow: hidden;
    text-overflow: ellipsis; /* Tilføjer ... hvis teksten er for lang */
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Vis maks 2 linjer tekst */
    -webkit-box-orient: vertical;
}






.price {
    /* Skriftstil */
  	font-family: 'Libre Baskerville', serif; /* <-- TILFØJET */
    font-size: 18px; /* En god størrelse til at fange øjet */
    font-weight: 400; /* Gør prisen fed */
    color: #1d1d1f; /* Mørk farve, typisk sort eller meget mørkegrå */
    


    
    /* Sikrer, at prisen vises tydeligt */
    text-align: center; /* Centrerer prisen, da den ligger inde i .product_placement */
  	display: flex;
    margin-top: 5px; /* <-- DETTE ER NØGLEN! */
    margin-bottom: -30px !importaint ;
  
    
}

/* Hvis WooCommerce viser den "gamle pris" (udsolgt) */
.price del {
    font-size: 14px;
    color: #86868c; /* Lys grå for den overstregede pris */
    margin-right: 8px; /* Afstand til den nye pris */
}

/* Hvis WooCommerce viser den "nye pris" (salgspris) */
.price ins {
    text-decoration: none; /* Fjerner standard understregning (hvis den er der) */
    color: #cc0000; /* Tydelig rød farve for at fremhæve salget */
}









/* ========================================================= */
/* ANTALS-KNAPPER (input) */
/* ========================================================= */






.select-pack-button {
    /* Design og farver */
    background-color: #A3B299; /* Din primære blå farve */
    color: #000;
  	text-align: center!important;
  	transition: all 0.6s ease-in-out!important;
  	font-family: 'Inter Variable', sans-serif;
    font-size: 19px;
    font-weight: 400;
  	line-height: 1px;
    border: 1.5px solid #000;
    border-radius: 6px;
    cursor: pointer;
    
    /* Størrelse og placering */
 
    margin-top: auto; /* <-- DETTE ER NØGLEN! */
    margin-bottom: 15px;
  	display: flex!important;
    width: 150px; /* Gør knappen bred */
  	height: 40px;
    transition: background-color 0.2s;
   	align-items: center!important;   /* vertikalt center */
    justify-content: center!important;
}

.select-pack-button:hover {
    background-color: #d7d7d8;
  	color: #000;
  	border: 1.5px solid #000;
}















/* Sørg for at input-feltet er ensartet på tværs af browsere */
.product-qty-input[type="number"]::-webkit-inner-spin-button,
.product-qty-input[type="number"]::-webkit-outer-spin-button {
    opacity: 30; /* Gør op/ned knapper synlige, hvis det er nødvendigt */
}





.product_placement.active .quantity-control {
  opacity: 1;
  transform: translateY(0);
}



/* Container */
/* Tidligere version af .quantity-control */
.quantity-control {
    opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-in-out;
    display: flex !important;
    align-items: center !important;
    width: 150px !important;
    /* border: 2px solid #000 !important;*/
    border-radius: 14px !important;
    overflow: hidden !important;
    background-color: #fff !important;
    /* TIDLIGERE MARGIN STYLES her */
    
  	margin-top: auto !important;
    margin-bottom: 10px !important;
}



/* vælg antal madpakker class */
.quantity-control.quantity-control-start {
    opacity: 1 !important;           /* Gør elementet synligt */
    transform: translateY(0) !important; /* Flytter elementet op på plads */
  display: flex !important;
  background-color: #FDFAF1 !important;
     width: 200px !important;
  align-items: center !important;
  border: 2px solid #E0DED7 !important;
 margin-bottom: 0px !important;
  
}



#total-packs-wrapper .product-qty-input {
    background-color: #FDFAF1 !important;
  font-size: 40px !important; 
  display: flex!impotant;
  text-align: center !important;
  flex-grow: 1 !important;
  height: 50px !important;
  line-height: 50px;
   width: 50px !important; 
  margin-bottom: 0px !important;
}

#total-packs-wrapper .qty-minus,
#total-packs-wrapper .qty-plus {
    font-size: 45px !important; 
    background-color: #FDFAF1 !important; /* Eksempel: Grålig baggrund */
      width: 75px !important;  
    height: 50px !important;
  padding-bottom: 7px !important;
}

/* Input feltet i midten */
.product-qty-input {
    flex-grow: 1 !important;
    height: 45px !important;
    border: none !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 80px !important; /* Bredde på input-feltet */
	font-family: 'Libre Baskerville', serif;
  	
    /* Fjern browser-standard styles */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important; 
    box-shadow: none !important; /* fjern evt. indre skygger */

  
   /* Din baggrund og tekstfarve */
    background-color: #fff !important; /* vælg din farve */
    color: #000 !important;

  
}

/* +/- knapper */
.qty-minus, .qty-plus {
    display: flex !important;               /* gør det lettere at centrere */
    align-items: center;         /* centrer lodret */
    justify-content: center;     /* centrer vandret */
    background-color: #fff !important;
  	color: #000;
    border: none !important;
    cursor: pointer !important;
    width: 60px !important;  
    height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: bold !important;
  	border-radius: 0px;
}

/* Skillelinjer */
.qty-minus {
    /* border-right: 2px solid #000 !important; */
  font-size: 37px !important;
  padding-bottom: -30px !important;
  font-family: 'Inter Variable', sans-serif;
  font-weight: 500 !important;
  
}

	.qty-plus {
    /* border-left: 2px solid #000 !important; */
  	font-size: 37px !important;
 	padding-bottom: -10px !important;
	font-family: 'Inter Variable', sans-serif;
  	font-weight: 500 !important;
  
  
}

.qty-minus:hover, 
.qty-plus:hover {
  	transition: 0.1s ease-in-out !important;
    background-color: #d7d7d8 !important; /* vælg din farve */
  	border-color: #000 !important;
    color: #000 !important; /* evt. hvid tekst */
}


/* Fjern spin-knapper i input */
.product-qty-input[type="number"]::-webkit-inner-spin-button,
.product-qty-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.product-qty-input {
    -moz-appearance: textfield !important;
}






/* ========================================================= */
/* HOVEDKNAP (Tilføj til kurv) */
/* ========================================================= */

#add-selected-to-cart-button {
    /* Styrer HOVEDKNAPPENS STØRRELSE og design */
    display: block;
    width: 100%; /* Knappen fylder hele bredden af designeren */
    max-width: 400px; /* Men begrænser den i midten */
    margin: 40px auto 0 auto;
    padding: 15px 20px;
    font-size: 20px; /* Tekststørrelse på knappen */
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    
    /* Tilpas farverne efter dit tema */
    background-color: #007bff; /* Blå */
    color: #fff;
    border: none;
    transition: background-color 0.2s;
}

#add-selected-to-cart-button:hover:not(:disabled) {
    background-color: #0056b3;
}

#add-selected-to-cart-button:disabled {
    cursor: not-allowed;
    background-color: #aaa;
}







/* Containeren (H4) skal være flex for at tvinge elementerne på samme linje */
.overskrift-beholder {
    display: flex;        /* VIGTIGT: Får spans til at stå side om side */
    align-items: center;  /* Sikrer at teksten er justeret lodret */
    gap: 7px;             /* Giver et lille mellemrum mellem de to ord (valgfrit) */
    margin-top: 135px;
    margin-bottom: -30px;
    font-size: 28px; /* Størrelse på kategorititel */
  	font-weight: 505;
   padding: 40px;
    
}

/* Den grå del */
.h_graa {
    color: #86868c; /* En lysere grå farve */
}

/* Den sorte del */
.h_sort {
    color: #1d1d1f; /* Standard sort farve */
}


/* ========================================================= */
/* WOOCOMMERCE KURV STYLING - Indrykning af indhold */
/* ========================================================= */

/* Denne klasse er tilføjet via din PHP-funktion til alle indholdsprodukter */


/* Styling af menu-links */
.menu-link {
    font-family: 'Inter Variable', sans-serif;
    font-size: 16px; /* Eller den størrelse, du ønsker for menupunkter */
    font-weight: 500; /* Medium, hvis den er tilgængelig, ellers 400 (Regular) */
}





/* ========================================================= */
/* KNAP- & KONTROLSTYLING FOR INDHOLD (Glidende effekt) */
/* ========================================================= */

.control-wrapper {
    position: relative; /* Gør dette til referencepunktet for knappen */
    width: 100%; 
    height: 60px; /* Sæt en fast højde for animationens plads */
}

/* Base-styling og positionering for VÆLG knappen (Indhold) */
.select-pack-button {
    /* Gør knappen absolut positioneret og centrer den */
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    
    /* Tilføj transition for glidende effekt */
    transition: all 0.6s ease-in-out;
    
    /* Sørg for, at knappen ligger øverst, når den skal skjules */
    z-index: 10; 
}

/* 🎨 Tilstand: Når produktet er valgt (quantity > 0) */
.select-pack-button.is-selected {
    /* Skubber knappen langt ned (uden for syne) og skjuler den */
    transform: translate(-50%, 40px); 
    opacity: 1; 
}

/* QTY Controls (for Indhold) - Sørg for at den ligger bag knappen */
.quantity-control-wrapper {
    /* Sørg for, at den er centreret og klar til at fade ind */
    display: flex; 
    justify-content: center;
    align-items: center;
    height: 100%; 
    width: 100%;
    
    /* Din eksisterende gode transition er stadig gældende herfra: */
    opacity: 0; 
    transform: translateY(10px); 
    transition: all 0.3s ease-in-out; 
}

/* Når boksen er .active, skal QTY-kontrollerne vises (fra din eksisterende CSS) */
.product_placement.active .quantity-control-wrapper {
    opacity: 1; /* Vises */
    transform: translateY(0); /* Flyttes til normal position */
}






/* ========================================================= */
/* RESPONSIVITET (VALGFRI MEN VIGTIG) */
/* ========================================================= */

/* ========================================================= */
/* HOVEDKNAP (Tilføj til kurv) */
/* ========================================================= */

/* ========================================================= */
/* HOVEDKNAP (Tilføj til kurv) */
/* ========================================================= */

/* ========================================================= */
/* HOVEDKNAP (Tilføj til kurv) */
/* ========================================================= */


@media (max-width: 768px) {

}
/* ========================================================= */
/* RESPONSIVITET (RETTET) */
/* ========================================================= */

@media (max-width: 480px) {

    /* ========================================================= */
    /* GENERELT LAYOUT & OVERSKRIFTER */
    /* ========================================================= */
    
    #mix-and-match-designer {
        padding: 10px !important;
        margin: -30px auto;
        background-color: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    #mix-and-match-designer h2 {
        font-size: 32px;
    }

    .product-category-step h4,
    .overskrift-beholder {
        font-size: 22px;
        color: #1d1d1f;
        margin-top: 60px;
        margin-bottom: 20px;
        font-weight: 510;
        padding: 5px;
    }

    .h_graa {
        font-size: 22px;
    }

    .h_sort {
        font-size: 22px;
    }

    /* ========================================================= */
    /* PRODUKTBOKS & CONTAINER (2 KASSER) */
    /* ========================================================= */

    .option-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
        padding: 0 0px;
    }

    .option-container,
    .product_placement,
    .product_placement * {
        box-sizing: border-box !important;
    }

    .product_placement {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: 46.6%;
        flex-basis: 46.6%;
        height: 360px; /* Standardhøjde */
        padding: 8px;
        border-radius: 6px;
        margin-bottom: 25px;
        transition: all 0.6s ease-in-out; /* Sørg for at højde-animation er blød */
    }

    /* NØGLE-FIX 1: Giver kortet plads til at vise QTY-knap */
    .product_placement.active {
        height: 395px; /* Øger højden med 40px (330px -> 370px) */
    }

    /* ========================================================= */
    /* BILLEDE & TEKST (RETTET) */
    /* ========================================================= */

    .product-image-wrapper {
        width: 100%;
        height: 160px; /* <-- KÆMPE FIX: Ændret fra 100% til 160px */
        margin-top: 0px;
        overflow: hidden; /* Skjuler dele af billedet, der er udenfor */
        border-radius: 6px; /* Mindre radius for mobil */
        position: relative;
    }

    .product_placement img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 'cover' ser pænere ud end 'contain' */
        margin-top: 0px;
        transition: transform 0.45s ease-in-out;
    }
    
    .product_placement:hover .product-image-wrapper img {
        transform: scale(1.1);
    }

    .product_placement .title {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .short_titel {
        font-size: 12px;
    }

    .price {
        font-size: 18px!important; /* Reduceret fra 32px for at give mere plads */
        margin-top: 20px;
        margin-bottom: 10px; /* Reduceret fra 18px */
    }

    /* ========================================================= */
    /* NØGLE-FIX 2: SKALERING AF KNAP-ANIMATIONEN */
    /* ========================================================= */

    /* Reducer højden på animations-containeren */
    .control-wrapper {
        position: relative;
        width: 100%;
        height: 40px; /* Reduceret fra 60px til 40px */
    }

    /* "Vælg" knappen (Materiale & Indhold) */
    .select-pack-button,
    .select-material-button {
        width: 80%;
        height: 30px;
        font-size: 14px;
        /* Beholder desktop-regler for centrering og animation */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease-in-out;
        z-index: 10;
    }

    /* Juster "Vælg" knappens "is-selected" til den nye 40px container */
    .select-pack-button.is-selected {
        transform: translate(-50%, 15px); /* Flyt 25px ned (ikke 40px) */
    }
    
    /* Juster QTY-knappens start-position til den nye 40px container */
    .quantity-control-wrapper {
        /* Beholder desktop-regler for centrering og animation */
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        opacity: 0;
        transform: translateY(5px); /* Start 5px nede (ikke 10px) */
        transition: all 0.3s ease-in-out;
      	margin:0px!important;
      	height: 25px!important;
    }
    
    /* Denne regel fra desktop virker stadig */
    .product_placement.active .quantity-control-wrapper {
        opacity: 1;
        transform: translateY(0);
    }

    /* ========================================================= */
    /* SELVE QTY KNAPPERNE (+ / -) */
    /* ========================================================= */
    
    .quantity-control {
        display: flex;
        align-items: center;
        width: 115px;
        border: 0px solid #000;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
        margin: 0; /* Margin styres nu af .price og .control-wrapper */
    }

    .product-qty-input {
        flex-grow: 1;
        height: 25px!important;
        border: none;
        text-align: center;
        font-size: 24px!important;
        font-weight: bold;
        padding: 0;
        margin: 0;
        width: 20px!important;
        pointer-events: none;
        caret-color: transparent !important;
        user-select: none;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: textfield;
        box-shadow: none !important;
        background-color: #fff !important;
        color: #000 !important;
    }

    .qty-minus,
    .qty-plus {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        border: none;
        cursor: pointer;
        width: 60px!important;
        height: 25px!important;
        margin: 0;
        padding: 0px 0px 60px 0px; /* Dette ser forkert ud, men matcher din fil */
        font-weight: bold;
    }

    .qty-minus {
        font-size: 26px!important;
        padding-bottom: 2px!important;
    }

    .qty-plus {
        font-size: 26px!important;
        padding-bottom: 2px!important;
    }

    .qty-minus:hover,
    .qty-plus:hover {
        transition: 0.1s ease-in-out;
        background-color: #d7d7d8;
        color: #000;
    }

    .product-qty-input[type="number"]::-webkit-inner-spin-button,
    .product-qty-input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Resterende mobil styles... */
    #save-pack-button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
    }
  
  
  
  
  /* Placer venligst dette INDE I din @media (max-width: 480px) blok */

/* ========================================================= */
/* FIX FOR "VÆLG" KNAP TIL MATERIALE */
/* ========================================================= */

/* 1. Juster containeren til "Materiale" knappen */
.control-wrapper-material {
    position: relative;
    width: 100%;
    height: 40px; /* Samme højde som sandwich-knappens container */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto; /* Skub til bunden */
    margin-bottom: 10px; /* Lidt plads i bunden af kortet */
}

/* 2. Nulstil "Materiale" knappen til at være statisk (IKKE absolut)
      og giv den samme stil som "Vælg" knappen */
.select-material-button {
    /* Nulstil positionering fra den forrige fejl */
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;

    /* Giv den mobil-størrelsen */
    width: 80%;
    height: 30px;
    font-size: 14px;
    
    /* Kopier stilen fra .select-pack-button (desktop-regler) */
    background-color: #A3B299;
    color: #000;
    text-align: center;
    font-family: 'Inter Variable', sans-serif;
    font-weight: 400;
    border: 1.5px solid #000;
    border-radius: 6px;
    cursor: pointer;
    
    /* Sørg for at den er centreret (flex-item) */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1; /* Justeret for bedre centrering */
}

/* Tilføj hover-effekt ligesom den anden knap */
.select-material-button:hover {
    background-color: #d7d7d8;
    color: #000;
    border: 1.5px solid #000;
}
  
  
  

  
}
