/* ================================
  Color themes
================================ */

:root {
  --primary-logo-color: #00110D;
  --primary-font-family: system-ui, sans-serif;
  --primary-color: #00342D;
  --primary-bg-color: #E9E1DA;
  --primary-title-color: #00110D;
  --primary-subtitle-color: #66706E;
  --primary-element-color: #00342D;
  --primary-cta-color: #00342D;
  --primary-cta-color_hover: #00473D;
  --primary-line-color: rgb(234, 231, 231);
  --primary-frame-text-color: #00342D;
  --secondary-bg-color: #E5EAEA;
}

/* ================================
  Base
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 110%; 
}

@media only screen and (min-width: 1922px) and (orientation: landscape) {
  html { font-size: 140%; }
}

body {
  font-family: var(--primary-font-family);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--primary-bg-color);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.desktop-only {
  display: flex !important;
}

.mobile-only {
  display: none !important;
}

/* ================================
  Button
================================ */

.btnOption {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  min-height: 3.5rem;
  color: var(--primary-cta-color);
  border-bottom: 1px solid var(--primary-line-color);
  border-left: 1px solid var(--primary-line-color);
  border-right: 1px solid var(--primary-line-color);
  border-radius: 0.5rem;
  transition: all .25s ease-in-out;
  width: 100%;
  background-color: transparent;
  text-decoration: none;
}

.btnOption:hover {
  background-color: var(--secondary-bg-color);
}

.btnOption:first-child {
  border-top: 1px solid var(--primary-line-color);
  border-radius: 0.5rem 0.5rem 0 0;
}

.btnOption:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

/* ================================
  Forms
================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  margin-top: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: none;
  margin-bottom: 0;
  font-weight: bold;
}

.full-width {
  grid-column: 1 / -1; /* sträcker sig över båda kolumnerna */
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.form-group.checkbox label {
  display: inline-flex;
  cursor: pointer;
}

.form-group.checkbox input[type=checkbox] {
  display: none;
  cursor: pointer;
}

.form-group.encryptedWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-group.required {
  display: flex;
}

.form-group.required .errorMessage, .form-box-form.required .errorMessage {
  justify-content: flex-start;
  flex-direction: column;
  text-align: left;
  width: 100%;
  background: transparent !important;
  font-size: 0.75rem;
  color: var(--primary-title-color);
  border-radius: 0.25rem;
  padding: 0.35rem 0.25rem;
  opacity: 0.8;
}

.form-group.required input, .form-group.required.checkbox .customerGdprConsentWrapper .customerGdprConsentCheckboxButton, .form-box-form.required input {
  border-bottom: 2px solid var(--primary-cta-color) !important;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0.5rem;
  width: 100%;
}

.form-group.required.checkbox {
  border: 0;
}

.valueErrorMessageValue {
  display: inline-flex;
  font-weight: 600;
}

input, button {
  font-family: var(--primary-font-family);
  -webkit-appearance: none;
  appearance: none;
}

input {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  min-height: 3.5rem;
  border: 0;
  color: var(--primary-color);
  background-color: #FFFFFF;
  outline: none;
}

input:focus {
  border-bottom: 1px solid var(--primary-cta-color);
}

button {
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  min-height: 3.5rem;
  background-color: var(--primary-cta-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all .25s ease-in-out;
  width: 100%;
}

button:hover {
  background-color: var(--primary-cta-color_hover);
}

button.alt {
  background-color: transparent;
  border: 1px solid var(--primary-cta-color);
  color: var(--primary-cta-color);
}

button.alt:hover {
  background: var(--primary-cta-color);
  color:#FFFFFF;
}

.disclaimer, .customerGdprConcentInfo {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  margin-top: 0;
  color: var(--primary-title-color);
  cursor: pointer;
}

.disclaimer, .customerGdprConcentInfo a {
  color: var(--primary-title-color); 
}

.customerGdprConsentWrapper {
  display: flex;
  flex-direction: row;
  user-select: none;
}

.customerGdprConcentInfo {
  text-align: left;
  padding-left: 0.5rem;
}

.customerGdprConsent .customerGdprConsentCheckboxButton {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0.5rem !important;
  min-width: 0.5rem !important;
  border-radius: 100%;
  background: #FFFFFF;
  padding: 0.15rem !important;
}

.customerGdprConsent .customerGdprConsentCheckboxButton.active svg {
  opacity: 1;
  visibility: visible;
}

.customerGdprConsent .customerGdprConsentCheckboxButton svg {
  opacity: 0;
  visibility: hidden;
  width: 1rem;
  height: 1rem;
}

.encrypted {
  display: flex;
  font-size: 0.75rem;
  font-weight: 500;
  gap: 0.35rem;
  opacity: 0.75;
}

.encrypted .encryptedIcon {
  display: flex;
  height: 1.15rem;
  width: 1.15rem;
}

.encrypted .encryptedIcon svg {
  height: 1.15rem;
  width: 1.15rem;
}

.encrypted .encryptedText {
  display: flex;
  margin-top: 0.05rem;
  opacity: 0.8;
}


/* ================================
  Buttons
================================ */

.cta-text-icon {
  display: flex;
  cursor: pointer;
  align-items: center;
  text-decoration: none;
  gap: 0.40rem;
}

.cta-text-icon .label {
  display: flex;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
}

.cta-text-icon .icon {
  display: flex;
}

.cta-text-icon img {
  height: 1.25rem;
}

/* ================================
  Tables
================================ */

table {
  display: table;
  width: 100%;
}

table tr {
  display: flex;
  flex-direction: row;
  width: 100%;
}

table td.label {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 70%;
  padding: 0.3rem 0;
  color: var(--primary-subtitle-color);
  font-size: 0.875rem;
}

table td.label:hover {
  color: var(--primary-title-color);
  transition: all 0.2s ease-in-out;
}

table td.value {
  display: flex;
  align-items: center;
  width: 30%;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-title-color);
}

/* ================================
  Tooltips
================================ */

.tooltip {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 0.25rem;
  cursor: pointer;
}

.tooltip img {
  width: 0.875rem;
  height: 0.875rem;
}

.tooltip svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.25rem;
}

.tooltip svg g {
  fill: var(--primary-subtitle-color);
}

.tooltip-text {
  visibility: hidden;
  width: 13.75rem;
  background-color: var(--primary-color);
  color: #fff;
  text-align: left;
  border-radius: 0.5rem;
  padding: 0.85rem 0.75rem;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* Position above the icon */
  left: 0;
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 0.85em;
  white-space: normal;
  z-index: 800;
}

/* Arrow on tooltip */

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* bottom of the tooltip box */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
}

/* Show the tooltip on hover */

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
  
/* ================================
  Header och Navigation
================================ */
  
header {
  background-color: transparent;
  color: var(--primary-frame-text-color);
  padding: 1rem 2rem;
  display: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--primary-frame-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-frame-text-color);
  text-decoration: none;
}
  
/* ================================
  Main
================================ */
  
main {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4rem 2rem;
  row-gap: 2rem;
}

/* ================================
  Papper
================================ */

.paper {
  display: flex;
  background-color: #fff;
  min-width: 43.75rem;
  max-width: 43.75rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  color: #000;
  overflow: hidden;
}

.paper header,
.paper main,
.paper footer {
  display: flex !important;
  flex-direction: column;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  color: #000;
}

.paper header {
  padding-top: 2rem;
  padding-bottom: 0rem;
}

.paper main {
  padding-bottom: 3rem;
}

.paper footer {
  border-radius: 1rem 1rem 0 0;
}

.paper header .header-inner-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--primary-line-color);
  padding-bottom: 1.875rem;
  flex-direction: row;
  align-items: center;
}

.paper header .header-inner-top .header-logo {
  display: flex;
}

.paper header .header-inner-top .header-logo img, .paper header .header-inner-top .header-logo svg {
  max-height: 1.75rem;
}

.paper header .header-inner-top .header-actions {
  display: flex;
  gap: 0.5rem;
}

.paper header .header-inner-top .link {
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  height: 2.188rem;
  width: 2.188rem;
  border-radius: 100%;
  background: var(--secondary-bg-color);
}

.paper header .header-inner-top .link img {
  width: 1.063rem;
}

.paper header .header-inner-top .link svg {
  width: 1.063rem;
  height: auto;
} 

.paper header .header-inner-top .link svg path {
  fill: var(--primary-element-color);
}

.paper header .header-inner-bottom {
  display: flex;
  padding-top: 1.875rem;
}

.paper header .header-inner-bottom h2 {
  display: flex;
  order: 2;
  width: 100%;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--primary-title-color);
}

.paper header .header-inner-bottom .seriesNumber {
  display: flex;
  order: 1;
  justify-content: flex-start;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-title-color);
  margin-bottom: 0.5rem;
}

.paper header .header-inner-bottom .header-title {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.paper main {
  padding-top: 2rem;
}

.paper main .main-section-wrapper {
  display: flex;
  flex-direction: column;
}

.paper main .main-section-wrapper .main-section-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.paper main .main-section-wrapper .main-section-header .title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-title-color);
}

.paper main .main-section-wrapper .main-section-header .actions {
  display: flex;
}

/* ================================
  Products row edit
================================ */

.paper main .product-rows-wrapper {
  row-gap: 0 !important;
  border: 0.063rem solid var(--primary-line-color);
  border-radius: 0.5rem;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.paper main .product-row {
  cursor: pointer;
  border: 0 !important;
  border-bottom: 0.063rem solid var(--primary-line-color) !important;
  border-radius: 0 !important;
  min-height: auto !important;
  padding-bottom: 1rem;
  padding-top: 1rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  transition: all .25s ease-in-out;
}

.paper main .product-row:hover {
  background-color: var(--secondary-bg-color);
}

.paper main .product-row .imageAndContentWrapper {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.paper main .product-row .imageAndContentWrapper .image {
  display: flex;
  height: 4.063rem !important;
  width: 4.063rem !important;
  min-width: 4.063rem !important;
}

.paper main .product-row .imageAndContentWrapper .content {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.75rem;
}

.paper main .product-row .amount {
  padding-bottom: 0 !important;
}

.paper main .product-row:first-child {
  padding-top: 1rem !important;
}

.paper main .product-row:last-child {
  padding-bottom: 1rem !important;
  border-bottom: 0 !important;
}



/* ================================
  Products row edit - end
================================ */

.paper main .product-rows-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
}

.paper main .product-row {
  position: relative;
  display: flex;
  align-items: center;
  border: 0.063rem solid var(--primary-line-color);
  border-radius: 0.5rem;
  min-height: 5.625rem;
  gap: 1rem;
}

.paper main .product-row .icons {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.paper main .product-row .icons .attachmentTag {
  display: flex;
  justify-content: flex-end;
}

.paper main .product-row .icons .attachmentTag svg {
  height: 1rem;
  width: auto;
  stroke: var(--primary-element-color);
}

.paper main .product-row .image {
  position: relative;
  height: 4.063rem;
  width: 4.063rem;
}

.paper main .product-row .image .thumbnail-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 50;
  border: 1px solid var(--primary-line-color);
  border-radius: 0.5rem;
  overflow: hidden;
}

.paper main .product-row .image .count {
  position: absolute; 
  display: none;
  align-items: center;
  justify-content: center;
  right: -0.5rem;
  top: 20%;
  z-index: 200;
  height: 1rem;
  width: 1rem;
  border-radius: 100%;
  background: var(--primary-element-color);
}

.paper main .product-row .image .count .number {
  color: #FFF;
  font-size: 0.688rem;
  font-weight: 600;
}

.paper main .product-row .image .thumbnail-wrapper img {
  position: absolute;
  top: 0;
  bottom: 0;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  z-index: 100;
  border: 0.35rem solid #FFFFFF;
}

.paper main .product-row .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.063rem;
  padding-left: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}  

.paper main .product-row .content .title {
  font-size: 1rem;
  line-height: 1.2em;
  font-weight: 500;
  color: var(--primary-title-color);
}

.paper main .product-row .content .subtitle {
  display: flex;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.paper main .product-row .content .subtitle .link {
  text-decoration: none;
  color: var(--primary-subtitle-color);
}

.paper main .product-row .content .quantity {
  font-size: 0.75rem; 
  color: var(--primary-subtitle-color);
}

.paper main .product-row .content .quantity .value {
  font-weight: 500;
  margin-left: 0.15rem;
}

.paper main .product-row .content .subtitle .attachmentTag {
  display: none;
}

.paper main .product-row .amount {
  display: flex;
  align-items: flex-end;
  min-height: 4.063rem;
  margin-left: auto;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

.paper main .product-row .amount .value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-title-color);
}

.paper main .calc-wrapper {
  display: flex;
  border: 0.063rem solid var(--primary-line-color);
  border-radius: 0.5rem;
  padding: 1.25rem;
  gap: 2.5rem;
  height: auto;
}

.paper main .calc-wrapper .left {
  flex: 1;
  width: 50%;
  flex-direction: column;
  box-sizing: border-box;
}

.paper main .calc-wrapper .right {
  flex: 1;
  justify-content: flex-end;
  align-items: flex-end;
  width: 50%;
  box-sizing: border-box;
}

.paper main .summary-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  flex: 1;
  align-items: flex-end;
  justify-content: flex-end;
}

.paper main .summary-wrapper .actionsWrapper {
  margin-bottom: auto;
}

.paper main .summary-wrapper .actionsWrapper svg {
  height: 1rem;
  width: auto;
}

.paper main .summary-wrapper .actionsWrapper svg path {
 fill: var(--primary-element-color);
} 

.paper main .summary-wrapper .monthly, .paper main .summary-wrapper .monthly-spec {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.paper main .summary-wrapper .monthly .value {
  display: flex;
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.015rem;
  margin-bottom: 0.25rem;
  color: var(--primary-title-color);
}

.paper main .summary-wrapper .monthly-spec {
  gap: 0.25rem;
}

.paper main .summary-wrapper .monthly-spec .label {
  display: flex;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.015rem;
  color: var(--primary-subtitle-color);
  opacity: 1;
}

.paper main .summary-wrapper .monthly-spec .value {
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015rem;
  color: var(--primary-title-color);
  opacity: 1;
}

.paper footer {
  border-bottom: none;
  font-size: 0.9rem;
  background: var(--secondary-bg-color);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.paper footer .footer-section-wrapper {
  display: flex;
  flex-direction: column;
}

.paper footer .footer-section-wrapper .footer-section-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.paper footer .footer-section-wrapper .footer-section-header .title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-title-color);
}

.paper footer .footer-section-wrapper .footer-section-header .actions {
  display: flex;
}

.paper footer .footer-section-wrapper .footer-section-header .actions svg {
  height: 1rem;
  width: auto;
}

.paper footer .footer-section-wrapper .footer-section-header .actions svg path {
 fill: var(--primary-element-color);
}

.paper footer .successWrapper {
  display: flex;
  justify-content: center;
  background: var(--secondary-bg-color);
  padding: 3rem 2.5rem;
}

.paper footer .successWrapper .successInner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.paper footer .successWrapper .message {
  display: flex;
  flex-direction: column;
  width: 75%;
}

.paper footer .successWrapper .message .title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--primary-title-color);
  margin-bottom: 1rem;
}

.paper footer .successWrapper .message .description {
  color: var(--primary-subtitle-color);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.paper footer .successWrapper .signature {
  display: flex;
  flex-direction: column;
}

.paper footer .successWrapper .signature .mvh {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.paper footer .successWrapper .signature .name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.paper footer .successWrapper .signature .contactDetails {
  display: flex;
  flex-direction: column;
  margin-top: 0.25rem;
}

.paper footer .successWrapper .signature .contactDetails a {
  color: var(--primary-title-color);
  text-decoration: none;
}

.paper footer .successWrapper .signature .contactDetails a:hover {
  text-decoration: underline;
}

/* ================================
  Modal
================================ */

.modal-wrapper {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  background:rgba(0, 0, 0, 0.45);
  z-index: 500;
  color: #FFFFFF !important;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  cursor: pointer;
}

.modal-wrapper#modal-benefits .modal-content-wrapper {
  background: var(--secondary-bg-color) !important;
}

.modal-wrapper#modal-benefits .modal-content-wrapper .content-wrapper p {
  color: var(--primary-title-color) !important;
}

.modal-wrapper-inner {
  position: relative;
  width: 100%;
}

.modal-content-wrapper {
  position: relative;
  cursor: default;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  height: 100vh;
  overflow-y: scroll;
  width: 30rem;
  transform: translateX(30rem);
  background: #FFFFFF;
  transition: transform .450ms ease-in-out;
  color: #000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.modal-wrapper.active {
  visibility: visible;
  opacity: 1;
}

.modal-wrapper.active .modal-content-wrapper {
  visibility: visible;
  opacity: 1;
  transform: translateX(0rem);
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
  .modal-content-wrapper {
    width: 80vw;
    transform: translateX(80vw);
  }
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
  .modal-content-wrapper {
    width: 100vw;
    transform: translateX(100vw);
  }
}

.modal-content-wrapper .modal-row {
  display: flex;
  flex-direction: column;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.modal-content-wrapper .modal-row.modal-header {
  padding-top: 2rem;
}

.modal-content-wrapper .modal-row.modal-footer {
  margin-top: auto;
}

.modal-content-wrapper .modal-row.modal-footer {
  justify-content: flex-end;
}

.modal-content-wrapper .modal-row.modal-header .actions-wrapper .link {
  cursor: pointer;
}

.modal-content-wrapper .modal-row.modal-header .actions-wrapper .link svg {
  height: 1.25rem;
  width: 1.25rem;
}

.modal-content-wrapper .modal-row.modal-header .actions-wrapper .link svg path {
 stroke: var(--primary-element-color);
} 

.modal-content-wrapper .modal-header .content-wrapper {
  padding-top: 2.5rem;
}

.modal-content-wrapper .modal-header .content-wrapper .title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--primary-title-color);
  margin-bottom: 0.5rem;
}

.modal-content-wrapper .modal-header .content-wrapper .description, .modal-content-wrapper .modal-header .content-wrapper p {
  color: var(--primary-subtitle-color);
  font-size: 1rem;
}

.modal-content-wrapper .modal-header .content-wrapper ul {
  list-style: none;
  margin-top: 2.25rem;
}

.modal-content-wrapper .modal-header .content-wrapper ul li {
  margin: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
}

.modal-content-wrapper .modal-main {
  display: flex;
  padding-top: 0 !important;
}

.modal-content-wrapper .modal-main .forms-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 2.25rem;
}

.modal-content-wrapper .modal-main .form-box {
  display: flex;
  flex-direction: column;
}

.modal-content-wrapper .modal-main .form-box .form-box-title {
  font-size: 1.25rem;
  line-height: 1.2em;
  font-weight: 500;
  color: var(--primary-title-color);
  margin-bottom: 0.5rem;
}

.modal-content-wrapper .modal-main .form-box .form-box-description {
  font-size: 0.75rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary-title-color);
}

.modal-content-wrapper .modal-main .form-box .form-box-form {
  display: flex;
  flex-direction: column;
}

.modal-content-wrapper .modal-main .form-box .form-box-form input {
  display: flex;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  min-height: 3.5rem;
  border: 0;
  color: var(--primary-color);
  background-color: #FFFFFF;
  border: 1px solid var(--primary-line-color);
}

.modal-content-wrapper .modal-main .form-box .form-box-form select {
  display: none;
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup {
  display: flex;
  border-radius: 0.5rem;
  border: 1px solid var(--primary-line-color);
  overflow: hidden;
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup button {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  min-height: 3.5rem;
  color: var(--primary-cta-color);
  border-right: 1px solid var(--primary-line-color);
  border-radius: 0;
  transition: all .25s ease-in-out;
  width: 100%;
  background-color: transparent;
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup button:hover {
  background-color: var(--secondary-bg-color);
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup button:last-child {
  border-right: 0;
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup button.active {
  background-color: var(--primary-cta-color);
  color: #FFFFFF;
}

.modal-content-wrapper .modal-main .form-box .form-box-form .buttonGroup button span {
  font-weight: 400;
  font-size: 0.75rem;
}

.modal-content-wrapper .modal-footer {
  background-color: var(--secondary-bg-color);
}

.modal-content-wrapper .modal-footer .summary-wrapper {
  padding-bottom: 2.5rem;
  font-size: 0.75rem;
}

.modal-content-wrapper .modal-footer .summary-wrapper .monthly, .paper main .summary-wrapper .monthly-spec {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.modal-content-wrapper .modal-footer .summary-wrapper .monthly .value {
  display: flex;
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.015rem;
  margin-bottom: 0.25rem;
  color: var(--primary-title-color);
}

.modal-content-wrapper .modal-footer .summary-wrapper .monthly-spec {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  gap: 0.25rem;
}

.modal-content-wrapper .modal-footer .summary-wrapper .monthly-spec .label {
  display: flex;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.015rem;
  color: var(--primary-subtitle-color);
  opacity: 1;
}

.modal-content-wrapper .modal-footer .summary-wrapper .monthly-spec .value {
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015rem;
  color: var(--primary-title-color);
  opacity: 1;
}

.modal-wrapper#modal-share .modal-content-wrapper a.btnOption {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  min-height: 3.5rem;
  color: var(--primary-cta-color);
  border-bottom: 1px solid var(--primary-line-color);
  border-left: 1px solid var(--primary-line-color);
  border-right: 1px solid var(--primary-line-color);
  border-radius: 0;
  transition: all .25s ease-in-out;
  width: 100%;
  background-color: transparent;  
}

.modal-wrapper#modal-share .modal-content-wrapper a.btnOption:hover {
  background-color: var(--secondary-bg-color);
}

.modal-wrapper#modal-share .modal-content-wrapper a.btnOption:first-child {
  border-top: 1px solid var(--primary-line-color);
  border-radius: 0.5rem 0.5rem 0 0;
}

.modal-wrapper#modal-share .modal-content-wrapper a.btnOption:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.modal-wrapper#modal-share .modal-content-wrapper .modal-footer .summary-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}

.modal-wrapper#modal-share .modal-content-wrapper .modal-footer .summary-wrapper #qr {
  width: 10rem;
  height: 10rem;
}

.modal-wrapper#modal-share .modal-content-wrapper .modal-footer .summary-wrapper #qr img {
  width: 100%;
}

.modal-wrapper#modal-benefits .modal-content-wrapper .modal-footer .summary-wrapper {
  padding-bottom: 0 !important;
}

.modal-wrapper#modal-product {
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main {
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image {
  display: flex;
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
  overflow: hidden;
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid var(--primary-line-color);
  margin-bottom: 1.25rem;
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image a { 
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image a .imageActions {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image a .imageActions svg {
  height: 1.5rem;
  width: auto;
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image a .imageActions svg path {
 fill: var(--primary-element-color);
} 

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .image a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .actionsWrapper {
}

.modal-wrapper#modal-product .modal-wrapper-inner .modal-content-wrapper .modal-main .actionsWrapper .btnOption {
  border-radius: 0.5rem !important;
}


/* ================================
  Signatur med text och logotyp
================================ */

.signature {
    margin-top: 0.25rem;
    text-align: center;
}
  
.signature-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.signature-content .caption {
  font-size: 0.75rem;
  color: var(--primary-frame-text-color);
  margin: 0;
}

.signature-content .logo-wrapper {
  display: flex;
  align-items: center;
  height: 1.5rem;
}  

.signature-content img {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}

.signature-content svg {
  width: 2.625rem;
  height: 1.511rem;
}

.signature-content svg path {
  fill: var(--primary-frame-text-color);
}
  
  
/* ================================
  Footer
================================ */
  
footer {
  background-color: transparent;
  color: var(--primary-frame-text-color);
  text-align: center;
  padding: 1rem 2rem;
}

footer .copyright {
  font-size: 0.688rem;
  opacity: 0.25;
}

/* ================================
  Media queries
================================ */

@media only screen and (max-width: 1024px) and (orientation: portrait) {
  
  html {
    font-size: 100%; 
  }

  .paper {
    min-width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
  }

}

@media only screen and (max-width: 768px) and (orientation: portrait) {

  html {
    font-size: 100%; 
  }

  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
  	display: flex !important;
  }
  
  table td.value {
    justify-content: flex-end;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .paper header,
  .paper main,
  .paper footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .paper header {
    padding-top: 2rem;
  }

  .paper header .header-inner-top {
    padding-bottom: 1.25rem;
  }
  
  .paper header .header-inner-bottom {
    padding-bottom: 1rem;
  }

  main {
    padding: 0;
    padding-top: 0;
  }
  
  .paper {
    min-width: auto;
    max-width: 100%;
  }

  .paper main {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
    row-gap: 1.2rem;
  }

  .paper footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .paper main, .paper footer, .paper header {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .columns {
    flex-direction: column;
    gap: 1.5rem !important;
  }

  .paper main .calc-wrapper .left {
    width: 100%;
    order: 2;
  }

  .paper main .calc-wrapper .right {
    width: 100%;
    order: 1;
  }
  
  .paper main .calc-wrapper .summary-wrapper .actionsWrapper {
    margin-bottom: 1rem;
  }

  .paper main .product-row {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .paper main .product-row .content {
    padding-left: 0.25rem;
  }

  .paper main .product-row .amount {
    width: 100%;
    min-height: auto;
    justify-content: flex-end;
    padding-top: 0;
  }

  .paper footer .footer-section-wrapper .footer-section-header {
    flex-direction: column;
    justify-content: flex-start;
  }

  .paper footer .footer-section-wrapper .footer-section-header .title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    margin-bottom: 1rem;
  }

  .paper footer .footer-section-wrapper .footer-section-header .actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .paper footer .footer-section-wrapper .footer-section-header .actions .cta-text-icon {
    justify-content: center;
  }
  
  .paper footer .successWrapper .message {
    width: 100%;
  }
  
  .modal-wrapper .modal-content-wrapper .modal-row {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  
  .modal-wrapper .modal-content-wrapper .modal-header {
    padding-bottom: 2.25rem;
  }
  
  .modal-wrapper .modal-content-wrapper .content-wrapper {
    padding-top: 2rem;
  }
  

}