/* 1. LJUS BEIGE BAKGRUND UNDER ALLA PRODUKTMODULER */
/* Detta gör att ytan under nallarna matchar bildernas bakgrund */
.tws-article-list--list .thumbnail,
.tws-article-list--list .caption,
.tws-list--grid-item .caption,
.tws-cart--checkout-related-wrapper .thumbnail,
.tws-container--tws-content-box .caption {
    background-color: #F5F0E9 !important; /* Ljus beige */
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 20px !important;
}

/* 2. KATEGORIKNAPPAR (GULA BOXARNA) - BEHÅLL TEXT & GÖR RUNDA */
.tws-container--tws-custom-html .btn,
.slot--component-container .btn-default {
    background-color: #dfb13b !important; /* Guldgul */
    color: #FFFFFF !important;
    border-radius: 50px !important;       /* Runda hörn */
    border: none !important;
    padding: 12px 25px !important;
    font-family: inherit !important;
    font-weight: bold !important;
    text-transform: none !important;
    font-size: 14px !important;           /* Tvingar fram originalnamnen */
    display: inline-flex !important;
    min-width: 150px;
    margin: 5px !important;
}

/* 3. PRODUKTKNAPPAR (KÖP ❤) */
.tws-article-list--buy-button .btn,
.tws-list--grid-item .btn {
    background-color: #D25D43 !important; /* Terrakotta */
    color: #FFFFFF !important;
    border-radius: 50px !important;
    border: none !important;
    padding: 8px 20px !important;
    font-family: inherit !important;
    font-weight: bold !important;
    display: inline-flex !important;
    font-size: 0 !important;              /* Döljer systemtexten */
}

.tws-article-list--buy-button .btn::after,
.tws-list--grid-item .btn::after {
    content: "KÖP ❤" !important;         /* Lägger till hjärtat */
    font-size: 14px !important;
    color: #FFFFFF !important;
    visibility: visible !important;
}

/* 4. KASSAN - VITA TEXTER */
.modal-footer .btn,
.azalea--checkout .slot--checkout-buttons .btn,
.cart-summary .btn {
    background-color: #4A6332 !important; /* Mörkgrön kassa */
    color: #FFFFFF !important;
    border-radius: 4px !important;
}

.modal-footer .btn .ladda-label,
.azalea--checkout .slot--checkout-buttons .btn .ladda-label {
    color: #FFFFFF !important;
}

/* 5. HOVER-EFFEKT */
.btn:hover {
    background-color: #4A6332 !important; /* Grön vid hovring */
    transform: scale(1.03);
    transition: all 0.2s ease;
}

/* FOOTER - GRUNDSTYLING - BRUN BAKGRUND */
.azalea--footer {
    background-color: #4E3629 !important; /* Din bruna färg */
    border: 5px solid #453026 !important; /* En mörkare brun kant */
    border-radius: 10px 10px 0px 0px;
    color: #FFFFFF !important;
    margin-bottom: 20px;
}

/* DOLDA KOLUMNER */
.col-sm-3.azalea--footer-left,
.col-sm-3.azalea--footer-mid-left,
.col-sm-3.azalea--footer-mid-right {
    display: none !important;
}

/* DEN AKTIVA KOLUMNEN (Görs bred för att rymma allt) */
.col-sm-3.azalea--footer-right {
    width: 100% !important;
    text-align: center !important;
}

/* SKAPA DE TRE UNDERKOLUMNERNA */
@media screen and (min-width: 900px){
    .footer-top-left, .footer-top-middle, .footer-top-right {
        width: 33% !important;
        display: inline-block !important;
        vertical-align: top !important;
        padding: 0 20px;
        text-align: left !important;
        margin-bottom: 70px;
    }

    .footer-top {
        margin-left: 5%;
    }
}

/* TEXT OCH RUBRIKER (VIT & FET) */
.footer-top-left h3, .footer-top-middle h3, .footer-top-right h3 {
    font-size: 14px !important;
    font-weight: bolder !important;
    color: #FFFFFF !important;
    text-transform: none;
}

.footer-top a {
    color: #FFFFFF !important;
    font-size: 14px;
    text-decoration: none;
}

/* IKONERNA (BEIGE ACCENT) */
.footer-top-left h3:after, .footer-top-middle h3:after, .footer-top-right h3:after {
    font: normal normal normal 20px/1 FontAwesome;
    margin-left: 10px;
    color: #F5F0E9 !important; /* Beige färg från nallarnas bakgrund */
}

.footer-top-left h3:after { content: "\f059"; }   /* Frågetecken */
.footer-top-middle h3:after { content: "\f0e0"; } /* Kuvert */
.footer-top-right h3:after { content: "\f07a"; }  /* Varukorg */

/* KLARNA & BETALNING (CENTRERAT & LJUST) */
.klarna-footer {
    text-align: center !important;
    clear: both;
}

.klarna-footer img {
    width: 400px;
    max-width: 90%;
    filter: brightness(0) invert(1);
}

/* NYHETSBREV - UPPDATERAD MED LÄNGRE TEXT */
.tws-newsletter-subscribe--subscribe-button {
    background-color: #D25D43 !important; /* Terrakotta */
    color: #FFFFFF !important;
    border-radius: 50px !important;       /* Rund form */
    border: none !important;
    padding: 10px 25px !important;        /* Justerad padding för balansen */
    font-family: inherit !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 180px !important;           /* Ökad bredd för att rymma den nya texten */
    font-size: 0 !important;               /* Döljer temats original-ikon */
}

.tws-newsletter-subscribe--subscribe-button::after {
    content: "Få erbjudanden nu!" !important; /* Ditt nya budskap */
    font-size: 13px !important;               /* Något mindre font för att rymmas snyggt */
    color: #FFFFFF !important;
    visibility: visible !important;
    letter-spacing: 0.5px;
    white-space: nowrap !important;           /* Hindrar texten från att radbrytas */
}

.tws-newsletter-subscribe--subscribe-button:hover {
    background-color: #4A6332 !important; /* Temats mörkgröna */
    transform: scale(1.03);
}

/* KASSA-KNAPPAR (FORTSÄTT HANDLA & TILL KASSAN) */
.modal-footer .btn,
.azalea--checkout .slot--checkout-buttons .btn,
.cart-summary .btn {
    color: #FFFFFF !important; /* Kritvit text */
}

.modal-footer .btn .ladda-label,
.azalea--checkout .slot--checkout-buttons .btn .ladda-label,
.cart-summary .btn .ladda-label {
    color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-footer .btn:hover,
.azalea--checkout .slot--checkout-buttons .btn:hover,
.cart-summary .btn:hover {
    color: #FFFFFF !important;
    opacity: 0.9;
}

/* Layout för Fredriksson Split-Hero med förstärkt kontrast */
.fredriksson-split-hero {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 650px;
  margin: 0;
}

.hero-panel {
  flex: 1;
  min-width: 50%;
  position: relative;
  min-height: 550px;
  background-size: cover;
  background-position: center;
}

.hero-panel.left {
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.hero-panel.left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  color: white !important;
}

.overlay-title {
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.overlay-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff !important;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.hero-btn {
  flex: 0 1 210px;
  padding: 15px 0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  cursor: pointer;
}

.hero-btn.primary {
  background-color: #3E2B26;
  color: #ffffff !important;
  border-color: #3E2B26;
}

.hero-btn.primary:hover {
  background-color: #513a34;
  border-color: #513a34;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(62, 43, 38, 0.3);
}

.hero-btn.secondary {
  background-color: #ffffff;
  color: #3E2B26 !important;
  border-color: #ffffff;
}

.hero-btn.secondary:hover {
  background-color: #3E2B26;
  color: #ffffff !important;
  border-color: #3E2B26;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobilanpassning - gör knapparna klickvänliga på touchskärmar */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .hero-btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Mobilanpassning för Fredriksson Split-Hero */
@media screen and (max-width: 767px) {
  .fredriksson-split-hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-panel {
    min-width: 100%;
  }

  .hero-panel.left {
    min-height: 420px;
    padding: 30px 20px;
  }

  .hero-panel.right {
    min-height: 260px;
  }

  .overlay-content {
    max-width: 100%;
  }

  .overlay-title {
    font-size: 28px !important;
  }

  .overlay-description {
    font-size: 15px;
  }
}

/* Förtroende-ikoner (Fri frakt / Kundtjänst / Betalning etc.) */
.ng-trust-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ng-trust-item {
  text-align: center;
  padding: 10px;
}

.ng-trust-icon {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
}

.ng-trust-item h3 {
  font-size: 16px;
  color: #3E2B26;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.ng-trust-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}