/*
 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");

/* Add your custom styles here */

/* Main */

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

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

  --fontFamily: "Montserrat", sans-serif;
  --fontFamilySecond: "Montserrat" !important;

  --accentColor: #f9f9f9;
  --accentColor2: #57a395;
  --accentColor3: #b6c4b7;
  --accentColor4: #eef1f2;

  --buttonColorLight: #020202;
  --buttonColorDark: var(--accentColor2);
  --buttonTextLight: var(--textColorLight);
  --buttonTextDark: var(--textColorLight);

  --mainLetterSpacing: 2px;
}
article {
  margin-bottom: 0px;
}
body {
  font-family: var(--fontFamilySecond);
}
p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--textColor) !important;
  margin-top: 5px;
}
a:hover {
  color: var(--accentColor2);
}
a:active {
  color: var(--accentColor) !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fontFamily) !important;
  font-weight: 600;
  color: var(--accentColor2);
  margin-block-end: 0;
  line-height: 1.5;
}
a {
  text-decoration: none;
}
p a {
  color: var(--accentColor2);
}

/* Hide cart bottom right */

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

/* Top bar */

.smort-topbar {
  padding: 8px;
  text-align: center;
  color: #ffff;
  font-family: "CustomHeadingFont";
}

.topbar-link {
  color: #ffff;
}

.topbar-link:hover {
  color: var(--accentColor);
}

/* Header */

/* Login Icon */
.login-icon {
  display: inline-block;
}

.login-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 35px;
  color: var(--textColor);
  border-radius: 50%;
  text-decoration: none;
}


.login-icon i {
  font-size: 16px;
}

/* Update cart container to display items in a row */
.smort-cart {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .smort-cart {
    padding-right: 10px;
  }
}

button#wc_search_trigger {
  width: 100%;
  margin-left: 0px;
  padding: 10px;
  border-radius: 0px;
  border: 0px;
  text-align: left;
  border-bottom: 1px solid var(--textColor);;
  margin-right: 0px !important;
  background-color: transparent;
}

/* Mobile menu */

.burger-menu {
  max-width: 30px !important;
}

.burger-menu span:first-of-type {
  max-width: 20px;
}
.burger-menu span:last-of-type {
  max-width: 20px;
}

/* Headings & buttons */

.main-btn-wd a {
  background-color: var(--accentColor);
  border: 2px solid var(--accentColor);
  min-width: 200px;
  color: var(--textColor);0;
  font-family: "CustomHeadingFont";
}
.main-btn-wd-ac2 a {
  background-color: var(--accentColor2);
  border: 2px solid var(--accentColor2);
  min-width: 200px;
  transition: all 0.3s ease;
  color: white;
  font-family: "CustomHeadingFont";
  border-radius: 5px !important;
}

.main-btn-wd-ac2 a:hover {
  scale: 1.05;
}

.main-btn-wd-ac3 a {
  background-color: var(--accentColor3);
  border: 2px solid var(--accentColor3);
  min-width: 200px;
}
.outline-btn-wd a {
  background-color: transparent;
  border: 2px solid #fff;
  min-width: 200px;
}

.main-heading-ls {
  font-size: 2.5rem;
  margin: 0px;
}

@media (max-width: 768px) {
  .main-heading-ls {
    font-size: 1.5rem !important;
  }
}
.sub-heading-wd {
  font-size: 17px;
  text-transform: uppercase;
  font-family: "CustomHeadingFont";
  font-weight: 700;
}
.cta-wd {
  text-decoration: underline;
}

.smort-nav ul li a {
  font-size: 18px;
  color: var(--textColor);
}

/* Footer */

.footer-inner-row h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0;
}

.footer-inner-row a {
  position: relative;
  color: #fff;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 5px 0px;
}
.footer-inner-row a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  border-radius: 5px;
  height: 0.05em;
  bottom: 0;
  left: 0;
  background: currentcolor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.footer-inner-row a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.widget_wc_aelia_currencyswitcher_widget {
  background: #85b7b6;
  justify-items: center;
  color: white;
}

.wc_aelia_cs_currency_selector .dropdown {
  color: black;
}

.widget_wc_aelia_currencyswitcher_widget .dropdown .options {
  padding-left: 0;
}
.wc_aelia_cs_currency_selector .selected_currency {
  width: 90% !important;
}

/* Custom / general */

.kb-blocks-bg-slider-init.splide .splide__arrow {
  z-index: 100;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background-color: var(--accentColor);
  color: #fff !important;
  opacity: 1;
}
.hero-heading-ls {
  font-size: 4rem !important;
  margin: 0px;
}
.hero-heading-ls-s {
  font-size: 5rem;
  margin: 0px;
}

@media (max-width: 768px) {
  .hero-heading-ls {
    font-size: 2rem !important;
  }
}

.h2-heading-ls {
  font-size: 2rem;
  margin: 0px;
}

p.hero-text-wd {
  margin-top: 0px;
  margin-bottom: 15px;
}
.kb-splide .splide__pagination,
.kb-splide ul.splide__pagination.splide__pagination {
  bottom: 20px !important;
}
.kt-blocks-carousel .kt-carousel-dotstyle-light .splide__pagination__page,
.kt-blocks-carousel
  .kt-carousel-dotstyle-light
  .splide__pagination__page.is-active {
  background-color: #fff;
  width: 100px;
  border-radius: 10px;
  background-color: Var(--accentColor);
  z-index: 9999 !important;
}
.max-width-900 {
  max-width: 900px;
  margin: 0 auto;
}
ul.wp-block-list {
  line-height: 2;
  padding-left: 25px;
  font-size: 18px;
}

/* Archive products */

.woocommerce ul.products,
.woocommerce-page ul.products {
  clear: both;
  max-width: 100vw;
  padding: 2% 1%;
  background-color: #fdfdfd;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background-color: #fff;
  margin: 10px;
  width: calc(25% - 20px);
  padding: 20px 0px;
  box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.09);
  -webkit-box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.03);
  -moz-box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.09);
}
.archive h2.woocommerce-loop-product__title {
  color: var(--textColor);;
  line-height: 1.5;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  ul.products
  li.product
  .price {
  padding: 0px 15px;
  color: var(--accentColor2) !important;
  font-family: "CustomHeadingFont";
  font-weight: 800;
  font-size: 18px;
  text-align: center;
}
.woocommerce ul.products li.product .button {
  margin-left: 15px;
  background-color: var(--accentColor2);
  color: var(--textColor); !important;
  border-radius: 17px;
  width: 150px;
  text-align: center;
  display: none;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  .woocommerce-breadcrumb {
  background-color: var(--accentColor);
  text-align: center;
  color: var(--textColor); !important;
  padding: 10px 0px;
}
.wc-search-close {
  right: 50px !important;
}

.woocommerce ul.products li.product .price del {
  opacity: 1 !important;
  text-align: center;
}

/* Archive products */

.woocommerce ul.products li.product .woocommerce-placeholder {
  border: 0px !important;
}
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.shop-header__column--left {
  width: 100%;
  text-align: left;
}
.shop-header__column--right {
  width: 40%;
  text-align: right;
}
.shop-header__column--right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  .shop-header__column--right {
    display: none;
  }
  .shop-header__column--left {
    width: 100%;
  }
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  max-width: 95vw;
  margin: 50px auto;
  gap: 30px;
}
.category-header-subtitle {
  margin-right: 8%;
}
.shop-header__column.shop-header__column--left h1 {
  font-size: 5rem;
  margin-bottom: 0px;
}
.woocommerce ul.products li.product a img {
  height: 300px;
  object-fit: contain;
}
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  background-color: #e87841;
  border-radius: 30px;
  font-size: 15px;
}

.woocommerce span.onsale.smort-out-of-stock-badge,
.product-item .onsale.smort-out-of-stock-badge,
.product-slide span.onsale.smort-out-of-stock-badge {
  min-width: auto;
  min-height: auto;
  line-height: 1.2;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 20px;
}
.shop-header__description p {
  font-size: 20px;
  font-family: "CustomHeadingFont";
  line-height: 1.9;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 2.5rem !important;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--textColor);;
}
.wc-product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.02) !important;
  -webkit-box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.02);
  -moz-box-shadow: -1px 1px 12px 2px rgba(0, 0, 0, 0.02);
}
ul.products.columns-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  padding: 0px 0px 20px 0px;
  max-width: 95vw;
  margin: 0 auto;
  row-gap: 20px;
}
li.product.custom-image {
  width: calc(50% - 20px) !important;
}
ul.products.columns-4 {
  margin-top: 5%;
}
li.product.custom-image {
  padding: 0px !important;
}
li.product.custom-image img {
  height: 600px !important;
  padding: 0px !important;
  object-fit: cover !important;
}
li.product.custom-image img {
  height: 600px !important;
  padding: 0px !important;
  object-fit: cover !important;
  margin: 0px !important;
}
a.tillprodukterna {
  padding: 10px 20px;
  border: 1px solid;
  border-radius: 30px;
  line-height: 3;
  color: var(--accentColor3);
  font-family: "CustomHeadingFont";
}
.kb-submit-field .kb-btn7500d7-6f.kb-button {
  color: #fff !important;
}
li#menu-item-33:after {
  content: url(/wp-content/uploads/2024/09/chevron-down-18.svg);
  position: absolute;
}

/* Single product */

.woocommerce div.product {
  max-width: 1400px;
  margin: 0 auto;
}
.woocommerce div.product form.cart .button {
  vertical-align: middle;
  float: left;
  width: 400px;
  background-color: var(--accentColor2);
  font-family: "CustomHeadingFont";
  padding: 15px;
  border-radius: 30px;
  height: 50px;
  opacity: 1;
  


}

@media (max-width: 768px) {
 .woocommerce div.product form.cart .button {
   width: 95%;
  }
}


.woocommerce-product-details__short-description p {
  font-size: 15px;
}
.single .quantity button {
  height: 50px;
  width: 50px;
  background-color: #ffffff !important;
  border-radius: 30px;
  border: 1px solid #c3c3c3;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  div.product
  span.price {
  color: var(--accentColor2) !important;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "CustomHeadingFont";
  margin-top: 0px !important;
}
.woocommerce div.product .product_title {
  margin-bottom: 10px;
  font-size: 2.5rem;
}
.woocommerce
  div.product
  div.images
  .woocommerce-product-gallery__image--placeholder {
  border: 1px solid #f2f2f2;
  border-radius: 30px;
}
.woocommerce div.product form.cart .button:hover {
  background-color: var(--accentColor3);
}
.woocommerce-variation-add-to-cart {
  display: flex;
  margin-top: 2rem;
}

@media (max-width: 768px) {
 .woocommerce-variation-add-to-cart {
  flex-direction: column;
  margin-top: 2rem;
  gap: 1rem;
  width: 80%;
}
}

.woocommerce .quantity .qty {
  width: 3.631em;
  text-align: center;
  border: 0px;
  font-weight: 800;
  font-family: "CustomHeadingFont";
  background: transparent;
}
.woocommerce div.product form.cart .variations td.label {
  padding-right: 1em;
  width: 100px;
}
.variation-button {
  width: 100px;
  text-align: center;
  cursor: pointer;
}
.variation-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 400px;
}
.variation-button {
  width: 100px;
  text-align: center;
  border: 1px solid #191919;
  text-transform: uppercase;
  border-radius: 10px;
}
.variation-button.selected {
  background-color: var(--accentColor3);
  color: #fff;
  border: 0px;
}
.woocommerce div.product form.cart .variations {
  margin-top: 30px;
}

.single-product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.gallery-thumbnails-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  max-width: 100%;
}

.gallery-thumbnail img {
  max-height: 100px;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-thumbnail img:hover {
  opacity: 0.7;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  text-align: center;
}
.product-short-description {
  line-height: 1.5;
}

/* Single product */

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  padding-left: 15px;
  color: var(--textColor);;
  text-align: center;
  max-width: 90%;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product .amount {
  color: var(--accentColor2);
}
section.related.products .products {
  margin-top: 0px;
}
section.related.products > h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 30px;
  margin-top: 0px;
}

.product_meta {
  display: none;
}
section.related.products {
  padding: 2%;
  background-color: var(--accentColor);
}
section.related .woocommerce ul.products,
.woocommerce-page ul.products {
  background-color: transparent;
}

.post-info h2 {
  color: #fff !important;
}
.woocommerce ul.products li.product .onsale {
  font-weight: 700;
}
.custom-megamenu-inner {
  padding: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.kt-row-column-wrap.kt-has-4-columns.kt-row-layout-equal.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top
  > a {
  display: none;
}

/* Menu custom */

ul#menu-main a {
  color: var(--textColor);;
}
ul#menu-main a:hover {
  color: var(--accentColor2);
}

.citat-wd {
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  font-weight: 400;
}
.custom-megamenu-content {
  border-bottom: 1px solid var(--accentColor3);
}

/* Sidebar add to car */

.wc-timeline-product .image img:not(.loader) {
  object-fit: contain;
}
.woocommerce a.added_to_cart {
  display: none;
}
.wc-timeline-modal-cover-container.small .wc-timeline-checkout-button {
  height: 50px;
  background-color: var(--accentColor2);
  border-radius: 30px;
}
.wc-timeline-empty-modal .wc-timeline-button,
.wc-timeline-checkout-button {
  border-radius: 50px !important;
  background-color: var(--accentColor2);
}
.wc-timeline-modal-cover-container.small .wc-timeline-container-close-icon {
  font-size: 22px;
  width: 65px;
  line-height: 65px;
  height: 65px;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 30px;
}

/* Blogg grid */

.smort-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 90vw;
  margin: 0 auto;
  padding: 15px;
}

@media (max-width: 768px) {
  .smort-grid-container {
    grid-template-columns: 1fr;
  }
}

.smort-grid-item {
  position: relative;
  overflow: hidden;
}

.smort-grid-item .post-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
}

.smort-grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Set the initial opacity to 0.2 */
  transition: opacity 0.3s;
}

.smort-grid-item:hover .overlay {
  opacity: 0; /* Remove the overlay on hover */
}

.smort-grid-item .post-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.smort-grid-item .post-title {
  font-size: 1.5rem;
  margin-top: 10px;
  margin-bottom: 30px;
}

.smort-grid-item .post-button {
  background-color: transparent;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: all 0.3s ease;
  background-color: var(--accentColor2);
}

.smort-grid-item:hover .post-button {
  background-color: var(--accentColor2);
  color: #fff;
}

.post-button-container {
  margin-bottom: 0.8rem;
}

.post-category a {
  color: #fff;
}

.custom-megamenu-content a.kb-section-link-overlay:hover a {
  transform: scale(1.05) !important;
}

.custom-megamenu-inner .kt-inside-inner-col h2 {
  border-bottom: 1px solid;
  line-height: 2;
}
.custom-megamenu-inner .kt-inside-inner-col {
  text-align: left !important;
}
.custom-megamenu-inner img {
  max-height: 150px;
  border-radius: 20px;
}

/* Checkout styling */

div#kco-order-review {
  padding: 20px;
}

#kco-wrapper {
  border-top: 1px solid #cbcbcb;
  padding-top: 0px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  margin-top: 50px;
  margin-bottom: 20px;
  /* max-width: 800px; */
  border-top: 0px;
  margin: 0px auto 0px;
  background-color: transparent;
  font-size: 17px;
  text-align: center;
  font-family: "CustomHeadingFont";
  background-color: #addce414;
  padding: 40px 0px;
}

.woocommerce-form-coupon-toggle .woocommerce-info:before {
  display: none;
}

div#kco-order-review {
  margin-bottom: 0px;
}

#kco-wrapper {
  padding-bottom: 0px !important;
}

iframe#klarna-checkout-iframe {
  padding: 50px 0px;
}

.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
  font-weight: 500;
  background: var(--accentColor2);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 15px;
  margin-left: 15px;
  text-decoration: none;
  font-family: "CustomContentFont";
}

table.shop_table.woocommerce-checkout-review-order-table th {
  text-transform: none;
  font-weight: 500 !important;
  font-family: "CustomHeadingFont";
}

.woocommerce form .form-row textarea {
  height: 4em;
  line-height: 1.5;
  display: block;
  box-shadow: none;
  font-family: "Roboto";
  min-height: 150px;
  border-radius: 0px;
  margin-top: 5px;
  padding: 15px;
}
form.checkout_coupon.woocommerce-form-coupon {
  margin: 0 auto;
  border-radius: 0px;
}
form.checkout_coupon.woocommerce-form-coupon button {
  border-radius: 30px;
  font-weight: 400;
  background-color: var(--accentColor3);
  color: #fff;
  font-family: "CustomContentFont";
  font-size: 14px;
  padding: 15px;
}

input#coupon_code {
  padding: 15px;
  border-radius: 30px;
  background-color: #f7f7f7;
  border: 0px;
}

form.checkout_coupon.woocommerce-form-coupon p {
  margin-bottom: 10px;
  text-transform: none;
}

.woocommerce-error {
  border-top-color: #b81c23;
  max-width: 500px;
  margin: 0 auto 30px;
  border-radius: 30px;
  border-top: 0px;
}

.woocommerce-error:before {
  color: var(--textColor);;
}

.woocommerce-checkout ul.woocommerce-error {
  display: none;
}

/* Thank you page styling */

.smort-thankyou {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.smort-thankyou__card {
  background-color: #fff;
  border: 1px solid var(--accentColor3);
  padding: 24px;
}

.smort-thankyou__preview-note {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: var(--accentColor);
  border: 1px solid var(--accentColor3);
  color: var(--textColor);
  font-size: 12px;
  font-family: "CustomHeadingFont";
}

.smort-thankyou__headline {
  margin-bottom: 14px;
}

.smort-thankyou__headline h1 {
  margin: 0;
  font-size: 1.8rem;
}

.smort-thankyou__received-message {
  margin-bottom: 16px;
}

.smort-thankyou__overview {
  margin: 0;
  padding: 0;
  list-style: none;

  border-bottom: 0;
}

.smort-thankyou__overview li {
  padding: 12px 14px;
border:0;
  background-color: #fff;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.smort-thankyou__overview li strong {
  color: var(--textColor);
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
  text-align: right;
}

.smort-thankyou__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.smort-thankyou__items {
  margin-top: 14px;
}

.smort-thankyou__items h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--textColor);
}

.smort-thankyou__items-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--accentColor3);
}

.smort-thankyou__item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--accentColor3);
}

.smort-thankyou__item:last-child {
  border-bottom: 0;
}

.smort-thankyou__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.smort-thankyou__item-row--sub {
  margin-top: 4px;
}

.smort-thankyou__item-name {
  font-weight: 600;
}

.smort-thankyou__item-total {
  font-weight: 600;
  color: var(--textColor);
}

.smort-thankyou__item-qty,
.smort-thankyou__item-meta,
.smort-thankyou__item-meta p {
  font-size: 13px;
  color: var(--textColor);
  margin: 0;
}

.smort-thankyou__actions .button,
.smort-thankyou .woocommerce-thankyou-order-failed-actions .button {
  background-color: var(--accentColor2);
  border: 1px solid var(--accentColor2);
  color: var(--accentColor);
  border-radius: 6px;
  padding: 10px 16px;
}

.smort-thankyou__actions .button:hover,
.smort-thankyou .woocommerce-thankyou-order-failed-actions .button:hover {
  background-color: var(--accentColor3);
  border-color: var(--accentColor3);
  color: var(--textColor);
}

.smort-thankyou__details {
  margin-top: 18px;
}

.smort-thankyou__details .woocommerce-order-details,
.smort-thankyou__details .woocommerce-customer-details,
.smort-thankyou__details .wc-bacs-bank-details {
  background-color: #fff;
  border: 1px solid var(--accentColor3);
  padding: 20px;
  margin-bottom: 12px;
}

.smort-thankyou__details table.shop_table,
.smort-thankyou__details .shop_table {
  border: 1px solid var(--accentColor3);
}

@media (max-width: 992px) {
  .smort-thankyou {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .smort-thankyou {
    padding: 20px 15px 40px;
  }

  .smort-thankyou__card {
    padding: 16px;
  }

  .smort-thankyou__headline h1 {
    font-size: 1.35rem;
  }

  .smort-thankyou__overview li {
    flex-direction: column;
    align-items: flex-start;
  }

  .smort-thankyou__overview li strong {
    text-align: left;
  }

  .smort-thankyou__item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

p#order_comments_field label {
  font-size: 1rem;
  font-family: "CustomHeadingFont";
}

/* Återförsäljare */

.aterforsaljare-row img {
  height: 100px !important;
  object-fit: contain;
  background: #ffff;
  width: 250px;
  border-radius: 30px;
}

/* Responsive */

@media screen and (max-width: 992px) {
}

/* Popup */

/* #newsletter-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 500px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 50px;
    color: var(--textColor);;
}

.newsletter-popup-container {
    position: relative;
    padding: 20px;
    text-align: center;
}

#newsletter-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: var(--textColor);;
}

#newsletter-popup h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.newsletter-popup-container input {
    height: 40px;
    border-radius: 30px;
    border: 1px solid;
    width: 100%;
    margin: 10px;
}
.newsletter-popup-container .wpcf7-submit {
    border: 0px;
	    background: var(--accentColor2);
    border-radius: 50px;
    padding: 10px 15px;
    margin-top: 10px;
    color: white;
    border: none;
    font-size: 15px;
    width: 100%;
} */

.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: none;
}

.floating-button img {
  width: 25px;
  height: 25px;
}

.chat-popup {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 400px;
  padding: 20px;
  background-color: var(--accentColor);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border-radius: 20px;
}

.chat-popup-close {
  cursor: pointer;
  background-color: white;
  width: 20px;
  border-radius: 50px;
  text-align: center;
  float: right;
}
.chat-popup.active {
  display: block;
}
#wpcf7-f804-o1 > form > input {
  background: #f18180;
  border-radius: 50px;
  padding: 10px 15px;
  margin-top: 10px;
  color: white;
  border: none;
  font-size: 15px;
  width: 100%;
}

#wpcf7-f804-o1 > form > input:hover {
  background: var(--textColor);;
  color: white;
  cursor: pointer;
}

#ask-question > p {
  color: white !important;
  font-size: 14px !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  text-align: left;
}

.wpcf7 input[type="email"]::placeholder {
  text-align: left;
  margin: 0;
  padding: 0;
}

.wpcf7-not-valid-tip {
  color: var(--textColor);000;
  font-size: 0.9em;
  padding: 5px 5px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 input[type="submit"] {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  margin-bottom: 7px;
  border-radius: 15px;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  color: #ff0000;
  background-color: #ffffff;
  padding: 10px 10px;
  margin: 0px 0px;
  border: transparent;
  border-radius: 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: var(--textColor);;
  background-color: transparent;
  padding: 5px 5px;
  margin: 10px 0px;
  border: transparent;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  color: #ff0000;
  background-color: #ffffff;
  padding: 10px 10px;
  margin: 0px 0px;
  border: transparent;
  border-radius: 20px;
}
.wpcf7-response-output {
  color: #fff;
  background-color: transparent;
}

#ask-question > h3 {
  margin-top: 0px;
}

/* Gtranslate Flaggor Styling */

a.glink.nturl.notranslate img {
  object-fit: cover;
}

a.glink img {
  margin-right: 10px !important;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

/* Popup Media Query */
@media screen and (max-width: 769px) {
  .chat-popup {
    width: 300px;
    font-size: 13px;
  }
  #wpcf7-f804-o1 > form > input {
    font-size: 13px;
  }
  #ask-question > p {
    font-size: 13px !important;
  }
  #ask-question .wpcf7-spinner {
    display: none;
  }
}

/* Hide Recaptcha Badge */
.grecaptcha-badge {
  display: none; /* Dölj helt */
}

/* Retailer Login Page Styles */
.retailer-login-container {
  padding: 60px 0;
  background-color: var(--accentColor);

}

@media (max-width: 768px) {
  .retailer-login-container {
    padding: 30px 20px;
  }
}

.retailer-login-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.retailer-login-info,
.retailer-login-form {
  flex: 1;
  min-width: 300px;
}

.retailer-login-info h1 {
  margin-bottom: 20px;
}

.retailer-login-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#retailer-loginform label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

#retailer-loginform input[type="text"],
#retailer-loginform input[type="password"] {
  width: 93%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#retailer-loginform .button {
  background-color: var(--accentColor2);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
  margin-top: 10px;
  font-family: "CustomHeadingFont";
  font-size: 16px;
}

.login-error {
  background-color: #ffebee;
  color: #c62828;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.lost-password {
  text-align: center;
  margin-top: 15px;
}

.retailer-dashboard,
.retailer-message {
  padding: 100px 0;
  text-align: center;
}

.retailer-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--accentColor2);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: var(--accentColor3);
}

.button-secondary {
  background-color: #f5f5f5;
  color: var(--textColor);
}

.button-secondary:hover {
  background-color: #e0e0e0;
}

@media (max-width: 768px) {
  .retailer-login-wrapper {
    flex-direction: column;
  }
}
