/* CSS Document */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Oswald:wght@300;400;600;700&display=swap');

/* === Reset & basinställningar === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}
h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #111;
}
h2 {font-size: 1.6rem; line-height: 1.3; margin:1rem 0;}
p {margin-bottom:1rem;}
h1, h2, h3, h4, h5, h6, ol, ul {
  flex: 0 0 100%; /* förhindrar att viktiga element ligger bredvid andra i samma flex*/
}
/* === Wrapper === */
#wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* === Innehållsbegränsning för header/footer === */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* === Header === */
#headcontainer {
  background-color: #0071bc;
  border-bottom: 1px solid #005a94;
  text-align: center;
  width: 100%;
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
#logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
#logo img {
  width: 70px;
  height: auto;
  display: block;
}

#logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
header a,
header a:visited {
  text-decoration: none;
  color: inherit;
}

/* === Main content layout === */
#maincontentcontainer {
  padding: 0 0 2rem 0;
}
.section.group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin:1rem 0;
}
.section.group.main, .section.group.cat{
  gap: 0; margin-top:0;
}
.section.group .column {
  flex: 1 1 200px;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section.group .column h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}

.section.group .column > a {
  color: #0055aa;
  text-decoration: underline;
  display: block;
  margin-bottom: 0.5rem;
}

.section.group .column > a:hover {
  text-decoration: none;
}

.section.group .column p a {
    display: inline;
    margin: 0;
	color:#0077cc;
}

#maincol {
  flex: 2.5;
  margin-bottom:2rem;
}

.main ol, #maincol ul {
  padding-left: 1.5rem;  
  margin-bottom: 1.5rem;  
  font-size: 1rem;       
  line-height: 1.6;      
  list-style-position: inside;
  font-family: inherit;
}
.main ol {list-style-type: decimal;}

.main ol li, #maincol ul li {
  margin-bottom: 0.5rem;  
}

/* === Brödsmulor === */
.cat_breadcrumb {
  font-size: 0.875rem; 
  color: #666;
  margin: 0 0 1rem 0;
  padding: 0;
  line-height: 1.4;
}

.cat_breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat_breadcrumb li {
  display: flex;
  align-items: center;
}

.cat_breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.5em;
  color: #999;
  font-size: 0.9em;
}

.cat_breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}

.cat_breadcrumb a:hover {
  text-decoration: underline;
}

/* === Erbjudandebox för Enskilt erbjudande === */
#erbjudandeBox {
  margin-bottom: 2rem;
}
#erbjudandeBox img.shadow {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}
.clickbutton {
  display: inline-block;
  margin: 20px auto;
  padding: 14px 24px;
  background: linear-gradient(135deg, #28a745, #8cd790);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickbutton:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.savepricetag {
  display: inline-block;
  background-color: #ffcc00;
  color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}
#erbjudandeBox_text {
  font-size: 1rem;
  line-height: 1.6;
}
#erbjudandeBox_text a {
  display: inline-block;
  background-color: #0071bc;
  color: #fff;
  font-weight: 600;
  padding: 4px 10px;
  margin: 4px 6px 4px 0;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: background 0.2s ease;
}

#erbjudandeBox_text a:hover {
  background-color: #2196f3;
}
.offer-image-center {
  text-align: center;
  margin-bottom: 1.5rem;
}
.image-badge-wrap {
  position: relative;
  display: inline-block;
}
.image-badge-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.savepricetag-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
}

.center-btn {
  text-align: center;
  margin: 1.5rem 0;
}

.offer-ended {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.label-ended {
  background-color: #eee;
  color: #999;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* === Kontaktformulär === */
.kontaktformular {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kontaktformular h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.kontaktformular .form-row {
  margin-bottom: 1.2rem;
}

.kontaktformular label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.kontaktformular textarea {
  resize: vertical;
}

.kontaktformular .info-text {
  background: #f9f9f9;
  padding: 0.8rem;
  border-left: 4px solid #0071bc;
  font-size: 0.95rem;
  color: #333;
  margin: 1rem 0;
}

.kontaktformular .clickbutton {
  display: inline-block;
  background: linear-gradient(135deg, #28a745, #5cd65c);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kontaktformular .clickbutton:hover {
  background: linear-gradient(135deg, #23963c, #4fb84f);
}

/* === WatchOffer Bevaka tagg === */

#watchOffer {
  background-color: #e8f3fc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin-top: 10px;
  max-width:450px;
}
#watchOffer label {
  display: inline-block;
  margin-right: 15px;
  font-weight: 500;
}

#watchOffer input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}
#watchOffer .email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

#watchOffer input[type="email"] {
  flex: 1;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#watchOffer input[type="submit"] {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

#watchOffer input[type="submit"]:hover {
  background-color: #0056b3;
}
#watchOffer .watch-offer-footer {margin-top: 1rem;
    font-size: 0.7rem;}
#watchOffer .watch-tag {
    display: inline-block;
    background-color: #0071bc;
    color: #fff;
    font-weight: 600;
    padding: 4px 10px;
    margin: 4px 6px 4px 0;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: background 0.2s ease;
}

/* === Tabeller === */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

thead {
  background-color: #0071bc;
  color: white;
  text-align: left;
}

thead th {
  padding: 12px 16px;
  font-weight: bold;
}

tbody td {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  background-color: #fff;
}
tbody td:first-child {
  font-weight: bold;
}

tbody tr:hover {
  background-color: #f5faff;
  transition: background-color 0.2s ease;
}

tbody tr:last-child td {
  border-bottom: none;
}


/* === Right content layout === */
.rightcolumn {
  flex: 1;
  max-width:350px;
}
.rightcolumn h3 {font-size:1.1rem;margin-bottom:10px;}
.infobox {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.infobox p {
  margin-top: 1rem;
}
.infobox p a{color:#0077cc;}
.infobox ul {padding-left: 1.5rem;   
  margin-bottom: 1.5rem;  
  font-size: 1rem;       
  line-height: 1.6;      
  list-style-position: inside; 
  font-family: inherit;
}

.main ol li {
  margin-bottom: 0.5rem;  
}
/* === Produktkort === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.offer-image-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}
.offer-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #0071bc;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.offer-card-content {
  padding: 1rem;
}

.offer-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
}


/* === Handplockade erbjudanden (redpicked och handpicked) === */
#redpicked {
  background: #f1f1f1;
  padding: 1rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#redpicked h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
}

.picked {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.picked:last-child {
  border-bottom: none;
}

.picked img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.pickedhead a {
  font-weight: 600;
  color: #003b66;
  font-size: 1.1rem;
  text-decoration: none;
}

.pickedhead a:hover {
  text-decoration: underline;
}

.pickedhead {
  margin-bottom: 0.5rem;
}

.picked > div {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.handpicked {
  margin: 20px 0;
}

.handpicked-offer {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fdfdfd;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex-direction: row;
}

.handpicked-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

.handpicked-content {
  flex: 1;
}

.handpicked-title a {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  color: #222;
}

.handpicked-title a:hover {
  text-decoration: underline;
}

.handpicked p {
  margin: 8px 0;
}

.handpicked .clickbutton {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .picked {
    flex-direction: column;
    align-items: stretch;
  }

  .picked img {
    width: 100%;
    height: auto;
  }
  .handpicked-offer {
    flex-direction: column;
    align-items: center;
  }

  .handpicked-img {
    width: 100%;
    min-height: auto;
    max-width: 100%;
  }

  .handpicked-content {
    width: 100%;
  }

  .handpicked .clickbutton {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }
}



/* === Listor === */
.image-offer-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}
.image-offer-list li img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.image-offer-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.image-offer-list li a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  display: inline-block;
}

.image-offer-list li a:hover {
  text-decoration: underline;
}
.image-offer-list li:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}
/* === Newsletter bar === */
.newsletterbar {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  width: 100%;
}

.newsletterbar .inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.newsletterbar h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
}

.newsletterbar input[type="text"],
.newsletterbar input[type="email"] {
  padding: 0.5rem;
  margin: 0.5rem;
  border: none;
  border-radius: 4px;
  max-width: 300px;
}

.newsletterbar input[type="submit"] {
  background-color: #0071bc;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  margin-top: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.newsletterbar a {
  color: #ffd700;
  text-decoration: underline;
  font-size: 0.9rem;
}


/* === Footer === */
#footercontainer {
  background-color: #0071bc;
  border-top: 1px solid #005a94;
  padding: 2rem 0;
  width: 100%;
  font-size: 0.95rem;
}
#footercontainer,
#footercontainer h4,
#footercontainer a,
#footercontainer p {
  color: #fff;
}

#footercontainer a:hover {
  color: #ffd700;
}
footer.group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
footer .col {
  flex: 1 1 30%;
}
.footerlogo img {
  display: block;
  margin: 0 auto 1rem auto;
}

.footernav ul,
.footerintl ul {
  list-style: none;
  padding-left: 0;
}

.footernav ul li,
.footerintl ul li {
  margin-bottom: 0.5rem;
}

.footernav h4,
.footerintl h4 {
  font-size: 1.1rem;
  2.5rem 0 1rem 0;
}

.footerintl img {
  border: 1px solid #fff;
  border-radius: 2px;
  padding: 1px;
  background-color: #fff;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}


/* === Tillgänglig skip-länk === */
#skiptomain {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}
#skiptomain a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
#skiptomain:focus-within {
  top: 0;
}

/* === Desktopmeny === */

#mainmenu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
#mainmenu li a {
  text-decoration: none;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}
#mainmenu li a:hover {
  color: #ffd700;
}

/* === Mobilmeny (off-canvas) === */
#mainmenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #0071bc;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}
#mainmenu ul {
  flex-direction: column;
  gap: 1.5rem;
}
#mainmenu.open {
  right: 0;
}

#menuToggle {
  display:none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1101;
  position: absolute;
  right:1rem;
  transition: all 0.3s ease;
}
#menuToggle.open::before {
  content: '×';
  font-size: 2.5rem;
  color: #fff;
  display: block;
}

#menuToggle.open {
  font-size: 0; 
  position: fixed;
  top: 1rem;
  z-index: 1102;
}

/* === Bakgrund när meny är öppen === */
#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
#overlay.show {
  display: block;
}

/* === Google annonser === */

.adwrapper {
  text-align: center;
  margin: 1rem auto;
  width: 100%;
}

/* Om annonsen ligger i main column */
#maincol .adwrapper {
  max-width: 800px; /* Anpassa efter ditt innehåll */
}

/* Om annonsen ligger i högerspalten */
.rightcolumn .adwrapper {
  max-width: 336px; /* Vanlig sidebar-bredd */
}

/* Själva Adsense-blocket */
.adwrapper ins.adsbygoogle {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  min-height: 250px;
}


/* === Visa rätt saker beroende på skärmstorlek === */
@media (min-width: 769px) {

  
  #mainmenu {
    position: static;
    height: auto;
    width: auto;
    background: none;
    padding: 0;
  }
  #mainmenu ul {
    flex-direction: row;
  }
  #overlay {
    display: none !important;
  }
}
@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }

  #menuToggle {
    display: block;
  }

  #logo img {
    width: 48px;
  }

  #logo span {
    font-size: 2rem;
  }

  #maincol,
  .rightcolumn {
    flex: 1 1 100%;
  }
  .rightcolumn {max-width:100%;}
  .section.group {display:block;}

  h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 1rem 0;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 1rem 0;
  }

  .footernav,
  .footerintl {
    flex: 1 1 48%;
  }
  .footernav{padding-left:2rem;}

  .footerlogo {
    flex: 1 1 100%;
    text-align: center;
  }

  .footerlogo img {
    margin-bottom: 1rem;
  }

  .footerintl ul,
  .footernav ul {
    text-align: left;
    display: inline-block;
  }
 
}
