/*
 Theme Name:   Smort Commerce Child
 Theme URI:    https://smort.se
 Description:  Smort Commerce Child Theme
 Author:       Smort AB
 Author URI:   https://smort.se
 Template:     smort_commerce
 Version:      1.0.0
*/

/* Import the parent theme's stylesheet */
@import url("../Smort_commerce/style.css");
@import url("https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap");

/* Add your custom styles here */

/* Main */

/* Core */
:root {
  --textColor: var(--accentColor3);
  --textColorLight: #fff;
  --textColorDark: rgb(136, 137, 145);
  --textColorHeadlines: var(--accentColor);

  --textSize: 18px;
  --textLineHeight: 160%;

  --fontFamily: "CustomHeadingFont", sans-serif;

  --arrowRight: url("/wp-content/themes/smort_commerce/img/arrow-up-righ-orange.svg");

  --accentColor: #C73837;
  --accentColor2: #f7f7f7;
  --accentColor3: #313131;

  --buttonColorLight: #fff;
  --buttonColorDark: var(--accentColor2);
  --buttonTextLight: var(--textColorLight);
  --buttonTextDark: var(--textColorLight);
  --fontFamily: "aaux-next", sans-serif;

  --mainLetterSpacing: 2px;
}
article {
  margin-bottom: 0px;
}
body {
  font-family: "aaux-next", sans-serif !important;
  font-weight: 200 !important;
  font-style: normal !important;
}


p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color : var(--textColor);
}
a:hover {
  color: var(--accentColor2);
}
a:active {
  color: var(--accentColor) !important;
}
a {
  text-decoration: none;
  font-family: var(--fontFamilySecond);
}
html {
  scroll-behavior: smooth;
}


h1 {
  font-size: 48px;
  line-height: 1;
  margin-top:1rem;
  margin-bottom: 0.5rem;
  color: var(--textColor);
  font-family: "aaux-next", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

h2 {
  font-size: 38px;
  line-height: 1;
  margin-top:1rem;
  margin-bottom: 0.7rem;
  color: var(--textColor);
  font-family: "aaux-next", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

h3 {
  font-size: 24px;
  line-height: 1;
  margin-top:1rem;
  margin-bottom: 0.5rem;
  color: var(--textColor);
  font-family: "aaux-next", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

h4 {
  font-size: 20px;
  line-height: 1;
  margin-top:1rem;
  margin-bottom: 0.5rem;
  color: var(--textColor);
  font-family: "aaux-next", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px !important;
  }
  h2 {
    font-size: 28px !important;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 18px;
  }
}

.subheading {
  font-size: 25px;
  line-height: 1.5;
  margin-top:1rem;
  margin-bottom: 0.5rem;
  color: var(--textColor);
  font-family: "aaux-next", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

@media (max-width: 768px) {
  .subheading {
    font-size: 18px !important;
  }
}


:root :where(p.has-background) {
padding: 0.5rem 1.2rem;
}
/* Header */

.smort-header {
  background: #fff;
  z-index: 9999;
}

@media only screen and (max-width: 768px) {
  .contact-overlaymenu a {
    width: 110px;
    font-size: 15px;
  }
}

/* Headings */

.hero-heading-xk {
  font-size: 7rem;
  margin: 0px;
  line-height: 1;
}
.main-heading-xk {
  font-size: 4.5rem;
  margin: 0px;
  margin-bottom: 0px !important;
}
.sub-heading-xk {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Header */

.wc-timeline-button-show-cart.right {
  display: none !important;
}

.kb-submit-field .kt-btn-inner-text {
  font-family: "CustomHeadingFont";
  font-size: 20px;
}

.smort-header {
  padding: 10px 0px;
}
.flag-icon {
  height: 20px !important;
}

/* Buttons */

.outline-btn-white-xk a {
  background-color: transparent;
  border-radius: 0px;
  text-align: left;
  padding: 14px;
  min-width: 200px;
  border: 1px solid #fff;
  min-width: 240px;
  position: relative;
  font-family: var(--fontFamily);
  color: #fff;
  text-transform: uppercase;
}
.outline-btn-white-xk a:after {
  content: var(--arrowRight);
  position: absolute;
  right: 9px;
  top: 13px;
  transition: transform 0.2s ease-in-out;
}

.outline-btn-black-xk a {
  background-color: transparent;
  border-radius: 0px;
  text-align: left;
  padding: 14px;
  min-width: 200px;
  border: 1px solid #000000;
  min-width: 240px;
  position: relative;
  font-family: var(--fontFamily);
  color: #000;
  text-transform: uppercase;
}
.outline-btn-black-xk a:after {
  content: var(--arrowRight);
  position: absolute;
  right: 9px;
  top: 13px;
}

.main-btn-xk a {
  background-color: var(--accentColor);
  border-radius: 0px;
  text-align: left;
  padding: 10px;
  min-width: 200px;
  border: 1px solid var(--accentColor);
  min-width: 240px;
  position: relative;
  font-family: var(--fontFamily);
}
.main-btn-xk a:after {
  content: var(--arrowRight);
  position: absolute;
  right: 9px;
  filter: brightness(0) invert(1);
  top: 13px;
  transition: transform 0.2s ease-in-out;
}

.cta-row-btn a {
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
  font-size: 17px !important;
  padding: 5px 30px;
}

a.wp-block-button__link:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/* General */

.hero-text {
  font-size: 30px;
  max-width: 400px;
  margin: 0px;
}
button#wc_search_trigger {
  padding: 12px;
}

button#wc_search_trigger {
  border-radius: 30px;
  border: 0px;
}

.smort-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background-color: #f7f7f7;
  font-family: sans-serif;
  flex-wrap: wrap;
}

.smort-topbar .topbar-left,
.smort-topbar .topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.smort-topbar .usp-header {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.smort-topbar .usp-header li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(10px, 1.2vw, 10px);
  white-space: nowrap;
  color: #fff;
}

.smort-topbar .usp-header li img {
  width: 14px;
  height: auto;
}

/* Responsivt: stapla på mindre skärmar */
@media (max-width: 768px) {
  .smort-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .smort-topbar .topbar-left,
  .smort-topbar .topbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .smort-topbar .usp-header {
    flex-direction: column;
    gap: 5px;
  }

  .smort-topbar .usp-header li {
    font-size: 14px;
    white-space: normal;
  }

  .smort-topbar .topbar-right {
    justify-content: space-between;
    margin-top: 10px;
  }
}

.usp-header img {
  display: block;
  max-height: 15px;
  margin-right: 0px;
}
a.af-login {
  color: #fff;
  padding: 4px 33px;
  font-size: 13px;
  background-color: var(--accentColor3);
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
  border: 1px solid;
}

/* Blend mode section */

.mixed-blend-mode-row {
  background-image: url("http://xenonkungen.local/wp-content/uploads/2025/01/drone-xk.jpg") !important;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate !important; /* Nödvändigt för blend mode att fungera korrekt */
}

.big-heading-xk {
  color: #ffffff; /* Vit färg på texten */
  mix-blend-mode: difference; /* Blend mode för att skapa effekten */
  font-size: 7rem; /* Exempelstorlek, anpassa vid behov */
  line-height: 1;
  text-align: center; /* Centrerar texten */
  margin: 0;
  position: relative; /* Behåller texten inom rätt position */
  z-index: 1; /* Texten måste ligga ovanför bakgrunden */
}
.big-heading-xk {
  color: #ffffff; /* Textens grundfärg */
  mix-blend-mode: difference; /* Blandningsläge */
  font-size: 7rem;
  line-height: 1;
  text-align: center;
  position: relative;
  z-index: 1; /* Se till att texten ligger ovanpå bakgrunden */
}

/* Responsive generellt */

@media screen and (max-width: 992px) {
  .hero-heading-xk {
    font-size: 4.5rem;
    margin-bottom: 0px;
  }
  .hero-text {
    text-align: left;
  }
  .main-heading-xk {
    font-size: 3rem;
  }
  .cta-row-btn a {
    margin-top: 10px;
  }
}

/* WooCommerce styling */

nav.woocommerce-breadcrumb {
  background-color: var(--accentColor3) !important;
  text-align: center;
  padding: 10px !important;
  font-family: "CustomHeadingFont";
  font-size: 14px !important;
}
nav.woocommerce-breadcrumb a {
  color: #fff !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
  color: var(--accentColor) !important;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 0px !important;
}

/* Footer */

.footer-link-row a {
  position: relative;
  text-decoration: none;
  color: inherit; /* Behåller textfärgen */
  padding-bottom: 5px; /* Avstånd för understrykningen */
  font-size: 20px;
  margin: 0px;
}
.footer-link-row h3 {
  margin: 0px 0px 12px 0px;
}
.footer-link-row a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px; /* Tjockleken på linjen */
  background-color: currentColor; /* Använder textens färg */
  transition: width 0.3s ease-in-out;
}

.footer-link-row a:hover::after {
  width: 100%; /* Expanderar linjen vid hover */
}

.footer-heading {
  font-size: 20px;
  margin: 0px;
margin-bottom: 6px;
  font-weight: 400 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-section-xk::after {
  content: "";
  position: absolute;
  bottom: 50px; /* Justera så den är under diven */
  left: 50%;
  transform: translateX(-50%);
  width: 30px; /* Anpassa storleken efter behov */
  height: 30px;
  background-image: url("/wp-content/uploads/2025/02/arrow-jumping.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: jumpAnimation 1.5s infinite ease-in-out;
}

@media screen and (max-width: 768px) {
  .hero-section-xk::after {
    bottom: 35px;
  }
}

@keyframes jumpAnimation {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Anställda */

/* Grid container */
.anstallda-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  gap: 20px;
}

/* Individuell anställd post */
.anstalld-item {
  background-color: #ffffff;
  padding: 20px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0px;
}

/* Bild */
.anstalld-bild {
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}

/* Namn */
.anstalld-namn {
  font-size: 2rem;
  color: #000;
  margin-bottom: 10px;
  margin-top: 0px;
}

/* Roll */
.anstalld-roll {
  font-size: 18px;
  color: #000;
  margin-bottom: 0px;
  margin-top: 0px;
}

/* Kontaktuppgifter */
.anstalld-kontakt a {
  color: #000;
  text-decoration: none;
  display: block;
}

.anstalld-kontakt a:hover {
  color: #000; /* Ljusblå nyans för hover */
}

.anstalld-kontakt a {
  color: var(--accentColor);
}
.anstalld-kontakt p {
  margin: 0px;
}
.anstalld-kontakt {
  margin-top: 10px;
}

@media screen and (max-width: 992px) {
  .anstallda-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    gap: 20px;
  }
}

.wp-block-separator {
  border: none;
  border-top: 1px solid #000;
  opacity: 1 !important;
  width: 100%;
}

.kb-splide .splide__pagination__page {
  width: 20px;
  border-radius: 5px;
}
.kb-splide .splide__pagination__page.is-active {
  background-color: var(--accentColor);
}

.wp-block-image.burger-menu {
  max-width: 120px;
}

/* Ambassadörer CSS */

.ambassador-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Ambassadörer Grid */
.ambassadors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

/* Ambassadör Item */
.ambassador-item {
  position: relative;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
}

/* Mörkt overlay */
.ambassador-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Textinnehåll */
.ambassador-item .content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
}

.ambassador-item h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Läs mer-knapp */
.ambassador-item .read-more-btn {
  display: inline-block;
  background: var(--accentColor);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0px;
  transition: background 0.3s ease;
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
}

/* Anpassning för mindre skärmar */
@media (max-width: 1024px) {
  .ambassadors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ambassadors-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.ambassador-item:hover {
  transform: scale(0.95);
  transition-duration: 0.5s;
}

/* Mitt konto */

/* Grundläggande styling för WooCommerce Mitt Konto */
.woocommerce-MyAccount-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  background: var(--accentColor3);
  padding: 15px;
  border-radius: 0px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100% !important;
}

/* Navigationsobjekt som horisontell meny */
.woocommerce-MyAccount-navigation ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  border-radius: 0px;
  transition: all 0.3s ease-in-out;
  font-family: "CustomHeadingFont";
  font-size: 22px;
}

/* Hover-effekt */
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--accentColor);
  color: var(--accentColor4);
}

/* Aktiv länk */
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--accentColor);
}

/* Innehållsstyling */
.woocommerce-MyAccount-content {
  padding: 30px;
  border-radius: 0px;
  margin-top: 20px;
  color: var(--accentColor3);
  font-size: 16px;
  width: 100% !important;
  max-width: 1200px;
  float: unset !important;
  margin: 5% auto;
}

/* Anpassning för knappar */
.woocommerce-Button,
.woocommerce-button {
  background: var(--accentColor);
  color: var(--accentColor4);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease-in-out;
}

.woocommerce-Button:hover,
.woocommerce-button:hover {
  background: var(--accentColor2);
  color: var(--accentColor4);
}

/* Mobilanpassning */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    flex-direction: column;
    align-items: center;
  }

  .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    width: 100%;
  }

  .woocommerce-MyAccount-navigation ul li {
    width: 100%;
  }

  .woocommerce-MyAccount-navigation ul li a {
    width: 100%;
    text-align: center;
  }
}

.my-account-dashboard {
  text-align: center;
  margin-bottom: 30px;
}

.my-account-dashboard h2 {
  font-size: 3rem;
  color: var(--accentColor3);
}

.my-account-dashboard p {
  font-size: 20px;
  color: var(--accentColor3);
  margin-bottom: 20px;
  margin: 0 auto;
  margin-bottom: 40px;
  max-width: 1000px;
}

.dashboard-cards {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid #f9f9f9;
  border-radius: 0;
  padding: 20px;
  width: 30%;
  min-height: 250px;
  text-align: center;
  text-decoration: none;
  color: var(--accentColor3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.dashboard-icon {
  font-size: 30px;
  color: var(--accentColor);
  margin-bottom: 10px;
}

.dashboard-card h3 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

/* Responsiv design */
@media (max-width: 768px) {
  .dashboard-cards {
    flex-direction: column;
    align-items: center;
  }

  .dashboard-card {
    width: 90%;
  }
}

.woocommerce-account .page-content {
  background-image: url(/wp-content/uploads/2025/02/layers-xk.svg);
  background-position: center;
}

.woocommerce-info,
.woocommerce-error {
  border-top: 0px;
  background-color: #000;
  text-align: center;
  color: #fff;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
  font-size: 1.2rem;
}
.woocommerce-info::before {
  display: none;
}

.woocommerce .woocommerce-info .button {
  color: #fff;
  background-color: transparent;
  border: 2px solid;
  border-radius: 0px !important;
  padding: 8px 20px;
  font-size: 12px;
}
.woocommerce-info::after {
  display: none;
}

/* Thank you page */

.woocommerce-order {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5%;
  padding-bottom: 5%;
}
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  text-align: center;
  margin-bottom: 50px;
  font-family: "CustomHeadingFont";
  font-size: 2.5rem;
  text-transform: uppercase;
}
.woocommerce ul.order_details {
  margin: 0 0 3em;
  list-style: none;
  text-align: left;
  margin: 0 auto;
  max-width: 1000px;
  margin-bottom: 50px;
}
h2.woocommerce-order-details__title {
  font-size: 2rem;
  text-align: center;
}
.woocommerce .woocommerce-customer-details .woocommerce-column__title {
  margin-top: 0;
  text-align: center;
  font-size: 2rem;
}
td.woocommerce-table__product-name.product-name a {
  color: var(--accentColor);
}
.woocommerce .woocommerce-customer-details :last-child {
  background-color: #fff;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 0px;
}
.woocommerce-order-received .page-content {
  background-color: #f9f9f9;
}

/* Tabell ordrar */

/* Ta bort borders och skapa en ren look */
.woocommerce-orders-table {
  border-collapse: separate;
  border-spacing: 0 10px; /* 10px avstånd mellan rader */
  width: 100%;
}

/* Ta bort borders från tabellhuvudet */
.woocommerce-orders-table thead {
  font-weight: bold;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
  font-size: 22px;
}

/* Göra varje rad till en "kort-liknande" stil */
.woocommerce-orders-table tbody tr {
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

/* Lätt hover-effekt för att göra det mer interaktivt */
.woocommerce-orders-table tbody tr:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Padding för att ge mer luft mellan innehållet */
.woocommerce-orders-table td,
.woocommerce-orders-table th {
  padding: 15px;
  text-align: left;
}

/* Ändra länkfärger till din orange accentfärg */
.woocommerce-orders-table a {
  color: var(--accentColor);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.woocommerce-orders-table a:hover {
  color: var(--accentColor2);
}

/* Åtgärdsknappar styling */
.woocommerce-orders-table__cell-order-actions .woocommerce-button {
  background: var(--accentColor);
  color: var(--accentColor4);
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button:hover {
  background: var(--accentColor2);
}

/* Gör tabellen responsiv */
@media (max-width: 768px) {
  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tbody tr {
    display: block;
    margin-bottom: 10px;
    padding: 15px;
  }

  .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .woocommerce-orders-table td:last-child {
    border-bottom: none;
  }

  .woocommerce-orders-table td::before {
    content: attr(data-title) ": ";
    font-weight: bold;
    color: var(--accentColor3);
  }
}

.woocommerce table.shop_table {
  border: 0px;
}
.woocommerce table.my_account_orders td {
  padding: 50px 10px;
}
.woocommerce table.my_account_orders .button {
  white-space: nowrap;
  background-color: var(--accentColor);
  color: #fff;
  font-family: "CustomHeadingFont";
  font-size: 22px;
  padding: 5px 30px;
  text-align: center;
  max-width: 120px;
}
.woocommerce-view-order .page-content {
  text-align: center;
}
.cta-orders-div {
  text-align: center;
  margin-top: 5%;
}
h2.order-cta-title {
  font-size: 3rem;
}
.cta-orders-div a {
  background-color: var(--accentColor);
  color: #fff;
  padding: 5px 30px;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
  font-size: 1.2rem;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: calc(48% - 40px);
  background-color: #f9f9f9;
  padding: 20px;
}
.woocommerce-Address a {
  color: var(--accentColor);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 0px;
  min-height: 40px;
  border: 1px solid #e5e5e5;
  padding-left: 10px;
}
.woocommerce form .form-row label {
  font-family: "CustomHeadingFont";
}
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  position: absolute;
  top: 0.3em !important;
}
button.woocommerce-Button.button,
button.button {
  background-color: var(--accentColor);
  color: #fff;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
  font-size: 22px;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background-color: var(--accentColor) !important;
  color: #fff;
}
.woocommerce-address-fields button {
  background-color: var(--accentColor) !important;
  color: #fff !important;
  min-width: 200px;
  border-radius: 0px;
}

/* Reviews section */

h2.reviews-title {
  font-size: 4.5rem;
  line-height: 1;
  margin: 50px 0px;
  text-align: center;
  color: #000;
}
.reviews-section-ks {
  background-color: #f2f2f2;
  padding: 3% 0%;
  margin-top: 5%;
}
.inner-section-reviews {
  max-width: 90vw;
  margin: 0 auto;
}
.cr-all-reviews-shortcode .cr-summaryBox-wrap,
.cr-reviews-grid .cr-summaryBox-wrap {
  margin: 0;
  background-color: #ffffff;
}

.ivole-meter .ivole-meter-bar {
  border-radius: 1px;
  background: var(--accentColor);
  background: -webkit-linear-gradient(
    top,
    var(--accentColor),
    var(--accentColor)
  );
  background: linear-gradient(
    to bottom,
    var(--accentColor),
    var(--accentColor)
  );
  background-color: var(--accentColor);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0), inset 0 -1px 0 rgba(0, 0, 0, 0);
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
  float: left;
  font-size: 0;
  height: 100%;
  width: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.cr-all-reviews-shortcode
  .cr-summaryBox-wrap
  .cr-add-review-wrap
  .cr-all-reviews-add-review,
.cr-reviews-grid
  .cr-summaryBox-wrap
  .cr-add-review-wrap
  .cr-all-reviews-add-review {
  background-color: var(--accentColor);
  color: #fff;
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
}
.cr-ajax-search,
.cr-all-reviews-shortcode .cr-count-row {
  display: none !important;
}
.cr-all-reviews-shortcode ol li.review .comment_container {
  background-color: #fff;
  padding: 15px;
  border-bottom: 0px;
  margin-top: 10px;
}
.cr-all-reviews-shortcode ol.commentlist li .comment-text {
  border-bottom: 0px;
}
.cr-all-reviews-shortcode ol li.review .comment_container img.avatar {
  top: 10px;
  left: 10px;
}
.cr-all-reviews-shortcode ol li.comment .comment_container .cr-avatar-check,
.cr-all-reviews-shortcode ol li.review .comment_container .cr-avatar-check {
  left: 44px;
  top: 38px;
}
span.woocommerce-review__author {
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
  font-size: 20px !important;
}

.woocommerce .star-rating span::before {
  color: var(--accentColor);
}
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 10px;
}
a.woocommerce-review-link {
  color: #000;
}

.cr-all-reviews-shortcode ol.commentlist li {
  margin-bottom: 5px;
}
.woocommerce ul.products li.product .star-rating {
  display: none;
}

/* Kassa & Varukorg */

.wc-timeline-product {
  width: calc(100% - 20px) !important;
  padding: 10px 25px;
  margin: 10px;
  background-color: #fff;
}
.wc-items-container {
  background-color: #f9f9f9;
}
.wc-timeline-remove-product {
  cursor: pointer;
  font-size: 15px;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  line-height: 25px;
  background-color: var(--accentColor);
  color: #fff !important;
}
.wc-timeline-product-price,
.wc-timeline-product .currency {
  font-weight: bold;
  font-size: 1.5rem !important;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
}
.wc-timeline-container-close-icon {
  font-size: 30px;
  border-radius: 50%;
  font-family: Arial;
  cursor: pointer;
  width: 90px;
  height: 100%;
  line-height: 90px;
  color: var(--upsell-modal-close-text);
  background-color: var(--accentColor) !important;
}
.wc-timeline-empty-modal {
  background-color: transparent !important;
}
.wc-timeline-empty-modal .wc-timeline-button,
.wc-timeline-checkout-button,
.wc-timeline-empty-modal .wc-timeline-button,
.wc-timeline-checkout-button {
  background-color: var(--accentColor) !important;
  font-family: "CustomHeadingFont";
  font-size: 20px !important;
}
.wc-timeline-product-add a {
  font-family: "CustomHeadingFont";
  font-size: 1.2rem !important;
  text-transform: uppercase;
  border-radius: 0px !important;
}
.wc-timeline-empty-modal .wc-timeline-button,
.wc-timeline-checkout-button {
  font-size: 30px;
}
.wc-timeline-product-title {
  font-family: "CustomHeadingFont";
  font-size: 20px;
  text-transform: uppercase;
  margin: 10px 0px;
}
.woocommerce-checkout .page-content {
  max-width: 90vw;
  margin: 0 auto;
  padding-top: 2%;
  padding-bottom: 5%;
}

ul.woocommerce-error {
  display: none;
}

/* Kassa */

.woocommerce-checkout input.cart-quantity {
  font-size: 20px;
  font-family: "CustomHeadingFont";
  font-weight: 800;
  text-align: center;
  width: 30px;
  background-color: transparent;
  border: 0;
}
.woocommerce-checkout .woocommerce-info {
  background-color: #fff;
  border: 1px solid var(--accentColor4);
  margin-bottom: 0px;
  color: #000;
}
a.showcoupon {
  color: var(--accentColor);
  margin-left: 10px;
}
.totals-line {
  background-color: #f9f9f9;
}
.totals-line {
  background-color: #f9f9f9;
  margin: 10px 0px;
  padding: 10px 10px;
}
.checkout-totals {
  padding: 0px !important;
}
.checkout-totals .totals-line:nth-of-type(2) {
  background-color: #00800012;
}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid #cfc8d8;
  padding: 20px;
  margin: 2em 0;
  text-align: left;
  border-radius: 0;
  color: #fff;
}

h3.upsell-title,
.woocommerce-additional-fields h3 {
  font-size: 2rem;
  margin: 20px 0px 15px;
}
p#order_comments_field {
  display: none;
}
.wc-timeline-product.upsell {
  box-shadow: 0 0.4rem 3rem rgba(0, 0, 0, 0) !important;
  border: 1px solid #cccccc;
}

.prdctfltr_wc_widget.prdctfltr_wc .prdctfltr_filter_inner {
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
}
.prdctfltr_columns_1 .prdctfltr_filter {
  width: 20% !important;
}
.prdctfltr_terms_customized_select .prdctfltr_widget_title,
.pf_default_select .prdctfltr_widget_title {
  cursor: pointer;
  display: block;
  padding: 10px;
  background-color: #fff;
  border: 1px solid;
}
h2.widget-title {
  margin: 0px !important;
  font-size: 18px !important;
}
.prdctfltr_filter label {
  display: block;
  font-size: 16px !important;
  line-height: 40px !important;
  border-bottom: 1px solid #d4d4d4;
  font-family: "CustomHeadingFont";
  text-transform: uppercase;
}
.prdctfltr_checkboxes .prdctfltr_sub {
  margin-left: 1.5em !important;
}
.prdctfltr_customize_count {
  background-color: var(--accentColor) !important;
  font-size: 13px !important;
  color: #fff !important;
  padding: 2px 8px !important;
  margin-left: 10px !important;
  border-radius: 50% !important;
}

.prdctfltr_collector_flat > span {
  background-color: #f4f4f4;
  background-color: var(--accentColor) !important;
  border-radius: 0px !important;
  color: #fff !important;
}
.prdctfltr-delete:before {
  content: "\f002";
  color: #fff;
}
.cart-item-price {
  font-family: "CustomHeadingFont";
  font-size: 18px;
  color: var(--accentColor);
}

/* inloggning */

/* Centrera inloggningsformuläret */
.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

/* Gör inmatningsfälten snyggare */
.woocommerce-form-row input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

/* Highlight på inputfält vid fokus */
.woocommerce-form-row input:focus {
  border-color: var(--accentColor, #388349);
  outline: none;
}

/* Justera checkboxens utseende */
.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
}

/* Anpassad styling för knappar */
.woocommerce-button {
  width: 100%;
  padding: 12px;
  background: var(--accentColor, #388349);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Effekt vid hover */
.woocommerce-button:hover {
  background: #2f6b3e;
}

/* Länk till glömt lösenord */
.woocommerce-LostPassword a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accentColor, #388349);
  text-decoration: none;
  font-weight: bold;
}

.woocommerce-LostPassword a:hover {
  text-decoration: underline;
}

/* Gör registrerings- och inloggningsformulär lika stora */
.u-columns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.u-columns .u-column1,
.u-columns .u-column2 {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 0px;
  border: 1px solid #fafafa;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

/* Anpassa rubriker */

form.woocommerce-form.woocommerce-form-login.login {
  margin: 0 auto;
}
h2.login-title {
  font-size: 3rem;
  text-align: center;
}
p.login-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 50px;
}
form.woocommerce-form.woocommerce-form-login.login {
  margin: 0 auto;
  margin-bottom: 5%;
}
.tax-product_brand img.category-image {
  object-fit: contain !important;
  background: #fff;
}
.smort-megamenu-right img {
  width: 100%;
  height: 500px !important;
  border: 1px solid #bcbcbc;
}
span.prdctfltr_regular_title {
  font-size: 20px;
}
.prdctfltr_woocommerce.prdctfltr_wc.prdctfltr_always_visible
  .prdctfltr_woocommerce_ordering {
  padding: 10px;
}
.prdctfltr_count {
  font-weight: 600;
  background-color: var(--accentColor);
  color: #fff;
  border: 0px;
  font-size: 12px;
}
.ivole-meter {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0), inset 0 0 0 1px rgba(0, 0, 0, 0);
}
.smort-megamenu-left {
  max-height: 500px;
  overflow-y: scroll;
}
a.main-btn-xk {
  font-family: "CustomHeadingFont";
  font-size: 20px;
  background-color: var(--accentColor);
  padding: 5px 40px;
  color: #fff;
}
.right-sticky {
  justify-content: end;
}

/* Login knapp */
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
  background-color: var(--accentColor) !important;
  padding: 12px 20px !important;
  color: #fff !important;
}

/*Woocommerce share */
.woocommerce-share {
  margin-top: 5px;
  align-items: center;
}

.woocommerce-share .share-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-right: 10px;
  color: #000;
  margin-top: 15px;
}

.woocommerce-share a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  margin-right: 10px;
  transition: color 0.3s ease;
  background: var(--accentColor);
  padding: 5px;
  max-height: 40px;
  width: 20px;
  justify-content: center;
}

.woocommerce-share a:hover {
  color: #000;
}

.woocommerce-share i {
  font-size: 20px;
}

/* Toggle TAX dropdown */
form.smort-tax-toggle-form {
  display: inline-block;
  margin: 0;
  margin-right: 12px;
  padding: 0;
}

form.smort-tax-toggle-form select {
  padding: 2px;
  font-size: 13px;
  background-color: #212121;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100px;
  font-family: "CustomContentFont";
}

form.smort-tax-toggle-form select:hover {
  background-color: #212121;
  border-color: #0073aa;
}

form.smort-tax-toggle-form select:focus {
  outline: none;
  border-color: #0073aa;
  border: 1px solid var(--accentColor);
  background-color: #212121;
}

form.smort-tax-toggle-form select option {
  padding: 10px;
  font-size: 14px;
}

.tax-toggle-div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.tax-toggle-div span {
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .tax-toggle-div {
    margin-bottom: 2rem;
  }

  .tax-toggle-div span {
    font-size: 17px;
  }

  form.smort-tax-toggle-form select {
    padding: 10px 2px;
    width: 120px;
    font-size: 16px;
  }
}

.topbar-right {
  display: flex;
  align-items: center;
}

.tax-label {
  font-family: "CustomContentFont";
  font-size: 12px;
}

.woocommerce-share {
  margin-top: 10px;
  display: flex;
  border-top: 1px solid #dfdfdf;
}

/* Bundle custom */

.woosb-products .woosb-product .woosb-title .woosb-title-inner a {
  color: #000;
  line-height: 2;
}
.woosb-products .woosb-product .woosb-title .stock.in-stock {
  color: green;
  display: none;
}

.archive button.smort-heart-btn {
  position: absolute !important;
  right: 10px;
  top: 10px;
}
.wc-search-close {
  position: absolute;
  top: 50%;
  right: 70px;
  transform: translateY(-50%);
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: var(--accentColor);
  padding: 6px 15px 10px 15px !important;
  line-height: 1;
  border-radius: 50%;
}


.product-carousel {
  padding: 0px;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.product-slide {
  border-radius: 00px;
}

.product-category {
  margin-top: 5px;
  font-size: 0.9em;
  color: #555;
}

.price {
  margin-top: 0px;
  font-weight: bold;
  color: #333 !important;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 5px;
}

.cta-div {
  padding-bottom: 20px;
}
/* Swiper navigation buttons */

/* Wrapper för navigationspilar */
/* Föräldrakontainer som håller både swiper och navigation */
.swiper-carousel-wrapper {
  position: relative; /* Viktigt för att pilarna ska placeras rätt */
  overflow: hidden; /* Behåll hidden här för att förhindra sidescroll */
}

/* Navigeringspilar */
.swiper-navigation {
  position: absolute;
  width: 100%; /* Full bredd för att centrera pilarna */
  bottom: -40px; /* Placera nedanför karusellen */
  display: flex;
  justify-content: center; /* Centrera pilarna horisontellt */
  z-index: 10; /* Gör så att de syns ovanpå */
}

.swiper-button-next,
.swiper-button-prev {
  position: relative !important;
  color: var(--accentColor) !important;
  border: 1px solid var(--accentColor)!important;
  border-radius: 0px !important;
  width: 50px !important;
  height: 50px  !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  margin: 0 10px !important;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2) !important;
  top: 0 !important;
  left: none !important;
}

/* Hover-effekt för pilar */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accentColor);
  color: #fff !important;
  border-color: var(--accentColor);
}

.pagination-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px !important;
  gap: 10px !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 15px !important;
}

/* titles */
h2.woocommerce-loop-product__title {
  font-size: 15px;
  color: #000;
  line-height: 1.5;
  margin-top: 0px;
  max-width: 80%;
  display: block;
  margin-bottom: 0px;
}
.product-category a {
  color: var(--accentColor3);
  margin-bottom: 0px;
  display: block;
}
.product-slide .amount {
  font-size: 20px;
  margin-top: 15px !important;
  display: block;
  margin-top: 0px !important;
}
.swiper-slide span.price bdi {
  font-size: 25px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
}

span.product-parent-category {
  font-size: 12px;
  color: #000;
}

/* Dots */

/* Swiper pagination dots */
.swiper-pagination-bullet {
  background: #333;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #4c8077; /* Active dot color */
  opacity: 1;
}

/* Adjust the position and appearance of the dots if needed */
.swiper-pagination {
  margin-top: 15px;
  text-align: center;
  bottom: -30px !important;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
  width: 20px;
  border-radius: 5px;
}
.product-varumarke {
  color: #000;
  margin-top: 10px;
}
span.onsale {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  background-color: var(--accentColor);
  /* width: 50px; */
  /* height: 50px; */
  border-radius: 30px;
  padding: 10px 10px;
  font-size: 15px;
}
.price del bdi {
  color: #8e8e8e;
  font-size: 19px;
}


/* Swiper slide */

.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}
a.product-slider-cta {
  text-align: center !important;
  display: block;
  background-color: var(--accentColor);
  color: #fff;
  padding: 10px;
  width: calc(100% - 12px);
  margin-top: 15px;
}
.swiper-slide h2.woocommerce-loop-product__title {
  max-width: 100%;
  font-size: 1.7rem;
  padding-top: 20px;
}
.swiper-slide span.price ins {
  text-decoration: none;
}

.product-slider-cta img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0px;
  border: 0px !important;
}

.product-slide img {
  width: calc(100% - 20px);
  height: 400px;
  object-fit: contain;
  margin: 10px;
  border-radius: 0px !important;
  background-color: #fff;
}
.product-slide img.placeholder {
  object-position: bottom !important;
}

/* Arrow */

img.cta-arrow {
  width: 20px;
  height: 20px;
  margin: 0px;
  margin-top: 5px;
}

/* Container för produktbilder */
.product-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  z-index: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-container .first-image,
.product-image-container .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}



.product-image-container .hover-image {
  opacity: 0; 
}

.product-image-container:hover .hover-image {
  opacity: 1; 
}

.product-image-container:hover .first-image {
  opacity: 0; /
}

.product-slide h2.woocommerce-loop-product__title,
.product-slide .cta-div {
  position: relative;
  z-index: 2;
}

.title-stock-div {
  align-items: center;
  padding-top: 0px;
}

.product-info-slider {
  padding: 0px 16px;
}
.smort-heart-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}
.woocommerce-product-details__short-description {
    margin: 0px !important;
}

/** SKU **/
.product-sku {
    font-size: 18px;
    color: var(--textColor);
    margin-bottom: 10px;
    font-family: var(--fontFamily);
    margin-bottom: 1.2rem;
}

.product-sku span {
    color: var(--accentColor);
}

/* Styling för inloggningssidan */
.login-message {
    background-color: #f8f8f8;
    border-left: 4px solid var(--accentColor);
    padding: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.woocommerce-form-login, 
.woocommerce-form-register {
    background-color: #fff;
    padding: 25px;
    border-radius: 0;
    width: 530px;
}

@media (max-width: 1300px) {
    .woocommerce-form-login, 
    .woocommerce-form-register {
        width: auto;
    }
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100% !important;
    margin-top: 10px !important;
}

/* Förbättra responsiviteten på inloggningssidan */
@media (max-width: 768px) {
    .u-columns {
        flex-direction: column;
    }
    
    .u-column1, 
    .u-column2 {
        width: 100% !important;
        margin-bottom: 20px;
    }
}


#customer_login {
  max-width: 1500px;
  margin: 5rem auto;
}

/* Användarikon i menyn */
.user-account-menu {
    display: flex;
    align-items: center;
}

.user-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accentColor3);
    font-size: 24px;
    transition: color 0.3s ease;
}

.user-account-icon:hover {
    color: var(--accentColor);
}

.user-account-icon i {
    font-size: 24px;
}

/* Responsiv design för användarmenyn */
@media (max-width: 768px) {

    
    .user-account-icon {
        font-size: 20px;
    }
    
    .login-btn {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Lägg även till ikonen i sticky header */
.sticky-header .right-sticky {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Inloggning och registrering */
.login-container,
.register-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 0px;
}

.login-title,
.register-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--textColor);
}

.login-text,
.register-text {
  margin-bottom: 25px;
  color: #666;
}

.register-link,
.login-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.register-link a,
.login-link a {
  color: var(--accentColor);
  font-weight: bold;
  text-decoration: none;
}

.register-link a:hover,
.login-link a:hover {
  text-decoration: underline;
}

/* Gör inmatningsfälten snyggare */
.woocommerce-form-row input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

/* Highlight på inputfält vid fokus */
.woocommerce-form-row input:focus {
  border-color: var(--accentColor, #388349);
  outline: none;
}

/* Justera checkboxens utseende */
.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
}

/* Knappstil */
.login-btn,
.woocommerce-form-register__submit {
  width: 100%;
  padding: 12px;
  background-color: var(--accentColor);
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


/* Responsiv design */
@media (max-width: 768px) {
  .login-container,
  .register-container {
    padding: 20px;
    margin: 30px 15px;
  }
}

/* Företagsregistrering */
.company-info-section,
.address-section,
.additional-info-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.company-info-section h3,
.address-section h3,
.additional-info-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--textColor);
}

/* Två kolumner för postnummer och ort */
.form-row-first {
  float: left;
  width: 48%;
  margin-right: 4%;
}

.form-row-last {
  float: right;
  width: 48%;
}

.form-row-wide {
  clear: both;
}

/* Rensa float efter sektioner */
.address-section:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsiv design för formuläret */
@media (max-width: 768px) {
  .form-row-first,
  .form-row-last {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

/* Förbättra utseendet på registreringsformuläret */
.register-container {
  max-width: 800px; /* Bredare för att rymma alla fält */
}

/* Markera obligatoriska fält */
.required {
  color: #e2401c;
}

/* Related products slider: keep cards visually even */
.related-products-section .swiper-container-2 {
  overflow: hidden;
}

.related-products-section .swiper-wrapper {
  align-items: stretch;
}

.related-products-section .swiper-slide {
  height: auto;
  display: flex;
}

.related-products-section .swiper-slide > li.custom-product-card {
  width: 100%;
  margin: 0 !important;
  float: none;
  list-style: none;
  display: flex;
}

.related-products-section .product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.related-products-section .product-card > a {
  display: block;
}

.related-products-section .product-card img {
  width: 100%;
  height: 240px !important;
  object-fit: contain;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
}

.related-products-section .product-info {
  display: grid;
  grid-template-rows: minmax(86px, auto) 54px auto;
  flex: 1;
  width: 100%;
  padding: 0 8px 10px;
  box-sizing: border-box;
}

.related-products-section .title-stock-div {
  min-height: 86px;
  grid-row: 1;
}

.related-products-section .title-stock-div h2,
.related-products-section h2.woocommerce-loop-product__title {

  margin: 0 0 6px;
  line-height: 1.3;
}

.related-products-section .stock-status {
  justify-content: flex-start;
  margin: 0;
  min-height: 18px;
}

.related-products-section .price {
  grid-row: 2;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  margin: 10px 0 12px;
}

.related-products-section a.buy-product-button {
  grid-row: 3;
  align-self: end;
  width: 100%;
}

@media (max-width: 767px) {
  .related-products-section .product-card img {
    height: 220px !important;
  }

  .related-products-section .title-stock-div {
    min-height: auto;
  }

  .related-products-section .product-info {
    grid-template-rows: minmax(76px, auto) 50px auto;
  }
}

/* Dölj pris och lager och pdf */
.price {
  display: none !important;
}

.stock {
  display: none !important;
}

.woocommerce .stock {
  display: none !important;
}

.product-slide .amount {
  display: none !important;
}

.woocommerce-loop-product__price {
  display: none !important;
}

.stock-status {
  display: none !important;
}

.pdf-button-container {
  display: none !important;
}