/* Fordonskemi – komplett startsidesblock */
#custom-text .fk-home,
#custom-text .fk-home * {
  box-sizing: border-box;
}

#custom-text .fk-home {
  text-align: center;
  color: #18382b;
}

#custom-text .fk-hero {
  padding: 24px 16px;
}

#custom-text .fk-label {
  margin: 0 0 14px;
  color: #246b45;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

#custom-text .fk-title {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #18382b;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

#custom-text .fk-intro {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #505a54;
  font-size: 17px;
  line-height: 1.6;
}

#custom-text .fk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#custom-text .fk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 6px;
  background: #246b45;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

#custom-text .fk-button-secondary {
  background: #18382b;
}

#custom-text .fk-button:hover {
  background: #305e43;
  color: #fff;
}

#custom-text .fk-heading {
  margin: 14px 0 20px;
  color: #18382b;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

#custom-text .fk-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
  margin: 0 auto;
}

#custom-text .fk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 110px;
  padding: 22px 16px;
  border: 1px solid #d9e5dd;
  border-radius: 8px;
  background: #f1f6f3;
  color: #18382b;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

#custom-text .fk-card:hover {
  background: #e4eee7;
  border-color: #246b45;
}

#custom-text .fk-card strong {
  display: block;
  margin-bottom: 7px;
  color: #18382b;
  font-size: 18px;
  line-height: 1.3;
}

#custom-text .fk-card span {
  display: block;
  color: #505a54;
  font-size: 14px;
  line-height: 1.5;
}

#custom-text .fk-home a:focus-visible {
  outline: 3px solid #246b45;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  #custom-text .fk-hero {
    padding: 16px 0 24px;
  }

  #custom-text .fk-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #custom-text .fk-card {
    padding: 18px 12px;
  }

  #custom-text .fk-card strong {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  #custom-text .fk-categories {
    grid-template-columns: 1fr;
  }

  padding: 24px 20px;
  margin-bottom: 28px;
}

#custom-text .fk-hero {
  padding-top: 10px;
}
/* Banner med bilbild */
#custom-text .fk-hero {
  padding: 48px 36px;
  border-radius: 10px;
  background-color: #071710;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0)),
    url("/img/fordonskemi-banner.png");
  background-size: cover;
  background-position: center;
  text-align: left;
  margin-bottom: 28px;
}

#custom-text .fk-label {
  color: #9ee5b3;
}

#custom-text .fk-title {
  max-width: 600px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

#custom-text .fk-intro {
  max-width: 510px;
  margin: 0 0 24px;
  color: #eef5f0;
}

#custom-text .fk-actions {
  justify-content: flex-start;
}

#custom-text .fk-button-secondary {
  background: #fff;
  color: #18382b;
}

#custom-text .fk-button-secondary:hover {
  background: #e4eee7;
  color: #18382b;
}

@media (max-width: 767px) {
  #custom-text .fk-hero {
    padding: 30px 20px;
    background-image:
      linear-gradient(rgba(3,15,9,.78), rgba(3,15,9,.85)),
      url("/img/fordonskemi-banner.png");
    background-position: 65% center;
  }

  #custom-text .fk-title {
    font-size: 27px;
  }

  #custom-text .fk-intro {
    font-size: 16px;
  }
}
/* Produktkort på startsidan */
body#index .product-miniature .thumbnail-container {
  border: 1px solid #e0e8e2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(24,56,43,.06);
  transition: box-shadow .2s ease, border-color .2s ease;
}

body#index .product-miniature:hover .thumbnail-container {
  border-color: #9ab9a5;
  box-shadow: 0 6px 18px rgba(24,56,43,.12);
}

/* Rubriker över produktsektionerna */
body#index .featured-products > h2,
body#index .products-section-title {
  color: #18382b;
  font-size: 24px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 24px;
}
/* Luft mellan startsidans produktsektioner */
body#index #content > .featured-products {
  margin-bottom: 40px;
}

/* Knappar: Alla produkter, Alla nyheter och erbjudanden */
body#index .featured-products .all-product-link {
  display: table;
  float: none !important;
  clear: both;
  width: auto;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 12px 22px;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
  background: #fff;
  color: #18382b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

body#index .featured-products .all-product-link:hover {
  background: #edf4ef;
  border-color: #246b45;
}

body#index .featured-products .all-product-link:focus-visible {
  outline: 3px solid #246b45;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body#index .featured-products .all-product-link {
    font-size: 14px;
    padding: 12px 16px;
  }
}
@media (min-width: 992px) {
  #custom-text .fk-title,
  #custom-text .fk-intro {
    max-width: 52%;
  }

  #custom-text .fk-title {
    font-size: clamp(26px, 2.5vw, 34px);
  }
}
/* Kompaktare startsida på mobil */
@media (max-width: 767px) {
  body#index #custom-text {
    padding: 16px 12px;
    margin-bottom: 24px;
  }

  #custom-text .fk-hero {
    padding: 26px 18px;
    margin-bottom: 22px;
  }

  #custom-text .fk-label {
    font-size: 11px;
    margin-bottom: 12px;
  }

  #custom-text .fk-title {
    max-width: 100%;
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  #custom-text .fk-title br {
    display: none;
  }

  #custom-text .fk-intro {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  #custom-text .fk-actions {
    gap: 10px;
  }

  #custom-text .fk-button {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  #custom-text .fk-heading {
    font-size: 21px;
    margin: 0 0 16px;
  }

  #custom-text .fk-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #custom-text .fk-card {
    min-height: 68px;
    padding: 14px 10px;
  }

  #custom-text .fk-card strong {
    margin: 0;
    font-size: 15px;
  }

  #custom-text .fk-card span {
    display: none;
  }
}
/* Tydligare utfällningsmeny på dator */
@media (min-width: 768px) {
  #header .top-menu .sub-menu {
    padding: 24px;
    border: 1px solid #dce5df;
    border-top: 3px solid #246b45;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(24,56,43,.14);
  }

  /* Jämnt fördelade kategorigrupper */
  #header .top-menu .sub-menu > ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
  }

  #header .top-menu .sub-menu > ul > li {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  /* Rubriker för varje grupp */
  #header .top-menu .sub-menu > ul > li > a {
    display: block;
    margin-bottom: 8px;
    padding: 0 0 10px;
    border-bottom: 2px solid #e2ece5;
    color: #18382b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
    text-transform: none;
  }

  /* Länkar under rubrikerna */
  #header .top-menu .sub-menu ul[data-depth="2"] a {
    display: block;
    padding: 7px 8px;
    border-radius: 4px;
    color: #48564d;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    text-transform: none;
  }

  #header .top-menu .sub-menu a:hover {
    background: #edf4ef;
    color: #246b45;
  }

  #header .top-menu .sub-menu a:focus-visible {
    outline: 2px solid #246b45;
    outline-offset: 2px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #header .top-menu .sub-menu > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Dölj upprepad kategorirubrik i vänstermenyn */
body#category .block-categories > .category-top-menu > li > a {
  display: none;
}

/* Dölj kategoriblocket när det saknar underkategorier */
body#category .block-categories:not(:has(.category-sub-menu li)) {
  display: none;
}

/* Lugnare huvudrubrik */
body#category #js-product-list-header h1 {
  color: #18382b;
  font-size: 30px;
  line-height: 1.25;
  text-transform: none;
}
/* Kategorisidor utan vänsterspalt */
body#category #left-column {
  display: none;
}

body#category #content-wrapper {
  float: none;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
/* Produktkort i kategorier och relaterade produkter */
body#category .product-miniature .thumbnail-container,
body#product .product-miniature .thumbnail-container {
  border: 1px solid #e0e8e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,43,.06);
  transition: box-shadow .2s ease, border-color .2s ease;
}

body#category .product-miniature:hover .thumbnail-container,
body#product .product-miniature:hover .thumbnail-container {
  border-color: #9ab9a5;
  box-shadow: 0 6px 18px rgba(24,56,43,.12);
}

/* Produktnamn */
body#category .product-miniature .product-title a,
body#product .product-miniature .product-title a {
  color: #18382b;
}

body#category .product-miniature .product-title a:hover,
body#product .product-miniature .product-title a:hover {
  color: #246b45;
}

/* Ordinarie försäljningspris */
body#category .product-miniature .price,
body#product .product-miniature .price {
  color: #18382b;
  font-weight: 700;
}

/* Sorteringsmeny */
body#category .products-sort-order .select-title {
  border: 1px solid #d9e5dd;
  border-radius: 6px;
  background: #fff;
  color: #18382b;
}
/* Produktsida – bild och miniatyrer */
body#product .product-cover {
  padding: 16px;
  border: 1px solid #e0e8e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,43,.06);
}

body#product .product-cover img {
  border-radius: 8px;
}

body#product .images-container .thumb {
  border-radius: 6px;
}

body#product .images-container .thumb.selected,
body#product .images-container .thumb:hover {
  border-color: #246b45;
}

/* Rubrik och pris */
body#product h1 {
  color: #18382b;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.25;
  text-transform: none;
}

body#product .product-prices .current-price {
  color: #246b45;
  font-size: 28px;
  font-weight: 700;
}

/* Kort beskrivning */
body#product [id^="product-description-short"] {
  color: #48564d;
  font-size: 16px;
  line-height: 1.65;
}

/* Storleksval */
body#product .product-variants select {
  min-height: 44px;
  padding: 8px 32px 8px 12px;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
  background-color: #fff;
  color: #18382b;
}

/* Köpknapp */
body#product .product-add-to-cart .add-to-cart {
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 6px;
  background: #246b45;
  color: #fff;
  font-weight: 700;
  text-transform: none;
  box-shadow: none;
}

body#product .product-add-to-cart .add-to-cart:hover:not(:disabled) {
  background: #18382b;
}

body#product .product-add-to-cart .add-to-cart:disabled {
  background: #6c7c72;
  cursor: not-allowed;
}

/* Information under köpområdet */
body#product #block-reassurance {
  padding: 8px 16px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  background: #f1f6f3;
  box-shadow: none;
}

/* Beskrivning och produktdetaljer */
body#product .tabs {
  padding: 24px;
  border: 1px solid #e0e8e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,43,.04);
}

body#product .tabs .nav-tabs .nav-link {
  color: #48564d;
  font-weight: 600;
}

body#product .tabs .nav-tabs .nav-link.active {
  color: #246b45;
  border-bottom-color: #246b45;
}

body#product .product-description {
  color: #38463d;
  font-size: 16px;
  line-height: 1.7;
}

body#product .product-description h2,
body#product .product-description h3 {
  margin-top: 24px;
  color: #18382b;
  line-height: 1.3;
  text-transform: none;
}

body#product .product-description li {
  margin-bottom: 8px;
}

/* Mobil */
@media (max-width: 767px) {
  body#product .product-cover,
  body#product .tabs {
    padding: 16px;
  }

  body#product .product-add-to-cart .add {
    float: none;
    margin-top: 10px;
  }

  body#product .product-add-to-cart .add-to-cart {
    width: 100%;
  }
}
/* Samlad köpruta på produktsidan */
body#product .product-actions {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #d9e5dd;
  border-radius: 12px;
  background: #f1f6f3;
}

body#product .product-actions .control-label {
  display: block;
  margin-bottom: 8px;
  color: #18382b;
  font-size: 15px;
  font-weight: 600;
}

body#product .product-actions .product-variants-item {
  margin: 0 0 20px;
}

body#product .product-actions .product-variants select {
  min-width: 130px;
  max-width: 100%;
}

body#product .product-actions .product-add-to-cart {
  margin-top: 16px;
}

body#product .product-actions #product-availability {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}

/* Tydligt fokus vid tangentbordsnavigering */
body#product .product-actions select:focus-visible,
body#product .product-actions button:focus-visible,
body#product .product-actions input:focus-visible {
  outline: 3px solid #246b45;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body#product .product-actions {
    padding: 18px;
    margin: 20px 0;
  }
}
/* Dölj social delning på produktsidan */
body#product .social-sharing {
  display: none;
}
/* Fönstret efter Lägg i varukorg */
#blockcart-modal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,.2);
}

#blockcart-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #d9e5dd;
  background: #edf4ef;
}

#blockcart-modal .modal-title {
  color: #18382b;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

#blockcart-modal .modal-title .material-icons {
  color: #246b45;
}

#blockcart-modal .modal-header .close {
  color: #18382b;
  opacity: 1;
}

#blockcart-modal .modal-body {
  padding: 28px 24px;
  background: #fff;
}

#blockcart-modal .product-image {
  border-radius: 8px;
}

#blockcart-modal .product-name {
  color: #18382b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

#blockcart-modal .cart-content p {
  color: #48564d;
  line-height: 1.5;
}

#blockcart-modal .cart-content .cart-total {
  padding: 14px 12px;
  border-radius: 6px;
  background: #edf4ef;
  color: #18382b;
}

#blockcart-modal .cart-content-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

#blockcart-modal .cart-content-btn .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  white-space: normal;
  text-transform: none;
  box-shadow: none;
}

#blockcart-modal .cart-content-btn .btn-primary {
  border: 1px solid #246b45;
  background: #246b45;
  color: #fff;
}

#blockcart-modal .cart-content-btn .btn-primary:hover {
  border-color: #18382b;
  background: #18382b;
}

#blockcart-modal .cart-content-btn .btn-secondary {
  border: 1px solid #b8ccbf;
  background: #fff;
  color: #18382b;
}

#blockcart-modal .cart-content-btn .btn-secondary:hover {
  background: #edf4ef;
}

#blockcart-modal .btn:focus-visible,
#blockcart-modal .close:focus-visible {
  outline: 3px solid #246b45;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  #blockcart-modal .modal-header,
  #blockcart-modal .modal-body {
    padding: 18px 16px;
  }

  #blockcart-modal .modal-title {
    font-size: 17px;
  }

  #blockcart-modal .cart-content-btn {
    flex-direction: column;
  }

  #blockcart-modal .cart-content-btn .btn {
    width: 100%;
  }

  #blockcart-modal .cart-content-btn .btn-primary {
    order: -1;
  }
}
/* Kundvagnens produktlista och summering */
body#cart .cart-grid-body > .card,
body#cart .cart-summary {
  border: 1px solid #e0e8e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,43,.06);
}

body#cart .cart-container .card-block {
  padding: 20px 24px;
}

body#cart h1 {
  margin: 0;
  color: #18382b;
  font-size: 28px;
  font-weight: 600;
  text-transform: none;
}

body#cart .cart-item {
  padding: 24px;
}

body#cart .cart-item + .cart-item {
  border-top: 1px solid #e0e8e2;
}

body#cart .product-image img {
  border-radius: 8px;
}

body#cart .product-line-info .label {
  color: #18382b;
  font-weight: 600;
  line-height: 1.5;
}

body#cart .product-line-info .current-price,
body#cart .product-line-info .current-price .price {
  color: #246b45;
  font-weight: 700;
}

/* Ordersummering */
body#cart .cart-summary .card-block {
  padding: 20px;
}

body#cart .cart-summary-line {
  margin-bottom: 14px;
  line-height: 1.5;
}

body#cart .cart-summary-totals {
  border-top: 1px solid #d9e5dd;
  background: #f1f6f3;
  border-radius: 0 0 12px 12px;
}

body#cart .cart-summary-totals .cart-total {
  color: #18382b;
  font-size: 18px;
  font-weight: 700;
}

/* Rabattkod */
body#cart .cart-voucher {
  padding: 18px;
  border-top: 1px solid #e0e8e2;
}

body#cart .cart-voucher .promo-code-button {
  color: #246b45;
}

body#cart .cart-voucher .promo-input {
  max-width: 100%;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
}

body#cart .cart-voucher .btn-primary {
  border-radius: 6px;
  background: #246b45;
  color: #fff;
  text-transform: none;
}

/* Fortsätt handla */
body#cart .cart-grid-body > a.label {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
  background: #fff;
  color: #18382b;
}

body#cart .cart-grid-body > a.label:hover {
  background: #edf4ef;
}

@media (max-width: 767px) {
  body#cart .cart-item,
  body#cart .cart-container .card-block {
    padding: 16px;
  }

  body#cart h1 {
    font-size: 24px;
  }
}
/* Snabbvy */
.quickview .modal-content {
  border: 0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,.2);
}

.quickview .modal-body {
  padding: 28px;
}

.quickview h1,
.quickview .h1 {
  color: #18382b;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

.quickview .current-price,
.quickview .current-price .price {
  color: #246b45;
  font-size: 26px;
  font-weight: 700;
}

.quickview [id^="product-description-short"] {
  color: #48564d;
  font-size: 15px;
  line-height: 1.65;
}

.quickview .product-cover {
  border: 1px solid #e0e8e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.quickview .images-container .thumb {
  border-radius: 6px;
}

.quickview .images-container .thumb.selected {
  border-color: #246b45;
}

/* Köpområdet */
.quickview .product-actions {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #d9e5dd;
  border-radius: 10px;
  background: #f1f6f3;
}

.quickview .product-variants select {
  min-height: 44px;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
  background-color: #fff;
  color: #18382b;
}

.quickview .add-to-cart {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  background: #246b45;
  color: #fff;
  font-weight: 700;
  text-transform: none;
  box-shadow: none;
}

.quickview .add-to-cart:hover:not(:disabled) {
  background: #18382b;
}

.quickview .add-to-cart:disabled {
  background: #6c7c72;
  cursor: not-allowed;
}

.quickview #product-availability {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}

/* Ta bort social delning */
.quickview .social-sharing {
  display: none;
}

/* Tydlig stängningsknapp */
.quickview .modal-header .close {
  padding: 10px;
  color: #18382b;
  opacity: 1;
}

.quickview button:focus-visible,
.quickview select:focus-visible {
  outline: 3px solid #246b45;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .quickview .modal-body {
    padding: 18px 14px;
  }

  .quickview h1,
  .quickview .h1 {
    font-size: 22px;
  }

  .quickview .product-actions {
    padding: 14px;
  }

  .quickview .product-add-to-cart .add {
    float: none;
    margin-top: 10px;
  }

  .quickview .add-to-cart {
    width: 100%;
  }
}
/* Sidfot */
#footer {
  padding-top: 30px;
  background: #edf4ef;
}

/* Nyhetsbrev */
#footer .block_newsletter {
  background: transparent;
}

#footer .block_newsletter p {
  color: #18382b;
}

#footer #block-newsletter-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

#footer .block_newsletter form input[type="email"] {
  min-height: 46px;
  border: 1px solid #b8ccbf;
  border-radius: 6px;
  background: #fff;
  color: #18382b;
}

#footer .block_newsletter form input[type="submit"] {
  min-height: 46px;
  border-radius: 6px;
  background: #246b45;
  color: #fff;
  text-transform: none;
}

#footer .block_newsletter form input[type="submit"]:hover {
  background: #18382b;
}

/* Sociala länkar */
#footer .block-social {
  padding-top: 12px;
}

#footer .block-social ul li {
  border-radius: 6px;
  background-color: #246b45;
}

/* Nedre delen */
#footer .footer-container {
  margin-top: 28px;
  padding: 36px 0 24px;
  background: #18382b;
  box-shadow: none;
}

#footer .footer-container .h3,
#footer .footer-container .h4,
#footer .footer-container .title,
#footer .footer-container .title span {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
}

#footer .footer-container li {
  margin-bottom: 8px;
}

#footer .footer-container li a {
  display: inline-block;
  padding: 3px 0;
  color: #e0ebe4;
  font-size: 14px;
  line-height: 1.5;
}

#footer .footer-container a:hover {
  color: #a9e4bc;
  text-decoration: underline;
}

#footer .footer-container .block-contact {
  border-color: #456151;
  color: #e0ebe4;
  font-size: 14px;
  line-height: 1.7;
}

#footer .footer-container .block-contact a,
#footer .footer-container > .container > .row a {
  color: #e0ebe4;
}

#footer .footer-container .copyright,
#footer .footer-container .copyright a {
  color: #c2d3c8;
}

#footer a:focus-visible,
#footer input:focus-visible {
  outline: 3px solid #79c995;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  #footer {
    padding-top: 24px;
  }

  #footer .footer-container {
    padding-top: 20px;
  }

  #footer .footer-container .links .title {
    padding: 16px 0;
    border-bottom: 1px solid #456151;
  }

  #footer .footer-container .links ul {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #footer .footer-container .links li a {
    padding: 7px 0;
  }
}
/* Sidhuvud */
#header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,56,43,.08);
}

/* Övre informationsrad */
#header .header-nav {
  border-bottom: 1px solid #dce5df;
  background: #f1f6f3;
  color: #48564d;
}

#header .header-nav a {
  color: #18382b;
}

#header .header-nav a:hover {
  color: #246b45;
}

/* Huvudrad med logga och meny */
#header .header-top {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
}

#header .header-top .top-menu > li > a {
  color: #18382b;
  font-weight: 700;
  text-transform: none;
}

/* Sökfält */
#header #search_widget {
  min-width: 0;
}

#header #search_widget form {
  position: relative;
}

#header #search_widget form input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding-right: 42px;
  border: 1px solid #d9e5dd;
  border-radius: 8px;
  background: #f3f7f4;
  color: #18382b;
}

#header #search_widget form input[type="text"]:focus {
  border-color: #246b45;
  background: #fff;
  outline: 2px solid #246b45;
  outline-offset: 2px;
}

#header #search_widget form input::placeholder {
  color: #637369;
}

#header #search_widget form button {
  color: #246b45;
}

/* Varukorg */
#header .header-nav .blockcart {
  background: #e4eee7;
  color: #18382b;
}

#header .header-nav .blockcart.active {
  background: #246b45;
}

#header .header-nav .blockcart.active,
#header .header-nav .blockcart.active a,
#header .header-nav .blockcart.active i {
  color: #fff;
}

/* Mobilhuvud */
@media (max-width: 767px) {
  #header .header-top {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #header .header-nav {
    background: #fff;
  }

  #header #menu-icon,
  #header #_mobile_user_info a,
  #header #_mobile_cart a {
    color: #18382b;
  }

  #header #_mobile_cart .blockcart {
    background: #edf4ef;
  }

  #header #search_widget {
    width: 100%;
    margin-bottom: 8px;
  }
}
/* Kompaktare nyhetsbrevsområde */
#footer {
  padding-top: 16px;
}

#footer .block_newsletter {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

#footer .block_newsletter form p {
  margin-bottom: 0;
}

#footer .block-social {
  padding-top: 0;
  margin-top: 8px;
  margin-bottom: 0;
}

#footer .block-social ul {
  margin-bottom: 0;
}

#footer .footer-container {
  margin-top: 16px;
}

/* Nyhetsbrev och Facebook på samma rad på dator */
@media (min-width: 768px) {
  #footer > .container > .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #footer .block-social {
    margin-top: 0;
    text-align: right;
  }
}
/* KONTAKTA OSS */
body#contact #content {
  background: #fff;
  border: 1px solid #dce7df;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 14px rgba(24, 56, 43, 0.05);
}

body#contact .contact-form {
  padding: 0;
}

body#contact .contact-form h3 {
  color: #18382b;
  font-size: 26px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 26px;
}

body#contact .contact-form label {
  color: #18382b;
  font-weight: 600;
}

body#contact .contact-form .form-control {
  min-height: 46px;
  background: #f7faf8;
  border: 1px solid #cbdcd0;
  border-radius: 6px;
  color: #18382b;
  box-shadow: none;
}

body#contact .contact-form .form-control:focus {
  background: #fff;
  border-color: #246b45;
  outline: 2px solid rgba(36, 107, 69, 0.15);
  outline-offset: 1px;
}

body#contact .contact-form textarea.form-control {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

body#contact .contact-form .form-group {
  margin-bottom: 20px;
}

body#contact .contact-form .btn-primary {
  background: #246b45;
  border: 1px solid #246b45;
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 600;
  text-transform: none;
}

body#contact .contact-form .btn-primary:hover {
  background: #18382b;
  border-color: #18382b;
}

/* Butiksinformation */
body#contact .contact-rich h4 {
  color: #18382b;
  font-size: 20px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 20px;
}

body#contact .contact-rich .block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-bottom: 16px;
  background: #edf4ef;
  border: 1px solid #dce7df;
  border-radius: 10px;
  box-shadow: none;
  height: auto;
  overflow: visible;
}

body#contact .contact-rich .block .icon {
  float: none;
  flex: 0 0 28px;
  width: 28px;
  height: auto;
  color: #246b45;
}

body#contact .contact-rich .block .data {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  color: #18382b;
  line-height: 1.6;
}

body#contact .contact-rich a {
  color: #246b45;
  overflow-wrap: anywhere;
  word-break: normal;
}

body#contact .contact-rich a:hover {
  color: #18382b;
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 767px) {
  body#contact #content {
    padding: 22px 16px;
  }

  body#contact .contact-form h3 {
    font-size: 23px;
  }

  body#contact .contact-form .form-footer .btn {
    width: 100%;
  }

  body#contact .contact-rich .block {
    padding: 16px;
  }
}
/* MOBIL – meny, produktlistor och köp */
@media (max-width: 767px) {

  /* Tydliga länkar i mobilmenyn */
  #mobile_top_menu_wrapper {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #dce7df;
  }

  #mobile_top_menu_wrapper .top-menu a {
    padding: 14px 10px;
    color: #18382b;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    text-transform: none;
  }

  #mobile_top_menu_wrapper .top-menu > li {
    border-bottom: 1px solid #e0e8e2;
  }

  #mobile_top_menu_wrapper .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: #246b45;
  }

  /* Två produktkort per rad */
  body#index .featured-products .products,
  body#category #js-product-list .products {
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px;
  }

  body#index .featured-products .products > .product,
  body#category #js-product-list .products > .product {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 14px;
    min-width: 0;
  }

  body#index .featured-products .product-miniature,
  body#category #js-product-list .product-miniature {
    width: 100%;
    margin: 0;
  }

  body#index .featured-products .thumbnail-container,
  body#category #js-product-list .thumbnail-container {
    width: 100%;
    height: auto;
    margin: 0;
  }

  body#index .featured-products .product-thumbnail,
  body#category #js-product-list .product-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 1;
  }

  body#index .featured-products .product-thumbnail img,
  body#category #js-product-list .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body#index .featured-products .product-description,
  body#category #js-product-list .product-description {
    position: static;
    width: 100%;
    height: auto;
    min-height: 92px;
    padding: 10px 6px 14px;
    background: #fff;
  }

  body#index .featured-products .product-title,
  body#category #js-product-list .product-title {
    margin: 0 0 8px;
    min-height: 38px;
    line-height: 1.4;
  }

  body#index .featured-products .product-title a,
  body#category #js-product-list .product-title a {
    font-size: 13px;
    color: #18382b;
  }

  body#index .featured-products .price,
  body#category #js-product-list .price {
    font-size: 16px;
    font-weight: 700;
  }

  body#index .products-section-title {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  /* Kategorirubriker */
  body#category #js-product-list-header h1 {
    font-size: 25px;
    overflow-wrap: break-word;
  }

  /* Köpområde på produktsidan */
  body#product .product-actions {
    padding: 16px;
  }

  body#product .product-add-to-cart .product-quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  body#product .product-add-to-cart .qty {
    margin: 0;
  }

  body#product .product-add-to-cart .add {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
  }

  body#product .product-add-to-cart .add-to-cart {
    width: 100%;
    white-space: normal;
  }

  body#product .tabs {
    padding: 16px;
  }

  body#product .tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
  }

  body#product .tabs .nav-tabs .nav-item {
    margin-left: 0;
  }

  /* Läsbara formulär utan automatisk zoom på iPhone */
  #header #search_widget input[type="text"],
  body#contact .contact-form .form-control,
  #footer .block_newsletter input[type="email"] {
    font-size: 16px;
  }
}
/* Mobil: köpområdet närmare produktbilden */
@media (max-width: 767px) {
  body#product #main .product-cover {
    padding: 12px;
    margin-bottom: 12px;
  }

  body#product #main .product-cover img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: contain;
  }

  body#product #main .images-container .product-images {
    margin-bottom: 14px;
  }

  body#product #main .images-container .thumb-container .thumb {
    width: 58px;
    height: 58px;
    object-fit: contain;
  }

  body#product #main h1 {
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.25;
  }

  body#product #main .product-prices {
    margin-top: 12px;
    margin-bottom: 14px;
  }

  body#product #main .product-actions {
    margin-top: 16px;
  }

  body#product #main .breadcrumb {
    font-size: 12px;
    line-height: 1.5;
  }
}
@media (max-width: 767px) {
  /* Kompaktare sökväg ovanför produkten */
  body#product #wrapper .breadcrumb {
    padding: 0;
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.5;
  }

  /* Tydligare produktbeskrivning */
  body#product .tabs .product-description,
  body#product .tabs .product-description p,
  body#product .tabs .product-description li {
    color: #38463d;
    font-size: 15px;
    line-height: 1.65;
  }

  body#product .tabs .product-description p {
    margin-bottom: 16px;
  }

  body#product .tabs .product-description ol,
  body#product .tabs .product-description ul {
    padding-left: 22px;
  }

  body#product .tabs .nav-tabs .nav-link {
    padding: 12px 10px;
    font-size: 15px;
  }
}
}